├── .gitignore ├── LICENSE ├── README.md ├── custom.d.ts ├── dist ├── cjs │ ├── index.js │ ├── index.js.map │ └── types │ │ ├── components │ │ ├── CommentBlocks.d.ts │ │ ├── CommentDisplay.d.ts │ │ ├── CommentsList.d.ts │ │ ├── CreateCommentModal.d.ts │ │ ├── EnabledPagebloxButton.d.ts │ │ ├── InstructionsPopup.d.ts │ │ ├── LoginModal.d.ts │ │ ├── PublishedComment.d.ts │ │ └── Toolbar.d.ts │ │ ├── index.d.ts │ │ ├── pageblox.d.ts │ │ └── utils │ │ ├── ItemTypes.d.ts │ │ ├── calculateScroll.d.ts │ │ ├── firebase-config.d.ts │ │ ├── getPathTo.d.ts │ │ ├── hooks.d.ts │ │ └── useWindowSize.d.ts ├── esm │ ├── index.js │ ├── index.js.map │ └── types │ │ ├── components │ │ ├── CommentBlocks.d.ts │ │ ├── CommentDisplay.d.ts │ │ ├── CommentsList.d.ts │ │ ├── CreateCommentModal.d.ts │ │ ├── EnabledPagebloxButton.d.ts │ │ ├── InstructionsPopup.d.ts │ │ ├── LoginModal.d.ts │ │ ├── PublishedComment.d.ts │ │ └── Toolbar.d.ts │ │ ├── index.d.ts │ │ ├── pageblox.d.ts │ │ └── utils │ │ ├── ItemTypes.d.ts │ │ ├── calculateScroll.d.ts │ │ ├── firebase-config.d.ts │ │ ├── getPathTo.d.ts │ │ ├── hooks.d.ts │ │ └── useWindowSize.d.ts └── index.d.ts ├── package-lock.json ├── package.json ├── postcss.config.js ├── rollup.config.mjs ├── src ├── .DS_Store ├── components │ ├── CommentBlocks.tsx │ ├── CommentDisplay.tsx │ ├── CommentsList.tsx │ ├── CreateCommentModal.tsx │ ├── EnabledPagebloxButton.tsx │ ├── InstructionsPopup.tsx │ ├── LoginModal.tsx │ ├── PublishedComment.tsx │ └── Toolbar.tsx ├── images │ └── pageblox-logo.svg ├── index.css ├── index.ts ├── pageblox.tsx └── utils │ ├── ItemTypes.ts │ ├── calculateScroll.ts │ ├── firebase-config.ts │ ├── getPathTo.ts │ ├── hooks.ts │ └── useWindowSize.ts ├── tailwind.config.js ├── tsconfig.json └── types ├── .DS_Store ├── components ├── ClientKeyAlert.d.ts ├── CommentBlocks.d.ts ├── CommentDisplay.d.ts ├── CommentsList.d.ts ├── CreateCommentModal.d.ts ├── DropdownComponent.d.ts ├── EnabledPagebloxButton.d.ts ├── ImagePreviewModal.d.ts ├── InstructionsPopup.d.ts ├── LoginModal.d.ts ├── LoginScreen.d.ts ├── PublishedComment.d.ts ├── RegisterModal.d.ts ├── RepliesModal.d.ts ├── Sidebar.d.ts ├── Toolbar.d.ts └── UnpublishedComment.d.ts ├── index.d.ts ├── pageblox.d.ts ├── stories ├── Button.d.ts ├── Header.d.ts ├── Page.d.ts └── Page.stories.d.ts └── utils ├── ItemTypes.d.ts ├── calculateScroll.d.ts ├── firebase-config.d.ts ├── getPathTo.d.ts ├── hooks.d.ts └── useWindowSize.d.ts /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /dist -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 pageblox 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |
{selectedComment.comment}
61 | {screenshotUrl && ( 62 |{reply.message}
118 |{comment.comment}
98 |{`${ 101 | commentReplies.length 102 | } ${commentReplies.length === 1 ? "reply" : "replies"}`}
103 | )} 104 | {comment.uploadedFilePath && ( 105 | 106 | 129 | 130 | )} 131 |104 | {profileName.charAt(0)} 105 |
106 | 107 |