├── .eslintignore
├── .eslintrc
├── .gitignore
├── .gitlab-ci.yml
├── .lintstagedrc
├── .prettierrc
├── Dockerfile
├── README.md
├── app.js
├── app
├── .babelrc
├── app.js
├── components
│ ├── App.jsx
│ ├── Dashboard.jsx
│ ├── HelloWorld.jsx
│ ├── KitchenSink.jsx
│ ├── LandingPage.jsx
│ ├── Navigation
│ │ ├── ConnectedNavigation.jsx
│ │ ├── Navigation.jsx
│ │ └── queries
│ │ │ └── currentUser.js
│ ├── Post.jsx
│ ├── PostRenderer.tsx
│ ├── Select.jsx
│ ├── blogger-theme
│ │ ├── README.md
│ │ ├── package.json
│ │ └── src
│ │ │ ├── elements
│ │ │ ├── Action.js
│ │ │ ├── ActionGroup.js
│ │ │ ├── AppBar.js
│ │ │ ├── Button.js
│ │ │ ├── Checkbox.js
│ │ │ ├── GlobalStyle.js
│ │ │ ├── Logo.js
│ │ │ ├── Menu.js
│ │ │ ├── Radio.js
│ │ │ ├── TextField.js
│ │ │ └── index.js
│ │ │ └── index.js
│ ├── component-atlaskit-editor
│ │ ├── icon
│ │ │ ├── .npmignore
│ │ │ ├── build.js
│ │ │ ├── glyph
│ │ │ │ ├── add.jsx
│ │ │ │ ├── archive
│ │ │ │ │ └── 16.jsx
│ │ │ │ ├── arrow-left.jsx
│ │ │ │ ├── arrow-right.jsx
│ │ │ │ ├── audio.jsx
│ │ │ │ ├── audio
│ │ │ │ │ └── 16.jsx
│ │ │ │ ├── blog
│ │ │ │ │ └── 16.jsx
│ │ │ │ ├── branch
│ │ │ │ │ └── 16.jsx
│ │ │ │ ├── bug
│ │ │ │ │ └── 16.jsx
│ │ │ │ ├── changes
│ │ │ │ │ └── 16.jsx
│ │ │ │ ├── check-circle.jsx
│ │ │ │ ├── check.jsx
│ │ │ │ ├── checkbox.jsx
│ │ │ │ ├── chevron-down.jsx
│ │ │ │ ├── chevron-left-circle.jsx
│ │ │ │ ├── chevron-left-large.jsx
│ │ │ │ ├── chevron-right-circle.jsx
│ │ │ │ ├── chevron-right-large.jsx
│ │ │ │ ├── chevron-up.jsx
│ │ │ │ ├── comment.jsx
│ │ │ │ ├── cross-circle.jsx
│ │ │ │ ├── cross.jsx
│ │ │ │ ├── document-filled.jsx
│ │ │ │ ├── document.jsx
│ │ │ │ ├── document
│ │ │ │ │ ├── 16.jsx
│ │ │ │ │ └── 24.jsx
│ │ │ │ ├── download.jsx
│ │ │ │ ├── dropbox.jsx
│ │ │ │ ├── editor
│ │ │ │ │ ├── add.jsx
│ │ │ │ │ ├── align-center.jsx
│ │ │ │ │ ├── align-image-center.jsx
│ │ │ │ │ ├── align-image-left.jsx
│ │ │ │ │ ├── align-image-right.jsx
│ │ │ │ │ ├── align-left.jsx
│ │ │ │ │ ├── align-right.jsx
│ │ │ │ │ ├── attachment.jsx
│ │ │ │ │ ├── bold.jsx
│ │ │ │ │ ├── bullet-list.jsx
│ │ │ │ │ ├── close.jsx
│ │ │ │ │ ├── code.jsx
│ │ │ │ │ ├── collapse.jsx
│ │ │ │ │ ├── date.jsx
│ │ │ │ │ ├── decision.jsx
│ │ │ │ │ ├── done.jsx
│ │ │ │ │ ├── edit.jsx
│ │ │ │ │ ├── emoji.jsx
│ │ │ │ │ ├── error.jsx
│ │ │ │ │ ├── expand.jsx
│ │ │ │ │ ├── file.jsx
│ │ │ │ │ ├── hint.jsx
│ │ │ │ │ ├── horizontal-rule.jsx
│ │ │ │ │ ├── image.jsx
│ │ │ │ │ ├── info.jsx
│ │ │ │ │ ├── italic.jsx
│ │ │ │ │ ├── layout-three-equal.jsx
│ │ │ │ │ ├── layout-two-equal.jsx
│ │ │ │ │ ├── layout-two-left-sidebar.jsx
│ │ │ │ │ ├── layout-two-right-sidebar.jsx
│ │ │ │ │ ├── link.jsx
│ │ │ │ │ ├── media-center.jsx
│ │ │ │ │ ├── media-full-width.jsx
│ │ │ │ │ ├── media-wide.jsx
│ │ │ │ │ ├── media-wrap-left.jsx
│ │ │ │ │ ├── media-wrap-right.jsx
│ │ │ │ │ ├── mention.jsx
│ │ │ │ │ ├── more.jsx
│ │ │ │ │ ├── note.jsx
│ │ │ │ │ ├── number-list.jsx
│ │ │ │ │ ├── open.jsx
│ │ │ │ │ ├── remove.jsx
│ │ │ │ │ ├── search.jsx
│ │ │ │ │ ├── success.jsx
│ │ │ │ │ ├── table.jsx
│ │ │ │ │ ├── task.jsx
│ │ │ │ │ ├── text-color.jsx
│ │ │ │ │ ├── text-style.jsx
│ │ │ │ │ ├── unlink.jsx
│ │ │ │ │ └── warning.jsx
│ │ │ │ ├── email.jsx
│ │ │ │ ├── emoji
│ │ │ │ │ ├── activity.jsx
│ │ │ │ │ ├── custom.jsx
│ │ │ │ │ ├── flags.jsx
│ │ │ │ │ ├── food.jsx
│ │ │ │ │ ├── frequent.jsx
│ │ │ │ │ ├── nature.jsx
│ │ │ │ │ ├── objects.jsx
│ │ │ │ │ ├── people.jsx
│ │ │ │ │ ├── productivity.jsx
│ │ │ │ │ ├── symbols.jsx
│ │ │ │ │ └── travel.jsx
│ │ │ │ ├── epic
│ │ │ │ │ └── 16.jsx
│ │ │ │ ├── error.jsx
│ │ │ │ ├── excel-spreadsheet
│ │ │ │ │ ├── 16.jsx
│ │ │ │ │ └── 24.jsx
│ │ │ │ ├── executable
│ │ │ │ │ └── 16.jsx
│ │ │ │ ├── file.jsx
│ │ │ │ ├── folder-filled.jsx
│ │ │ │ ├── generic
│ │ │ │ │ └── 16.jsx
│ │ │ │ ├── gif
│ │ │ │ │ └── 16.jsx
│ │ │ │ ├── google-doc
│ │ │ │ │ └── 16.jsx
│ │ │ │ ├── google-form
│ │ │ │ │ └── 16.jsx
│ │ │ │ ├── google-sheet
│ │ │ │ │ ├── 16.jsx
│ │ │ │ │ └── 24.jsx
│ │ │ │ ├── google-slide
│ │ │ │ │ ├── 16.jsx
│ │ │ │ │ └── 24.jsx
│ │ │ │ ├── googledrive.jsx
│ │ │ │ ├── hipchat
│ │ │ │ │ ├── chevron-down.jsx
│ │ │ │ │ └── outgoing-sound.jsx
│ │ │ │ ├── image.jsx
│ │ │ │ ├── image
│ │ │ │ │ └── 16.jsx
│ │ │ │ ├── incident
│ │ │ │ │ └── 16.jsx
│ │ │ │ ├── issue
│ │ │ │ │ └── 16.jsx
│ │ │ │ ├── link.jsx
│ │ │ │ ├── location.jsx
│ │ │ │ ├── lock-circle.jsx
│ │ │ │ ├── lock-filled.jsx
│ │ │ │ ├── media-services
│ │ │ │ │ ├── annotate.jsx
│ │ │ │ │ ├── arrow.jsx
│ │ │ │ │ ├── audio.jsx
│ │ │ │ │ ├── blur.jsx
│ │ │ │ │ ├── brush.jsx
│ │ │ │ │ ├── document.jsx
│ │ │ │ │ ├── image.jsx
│ │ │ │ │ ├── line.jsx
│ │ │ │ │ ├── oval.jsx
│ │ │ │ │ ├── pdf.jsx
│ │ │ │ │ ├── presentation.jsx
│ │ │ │ │ ├── rectangle.jsx
│ │ │ │ │ ├── spreadsheet.jsx
│ │ │ │ │ ├── text.jsx
│ │ │ │ │ ├── unknown.jsx
│ │ │ │ │ ├── video.jsx
│ │ │ │ │ ├── zip.jsx
│ │ │ │ │ ├── zoom-in.jsx
│ │ │ │ │ └── zoom-out.jsx
│ │ │ │ ├── mention.jsx
│ │ │ │ ├── more.jsx
│ │ │ │ ├── office-building.jsx
│ │ │ │ ├── open.jsx
│ │ │ │ ├── page.jsx
│ │ │ │ ├── page
│ │ │ │ │ └── 16.jsx
│ │ │ │ ├── pdf-document
│ │ │ │ │ └── 16.jsx
│ │ │ │ ├── people-group.jsx
│ │ │ │ ├── powerpoint-presentation
│ │ │ │ │ ├── 16.jsx
│ │ │ │ │ └── 24.jsx
│ │ │ │ ├── presentation
│ │ │ │ │ ├── 16.jsx
│ │ │ │ │ └── 24.jsx
│ │ │ │ ├── problem
│ │ │ │ │ └── 16.jsx
│ │ │ │ ├── pull-request
│ │ │ │ │ └── 16.jsx
│ │ │ │ ├── question.jsx
│ │ │ │ ├── quote.jsx
│ │ │ │ ├── radio.jsx
│ │ │ │ ├── recent.jsx
│ │ │ │ ├── refresh.jsx
│ │ │ │ ├── search.jsx
│ │ │ │ ├── select-clear.jsx
│ │ │ │ ├── settings.jsx
│ │ │ │ ├── sketch
│ │ │ │ │ └── 16.jsx
│ │ │ │ ├── source-code
│ │ │ │ │ └── 16.jsx
│ │ │ │ ├── spreadsheet
│ │ │ │ │ ├── 16.jsx
│ │ │ │ │ └── 24.jsx
│ │ │ │ ├── status.jsx
│ │ │ │ ├── story
│ │ │ │ │ └── 16.jsx
│ │ │ │ ├── subtask
│ │ │ │ │ └── 16.jsx
│ │ │ │ ├── task
│ │ │ │ │ └── 16.jsx
│ │ │ │ ├── trash.jsx
│ │ │ │ ├── upload.jsx
│ │ │ │ ├── vid-full-screen-off.jsx
│ │ │ │ ├── vid-full-screen-on.jsx
│ │ │ │ ├── vid-hd-circle.jsx
│ │ │ │ ├── vid-pause.jsx
│ │ │ │ ├── vid-play.jsx
│ │ │ │ ├── video
│ │ │ │ │ └── 16.jsx
│ │ │ │ ├── warning.jsx
│ │ │ │ └── word-document
│ │ │ │ │ ├── 16.jsx
│ │ │ │ │ └── 24.jsx
│ │ │ └── svg
│ │ │ │ ├── activity.svg
│ │ │ │ ├── airplay.svg
│ │ │ │ ├── alert-circle.svg
│ │ │ │ ├── alert-octagon.svg
│ │ │ │ ├── alert-triangle.svg
│ │ │ │ ├── align-center.svg
│ │ │ │ ├── align-justify.svg
│ │ │ │ ├── align-left.svg
│ │ │ │ ├── align-right.svg
│ │ │ │ ├── anchor.svg
│ │ │ │ ├── aperture.svg
│ │ │ │ ├── archive.svg
│ │ │ │ ├── arrow-down-circle.svg
│ │ │ │ ├── arrow-down-left.svg
│ │ │ │ ├── arrow-down-right.svg
│ │ │ │ ├── arrow-down.svg
│ │ │ │ ├── arrow-left-circle.svg
│ │ │ │ ├── arrow-left.svg
│ │ │ │ ├── arrow-right-circle.svg
│ │ │ │ ├── arrow-right.svg
│ │ │ │ ├── arrow-up-circle.svg
│ │ │ │ ├── arrow-up-left.svg
│ │ │ │ ├── arrow-up-right.svg
│ │ │ │ ├── arrow-up.svg
│ │ │ │ ├── at-sign.svg
│ │ │ │ ├── award.svg
│ │ │ │ ├── bar-chart-2.svg
│ │ │ │ ├── bar-chart.svg
│ │ │ │ ├── battery-charging.svg
│ │ │ │ ├── battery.svg
│ │ │ │ ├── bell-off.svg
│ │ │ │ ├── bell.svg
│ │ │ │ ├── bluetooth.svg
│ │ │ │ ├── bold.svg
│ │ │ │ ├── book-open.svg
│ │ │ │ ├── book.svg
│ │ │ │ ├── bookmark.svg
│ │ │ │ ├── box.svg
│ │ │ │ ├── briefcase.svg
│ │ │ │ ├── calendar.svg
│ │ │ │ ├── camera-off.svg
│ │ │ │ ├── camera.svg
│ │ │ │ ├── cast.svg
│ │ │ │ ├── check-circle.svg
│ │ │ │ ├── check-square.svg
│ │ │ │ ├── check.svg
│ │ │ │ ├── chevron-down.svg
│ │ │ │ ├── chevron-left.svg
│ │ │ │ ├── chevron-right.svg
│ │ │ │ ├── chevron-up.svg
│ │ │ │ ├── chevrons-down.svg
│ │ │ │ ├── chevrons-left.svg
│ │ │ │ ├── chevrons-right.svg
│ │ │ │ ├── chevrons-up.svg
│ │ │ │ ├── chrome.svg
│ │ │ │ ├── circle.svg
│ │ │ │ ├── clipboard.svg
│ │ │ │ ├── clock.svg
│ │ │ │ ├── cloud-drizzle.svg
│ │ │ │ ├── cloud-lightning.svg
│ │ │ │ ├── cloud-off.svg
│ │ │ │ ├── cloud-rain.svg
│ │ │ │ ├── cloud-snow.svg
│ │ │ │ ├── cloud.svg
│ │ │ │ ├── code.svg
│ │ │ │ ├── codepen.svg
│ │ │ │ ├── codesandbox.svg
│ │ │ │ ├── coffee.svg
│ │ │ │ ├── columns.svg
│ │ │ │ ├── command.svg
│ │ │ │ ├── compass.svg
│ │ │ │ ├── copy.svg
│ │ │ │ ├── corner-down-left.svg
│ │ │ │ ├── corner-down-right.svg
│ │ │ │ ├── corner-left-down.svg
│ │ │ │ ├── corner-left-up.svg
│ │ │ │ ├── corner-right-down.svg
│ │ │ │ ├── corner-right-up.svg
│ │ │ │ ├── corner-up-left.svg
│ │ │ │ ├── corner-up-right.svg
│ │ │ │ ├── cpu.svg
│ │ │ │ ├── credit-card.svg
│ │ │ │ ├── crop.svg
│ │ │ │ ├── crosshair.svg
│ │ │ │ ├── database.svg
│ │ │ │ ├── delete.svg
│ │ │ │ ├── disc.svg
│ │ │ │ ├── dollar-sign.svg
│ │ │ │ ├── download-cloud.svg
│ │ │ │ ├── download.svg
│ │ │ │ ├── droplet.svg
│ │ │ │ ├── edit-2.svg
│ │ │ │ ├── edit-3.svg
│ │ │ │ ├── edit.svg
│ │ │ │ ├── external-link.svg
│ │ │ │ ├── eye-off.svg
│ │ │ │ ├── eye.svg
│ │ │ │ ├── facebook.svg
│ │ │ │ ├── fast-forward.svg
│ │ │ │ ├── feather.svg
│ │ │ │ ├── figma.svg
│ │ │ │ ├── file-minus.svg
│ │ │ │ ├── file-plus.svg
│ │ │ │ ├── file-text.svg
│ │ │ │ ├── file.svg
│ │ │ │ ├── film.svg
│ │ │ │ ├── filter.svg
│ │ │ │ ├── flag.svg
│ │ │ │ ├── folder-minus.svg
│ │ │ │ ├── folder-plus.svg
│ │ │ │ ├── folder.svg
│ │ │ │ ├── frown.svg
│ │ │ │ ├── gift.svg
│ │ │ │ ├── git-branch.svg
│ │ │ │ ├── git-commit.svg
│ │ │ │ ├── git-merge.svg
│ │ │ │ ├── git-pull-request.svg
│ │ │ │ ├── github.svg
│ │ │ │ ├── gitlab.svg
│ │ │ │ ├── globe.svg
│ │ │ │ ├── grid.svg
│ │ │ │ ├── hard-drive.svg
│ │ │ │ ├── hash.svg
│ │ │ │ ├── headphones.svg
│ │ │ │ ├── heart.svg
│ │ │ │ ├── help-circle.svg
│ │ │ │ ├── hexagon.svg
│ │ │ │ ├── home.svg
│ │ │ │ ├── image.svg
│ │ │ │ ├── inbox.svg
│ │ │ │ ├── info.svg
│ │ │ │ ├── instagram.svg
│ │ │ │ ├── italic.svg
│ │ │ │ ├── key.svg
│ │ │ │ ├── layers.svg
│ │ │ │ ├── layout.svg
│ │ │ │ ├── life-buoy.svg
│ │ │ │ ├── link-2.svg
│ │ │ │ ├── link.svg
│ │ │ │ ├── linkedin.svg
│ │ │ │ ├── list.svg
│ │ │ │ ├── loader.svg
│ │ │ │ ├── lock.svg
│ │ │ │ ├── log-in.svg
│ │ │ │ ├── log-out.svg
│ │ │ │ ├── mail.svg
│ │ │ │ ├── map-pin.svg
│ │ │ │ ├── map.svg
│ │ │ │ ├── maximize-2.svg
│ │ │ │ ├── maximize.svg
│ │ │ │ ├── meh.svg
│ │ │ │ ├── menu.svg
│ │ │ │ ├── message-circle.svg
│ │ │ │ ├── message-square.svg
│ │ │ │ ├── mic-off.svg
│ │ │ │ ├── mic.svg
│ │ │ │ ├── minimize-2.svg
│ │ │ │ ├── minimize.svg
│ │ │ │ ├── minus-circle.svg
│ │ │ │ ├── minus-square.svg
│ │ │ │ ├── minus.svg
│ │ │ │ ├── monitor.svg
│ │ │ │ ├── moon.svg
│ │ │ │ ├── more-horizontal.svg
│ │ │ │ ├── more-vertical.svg
│ │ │ │ ├── mouse-pointer.svg
│ │ │ │ ├── move.svg
│ │ │ │ ├── music.svg
│ │ │ │ ├── navigation-2.svg
│ │ │ │ ├── navigation.svg
│ │ │ │ ├── octagon.svg
│ │ │ │ ├── package.svg
│ │ │ │ ├── paperclip.svg
│ │ │ │ ├── pause-circle.svg
│ │ │ │ ├── pause.svg
│ │ │ │ ├── pen-tool.svg
│ │ │ │ ├── percent.svg
│ │ │ │ ├── phone-call.svg
│ │ │ │ ├── phone-forwarded.svg
│ │ │ │ ├── phone-incoming.svg
│ │ │ │ ├── phone-missed.svg
│ │ │ │ ├── phone-off.svg
│ │ │ │ ├── phone-outgoing.svg
│ │ │ │ ├── phone.svg
│ │ │ │ ├── pie-chart.svg
│ │ │ │ ├── play-circle.svg
│ │ │ │ ├── play.svg
│ │ │ │ ├── plus-circle.svg
│ │ │ │ ├── plus-square.svg
│ │ │ │ ├── plus.svg
│ │ │ │ ├── pocket.svg
│ │ │ │ ├── power.svg
│ │ │ │ ├── printer.svg
│ │ │ │ ├── radio.svg
│ │ │ │ ├── refresh-ccw.svg
│ │ │ │ ├── refresh-cw.svg
│ │ │ │ ├── repeat.svg
│ │ │ │ ├── rewind.svg
│ │ │ │ ├── rotate-ccw.svg
│ │ │ │ ├── rotate-cw.svg
│ │ │ │ ├── rss.svg
│ │ │ │ ├── save.svg
│ │ │ │ ├── scissors.svg
│ │ │ │ ├── search.svg
│ │ │ │ ├── send.svg
│ │ │ │ ├── server.svg
│ │ │ │ ├── settings.svg
│ │ │ │ ├── share-2.svg
│ │ │ │ ├── share.svg
│ │ │ │ ├── shield-off.svg
│ │ │ │ ├── shield.svg
│ │ │ │ ├── shopping-bag.svg
│ │ │ │ ├── shopping-cart.svg
│ │ │ │ ├── shuffle.svg
│ │ │ │ ├── sidebar.svg
│ │ │ │ ├── skip-back.svg
│ │ │ │ ├── skip-forward.svg
│ │ │ │ ├── slack.svg
│ │ │ │ ├── slash.svg
│ │ │ │ ├── sliders.svg
│ │ │ │ ├── smartphone.svg
│ │ │ │ ├── smile.svg
│ │ │ │ ├── speaker.svg
│ │ │ │ ├── square.svg
│ │ │ │ ├── star.svg
│ │ │ │ ├── stop-circle.svg
│ │ │ │ ├── sun.svg
│ │ │ │ ├── sunrise.svg
│ │ │ │ ├── sunset.svg
│ │ │ │ ├── tablet.svg
│ │ │ │ ├── tag.svg
│ │ │ │ ├── target.svg
│ │ │ │ ├── terminal.svg
│ │ │ │ ├── thermometer.svg
│ │ │ │ ├── thumbs-down.svg
│ │ │ │ ├── thumbs-up.svg
│ │ │ │ ├── toggle-left.svg
│ │ │ │ ├── toggle-right.svg
│ │ │ │ ├── trash-2.svg
│ │ │ │ ├── trash.svg
│ │ │ │ ├── trello.svg
│ │ │ │ ├── trending-down.svg
│ │ │ │ ├── trending-up.svg
│ │ │ │ ├── triangle.svg
│ │ │ │ ├── truck.svg
│ │ │ │ ├── tv.svg
│ │ │ │ ├── twitter.svg
│ │ │ │ ├── type.svg
│ │ │ │ ├── umbrella.svg
│ │ │ │ ├── underline.svg
│ │ │ │ ├── unlock.svg
│ │ │ │ ├── upload-cloud.svg
│ │ │ │ ├── upload.svg
│ │ │ │ ├── user-check.svg
│ │ │ │ ├── user-minus.svg
│ │ │ │ ├── user-plus.svg
│ │ │ │ ├── user-x.svg
│ │ │ │ ├── user.svg
│ │ │ │ ├── users.svg
│ │ │ │ ├── video-off.svg
│ │ │ │ ├── video.svg
│ │ │ │ ├── voicemail.svg
│ │ │ │ ├── volume-1.svg
│ │ │ │ ├── volume-2.svg
│ │ │ │ ├── volume-x.svg
│ │ │ │ ├── volume.svg
│ │ │ │ ├── watch.svg
│ │ │ │ ├── wifi-off.svg
│ │ │ │ ├── wifi.svg
│ │ │ │ ├── wind.svg
│ │ │ │ ├── x-circle.svg
│ │ │ │ ├── x-octagon.svg
│ │ │ │ ├── x-square.svg
│ │ │ │ ├── x.svg
│ │ │ │ ├── youtube.svg
│ │ │ │ ├── zap-off.svg
│ │ │ │ ├── zap.svg
│ │ │ │ ├── zoom-in.svg
│ │ │ │ └── zoom-out.svg
│ │ ├── package.json
│ │ └── src
│ │ │ ├── Editor.tsx
│ │ │ ├── _styledCompat
│ │ │ ├── FullPage.tsx
│ │ │ ├── PanelTextInput
│ │ │ │ ├── index.js
│ │ │ │ └── styles.ts
│ │ │ ├── avatar-js
│ │ │ │ ├── docs
│ │ │ │ │ ├── 0-intro.js
│ │ │ │ │ ├── 01-avatar-item.js
│ │ │ │ │ ├── 03-Presence.js
│ │ │ │ │ ├── 04-Status.js
│ │ │ │ │ └── 05-skeleton.js
│ │ │ │ ├── examples-util
│ │ │ │ │ ├── data.js
│ │ │ │ │ ├── fullAvatarExample.js
│ │ │ │ │ ├── helpers.js
│ │ │ │ │ └── withAllAvatarSizes.js
│ │ │ │ ├── examples
│ │ │ │ │ ├── 01-basicAvatar.js
│ │ │ │ │ ├── 03-basicAvatarItem.js
│ │ │ │ │ ├── 04-basicPresence.js
│ │ │ │ │ ├── 05-basicStatus.js
│ │ │ │ │ ├── 06-avatarCircle.js
│ │ │ │ │ ├── 07-avatarSquare.js
│ │ │ │ │ ├── 08-avatarBackgrounds.js
│ │ │ │ │ ├── 09-avatarInteractiveStates.js
│ │ │ │ │ ├── 11-avatarLoadingBehaviour.js
│ │ │ │ │ ├── 12-presenceBorderColor.js
│ │ │ │ │ ├── 13-presenceCustomComponent.js
│ │ │ │ │ ├── 14-presenceSizeBehavior.js
│ │ │ │ │ ├── 15-skeleton.js
│ │ │ │ │ ├── 16-with-custom-component.js
│ │ │ │ │ └── 17-statusCustomComponent.js
│ │ │ │ └── src
│ │ │ │ │ ├── components
│ │ │ │ │ ├── Avatar.js
│ │ │ │ │ ├── AvatarImage.js
│ │ │ │ │ ├── AvatarItem.js
│ │ │ │ │ ├── CustomComponentProxy.js
│ │ │ │ │ ├── Presence.js
│ │ │ │ │ ├── Skeleton.js
│ │ │ │ │ ├── Status.js
│ │ │ │ │ ├── __tests__
│ │ │ │ │ │ ├── unit
│ │ │ │ │ │ │ ├── Avatar-SSR.js
│ │ │ │ │ │ │ ├── Avatar.js
│ │ │ │ │ │ │ ├── Image.js
│ │ │ │ │ │ │ ├── Presence.js
│ │ │ │ │ │ │ ├── analytics.js
│ │ │ │ │ │ │ ├── server-side-hydrate.js
│ │ │ │ │ │ │ └── server-side.js
│ │ │ │ │ │ └── visual-regression
│ │ │ │ │ │ │ └── avatarSnapshotTest.js
│ │ │ │ │ └── constants.js
│ │ │ │ │ ├── helpers
│ │ │ │ │ ├── getPresenceSVG.js
│ │ │ │ │ ├── getProps.js
│ │ │ │ │ ├── getStatusSVG.js
│ │ │ │ │ ├── getStyledAvatar.js
│ │ │ │ │ ├── getStyledAvatarItem.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ └── styledCache.js
│ │ │ │ │ ├── hoc
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── mapProps.js
│ │ │ │ │ └── withPseudoState.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── styled
│ │ │ │ │ ├── Avatar.js
│ │ │ │ │ ├── AvatarImage.js
│ │ │ │ │ ├── AvatarItem.js
│ │ │ │ │ ├── Icon.js
│ │ │ │ │ ├── Skeleton.js
│ │ │ │ │ ├── __tests__
│ │ │ │ │ │ └── unit
│ │ │ │ │ │ │ └── Skeleton.js
│ │ │ │ │ ├── constants.js
│ │ │ │ │ └── utils.js
│ │ │ │ │ ├── theme
│ │ │ │ │ ├── index.js
│ │ │ │ │ └── item.js
│ │ │ │ │ ├── types.js
│ │ │ │ │ ├── utils.js
│ │ │ │ │ └── version.json
│ │ │ ├── droplist-js
│ │ │ │ ├── docs
│ │ │ │ │ └── 0-intro.js
│ │ │ │ ├── examples
│ │ │ │ │ ├── 00-basic-example.js
│ │ │ │ │ ├── 01-bound-example.js
│ │ │ │ │ └── 02-tall-example.js
│ │ │ │ └── src
│ │ │ │ │ ├── __tests__
│ │ │ │ │ ├── integration
│ │ │ │ │ │ └── droplist.js
│ │ │ │ │ └── unit
│ │ │ │ │ │ ├── analytics-item.js
│ │ │ │ │ │ ├── analytics.js
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ ├── server-side-hydrate.js
│ │ │ │ │ │ └── server-side.js
│ │ │ │ │ ├── components
│ │ │ │ │ ├── Droplist.js
│ │ │ │ │ ├── Element.js
│ │ │ │ │ ├── Group.js
│ │ │ │ │ └── Item.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── styled
│ │ │ │ │ ├── Droplist.js
│ │ │ │ │ ├── Group.js
│ │ │ │ │ ├── Item.js
│ │ │ │ │ └── __tests__
│ │ │ │ │ │ └── unit
│ │ │ │ │ │ └── Droplist.js
│ │ │ │ │ ├── theme
│ │ │ │ │ └── item-theme.js
│ │ │ │ │ ├── types.js
│ │ │ │ │ ├── utils
│ │ │ │ │ └── index.js
│ │ │ │ │ └── version.json
│ │ │ ├── mixins.js
│ │ │ ├── styles.js
│ │ │ ├── task-decision
│ │ │ │ ├── .npmignore
│ │ │ │ ├── CHANGELOG.md
│ │ │ │ ├── LICENSE
│ │ │ │ ├── build
│ │ │ │ │ └── es2015
│ │ │ │ │ │ └── tsconfig.json
│ │ │ │ ├── bundle-size-ratchet.json
│ │ │ │ ├── docs
│ │ │ │ │ └── 01-intro.tsx
│ │ │ │ ├── example-helpers
│ │ │ │ │ └── story-utils.tsx
│ │ │ │ ├── examples
│ │ │ │ │ ├── 00-dark-decision-item.tsx
│ │ │ │ │ ├── 00-decision-item.tsx
│ │ │ │ │ ├── 01-decision-list.tsx
│ │ │ │ │ ├── 02-task-item-dark.tsx
│ │ │ │ │ ├── 02-task-item.tsx
│ │ │ │ │ ├── 03-task-list.tsx
│ │ │ │ │ └── 04-resourced-task-item.tsx
│ │ │ │ ├── index.ts
│ │ │ │ ├── local-config-example.ts
│ │ │ │ ├── package.json
│ │ │ │ ├── src
│ │ │ │ │ ├── __tests__
│ │ │ │ │ │ └── unit
│ │ │ │ │ │ │ ├── _mock.ts
│ │ │ │ │ │ │ ├── _test-data.ts
│ │ │ │ │ │ │ ├── api
│ │ │ │ │ │ │ ├── ItemStateManagerSpec.ts
│ │ │ │ │ │ │ ├── RecentUpdatesSpec.ts
│ │ │ │ │ │ │ ├── TaskDecisionResourceSpec.ts
│ │ │ │ │ │ │ └── TaskDecisionUtilsSpec.ts
│ │ │ │ │ │ │ ├── components
│ │ │ │ │ │ │ ├── DecisionItemSpec.tsx
│ │ │ │ │ │ │ ├── DecisionListSpec.tsx
│ │ │ │ │ │ │ ├── ResourcedTaskItemSpec.tsx
│ │ │ │ │ │ │ ├── TaskItemSpec.tsx
│ │ │ │ │ │ │ └── TaskListSpec.tsx
│ │ │ │ │ │ │ ├── ssr
│ │ │ │ │ │ │ ├── samples
│ │ │ │ │ │ │ │ ├── _decision-inline.tsx
│ │ │ │ │ │ │ │ └── _task-inline.tsx
│ │ │ │ │ │ │ └── server-side-hydrate.tsx
│ │ │ │ │ │ │ ├── test-data-spec.ts
│ │ │ │ │ │ │ ├── type-helpers-Spec.ts
│ │ │ │ │ │ │ └── utils
│ │ │ │ │ │ │ └── date-spec.ts
│ │ │ │ │ ├── analytics
│ │ │ │ │ │ └── index.ts
│ │ │ │ │ ├── api
│ │ │ │ │ │ ├── TaskDecisionLoader.ts
│ │ │ │ │ │ ├── TaskDecisionResource.ts
│ │ │ │ │ │ └── TaskDecisionUtils.ts
│ │ │ │ │ ├── components
│ │ │ │ │ │ ├── DecisionItem.tsx
│ │ │ │ │ │ ├── DecisionList.tsx
│ │ │ │ │ │ ├── InfiniteScroll.tsx
│ │ │ │ │ │ ├── Item.tsx
│ │ │ │ │ │ ├── ResourcedTaskItem.tsx
│ │ │ │ │ │ ├── TaskItem.tsx
│ │ │ │ │ │ └── TaskList.tsx
│ │ │ │ │ ├── constants.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── styled
│ │ │ │ │ │ ├── DateGroup.tsx
│ │ │ │ │ │ ├── DateGroupHeader.tsx
│ │ │ │ │ │ ├── DecisionItem.tsx
│ │ │ │ │ │ ├── Item.tsx
│ │ │ │ │ │ ├── ListContainer.tsx
│ │ │ │ │ │ ├── ListWrapper.tsx
│ │ │ │ │ │ ├── Placeholder.tsx
│ │ │ │ │ │ └── TaskItem.tsx
│ │ │ │ │ ├── type-helpers.ts
│ │ │ │ │ ├── types.ts
│ │ │ │ │ ├── util
│ │ │ │ │ │ └── date.ts
│ │ │ │ │ └── version.json
│ │ │ │ └── tsconfig.json
│ │ │ └── tooltip
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ └── src
│ │ │ │ ├── components
│ │ │ │ ├── Animation.js
│ │ │ │ ├── Tooltip.js
│ │ │ │ ├── __tests__
│ │ │ │ │ ├── unit
│ │ │ │ │ │ ├── Tooltip.js
│ │ │ │ │ │ ├── analytics.js
│ │ │ │ │ │ ├── server-side-hydrate.js
│ │ │ │ │ │ └── server-side.js
│ │ │ │ │ └── visual-regression
│ │ │ │ │ │ ├── TooltipSnapsnotTest.js
│ │ │ │ │ │ └── __image_snapshots__
│ │ │ │ │ │ └── tooltip-snapsnot-test-js-snapshot-test-tooltip-should-match-production-example-1-snap.png
│ │ │ │ └── utils
│ │ │ │ │ └── analytics-payloads.js
│ │ │ │ ├── index.js
│ │ │ │ ├── styled.js
│ │ │ │ ├── types.js
│ │ │ │ └── version.json
│ │ │ ├── collab-edit
│ │ │ ├── actions.ts
│ │ │ ├── index.ts
│ │ │ ├── participants.ts
│ │ │ ├── plugin.ts
│ │ │ ├── provider
│ │ │ │ ├── channel.ts
│ │ │ │ ├── collab-provider.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── mock-users.ts
│ │ │ │ └── types.ts
│ │ │ ├── styles.ts
│ │ │ ├── types.ts
│ │ │ ├── ui
│ │ │ │ └── avatars.tsx
│ │ │ └── utils.ts
│ │ │ ├── index.ts
│ │ │ └── util-data-test
│ │ │ ├── CHANGELOG.md
│ │ │ ├── LICENSE
│ │ │ ├── dist
│ │ │ ├── es2015
│ │ │ │ ├── emoji
│ │ │ │ │ ├── MockEmojiResource.d.ts
│ │ │ │ │ ├── MockEmojiResource.js
│ │ │ │ │ ├── MockEmojiResource.js.map
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── index.js.map
│ │ │ │ │ ├── story-data.d.ts
│ │ │ │ │ ├── story-data.js
│ │ │ │ │ ├── story-data.js.map
│ │ │ │ │ ├── test-data.d.ts
│ │ │ │ │ ├── test-data.js
│ │ │ │ │ ├── test-data.js.map
│ │ │ │ │ ├── utils.d.ts
│ │ │ │ │ ├── utils.js
│ │ │ │ │ └── utils.js.map
│ │ │ │ ├── index.d.ts
│ │ │ │ ├── index.js
│ │ │ │ ├── index.js.map
│ │ │ │ ├── json-data
│ │ │ │ │ ├── mention-data.json
│ │ │ │ │ ├── presence-invalid-info.json
│ │ │ │ │ ├── presence-valid-info.json
│ │ │ │ │ ├── sample-decisions.json
│ │ │ │ │ ├── sample-elements.json
│ │ │ │ │ ├── sample-tasks.json
│ │ │ │ │ ├── service-data-atlassian.json
│ │ │ │ │ ├── service-data-standard.json
│ │ │ │ │ ├── test-emoji-atlassian.json
│ │ │ │ │ ├── test-emoji-standard.json
│ │ │ │ │ └── user-picker-data.json
│ │ │ │ ├── logger.d.ts
│ │ │ │ ├── logger.js
│ │ │ │ ├── logger.js.map
│ │ │ │ ├── mention
│ │ │ │ │ ├── MockMentionResource.d.ts
│ │ │ │ │ ├── MockMentionResource.js
│ │ │ │ │ ├── MockMentionResource.js.map
│ │ │ │ │ ├── MockMentionResourceWithInfoHints.d.ts
│ │ │ │ │ ├── MockMentionResourceWithInfoHints.js
│ │ │ │ │ ├── MockMentionResourceWithInfoHints.js.map
│ │ │ │ │ ├── MockPresenceResource.d.ts
│ │ │ │ │ ├── MockPresenceResource.js
│ │ │ │ │ ├── MockPresenceResource.js.map
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── index.js.map
│ │ │ │ │ ├── mention-data.d.ts
│ │ │ │ │ ├── mention-data.js
│ │ │ │ │ ├── mention-data.js.map
│ │ │ │ │ ├── presence-data.d.ts
│ │ │ │ │ ├── presence-data.js
│ │ │ │ │ ├── presence-data.js.map
│ │ │ │ │ ├── story-data.d.ts
│ │ │ │ │ ├── story-data.js
│ │ │ │ │ ├── story-data.js.map
│ │ │ │ │ ├── utils.d.ts
│ │ │ │ │ ├── utils.js
│ │ │ │ │ └── utils.js.map
│ │ │ │ ├── profilecard
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── index.js.map
│ │ │ │ │ ├── mock-profile-client.d.ts
│ │ │ │ │ ├── mock-profile-client.js
│ │ │ │ │ ├── mock-profile-client.js.map
│ │ │ │ │ ├── profile-data.d.ts
│ │ │ │ │ ├── profile-data.js
│ │ │ │ │ ├── profile-data.js.map
│ │ │ │ │ ├── util.d.ts
│ │ │ │ │ ├── util.js
│ │ │ │ │ └── util.js.map
│ │ │ │ ├── task-decision
│ │ │ │ │ ├── MockTaskDecisionResource.d.ts
│ │ │ │ │ ├── MockTaskDecisionResource.js
│ │ │ │ │ ├── MockTaskDecisionResource.js.map
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── index.js.map
│ │ │ │ │ ├── story-data.d.ts
│ │ │ │ │ ├── story-data.js
│ │ │ │ │ ├── story-data.js.map
│ │ │ │ │ ├── utils.d.ts
│ │ │ │ │ ├── utils.js
│ │ │ │ │ └── utils.js.map
│ │ │ │ └── user-picker
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── index.js.map
│ │ │ │ │ ├── user-picker-data.d.ts
│ │ │ │ │ ├── user-picker-data.js
│ │ │ │ │ └── user-picker-data.js.map
│ │ │ ├── es5
│ │ │ │ ├── emoji
│ │ │ │ │ ├── MockEmojiResource.d.ts
│ │ │ │ │ ├── MockEmojiResource.js
│ │ │ │ │ ├── MockEmojiResource.js.map
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── index.js.map
│ │ │ │ │ ├── story-data.d.ts
│ │ │ │ │ ├── story-data.js
│ │ │ │ │ ├── story-data.js.map
│ │ │ │ │ ├── test-data.d.ts
│ │ │ │ │ ├── test-data.js
│ │ │ │ │ ├── test-data.js.map
│ │ │ │ │ ├── utils.d.ts
│ │ │ │ │ ├── utils.js
│ │ │ │ │ └── utils.js.map
│ │ │ │ ├── index.d.ts
│ │ │ │ ├── index.js
│ │ │ │ ├── index.js.map
│ │ │ │ ├── logger.d.ts
│ │ │ │ ├── logger.js
│ │ │ │ ├── logger.js.map
│ │ │ │ ├── mention
│ │ │ │ │ ├── MockMentionResource.d.ts
│ │ │ │ │ ├── MockMentionResource.js
│ │ │ │ │ ├── MockMentionResource.js.map
│ │ │ │ │ ├── MockMentionResourceWithInfoHints.d.ts
│ │ │ │ │ ├── MockMentionResourceWithInfoHints.js
│ │ │ │ │ ├── MockMentionResourceWithInfoHints.js.map
│ │ │ │ │ ├── MockPresenceResource.d.ts
│ │ │ │ │ ├── MockPresenceResource.js
│ │ │ │ │ ├── MockPresenceResource.js.map
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── index.js.map
│ │ │ │ │ ├── mention-data.d.ts
│ │ │ │ │ ├── mention-data.js
│ │ │ │ │ ├── mention-data.js.map
│ │ │ │ │ ├── presence-data.d.ts
│ │ │ │ │ ├── presence-data.js
│ │ │ │ │ ├── presence-data.js.map
│ │ │ │ │ ├── story-data.d.ts
│ │ │ │ │ ├── story-data.js
│ │ │ │ │ ├── story-data.js.map
│ │ │ │ │ ├── utils.d.ts
│ │ │ │ │ ├── utils.js
│ │ │ │ │ └── utils.js.map
│ │ │ │ ├── profilecard
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── index.js.map
│ │ │ │ │ ├── mock-profile-client.d.ts
│ │ │ │ │ ├── mock-profile-client.js
│ │ │ │ │ ├── mock-profile-client.js.map
│ │ │ │ │ ├── profile-data.d.ts
│ │ │ │ │ ├── profile-data.js
│ │ │ │ │ ├── profile-data.js.map
│ │ │ │ │ ├── util.d.ts
│ │ │ │ │ ├── util.js
│ │ │ │ │ └── util.js.map
│ │ │ │ ├── task-decision
│ │ │ │ │ ├── MockTaskDecisionResource.d.ts
│ │ │ │ │ ├── MockTaskDecisionResource.js
│ │ │ │ │ ├── MockTaskDecisionResource.js.map
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── index.js.map
│ │ │ │ │ ├── story-data.d.ts
│ │ │ │ │ ├── story-data.js
│ │ │ │ │ ├── story-data.js.map
│ │ │ │ │ ├── utils.d.ts
│ │ │ │ │ ├── utils.js
│ │ │ │ │ └── utils.js.map
│ │ │ │ └── user-picker
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── index.js.map
│ │ │ │ │ ├── user-picker-data.d.ts
│ │ │ │ │ ├── user-picker-data.js
│ │ │ │ │ └── user-picker-data.js.map
│ │ │ └── package.json
│ │ │ ├── package.json
│ │ │ └── src
│ │ │ ├── emoji
│ │ │ ├── MockEmojiResource.ts
│ │ │ ├── index.ts
│ │ │ ├── story-data.ts
│ │ │ ├── test-data.ts
│ │ │ └── utils.ts
│ │ │ ├── index.ts
│ │ │ ├── json-data
│ │ │ ├── mention-data.json
│ │ │ ├── presence-invalid-info.json
│ │ │ ├── presence-valid-info.json
│ │ │ ├── sample-decisions.json
│ │ │ ├── sample-elements.json
│ │ │ ├── sample-tasks.json
│ │ │ ├── service-data-atlassian.json
│ │ │ ├── service-data-standard.json
│ │ │ ├── test-emoji-atlassian.json
│ │ │ ├── test-emoji-standard.json
│ │ │ └── user-picker-data.json
│ │ │ ├── logger.ts
│ │ │ ├── mention
│ │ │ ├── MockMentionResource.ts
│ │ │ ├── MockMentionResourceWithInfoHints.ts
│ │ │ ├── MockPresenceResource.ts
│ │ │ ├── index.ts
│ │ │ ├── mention-data.ts
│ │ │ ├── presence-data.ts
│ │ │ ├── story-data.ts
│ │ │ └── utils.ts
│ │ │ ├── profilecard
│ │ │ ├── index.ts
│ │ │ ├── mock-profile-client.ts
│ │ │ ├── profile-data.ts
│ │ │ └── util.ts
│ │ │ ├── task-decision
│ │ │ ├── MockTaskDecisionResource.ts
│ │ │ ├── index.ts
│ │ │ ├── story-data.ts
│ │ │ └── utils.ts
│ │ │ └── user-picker
│ │ │ ├── index.ts
│ │ │ └── user-picker-data.ts
│ └── component-posts
│ │ ├── package.json
│ │ └── src
│ │ ├── CreatePost.jsx
│ │ ├── DeletePost.jsx
│ │ └── index.js
├── index.ejs
├── index.html
└── routes.jsx
├── config
├── authsome-mode.js
├── components.json
├── custom-environment-variables.js
├── default.js
├── development.js
├── local-development.json
├── local-test.json
├── mailer.js
├── mailer_test.js
├── production.js
├── test.js
└── validations.js
├── docker-compose.yml
├── docker
└── Dockerfile
├── package.json
├── scripts
├── seed.js
└── test.sql
├── server
├── component-atlaskit-collab
│ ├── README.md
│ ├── demo-instances.json
│ ├── package.json
│ ├── src
│ │ ├── collab.js
│ │ ├── defaultinstances.js
│ │ ├── index.js
│ │ └── instance.js
│ └── yarn.lock
└── model-blogpost
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── package.json
│ └── src
│ ├── blogpost.js
│ ├── graphql
│ └── index.js
│ ├── index.js
│ └── migrations
│ ├── 1543166818-add-columns-to-fragment.sql
│ └── 1556901784-add-collab-to-fragment.sql
├── static
├── pubsweet-rgb-small.jpg
├── pubsweet.jpg
└── pubsweet.svg
├── test
├── admin.test.js
├── guest.test.js
├── helpers
│ ├── mail.js
│ └── setup.js
└── pageObjects
│ ├── helloWorld.js
│ ├── index.js
│ ├── login.js
│ ├── passwordReset.js
│ └── signup.js
├── tsconfig.json
├── webpack
├── babel-includes.js
├── common-rules.js
├── plugins.js
├── webpack.development.config.js
├── webpack.production.config.js
└── webpack.test.config.js
└── yarn.lock
/.eslintignore:
--------------------------------------------------------------------------------
1 | **/_build
2 | **/node_modules
3 | **/coverage
4 |
5 |
--------------------------------------------------------------------------------
/.lintstagedrc:
--------------------------------------------------------------------------------
1 | {
2 | "*.{js,jsx}": ["prettier --write", "eslint --fix", "git add"],
3 | "*.{json,md,css,scss}": ["prettier --write", "git add"]
4 | }
5 |
--------------------------------------------------------------------------------
/.prettierrc:
--------------------------------------------------------------------------------
1 | {
2 | "semi": false,
3 | "singleQuote": true,
4 | "trailingComma": "all"
5 | }
6 |
7 |
--------------------------------------------------------------------------------
/app.js:
--------------------------------------------------------------------------------
1 | const logger = require('@pubsweet/logger')
2 | const startServer = require('pubsweet-server')
3 |
4 | startServer().catch(err => {
5 | logger.error('FATAL ERROR, SHUTTING DOWN:', err)
6 | process.exit(1)
7 | })
8 |
--------------------------------------------------------------------------------
/app/app.js:
--------------------------------------------------------------------------------
1 | import 'regenerator-runtime/runtime'
2 |
3 | import React from 'react'
4 | import ReactDOM from 'react-dom'
5 | import { hot } from 'react-hot-loader'
6 |
7 | import { Root } from 'pubsweet-client'
8 |
9 | import theme from './components/blogger-theme'
10 |
11 | import { createBrowserHistory } from 'history'
12 | import routes from './routes'
13 |
14 | const history = createBrowserHistory()
15 |
16 | const rootEl = document.getElementById('root')
17 |
18 | ReactDOM.render(
19 | ,
20 | rootEl,
21 | )
22 |
23 | export default hot(module)(Root)
24 |
--------------------------------------------------------------------------------
/app/components/App.jsx:
--------------------------------------------------------------------------------
1 | import React from 'react'
2 | import PropTypes from 'prop-types'
3 |
4 | const App = ({ children, ...props }) =>
{children}
5 |
6 | App.propTypes = {
7 | children: PropTypes.node.isRequired,
8 | }
9 |
10 | export default App
11 |
--------------------------------------------------------------------------------
/app/components/HelloWorld.jsx:
--------------------------------------------------------------------------------
1 | import React from 'react'
2 |
3 | const HelloWorld = () => Hello World!
4 |
5 | export default HelloWorld
6 |
--------------------------------------------------------------------------------
/app/components/blogger-theme/README.md:
--------------------------------------------------------------------------------
1 | # Blogger Theme
2 |
3 | This theme is based on Coko's theme.
4 |
--------------------------------------------------------------------------------
/app/components/blogger-theme/src/elements/ActionGroup.js:
--------------------------------------------------------------------------------
1 | import { css } from 'styled-components'
2 | import { th } from '@pubsweet/ui-toolkit'
3 |
4 | export default {
5 | Root: css`
6 | > * {
7 | &:last-child {
8 | border-right: 0;
9 | }
10 | }
11 | `,
12 | ActionWrapper: css`
13 | border-right: 1px solid ${th('colorPrimary')};
14 | `,
15 | }
16 |
--------------------------------------------------------------------------------
/app/components/blogger-theme/src/elements/AppBar.js:
--------------------------------------------------------------------------------
1 | import { css } from 'styled-components'
2 | import { th } from '@pubsweet/ui-toolkit'
3 |
4 | /*
5 | To disable underline from Logo
6 | */
7 |
8 | export default {
9 | Root: css`
10 | box-shadow: 0 0 1px ${th('colorPrimary')};
11 | margin-bottom: 1px;
12 | `,
13 | LogoLink: css`
14 | &:hover:before {
15 | visibility: hidden;
16 | }
17 | `,
18 | }
19 |
--------------------------------------------------------------------------------
/app/components/blogger-theme/src/elements/GlobalStyle.js:
--------------------------------------------------------------------------------
1 | import { css } from 'styled-components'
2 |
3 | export default css`
4 | body {
5 | height: 100vh;
6 | }
7 |
8 | #root,
9 | #root > div {
10 | height: 100%;
11 | }
12 | `
13 |
--------------------------------------------------------------------------------
/app/components/blogger-theme/src/elements/Logo.js:
--------------------------------------------------------------------------------
1 | import { css } from 'styled-components'
2 |
3 | export default css`
4 | width: 150px;
5 | margin-left: auto;
6 | margin-right: auto;
7 | img {
8 | max-width: 100%;
9 | margin-bottom: 30px;
10 | margin-top: 30px;
11 | filter: grayscale(100%);
12 | }
13 | `
14 |
--------------------------------------------------------------------------------
/app/components/blogger-theme/src/elements/Menu.js:
--------------------------------------------------------------------------------
1 | import { css } from 'styled-components'
2 |
3 | export default {
4 | // TODO
5 | // -- input padding: breaking the grid?
6 | // -- small placeholder text? maybe by default?
7 | Opener: css`
8 | height: auto;
9 | `,
10 | }
11 |
--------------------------------------------------------------------------------
/app/components/blogger-theme/src/elements/index.js:
--------------------------------------------------------------------------------
1 | export { default as Action } from './Action'
2 | export { default as ActionGroup } from './ActionGroup'
3 | export { default as AppBar } from './AppBar'
4 | export { default as Button } from './Button'
5 | export { default as Checkbox } from './Checkbox'
6 | export { default as GlobalStyle } from './GlobalStyle'
7 | export { default as Radio } from './Radio'
8 | export { default as TextField } from './TextField'
9 | export { default as Menu } from './Menu'
10 | export { default as Logo } from './Logo'
11 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/.npmignore:
--------------------------------------------------------------------------------
1 | src/
2 | example-helpers/
3 | examples/
4 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/glyph/chevron-down.jsx:
--------------------------------------------------------------------------------
1 |
2 | import React from 'react'
3 |
4 | const svg = ''
5 | const Iconchevrondown = (props) => {
6 | return ()
7 | }
8 |
9 | export default Iconchevrondown
10 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/glyph/editor/add.jsx:
--------------------------------------------------------------------------------
1 |
2 | import React from 'react'
3 |
4 | const svg = ''
5 | const Iconadd = (props) => {
6 | return ()
7 | }
8 |
9 | export default Iconadd
10 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/glyph/editor/bold.jsx:
--------------------------------------------------------------------------------
1 |
2 | import React from 'react'
3 |
4 | const svg = ''
5 | const Iconbold = (props) => {
6 | return ()
7 | }
8 |
9 | export default Iconbold
10 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/glyph/editor/code.jsx:
--------------------------------------------------------------------------------
1 |
2 | import React from 'react'
3 |
4 | const svg = ''
5 | const Iconcode = (props) => {
6 | return ()
7 | }
8 |
9 | export default Iconcode
10 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/glyph/editor/mention.jsx:
--------------------------------------------------------------------------------
1 |
2 | import React from 'react'
3 |
4 | const svg = ''
5 | const Iconmention = (props) => {
6 | return ()
7 | }
8 |
9 | export default Iconmention
10 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/glyph/editor/table.jsx:
--------------------------------------------------------------------------------
1 |
2 | import React from 'react'
3 |
4 | const svg = ''
5 | const Icontable = (props) => {
6 | return ()
7 | }
8 |
9 | export default Icontable
10 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/glyph/editor/text-color.jsx:
--------------------------------------------------------------------------------
1 |
2 | import React from 'react'
3 |
4 | const svg = ''
5 | const Icontextcolor = (props) => {
6 | return ()
7 | }
8 |
9 | export default Icontextcolor
10 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/glyph/mention.jsx:
--------------------------------------------------------------------------------
1 |
2 | import React from 'react'
3 |
4 | const svg = ''
5 | const Iconmention = (props) => {
6 | return ()
7 | }
8 |
9 | export default Iconmention
10 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/glyph/quote.jsx:
--------------------------------------------------------------------------------
1 |
2 | import React from 'react'
3 |
4 | const svg = ''
5 | const Iconquote = (props) => {
6 | return ()
7 | }
8 |
9 | export default Iconquote
10 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/activity.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/airplay.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/alert-circle.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/alert-octagon.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/alert-triangle.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/align-center.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/align-justify.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/align-left.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/align-right.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/anchor.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/aperture.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/archive.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/arrow-down-circle.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/arrow-down-left.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/arrow-down-right.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/arrow-down.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/arrow-left-circle.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/arrow-left.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/arrow-right-circle.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/arrow-right.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/arrow-up-circle.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/arrow-up-left.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/arrow-up-right.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/arrow-up.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/at-sign.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/award.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/bar-chart-2.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/bar-chart.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/battery-charging.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/battery.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/bell-off.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/bell.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/bluetooth.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/bold.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/book-open.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/book.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/bookmark.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/box.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/briefcase.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/calendar.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/camera-off.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/camera.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/cast.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/check-circle.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/check-square.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/check.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/chevron-down.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/chevron-left.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/chevron-right.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/chevron-up.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/chevrons-down.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/chevrons-left.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/chevrons-right.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/chevrons-up.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/chrome.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/circle.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/clipboard.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/clock.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/cloud-drizzle.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/cloud-lightning.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/cloud-off.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/cloud-rain.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/cloud-snow.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/cloud.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/code.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/codepen.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/coffee.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/columns.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/command.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/compass.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/copy.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/corner-down-left.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/corner-down-right.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/corner-left-down.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/corner-left-up.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/corner-right-down.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/corner-right-up.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/corner-up-left.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/corner-up-right.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/credit-card.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/crop.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/crosshair.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/database.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/delete.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/disc.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/dollar-sign.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/download-cloud.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/download.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/droplet.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/edit-2.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/edit-3.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/edit.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/external-link.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/eye-off.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/eye.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/facebook.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/fast-forward.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/feather.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/figma.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/file-minus.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/file-plus.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/file-text.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/file.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/filter.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/flag.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/folder-minus.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/folder-plus.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/folder.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/frown.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/gift.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/git-branch.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/git-commit.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/git-merge.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/git-pull-request.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/github.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/gitlab.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/globe.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/grid.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/hard-drive.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/hash.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/headphones.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/heart.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/help-circle.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/hexagon.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/home.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/image.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/inbox.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/info.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/instagram.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/italic.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/key.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/layers.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/layout.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/life-buoy.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/link-2.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/link.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/linkedin.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/list.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/lock.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/log-in.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/log-out.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/mail.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/map-pin.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/map.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/maximize-2.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/maximize.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/meh.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/menu.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/message-circle.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/message-square.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/mic-off.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/mic.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/minimize-2.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/minimize.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/minus-circle.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/minus-square.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/minus.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/monitor.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/moon.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/more-horizontal.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/more-vertical.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/mouse-pointer.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/move.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/music.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/navigation-2.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/navigation.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/octagon.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/package.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/paperclip.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/pause-circle.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/pause.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/pen-tool.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/percent.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/phone.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/pie-chart.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/play-circle.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/play.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/plus-circle.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/plus-square.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/plus.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/pocket.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/power.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/printer.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/radio.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/refresh-ccw.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/refresh-cw.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/repeat.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/rewind.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/rotate-ccw.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/rotate-cw.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/rss.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/save.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/scissors.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/search.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/send.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/server.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/share-2.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/share.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/shield-off.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/shield.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/shopping-bag.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/shopping-cart.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/shuffle.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/sidebar.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/skip-back.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/skip-forward.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/slash.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/smartphone.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/smile.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/speaker.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/square.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/star.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/stop-circle.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/tablet.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/tag.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/target.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/terminal.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/thermometer.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/thumbs-down.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/thumbs-up.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/toggle-left.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/toggle-right.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/trash-2.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/trash.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/trello.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/trending-down.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/trending-up.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/triangle.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/truck.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/tv.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/twitter.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/type.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/umbrella.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/underline.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/unlock.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/upload-cloud.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/upload.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/user-check.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/user-minus.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/user-plus.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/user-x.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/user.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/users.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/video-off.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/video.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/voicemail.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/volume-1.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/volume-2.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/volume-x.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/volume.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/watch.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/wifi-off.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/wifi.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/wind.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/x-circle.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/x-octagon.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/x-square.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/x.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/youtube.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/zap-off.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/zap.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/zoom-in.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/icon/svg/zoom-out.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/avatar-js/examples/05-basicStatus.js:
--------------------------------------------------------------------------------
1 | //
2 | import React from 'react'
3 | import { Status } from '../src'
4 | import { Block, ShrinkWrap } from '../examples-util/helpers'
5 |
6 | export default () => (
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 | )
19 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/avatar-js/examples/06-avatarCircle.js:
--------------------------------------------------------------------------------
1 | //
2 | import fullAvatarExample from '../examples-util/fullAvatarExample'
3 | import { avatarUrl } from '../examples-util/data'
4 |
5 | export default () =>
6 | fullAvatarExample({
7 | appearance: 'circle',
8 | src: avatarUrl,
9 | })
10 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/avatar-js/examples/07-avatarSquare.js:
--------------------------------------------------------------------------------
1 | //
2 | import nucleusImage from '../examples-util/nucleus.png'
3 |
4 | import fullAvatarExample from '../examples-util/fullAvatarExample'
5 |
6 | export default () =>
7 | fullAvatarExample({
8 | appearance: 'square',
9 | src: nucleusImage,
10 | })
11 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/avatar-js/src/components/Presence.js:
--------------------------------------------------------------------------------
1 | //
2 | import React, { Component } from 'react'
3 | import { Inner, Outer } from '../styled/Icon'
4 | import getPresenceSVG from '../helpers/getPresenceSVG'
5 |
6 | export default class Presence extends Component {
7 | render() {
8 | const { borderColor, children, presence, size } = this.props
9 |
10 | return (
11 |
12 | {children || (presence && getPresenceSVG(presence))}
13 |
14 | )
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/avatar-js/src/components/Skeleton.js:
--------------------------------------------------------------------------------
1 | //
2 |
3 | import React, { Component } from 'react'
4 | import StyledSkeleton from '../styled/Skeleton'
5 |
6 | export default class Skeleton extends Component {
7 | static defaultProps = {
8 | appearance: 'circle',
9 | size: 'medium',
10 | weight: 'normal',
11 | }
12 |
13 | render() {
14 | return
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/avatar-js/src/components/Status.js:
--------------------------------------------------------------------------------
1 | //
2 |
3 | import React, { Component } from 'react'
4 | import { Inner, Outer } from '../styled/Icon'
5 | import getStatusSVG from '../helpers/getStatusSVG'
6 |
7 | export default class Status extends Component {
8 | render() {
9 | const { borderColor, children, status, size } = this.props
10 |
11 | return (
12 |
13 | {children || (status && getStatusSVG(status))}
14 |
15 | )
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/avatar-js/src/components/constants.js:
--------------------------------------------------------------------------------
1 | //
2 | import { ICON_SIZES } from '../styled/constants'
3 |
4 | export const validIconSizes = Object.keys(ICON_SIZES)
5 |
6 | export const propsOmittedFromClickData = [
7 | 'onBlur',
8 | 'onClick',
9 | 'onFocus',
10 | 'onKeyDown',
11 | 'onKeyUp',
12 | 'onMouseDown',
13 | 'onMouseEnter',
14 | 'onMouseLeave',
15 | 'onMouseUp',
16 | ]
17 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/avatar-js/src/helpers/getStyledAvatar.js:
--------------------------------------------------------------------------------
1 | //
2 |
3 | import styledCache from './styledCache'
4 | import { getInnerStyles } from '../styled/utils'
5 |
6 | export default styledCache(getInnerStyles)
7 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/avatar-js/src/helpers/getStyledAvatarItem.js:
--------------------------------------------------------------------------------
1 | //
2 |
3 | import styledCache from './styledCache'
4 | import { getStyles } from '../styled/AvatarItem'
5 |
6 | export default styledCache(getStyles)
7 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/avatar-js/src/helpers/index.js:
--------------------------------------------------------------------------------
1 | //
2 |
3 | export { default as getPresenceSVG } from './getPresenceSVG'
4 | export { default as getProps } from './getProps'
5 | export { default as getStatusSVG } from './getStatusSVG'
6 | export { default as getStyledAvatar } from './getStyledAvatar'
7 | export { default as getStyledAvatarItem } from './getStyledAvatarItem'
8 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/avatar-js/src/hoc/index.js:
--------------------------------------------------------------------------------
1 | //
2 | export { default as mapProps } from './mapProps'
3 | export { default as withPseudoState } from './withPseudoState'
4 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/avatar-js/src/theme/item.js:
--------------------------------------------------------------------------------
1 | //
2 |
3 | import { createTheme } from '@atlaskit/theme'
4 |
5 | export const ThemeItem = createTheme(() => ({
6 | backgroundColor: '',
7 | }))
8 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/avatar-js/src/types.js:
--------------------------------------------------------------------------------
1 | //
2 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/avatar-js/src/utils.js:
--------------------------------------------------------------------------------
1 | //
2 | import {} from 'react'
3 |
4 | export function omit(obj, ...keysToOmit) {
5 | const newObj = { ...obj }
6 |
7 | for (const key of keysToOmit) {
8 | delete newObj[key]
9 | }
10 | return newObj
11 | }
12 |
13 | export function getDisplayName(prefix, Component) {
14 | const componentName = Component.displayName || Component.name
15 |
16 | return componentName ? `${prefix}(${componentName})` : prefix
17 | }
18 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/avatar-js/src/version.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "@atlaskit/avatar",
3 | "version": "999.9.9",
4 | "NOTE: THIS FILE": "IS ONLY USED IN DEVELOPMENT",
5 | "BEFORE PUBLISH": "IT IS REGENERATED WITH ACTUAL VERSION INFO"
6 | }
7 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/droplist-js/src/index.js:
--------------------------------------------------------------------------------
1 | //
2 | export { default } from './components/Droplist'
3 | export { default as Item } from './components/Item'
4 | export { default as Group } from './components/Group'
5 | export { SecondaryText } from './styled/Item'
6 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/droplist-js/src/types.js:
--------------------------------------------------------------------------------
1 | //
2 |
3 | // TODO: work out how to import this from @atlaskit/item
4 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/droplist-js/src/version.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "@atlaskit/droplist",
3 | "version": "999.9.9",
4 | "NOTE: THIS FILE": "IS ONLY USED IN DEVELOPMENT",
5 | "BEFORE PUBLISH": "IT IS REGENERATED WITH ACTUAL VERSION INFO"
6 | }
7 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/task-decision/.npmignore:
--------------------------------------------------------------------------------
1 | /index.ts
2 | src/
3 | examples/
4 | example-helpers/
5 | index.ts
6 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/task-decision/build/es2015/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig",
3 | "compilerOptions": {
4 | "declaration": true,
5 | "outDir": "../../",
6 | "rootDir": "../../src"
7 | },
8 | "include": ["../../src/**/*.ts", "../../src/**/*.tsx"],
9 | "exclude": ["../../src/**/__tests__/*"]
10 | }
11 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/task-decision/index.ts:
--------------------------------------------------------------------------------
1 | //
2 | // This file is used in development with lerna to resolve types for the package (because they live
3 | // in `src/`) *without* needing to use the `types` `package.json` field.
4 | //
5 | // We don't want to use the `types` field, as we want to point it to the declaration file in the
6 | // published package.
7 | //
8 | // This file should be npm-ignored, so that it doesn't exist in the published package, and resolution
9 | // falls through to the `types` and `main` `package.json` fields.
10 | //
11 | export * from './src';
12 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/task-decision/local-config-example.ts:
--------------------------------------------------------------------------------
1 | // Copy this file to local-config.ts and customise.
2 | export default {
3 | serviceConfig: {
4 | url: 'http://example.com/',
5 | },
6 | initialQuery: {
7 | containerAri: 'example',
8 | sortCriteria: 'lastUpdateDate',
9 | },
10 | };
11 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/task-decision/src/__tests__/unit/_mock.ts:
--------------------------------------------------------------------------------
1 | export const asMock = (aMock: any): jest.Mock => aMock as jest.Mock;
2 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/task-decision/src/__tests__/unit/type-helpers-Spec.ts:
--------------------------------------------------------------------------------
1 | import { objectKeyToString } from '../../type-helpers';
2 |
3 | describe('type-helpers', () => {
4 | it('objectKeyToString', () => {
5 | const objectKey = {
6 | localId: 'task-1',
7 | objectAri: 'object',
8 | containerAri: 'container',
9 | };
10 | const key = objectKeyToString(objectKey);
11 | expect(key).toEqual('container:object:task-1');
12 | });
13 | });
14 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/task-decision/src/analytics/index.ts:
--------------------------------------------------------------------------------
1 | import { createAndFireEvent } from '@atlaskit/analytics-next';
2 | import { CreateAndFireEventFunction } from '@atlaskit/analytics-next-types';
3 |
4 | export const fabricElementsChannel = 'fabric-elements';
5 |
6 | export const createAndFireEventInElementsChannel: CreateAndFireEventFunction = createAndFireEvent(
7 | fabricElementsChannel,
8 | );
9 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/task-decision/src/constants.ts:
--------------------------------------------------------------------------------
1 | export const defaultLimit = 100;
2 | export const defaultSortCriteria = 'creationDate';
3 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/task-decision/src/styled/DateGroup.tsx:
--------------------------------------------------------------------------------
1 | import styled from 'styled-components';
2 | // @ts-ignore: unused variable
3 | // prettier-ignore
4 | import { HTMLAttributes, ClassAttributes, OlHTMLAttributes, ComponentClass } from 'react';
5 |
6 | // tslint:disable-next-line:variable-name
7 | const DateGroup: ComponentClass> = styled.ol`
8 | list-style-type: none;
9 | padding-left: 0;
10 | `;
11 |
12 | export default DateGroup;
13 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/task-decision/src/styled/DateGroupHeader.tsx:
--------------------------------------------------------------------------------
1 | import styled from 'styled-components';
2 | // @ts-ignore: unused variable
3 | // prettier-ignore
4 | import { HTMLAttributes, ClassAttributes, ComponentClass } from 'react';
5 | import { colors } from '@atlaskit/theme';
6 |
7 | // tslint:disable-next-line:variable-name
8 | const DateGroupHeader: ComponentClass> = styled.div`
9 | color: ${colors.N200};
10 | font-size: 12px;
11 | font-weight: 500;
12 | margin: 12px 0 4px 0;
13 | `;
14 |
15 | export default DateGroupHeader;
16 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/task-decision/src/styled/ListContainer.tsx:
--------------------------------------------------------------------------------
1 | import styled from 'styled-components';
2 | // @ts-ignore: unused variable
3 | // prettier-ignore
4 | import { HTMLAttributes, ClassAttributes, ComponentClass } from 'react';
5 |
6 | // tslint:disable-next-line:variable-name
7 | const ListContainer: ComponentClass<
8 | HTMLAttributes<{}> & { theme?: any }
9 | > = styled.div`
10 | margin: 0 0;
11 | box-sizing: border-box;
12 | `;
13 |
14 | export default ListContainer;
15 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/task-decision/src/styled/ListWrapper.tsx:
--------------------------------------------------------------------------------
1 | import styled from 'styled-components';
2 | // @ts-ignore: unused variable
3 | // prettier-ignore
4 | import { HTMLAttributes, ClassAttributes, OlHTMLAttributes, ComponentClass } from 'react';
5 |
6 | const ListWrapper: ComponentClass> = styled.ol`
7 | list-style-type: none;
8 | padding-left: 0;
9 | `;
10 |
11 | export default ListWrapper;
12 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/task-decision/src/version.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "@atlaskit/task-decision",
3 | "version": "999.9.9",
4 | "NOTE: THIS FILE": "IS ONLY USED IN DEVELOPMENT",
5 | "BEFORE PUBLISH": "IT IS REGENERATED WITH ACTUAL VERSION INFO"
6 | }
7 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/task-decision/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../../tsconfig.elements.json",
3 | "include": [
4 | "./src/**/*.ts",
5 | "./src/**/*.tsx",
6 |
7 | "./docs/**/*.ts",
8 | "./docs/**/*.tsx",
9 | "./examples/**/*.ts",
10 | "./examples/**/*.tsx"
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/tooltip/README.md:
--------------------------------------------------------------------------------
1 | # Tooltip
2 |
3 | Use this component to display extra information about an element by displaying a floating description.
4 |
5 | ## Installation
6 |
7 | ```sh
8 | yarn add @atlaskit/tooltip
9 | ```
10 |
11 | ## Usage
12 |
13 | Detailed docs and example usage can be found [here](https://atlaskit.atlassian.com/packages/core/tooltip).
14 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/tooltip/src/components/__tests__/visual-regression/__image_snapshots__/tooltip-snapsnot-test-js-snapshot-test-tooltip-should-match-production-example-1-snap.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:271d3c876d093f0a49b33f185a49b972d0f56d5b2c5c3246800cb38ef555a446
3 | size 4877
4 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/tooltip/src/index.js:
--------------------------------------------------------------------------------
1 | // @flow
2 |
3 | export { default } from './components/Tooltip';
4 | export { TooltipPrimitive } from './styled';
5 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/tooltip/src/types.js:
--------------------------------------------------------------------------------
1 | // @flow
2 |
3 | // TODO: Figure out a way for this to be DRYer
4 | export type PositionTypeBase = 'bottom' | 'left' | 'right' | 'top';
5 | export type PositionType = 'bottom' | 'left' | 'right' | 'top' | 'mouse';
6 | export type FakeMouseElement = {
7 | getBoundingClientRect: () => {
8 | top: number,
9 | left: number,
10 | bottom: number,
11 | right: number,
12 | width: 0,
13 | height: 0,
14 | },
15 | clientWidth: 0,
16 | clientHeight: 0,
17 | };
18 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/_styledCompat/tooltip/src/version.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "@atlaskit/tooltip",
3 | "version": "999.9.9",
4 | "NOTE: THIS FILE": "IS ONLY USED IN DEVELOPMENT",
5 | "BEFORE PUBLISH": "IT IS REGENERATED WITH ACTUAL VERSION INFO"
6 | }
7 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/collab-edit/provider/index.ts:
--------------------------------------------------------------------------------
1 | export * from './types';
2 | export { CollabProvider } from './collab-provider';
3 | export const logger = (
4 | msg: string,
5 | data: any = null,
6 | style: string = 'color:blue;font-weight:bold;',
7 | ) => {
8 | // tslint:disable-next-line:no-console
9 | console.log(`%cCollab-Edit: ${msg}`, style);
10 | if (data) {
11 | // tslint:disable-next-line:no-console
12 | console.log(data);
13 | }
14 | };
15 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/index.ts:
--------------------------------------------------------------------------------
1 | import Editor from './Editor';
2 | export default Editor;
3 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/emoji/index.d.ts:
--------------------------------------------------------------------------------
1 | import * as storyData from './story-data';
2 | import * as testData from './test-data';
3 | export { storyData, testData };
4 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/emoji/index.js:
--------------------------------------------------------------------------------
1 | import * as storyData from './story-data';
2 | import * as testData from './test-data';
3 | export { storyData, testData };
4 | //# sourceMappingURL=index.js.map
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/emoji/index.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/emoji/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,cAAc,CAAC;AAC1C,OAAO,KAAK,QAAQ,MAAM,aAAa,CAAC;AAExC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC"}
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/emoji/utils.d.ts:
--------------------------------------------------------------------------------
1 | import { EmojiUpload, EmojiDescription } from '@atlaskit/emoji';
2 | export interface PromiseBuilder {
3 | (result: R, context: string): Promise;
4 | }
5 | export interface UploadDetail {
6 | upload: EmojiUpload;
7 | emoji: EmojiDescription;
8 | }
9 | export declare const customType = "SITE";
10 | export declare const customCategory = "CUSTOM";
11 | export declare const selectedToneStorageKey = "fabric.emoji.selectedTone";
12 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/emoji/utils.js:
--------------------------------------------------------------------------------
1 | // Copy of constants from @atlaskit/emoji
2 | // NOTE: if this is changed in the original package, this must also be modified
3 | export var customType = 'SITE';
4 | export var customCategory = 'CUSTOM';
5 | export var selectedToneStorageKey = 'fabric.emoji.selectedTone';
6 | //# sourceMappingURL=utils.js.map
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/emoji/utils.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/emoji/utils.ts"],"names":[],"mappings":"AAWA,yCAAyC;AACzC,+EAA+E;AAC/E,MAAM,CAAC,IAAM,UAAU,GAAG,MAAM,CAAC;AACjC,MAAM,CAAC,IAAM,cAAc,GAAG,QAAQ,CAAC;AACvC,MAAM,CAAC,IAAM,sBAAsB,GAAG,2BAA2B,CAAC"}
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/logger.d.ts:
--------------------------------------------------------------------------------
1 | export declare function enableLogger(enable: boolean): void;
2 | export declare function enableStacktraces(enable: boolean): void;
3 | export declare function logStacktrace(): void;
4 | export default function debug(msg: any, ...args: any[]): void;
5 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/mention/MockMentionResource.d.ts:
--------------------------------------------------------------------------------
1 | import { MentionDescription, AbstractMentionResource } from '@atlaskit/mention';
2 | export interface MockMentionConfig {
3 | minWait?: number;
4 | maxWait?: number;
5 | }
6 | export declare class MockMentionResource extends AbstractMentionResource {
7 | private config;
8 | private lastReturnedSearch;
9 | constructor(config: MockMentionConfig);
10 | filter(query: string): void;
11 | recordMentionSelection(mention: MentionDescription): void;
12 | }
13 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/mention/MockMentionResourceWithInfoHints.d.ts:
--------------------------------------------------------------------------------
1 | import { MentionDescription, AbstractMentionResource } from '@atlaskit/mention';
2 | import { MockMentionConfig } from './MockMentionResource';
3 | export declare class MockMentionResourceWithInfoHints extends AbstractMentionResource {
4 | private config;
5 | private lastReturnedSearch;
6 | constructor(config: MockMentionConfig);
7 | filter(query: string): void;
8 | recordMentionSelection(mention: MentionDescription): void;
9 | }
10 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/mention/MockPresenceResource.d.ts:
--------------------------------------------------------------------------------
1 | import { AbstractPresenceResource } from '@atlaskit/mention';
2 | export declare class MockPresenceResource extends AbstractPresenceResource {
3 | private minTimeout;
4 | private maxTimeout;
5 | private statuses;
6 | constructor(minTimeout?: number, maxTimeout?: number);
7 | private getTimeout;
8 | private getStatus;
9 | private getTime;
10 | refreshPresence(ids: string[]): void;
11 | }
12 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/mention/index.d.ts:
--------------------------------------------------------------------------------
1 | import * as mentionData from './mention-data';
2 | import * as presenceData from './presence-data';
3 | import * as storyData from './story-data';
4 | export { mentionData, presenceData, storyData };
5 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/mention/index.js:
--------------------------------------------------------------------------------
1 | import * as mentionData from './mention-data';
2 | import * as presenceData from './presence-data';
3 | import * as storyData from './story-data';
4 | export { mentionData, presenceData, storyData };
5 | //# sourceMappingURL=index.js.map
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/mention/index.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/mention/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,gBAAgB,CAAC;AAC9C,OAAO,KAAK,YAAY,MAAM,iBAAiB,CAAC;AAChD,OAAO,KAAK,SAAS,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC"}
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/mention/mention-data.d.ts:
--------------------------------------------------------------------------------
1 | export declare const mentionData: any;
2 | export declare const mentionResult: any[];
3 | export declare const mentionDataSize: number;
4 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/mention/mention-data.js:
--------------------------------------------------------------------------------
1 | // tslint:disable-next-line:no-var-requires
2 | export var mentionData = require('../json-data/mention-data.json'); // MentionsResult
3 | export var mentionResult = mentionData.mentions;
4 | export var mentionDataSize = mentionResult.length;
5 | //# sourceMappingURL=mention-data.js.map
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/mention/mention-data.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"mention-data.js","sourceRoot":"","sources":["../../../src/mention/mention-data.ts"],"names":[],"mappings":"AAIA,2CAA2C;AAC3C,MAAM,CAAC,IAAM,WAAW,GAAG,OAAO,CAAC,gCAAgC,CAAQ,CAAC,CAAC,iBAAiB;AAE9F,MAAM,CAAC,IAAM,aAAa,GAAU,WAAW,CAAC,QAAQ,CAAC;AAEzD,MAAM,CAAC,IAAM,eAAe,GAAG,aAAa,CAAC,MAAM,CAAC"}
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/mention/presence-data.d.ts:
--------------------------------------------------------------------------------
1 | export interface PresenceValidInfo {
2 | data: Data;
3 | }
4 | export interface Data {
5 | PresenceBulk: PresenceBulk[];
6 | }
7 | export interface PresenceBulk {
8 | userId: string;
9 | state: null | string;
10 | type: null | string;
11 | date: null | string;
12 | message: null | string;
13 | stateMetadata?: string;
14 | }
15 | export declare const validPresenceData: PresenceValidInfo;
16 | export declare const invalidPresenceData: PresenceValidInfo;
17 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/mention/presence-data.js:
--------------------------------------------------------------------------------
1 | // tslint:disable-next-line:no-var-requires
2 | export var validPresenceData = require('../json-data/presence-valid-info.json');
3 | // tslint:disable-next-line:no-var-requires
4 | export var invalidPresenceData = require('../json-data/presence-invalid-info.json');
5 | //# sourceMappingURL=presence-data.js.map
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/mention/presence-data.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"presence-data.js","sourceRoot":"","sources":["../../../src/mention/presence-data.ts"],"names":[],"mappings":"AAqBA,2CAA2C;AAC3C,MAAM,CAAC,IAAM,iBAAiB,GAAsB,OAAO,CAAC,uCAAuC,CAAsB,CAAC;AAE1H,2CAA2C;AAC3C,MAAM,CAAC,IAAM,mBAAmB,GAAsB,OAAO,CAAC,yCAAyC,CAAsB,CAAC"}
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/mention/utils.d.ts:
--------------------------------------------------------------------------------
1 | export declare class HttpError implements Error {
2 | name: string;
3 | message: string;
4 | statusCode: number;
5 | stack?: string;
6 | constructor(statusCode: number, statusMessage: string);
7 | }
8 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/mention/utils.js:
--------------------------------------------------------------------------------
1 | // Copy of definition from @atlaskit/mention
2 | // NOTE: if this is changed in the original package, this must also be modified
3 | var HttpError = /** @class */ (function () {
4 | function HttpError(statusCode, statusMessage) {
5 | this.statusCode = statusCode;
6 | this.message = statusMessage;
7 | this.name = 'HttpError';
8 | this.stack = new Error().stack;
9 | }
10 | return HttpError;
11 | }());
12 | export { HttpError };
13 | //# sourceMappingURL=utils.js.map
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/mention/utils.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/mention/utils.ts"],"names":[],"mappings":"AAAA,4CAA4C;AAC5C,+EAA+E;AAC/E;IAME,mBAAY,UAAkB,EAAE,aAAqB;QACnD,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,OAAO,GAAG,aAAa,CAAC;QAC7B,IAAI,CAAC,IAAI,GAAG,WAAW,CAAC;QACxB,IAAI,CAAC,KAAK,GAAG,IAAI,KAAK,EAAE,CAAC,KAAK,CAAC;IACjC,CAAC;IACH,gBAAC;AAAD,CAAC,AAZD,IAYC"}
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/profilecard/index.js:
--------------------------------------------------------------------------------
1 | import getMockProfileClient from './mock-profile-client';
2 | import profiles from './profile-data';
3 | export default {
4 | getMockProfileClient: getMockProfileClient,
5 | profiles: profiles,
6 | };
7 | //# sourceMappingURL=index.js.map
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/profilecard/index.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/profilecard/index.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,MAAM,uBAAuB,CAAC;AACzD,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAEtC,eAAe;IACb,oBAAoB,sBAAA;IACpB,QAAQ,UAAA;CACT,CAAC"}
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/profilecard/mock-profile-client.d.ts:
--------------------------------------------------------------------------------
1 | export default function getMockProfileClient(BaseProfileClient: any, modifyResponse: any): any;
2 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/profilecard/util.d.ts:
--------------------------------------------------------------------------------
1 | export declare const random: (int: number) => number;
2 | export declare const getWeekday: () => {
3 | index: number;
4 | string: string;
5 | };
6 | export declare const getTimeString: () => string;
7 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/task-decision/index.d.ts:
--------------------------------------------------------------------------------
1 | import * as storyData from './story-data';
2 | export default storyData;
3 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/task-decision/index.js:
--------------------------------------------------------------------------------
1 | import * as storyData from './story-data';
2 | export default storyData;
3 | //# sourceMappingURL=index.js.map
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/task-decision/index.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/task-decision/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,cAAc,CAAC;AAE1C,eAAe,SAAS,CAAC"}
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/task-decision/utils.d.ts:
--------------------------------------------------------------------------------
1 | import { ObjectKey } from '@atlaskit/task-decision';
2 | export declare const objectKeyToString: (objectKey: ObjectKey) => string;
3 | export declare const toggleTaskState: (state: string) => "TODO" | "DONE";
4 | export declare const findIndex: (array: any[], predicate: (item: any) => boolean) => number;
5 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/user-picker/index.d.ts:
--------------------------------------------------------------------------------
1 | import userPickerData from './user-picker-data';
2 | export { userPickerData };
3 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/user-picker/index.js:
--------------------------------------------------------------------------------
1 | import userPickerData from './user-picker-data';
2 | export { userPickerData };
3 | //# sourceMappingURL=index.js.map
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/user-picker/index.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/user-picker/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,oBAAoB,CAAC;AAEhD,OAAO,EAAE,cAAc,EAAE,CAAC"}
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/user-picker/user-picker-data.d.ts:
--------------------------------------------------------------------------------
1 | declare const userPickerData: any;
2 | export default userPickerData;
3 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/user-picker/user-picker-data.js:
--------------------------------------------------------------------------------
1 | // tslint:disable-next-line:no-var-requires
2 | var userPickerData = require('../json-data/user-picker-data.json'); // User from @atlaskit/user-picker
3 | export default userPickerData;
4 | //# sourceMappingURL=user-picker-data.js.map
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es2015/user-picker/user-picker-data.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"user-picker-data.js","sourceRoot":"","sources":["../../../src/user-picker/user-picker-data.ts"],"names":[],"mappings":"AAIA,2CAA2C;AAC3C,IAAM,cAAc,GAAG,OAAO,CAAC,oCAAoC,CAAQ,CAAC,CAAC,kCAAkC;AAE/G,eAAe,cAAc,CAAC"}
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/emoji/index.d.ts:
--------------------------------------------------------------------------------
1 | import * as storyData from './story-data';
2 | import * as testData from './test-data';
3 | export { storyData, testData };
4 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/emoji/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | var storyData = require("./story-data");
4 | exports.storyData = storyData;
5 | var testData = require("./test-data");
6 | exports.testData = testData;
7 | //# sourceMappingURL=index.js.map
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/emoji/index.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/emoji/index.ts"],"names":[],"mappings":";;AAAA,wCAA0C;AAGjC,8BAAS;AAFlB,sCAAwC;AAEpB,4BAAQ"}
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/emoji/utils.d.ts:
--------------------------------------------------------------------------------
1 | import { EmojiUpload, EmojiDescription } from '@atlaskit/emoji';
2 | export interface PromiseBuilder {
3 | (result: R, context: string): Promise;
4 | }
5 | export interface UploadDetail {
6 | upload: EmojiUpload;
7 | emoji: EmojiDescription;
8 | }
9 | export declare const customType = "SITE";
10 | export declare const customCategory = "CUSTOM";
11 | export declare const selectedToneStorageKey = "fabric.emoji.selectedTone";
12 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/emoji/utils.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | // Copy of constants from @atlaskit/emoji
4 | // NOTE: if this is changed in the original package, this must also be modified
5 | exports.customType = 'SITE';
6 | exports.customCategory = 'CUSTOM';
7 | exports.selectedToneStorageKey = 'fabric.emoji.selectedTone';
8 | //# sourceMappingURL=utils.js.map
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/emoji/utils.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/emoji/utils.ts"],"names":[],"mappings":";;AAWA,yCAAyC;AACzC,+EAA+E;AAClE,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,cAAc,GAAG,QAAQ,CAAC;AAC1B,QAAA,sBAAsB,GAAG,2BAA2B,CAAC"}
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/logger.d.ts:
--------------------------------------------------------------------------------
1 | export declare function enableLogger(enable: boolean): void;
2 | export declare function enableStacktraces(enable: boolean): void;
3 | export declare function logStacktrace(): void;
4 | export default function debug(msg: any, ...args: any[]): void;
5 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/mention/MockMentionResource.d.ts:
--------------------------------------------------------------------------------
1 | import { MentionDescription, AbstractMentionResource } from '@atlaskit/mention';
2 | export interface MockMentionConfig {
3 | minWait?: number;
4 | maxWait?: number;
5 | }
6 | export declare class MockMentionResource extends AbstractMentionResource {
7 | private config;
8 | private lastReturnedSearch;
9 | constructor(config: MockMentionConfig);
10 | filter(query: string): void;
11 | recordMentionSelection(mention: MentionDescription): void;
12 | }
13 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/mention/MockMentionResourceWithInfoHints.d.ts:
--------------------------------------------------------------------------------
1 | import { MentionDescription, AbstractMentionResource } from '@atlaskit/mention';
2 | import { MockMentionConfig } from './MockMentionResource';
3 | export declare class MockMentionResourceWithInfoHints extends AbstractMentionResource {
4 | private config;
5 | private lastReturnedSearch;
6 | constructor(config: MockMentionConfig);
7 | filter(query: string): void;
8 | recordMentionSelection(mention: MentionDescription): void;
9 | }
10 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/mention/MockPresenceResource.d.ts:
--------------------------------------------------------------------------------
1 | import { AbstractPresenceResource } from '@atlaskit/mention';
2 | export declare class MockPresenceResource extends AbstractPresenceResource {
3 | private minTimeout;
4 | private maxTimeout;
5 | private statuses;
6 | constructor(minTimeout?: number, maxTimeout?: number);
7 | private getTimeout;
8 | private getStatus;
9 | private getTime;
10 | refreshPresence(ids: string[]): void;
11 | }
12 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/mention/index.d.ts:
--------------------------------------------------------------------------------
1 | import * as mentionData from './mention-data';
2 | import * as presenceData from './presence-data';
3 | import * as storyData from './story-data';
4 | export { mentionData, presenceData, storyData };
5 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/mention/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | var mentionData = require("./mention-data");
4 | exports.mentionData = mentionData;
5 | var presenceData = require("./presence-data");
6 | exports.presenceData = presenceData;
7 | var storyData = require("./story-data");
8 | exports.storyData = storyData;
9 | //# sourceMappingURL=index.js.map
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/mention/index.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/mention/index.ts"],"names":[],"mappings":";;AAAA,4CAA8C;AAIrC,kCAAW;AAHpB,8CAAgD;AAG1B,oCAAY;AAFlC,wCAA0C;AAEN,8BAAS"}
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/mention/mention-data.d.ts:
--------------------------------------------------------------------------------
1 | export declare const mentionData: any;
2 | export declare const mentionResult: any[];
3 | export declare const mentionDataSize: number;
4 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/mention/mention-data.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | // tslint:disable-next-line:no-var-requires
4 | exports.mentionData = require('../json-data/mention-data.json'); // MentionsResult
5 | exports.mentionResult = exports.mentionData.mentions;
6 | exports.mentionDataSize = exports.mentionResult.length;
7 | //# sourceMappingURL=mention-data.js.map
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/mention/mention-data.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"mention-data.js","sourceRoot":"","sources":["../../../src/mention/mention-data.ts"],"names":[],"mappings":";;AAIA,2CAA2C;AAC9B,QAAA,WAAW,GAAG,OAAO,CAAC,gCAAgC,CAAQ,CAAC,CAAC,iBAAiB;AAEjF,QAAA,aAAa,GAAU,mBAAW,CAAC,QAAQ,CAAC;AAE5C,QAAA,eAAe,GAAG,qBAAa,CAAC,MAAM,CAAC"}
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/mention/presence-data.d.ts:
--------------------------------------------------------------------------------
1 | export interface PresenceValidInfo {
2 | data: Data;
3 | }
4 | export interface Data {
5 | PresenceBulk: PresenceBulk[];
6 | }
7 | export interface PresenceBulk {
8 | userId: string;
9 | state: null | string;
10 | type: null | string;
11 | date: null | string;
12 | message: null | string;
13 | stateMetadata?: string;
14 | }
15 | export declare const validPresenceData: PresenceValidInfo;
16 | export declare const invalidPresenceData: PresenceValidInfo;
17 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/mention/presence-data.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | // tslint:disable-next-line:no-var-requires
4 | exports.validPresenceData = require('../json-data/presence-valid-info.json');
5 | // tslint:disable-next-line:no-var-requires
6 | exports.invalidPresenceData = require('../json-data/presence-invalid-info.json');
7 | //# sourceMappingURL=presence-data.js.map
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/mention/presence-data.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"presence-data.js","sourceRoot":"","sources":["../../../src/mention/presence-data.ts"],"names":[],"mappings":";;AAqBA,2CAA2C;AAC9B,QAAA,iBAAiB,GAAsB,OAAO,CAAC,uCAAuC,CAAsB,CAAC;AAE1H,2CAA2C;AAC9B,QAAA,mBAAmB,GAAsB,OAAO,CAAC,yCAAyC,CAAsB,CAAC"}
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/mention/utils.d.ts:
--------------------------------------------------------------------------------
1 | export declare class HttpError implements Error {
2 | name: string;
3 | message: string;
4 | statusCode: number;
5 | stack?: string;
6 | constructor(statusCode: number, statusMessage: string);
7 | }
8 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/mention/utils.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/mention/utils.ts"],"names":[],"mappings":";;AAAA,4CAA4C;AAC5C,+EAA+E;AAC/E;IAME,mBAAY,UAAkB,EAAE,aAAqB;QACnD,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,OAAO,GAAG,aAAa,CAAC;QAC7B,IAAI,CAAC,IAAI,GAAG,WAAW,CAAC;QACxB,IAAI,CAAC,KAAK,GAAG,IAAI,KAAK,EAAE,CAAC,KAAK,CAAC;IACjC,CAAC;IACH,gBAAC;AAAD,CAAC,AAZD,IAYC;AAZY,8BAAS"}
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/profilecard/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | var mock_profile_client_1 = require("./mock-profile-client");
4 | var profile_data_1 = require("./profile-data");
5 | exports.default = {
6 | getMockProfileClient: mock_profile_client_1.default,
7 | profiles: profile_data_1.default,
8 | };
9 | //# sourceMappingURL=index.js.map
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/profilecard/index.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/profilecard/index.ts"],"names":[],"mappings":";;AAAA,6DAAyD;AACzD,+CAAsC;AAEtC,kBAAe;IACb,oBAAoB,+BAAA;IACpB,QAAQ,wBAAA;CACT,CAAC"}
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/profilecard/mock-profile-client.d.ts:
--------------------------------------------------------------------------------
1 | export default function getMockProfileClient(BaseProfileClient: any, modifyResponse: any): any;
2 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/profilecard/util.d.ts:
--------------------------------------------------------------------------------
1 | export declare const random: (int: number) => number;
2 | export declare const getWeekday: () => {
3 | index: number;
4 | string: string;
5 | };
6 | export declare const getTimeString: () => string;
7 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/task-decision/index.d.ts:
--------------------------------------------------------------------------------
1 | import * as storyData from './story-data';
2 | export default storyData;
3 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/task-decision/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | var storyData = require("./story-data");
4 | exports.default = storyData;
5 | //# sourceMappingURL=index.js.map
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/task-decision/index.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/task-decision/index.ts"],"names":[],"mappings":";;AAAA,wCAA0C;AAE1C,kBAAe,SAAS,CAAC"}
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/task-decision/utils.d.ts:
--------------------------------------------------------------------------------
1 | import { ObjectKey } from '@atlaskit/task-decision';
2 | export declare const objectKeyToString: (objectKey: ObjectKey) => string;
3 | export declare const toggleTaskState: (state: string) => "TODO" | "DONE";
4 | export declare const findIndex: (array: any[], predicate: (item: any) => boolean) => number;
5 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/user-picker/index.d.ts:
--------------------------------------------------------------------------------
1 | import userPickerData from './user-picker-data';
2 | export { userPickerData };
3 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/user-picker/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | var user_picker_data_1 = require("./user-picker-data");
4 | exports.userPickerData = user_picker_data_1.default;
5 | //# sourceMappingURL=index.js.map
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/user-picker/index.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/user-picker/index.ts"],"names":[],"mappings":";;AAAA,uDAAgD;AAEvC,yBAFF,0BAAc,CAEE"}
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/user-picker/user-picker-data.d.ts:
--------------------------------------------------------------------------------
1 | declare const userPickerData: any;
2 | export default userPickerData;
3 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/user-picker/user-picker-data.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | // tslint:disable-next-line:no-var-requires
4 | var userPickerData = require('../json-data/user-picker-data.json'); // User from @atlaskit/user-picker
5 | exports.default = userPickerData;
6 | //# sourceMappingURL=user-picker-data.js.map
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/es5/user-picker/user-picker-data.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"user-picker-data.js","sourceRoot":"","sources":["../../../src/user-picker/user-picker-data.ts"],"names":[],"mappings":";;AAIA,2CAA2C;AAC3C,IAAM,cAAc,GAAG,OAAO,CAAC,oCAAoC,CAAQ,CAAC,CAAC,kCAAkC;AAE/G,kBAAe,cAAc,CAAC"}
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/dist/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "@atlaskit/util-data-test",
3 | "version": "10.2.2"
4 | }
5 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/src/emoji/index.ts:
--------------------------------------------------------------------------------
1 | import * as storyData from './story-data';
2 | import * as testData from './test-data';
3 |
4 | export { storyData, testData };
5 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/src/mention/index.ts:
--------------------------------------------------------------------------------
1 | import * as mentionData from './mention-data';
2 | import * as presenceData from './presence-data';
3 | import * as storyData from './story-data';
4 |
5 | export { mentionData, presenceData, storyData };
6 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/src/mention/mention-data.ts:
--------------------------------------------------------------------------------
1 | declare var require: {
2 | (path: string): T;
3 | };
4 |
5 | // tslint:disable-next-line:no-var-requires
6 | export const mentionData = require('../json-data/mention-data.json') as any; // MentionsResult
7 |
8 | export const mentionResult: any[] = mentionData.mentions;
9 |
10 | export const mentionDataSize = mentionResult.length;
11 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/src/mention/utils.ts:
--------------------------------------------------------------------------------
1 | // Copy of definition from @atlaskit/mention
2 | // NOTE: if this is changed in the original package, this must also be modified
3 | export class HttpError implements Error {
4 | name: string;
5 | message: string;
6 | statusCode: number;
7 | stack?: string;
8 |
9 | constructor(statusCode: number, statusMessage: string) {
10 | this.statusCode = statusCode;
11 | this.message = statusMessage;
12 | this.name = 'HttpError';
13 | this.stack = new Error().stack;
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/src/profilecard/index.ts:
--------------------------------------------------------------------------------
1 | import getMockProfileClient from './mock-profile-client';
2 | import profiles from './profile-data';
3 |
4 | export default {
5 | getMockProfileClient,
6 | profiles,
7 | };
8 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/src/task-decision/index.ts:
--------------------------------------------------------------------------------
1 | import * as storyData from './story-data';
2 |
3 | export default storyData;
4 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/src/user-picker/index.ts:
--------------------------------------------------------------------------------
1 | import userPickerData from './user-picker-data';
2 |
3 | export { userPickerData };
4 |
--------------------------------------------------------------------------------
/app/components/component-atlaskit-editor/src/util-data-test/src/user-picker/user-picker-data.ts:
--------------------------------------------------------------------------------
1 | declare var require: {
2 | (path: string): T;
3 | };
4 |
5 | // tslint:disable-next-line:no-var-requires
6 | const userPickerData = require('../json-data/user-picker-data.json') as any; // User from @atlaskit/user-picker
7 |
8 | export default userPickerData;
9 |
--------------------------------------------------------------------------------
/app/components/component-posts/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "@pubsweet/component-posts",
3 | "version": "1.0.0",
4 | "description": "Posts manager component for PubSweet",
5 | "main": "src/",
6 | "author": "Collaborative Knowledge Foundation",
7 | "license": "MIT",
8 | "dependencies": {
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://gitlab.coko.foundation/pubsweet/pubsweet"
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/app/index.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | <%= htmlWebpackPlugin.options.title %>
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/app/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/config/authsome-mode.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | before: async (userId, operation, object, context) => true,
3 | // const user = userId && (await context.models.User.find(userId))
4 | // return user && user.admin
5 | }
6 |
--------------------------------------------------------------------------------
/config/components.json:
--------------------------------------------------------------------------------
1 | [
2 | "@pubsweet/model-user",
3 | "@pubsweet/model-team",
4 | "@pubsweet/model-blog",
5 | "./server/model-blogpost",
6 | "@pubsweet/component-password-reset-server",
7 | "./server/component-atlaskit-collab"
8 | ]
9 |
--------------------------------------------------------------------------------
/config/custom-environment-variables.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | 'pubsweet-server': {
3 | sse: 'PUBSWEET_SSE',
4 | port: 'PORT',
5 | },
6 | watchTests: 'WATCH_TESTS',
7 | }
8 |
--------------------------------------------------------------------------------
/config/development.js:
--------------------------------------------------------------------------------
1 | const { deferConfig } = require('config/defer')
2 |
3 | module.exports = {
4 | 'pubsweet-server': {
5 | db: {
6 | database: 'starter',
7 | },
8 | baseUrl: deferConfig(
9 | cfg => `http://localhost:${cfg['pubsweet-server'].port}`,
10 | ),
11 | morganLogFormat:
12 | ':method :url :status :graphql[operation] :res[content-length] :response-time ms',
13 | },
14 | dbManager: {
15 | username: 'admin',
16 | password: 'password',
17 | email: 'admin@example.com',
18 | admin: true,
19 | },
20 | }
21 |
--------------------------------------------------------------------------------
/config/local-development.json:
--------------------------------------------------------------------------------
1 | {
2 | "pubsweet-server": {
3 | "secret": "hello"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/config/local-test.json:
--------------------------------------------------------------------------------
1 | {
2 | "pubsweet-server": {
3 | "secret": "hello"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/config/mailer.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | transport: {
3 | sendmail: true,
4 | },
5 | }
6 |
--------------------------------------------------------------------------------
/config/mailer_test.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | transport: {
3 | sendmail: false,
4 | port: 1025,
5 | auth: {
6 | user: 'user',
7 | pass: 'pass',
8 | },
9 | },
10 | }
11 |
--------------------------------------------------------------------------------
/config/production.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | 'pubsweet-server': {
3 | // this must be provided
4 | baseUrl: undefined,
5 | },
6 | }
7 |
--------------------------------------------------------------------------------
/config/test.js:
--------------------------------------------------------------------------------
1 | const logger = require('winston')
2 | const path = require('path')
3 |
4 | module.exports = {
5 | 'pubsweet-server': {
6 | db: { database: 'test' },
7 | logger,
8 | port: 4000,
9 | baseUrl: 'http://localhost:4000',
10 | secret: 'test',
11 | },
12 | mailer: {
13 | path: path.join(__dirname, 'mailer_test.js'),
14 | },
15 | 'password-reset': {
16 | url: 'http://localhost:4000/password-reset',
17 | },
18 | }
19 |
--------------------------------------------------------------------------------
/config/validations.js:
--------------------------------------------------------------------------------
1 | const Joi = require('joi')
2 |
3 | module.exports = {
4 | fragment: {
5 | // TODO remove these once pubsweet-component-posts-manager is upgraded
6 | fragmentType: Joi.string(),
7 | kind: Joi.string(),
8 | title: Joi.string(),
9 | published: Joi.bool(),
10 | published_at: Joi.string(),
11 | source: Joi.any(),
12 | presentation: Joi.string(),
13 | authors: Joi.array().items(Joi.string()),
14 | },
15 | collection: {
16 | title: Joi.string(),
17 | },
18 | }
19 |
--------------------------------------------------------------------------------
/docker/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM ubuntu:17.10
2 |
3 | RUN apt-get update && apt-get install -y curl build-essential git
4 |
5 | RUN curl -sL https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \
6 | echo "deb https://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list && \
7 | curl -sL https://deb.nodesource.com/setup_8.x | bash -
8 |
9 | RUN apt-get install -y nodejs firefox google-chrome-stable && \
10 | mkdir /tests && \
11 | npm i -g yarn
12 |
13 | ENTRYPOINT bash
14 | WORKDIR /tests
--------------------------------------------------------------------------------
/scripts/test.sql:
--------------------------------------------------------------------------------
1 | CREATE DATABASE test;
--------------------------------------------------------------------------------
/server/component-atlaskit-collab/README.md:
--------------------------------------------------------------------------------
1 | This is a PubSweet component that provides a collaboration server for the Atlaskit editor, intially assembled together from ProseMirror's collab example (https://github.com/ProseMirror/website/tree/master/src/collab, https://github.com/ProseMirror/website/blob/master/LICENSE) and Atlaskit's mocked collab provider (https://bitbucket.org/atlassian/atlaskit-mk-2/src/master/packages/editor/editor-core/example-helpers/mock-collab-provider.ts, https://bitbucket.org/atlassian/atlaskit-mk-2/src/master/LICENSE).
2 |
--------------------------------------------------------------------------------
/server/component-atlaskit-collab/src/index.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | server: () => app => require('./collab')(app),
3 | }
4 |
--------------------------------------------------------------------------------
/server/model-blogpost/README.md:
--------------------------------------------------------------------------------
1 | # Blogpost model
2 |
3 | This is a skeleton/testing model, used in pubsweet-starter and tests in pubsweet-server. It extends the Fragment model.
4 |
--------------------------------------------------------------------------------
/server/model-blogpost/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "@pubsweet/model-blogpost",
3 | "version": "0.0.12",
4 | "description": "",
5 | "main": "src/index.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "author": "Adam Hyde",
10 | "license": "MIT",
11 | "dependencies": {
12 | "@pubsweet/model-fragment": "^3.0.6"
13 | },
14 | "publishConfig": {
15 | "access": "public"
16 | },
17 | "gitHead": "6b100b76f21785e5e50fca082a2743d3d0b1c88a"
18 | }
19 |
--------------------------------------------------------------------------------
/server/model-blogpost/src/index.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | ...require('./graphql'),
3 | modelName: 'Blogpost',
4 | model: require('./blogpost'),
5 | extending: '@pubsweet/model-fragment',
6 | }
7 |
--------------------------------------------------------------------------------
/server/model-blogpost/src/migrations/1543166818-add-columns-to-fragment.sql:
--------------------------------------------------------------------------------
1 | ALTER TABLE fragments
2 | ADD COLUMN source TEXT,
3 | ADD COLUMN kind TEXT,
4 | ADD COLUMN title TEXT,
5 | ADD COLUMN presentation TEXT,
6 | ADD COLUMN published BOOLEAN,
7 | ADD COLUMN filtered TEXT;
--------------------------------------------------------------------------------
/server/model-blogpost/src/migrations/1556901784-add-collab-to-fragment.sql:
--------------------------------------------------------------------------------
1 | ALTER TABLE fragments
2 | ADD COLUMN version INTEGER,
3 | ADD COLUMN steps JSONB;
--------------------------------------------------------------------------------
/static/pubsweet-rgb-small.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jure/pubsweet-blogger/5a79d4b1e0a2c380c93e673b8ce91d6ce629fa0f/static/pubsweet-rgb-small.jpg
--------------------------------------------------------------------------------
/static/pubsweet.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jure/pubsweet-blogger/5a79d4b1e0a2c380c93e673b8ce91d6ce629fa0f/static/pubsweet.jpg
--------------------------------------------------------------------------------
/test/pageObjects/helloWorld.js:
--------------------------------------------------------------------------------
1 | import config from 'config'
2 | import { ReactSelector } from 'testcafe-react-selectors'
3 |
4 | const helloWorld = {
5 | url: `${config.get('pubsweet-server.baseUrl')}/dashboard`,
6 | text: ReactSelector('HelloWorld'),
7 | }
8 |
9 | export default helloWorld
10 |
--------------------------------------------------------------------------------
/test/pageObjects/index.js:
--------------------------------------------------------------------------------
1 | export { default as login } from './login'
2 | export { default as signup } from './signup'
3 | export { default as passwordReset } from './passwordReset'
4 | export { default as helloWorld } from './helloWorld'
5 |
--------------------------------------------------------------------------------
/test/pageObjects/passwordReset.js:
--------------------------------------------------------------------------------
1 | import config from 'config'
2 | import { Selector } from 'testcafe'
3 | import { ReactSelector } from 'testcafe-react-selectors'
4 |
5 | const passwordReset = {
6 | url: `${config.get('pubsweet-server.baseUrl')}/password-reset`,
7 |
8 | title: Selector('h1'),
9 |
10 | username: Selector('form input[type=text]'),
11 | password: Selector('form input[type=password]'),
12 | submit: Selector('form button'),
13 |
14 | alert: ReactSelector('PasswordReset styled.div'),
15 | }
16 |
17 | export default passwordReset
18 |
--------------------------------------------------------------------------------
/test/pageObjects/signup.js:
--------------------------------------------------------------------------------
1 | import config from 'config'
2 | import { Selector } from 'testcafe'
3 |
4 | const signup = {
5 | url: `${config.get('pubsweet-server.baseUrl')}/signup`,
6 |
7 | title: Selector(() => document.querySelector('form').previousSibling),
8 |
9 | username: Selector('form input[type=text]'),
10 | email: Selector('form input[type=email]'),
11 | password: Selector('form input[type=password]'),
12 | submit: Selector('form button'),
13 | login: Selector('form a'),
14 | }
15 |
16 | export default signup
17 |
--------------------------------------------------------------------------------
/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "target": "es5",
4 | "lib": [
5 | "dom",
6 | "dom.iterable",
7 | "esnext"
8 | ],
9 | "allowJs": true,
10 | "skipLibCheck": true,
11 | "esModuleInterop": true,
12 | "allowSyntheticDefaultImports": true,
13 | "strict": true,
14 | "forceConsistentCasingInFileNames": true,
15 | "module": "esnext",
16 | "moduleResolution": "node",
17 | "isolatedModules": true,
18 | "jsx": "preserve"
19 | },
20 | "include": [
21 | "./app/**/*.ts",
22 | "./app/**/*.tsx",
23 | ],
24 | }
25 |
--------------------------------------------------------------------------------
/webpack/babel-includes.js:
--------------------------------------------------------------------------------
1 | const path = require('path')
2 |
3 | module.exports = [
4 | // include app folder
5 | path.join(__dirname, '..', 'app'),
6 | // include pubsweet packages which are published untranspiled
7 | /pubsweet-[^/\\]+\/(?!node_modules)/,
8 | /@pubsweet\/[^/\\]+\/(?!node_modules)/,
9 | // include other packages when this repo is mounted in a workspace
10 | /components\/client\/[^/\\]+\/(?!node_modules)/,
11 | /packages\/[^/\\]+\/(?!node_modules)/,
12 | /node_modules\/xpub-edit/,
13 | ]
14 |
--------------------------------------------------------------------------------