@corva/ui 3.68.0-0 → 3.68.0-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs-bundle/components/AddComment/Popover.js +1 -1
- package/cjs-bundle/components/AddComment/Popover.js.map +1 -1
- package/cjs-bundle/components/AddComment/components/Content.js +1 -1
- package/cjs-bundle/components/AddComment/components/Content.js.map +1 -1
- package/cjs-bundle/components/AttachmentPreview/AttachmentPreview.js +2 -0
- package/cjs-bundle/components/AttachmentPreview/AttachmentPreview.js.map +1 -0
- package/cjs-bundle/components/AttachmentPreview/AttachmentPreview.scss.js +2 -0
- package/cjs-bundle/components/AttachmentPreview/AttachmentPreview.scss.js.map +1 -0
- package/cjs-bundle/components/BICOffsetPickerDialog/index.js +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/index.js.map +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js.map +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
- package/cjs-bundle/components/CommentCard/CommentCard.js +2 -0
- package/cjs-bundle/components/CommentCard/CommentCard.js.map +1 -0
- package/cjs-bundle/components/CommentCard/CommentCard.scss.js +2 -0
- package/cjs-bundle/components/CommentCard/CommentCard.scss.js.map +1 -0
- package/cjs-bundle/components/CommentCard/CommentCardReactions.js +2 -0
- package/cjs-bundle/components/CommentCard/CommentCardReactions.js.map +1 -0
- package/cjs-bundle/components/CommentCard/CommentCardReplies.js +2 -0
- package/cjs-bundle/components/CommentCard/CommentCardReplies.js.map +1 -0
- package/cjs-bundle/components/CommentCard/CommentMenu.js +2 -0
- package/cjs-bundle/components/CommentCard/CommentMenu.js.map +1 -0
- package/cjs-bundle/components/CommentInputNext/CommentInputNext.js +2 -0
- package/cjs-bundle/components/CommentInputNext/CommentInputNext.js.map +1 -0
- package/cjs-bundle/components/CommentInputNext/CommentInputNext.scss.js +2 -0
- package/cjs-bundle/components/CommentInputNext/CommentInputNext.scss.js.map +1 -0
- package/cjs-bundle/components/CommentPin/CommentPin.js +2 -0
- package/cjs-bundle/components/CommentPin/CommentPin.js.map +1 -0
- package/cjs-bundle/components/CommentPin/CommentPin.scss.js +2 -0
- package/cjs-bundle/components/CommentPin/CommentPin.scss.js.map +1 -0
- package/cjs-bundle/components/DocumentViewer/DocumentViewer.js +1 -1
- package/cjs-bundle/components/DocumentViewer/DocumentViewer.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BhaIndicator/styles.css.js +1 -1
- package/cjs-bundle/components/FeedCard/FeedCard.js +2 -0
- package/cjs-bundle/components/FeedCard/FeedCard.js.map +1 -0
- package/cjs-bundle/components/FeedCard/FeedCard.scss.js +2 -0
- package/cjs-bundle/components/FeedCard/FeedCard.scss.js.map +1 -0
- package/cjs-bundle/components/FeedItemCard/FeedItemCard.js +2 -0
- package/cjs-bundle/components/FeedItemCard/FeedItemCard.js.map +1 -0
- package/cjs-bundle/components/FeedItemCard/FeedItemCard.scss.js +2 -0
- package/cjs-bundle/components/FeedItemCard/FeedItemCard.scss.js.map +1 -0
- package/cjs-bundle/components/NewCommentCursor/NewCommentCursor.js +2 -0
- package/cjs-bundle/components/NewCommentCursor/NewCommentCursor.js.map +1 -0
- package/cjs-bundle/components/NewCommentCursor/NewCommentCursor.scss.js +2 -0
- package/cjs-bundle/components/NewCommentCursor/NewCommentCursor.scss.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
- package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js +1 -1
- package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
- package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
- package/cjs-bundle/components/index.js +1 -1
- package/components/AddComment/Popover.js +1 -1
- package/components/AddComment/Popover.js.map +1 -1
- package/components/AddComment/components/Content.js +1 -1
- package/components/AddComment/components/Content.js.map +1 -1
- package/components/AttachmentPreview/AttachmentPreview.d.ts +3 -0
- package/components/AttachmentPreview/AttachmentPreview.d.ts.map +1 -0
- package/components/AttachmentPreview/AttachmentPreview.js +2 -0
- package/components/AttachmentPreview/AttachmentPreview.js.map +1 -0
- package/components/AttachmentPreview/AttachmentPreview.scss.js +2 -0
- package/components/AttachmentPreview/AttachmentPreview.scss.js.map +1 -0
- package/components/AttachmentPreview/AttachmentPreview.types.d.ts +15 -0
- package/components/AttachmentPreview/AttachmentPreview.types.d.ts.map +1 -0
- package/components/AttachmentPreview/index.d.ts +3 -0
- package/components/AttachmentPreview/index.d.ts.map +1 -0
- package/components/BICOffsetPickerDialog/index.js +1 -1
- package/components/BICOffsetPickerDialog/index.js.map +1 -1
- package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
- package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
- package/components/Casing/CasingTableV2/components/Component.js +1 -1
- package/components/Casing/CasingTableV2/components/Component.js.map +1 -1
- package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
- package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
- package/components/CommentCard/CommentCard.d.ts +3 -0
- package/components/CommentCard/CommentCard.d.ts.map +1 -0
- package/components/CommentCard/CommentCard.js +2 -0
- package/components/CommentCard/CommentCard.js.map +1 -0
- package/components/CommentCard/CommentCard.scss.js +2 -0
- package/components/CommentCard/CommentCard.scss.js.map +1 -0
- package/components/CommentCard/CommentCard.types.d.ts +59 -0
- package/components/CommentCard/CommentCard.types.d.ts.map +1 -0
- package/components/CommentCard/CommentCardReactions.d.ts +14 -0
- package/components/CommentCard/CommentCardReactions.d.ts.map +1 -0
- package/components/CommentCard/CommentCardReactions.js +2 -0
- package/components/CommentCard/CommentCardReactions.js.map +1 -0
- package/components/CommentCard/CommentCardReplies.d.ts +12 -0
- package/components/CommentCard/CommentCardReplies.d.ts.map +1 -0
- package/components/CommentCard/CommentCardReplies.js +2 -0
- package/components/CommentCard/CommentCardReplies.js.map +1 -0
- package/components/CommentCard/CommentMenu.d.ts +9 -0
- package/components/CommentCard/CommentMenu.d.ts.map +1 -0
- package/components/CommentCard/CommentMenu.js +2 -0
- package/components/CommentCard/CommentMenu.js.map +1 -0
- package/components/CommentCard/index.d.ts +3 -0
- package/components/CommentCard/index.d.ts.map +1 -0
- package/components/CommentInputNext/CommentInputNext.d.ts +31 -0
- package/components/CommentInputNext/CommentInputNext.d.ts.map +1 -0
- package/components/CommentInputNext/CommentInputNext.js +2 -0
- package/components/CommentInputNext/CommentInputNext.js.map +1 -0
- package/components/CommentInputNext/CommentInputNext.scss.js +2 -0
- package/components/CommentInputNext/CommentInputNext.scss.js.map +1 -0
- package/components/CommentInputNext/index.d.ts +2 -0
- package/components/CommentInputNext/index.d.ts.map +1 -0
- package/components/CommentPin/CommentPin.d.ts +17 -0
- package/components/CommentPin/CommentPin.d.ts.map +1 -0
- package/components/CommentPin/CommentPin.js +2 -0
- package/components/CommentPin/CommentPin.js.map +1 -0
- package/components/CommentPin/CommentPin.scss.js +2 -0
- package/components/CommentPin/CommentPin.scss.js.map +1 -0
- package/components/CommentPin/index.d.ts +2 -0
- package/components/CommentPin/index.d.ts.map +1 -0
- package/components/DocumentViewer/DocumentViewer.js +1 -1
- package/components/DocumentViewer/DocumentViewer.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
- package/components/Drillstring/BhaIndicator/styles.css.js +1 -1
- package/components/FeedCard/FeedCard.d.ts +4 -0
- package/components/FeedCard/FeedCard.d.ts.map +1 -0
- package/components/FeedCard/FeedCard.js +2 -0
- package/components/FeedCard/FeedCard.js.map +1 -0
- package/components/FeedCard/FeedCard.scss.js +2 -0
- package/components/FeedCard/FeedCard.scss.js.map +1 -0
- package/components/FeedCard/FeedCard.types.d.ts +13 -0
- package/components/FeedCard/FeedCard.types.d.ts.map +1 -0
- package/components/FeedCard/index.d.ts +3 -0
- package/components/FeedCard/index.d.ts.map +1 -0
- package/components/FeedItemCard/FeedItemCard.d.ts +35 -0
- package/components/FeedItemCard/FeedItemCard.d.ts.map +1 -0
- package/components/FeedItemCard/FeedItemCard.js +2 -0
- package/components/FeedItemCard/FeedItemCard.js.map +1 -0
- package/components/FeedItemCard/FeedItemCard.scss.js +2 -0
- package/components/FeedItemCard/FeedItemCard.scss.js.map +1 -0
- package/components/FeedItemCard/index.d.ts +2 -0
- package/components/FeedItemCard/index.d.ts.map +1 -0
- package/components/NewCommentCursor/NewCommentCursor.d.ts +8 -0
- package/components/NewCommentCursor/NewCommentCursor.d.ts.map +1 -0
- package/components/NewCommentCursor/NewCommentCursor.js +2 -0
- package/components/NewCommentCursor/NewCommentCursor.js.map +1 -0
- package/components/NewCommentCursor/NewCommentCursor.scss.js +2 -0
- package/components/NewCommentCursor/NewCommentCursor.scss.js.map +1 -0
- package/components/NewCommentCursor/index.d.ts +2 -0
- package/components/NewCommentCursor/index.d.ts.map +1 -0
- package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
- package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
- package/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
- package/components/PadOffsetsPicker/StagesSelector.js +1 -1
- package/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
- package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
- package/components/index.d.ts +8 -0
- package/components/index.d.ts.map +1 -1
- package/components/index.js +1 -1
- package/mcp-server/server.mjs +589 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
package/mcp-server/server.mjs
CHANGED
|
@@ -231,7 +231,7 @@ const validateDsn = (dsn) => {
|
|
|
231
231
|
|
|
232
232
|
const MCP_SERVER_VERSION = '1.3.0';
|
|
233
233
|
|
|
234
|
-
var version = "3.68.0-
|
|
234
|
+
var version = "3.68.0-1";
|
|
235
235
|
|
|
236
236
|
const CORVA_UI_VERSION = version;
|
|
237
237
|
|
|
@@ -9095,6 +9095,29 @@ var componentsV1Data = [
|
|
|
9095
9095
|
"attachment"
|
|
9096
9096
|
]
|
|
9097
9097
|
},
|
|
9098
|
+
{
|
|
9099
|
+
name: "AttachmentPreview",
|
|
9100
|
+
modulePath: "components/AttachmentPreview",
|
|
9101
|
+
importPath: "@corva/ui/components",
|
|
9102
|
+
category: "v1",
|
|
9103
|
+
description: "",
|
|
9104
|
+
isExperimental: true,
|
|
9105
|
+
isDeprecated: false,
|
|
9106
|
+
props: [
|
|
9107
|
+
],
|
|
9108
|
+
examples: [
|
|
9109
|
+
{
|
|
9110
|
+
name: "Default",
|
|
9111
|
+
description: "",
|
|
9112
|
+
code: "<div style={{ background: '#1c1c1c', padding: 24, width: 420 }}>\n <AttachmentPreview\n onRemove={() => {}}\n items={[\n { id: 1, name: 'log.png', kind: 'image', src: img },\n { id: 2, name: 'run.mp4', kind: 'video', src: img },\n { id: 3, name: 'Corva report.xls', kind: 'file' },\n { id: 4, name: 'notes.pdf', kind: 'file' },\n ]}\n />\n </div>"
|
|
9113
|
+
}
|
|
9114
|
+
],
|
|
9115
|
+
sourceUrl: "https://github.com/corva-ai/corva-ui/blob/develop/src/componentsV2/AttachmentPreview/AttachmentPreview.tsx",
|
|
9116
|
+
figmaUrl: "https://www.figma.com/file/g7HMsT490usxg8oBs5olcD/Comment-Tool?node-id=2799-44081",
|
|
9117
|
+
keywords: [
|
|
9118
|
+
"attachmentpreview"
|
|
9119
|
+
]
|
|
9120
|
+
},
|
|
9098
9121
|
{
|
|
9099
9122
|
name: "Autocomplete",
|
|
9100
9123
|
modulePath: "components/Autocomplete",
|
|
@@ -11357,6 +11380,54 @@ var componentsV1Data = [
|
|
|
11357
11380
|
"comment"
|
|
11358
11381
|
]
|
|
11359
11382
|
},
|
|
11383
|
+
{
|
|
11384
|
+
name: "CommentCard",
|
|
11385
|
+
modulePath: "components/CommentCard",
|
|
11386
|
+
importPath: "@corva/ui/components",
|
|
11387
|
+
category: "v1",
|
|
11388
|
+
description: "",
|
|
11389
|
+
isExperimental: true,
|
|
11390
|
+
isDeprecated: false,
|
|
11391
|
+
props: [
|
|
11392
|
+
],
|
|
11393
|
+
examples: [
|
|
11394
|
+
{
|
|
11395
|
+
name: "Default",
|
|
11396
|
+
description: "Expanded card, replies closed. Hover the info icon to reveal the depth/time tooltip.",
|
|
11397
|
+
code: "<Frame>\n <CommentCard\n variant=\"expanded\"\n width={302}\n author={{ name: 'User Name' }}\n timestamp=\"Nov 14, 13:20\"\n chip=\"ROP Depth\"\n body=\"MUD WT IN 16.0 Visc 60, attantion to BD.\"\n contextRows={metadata}\n onReplyToggle={() => {}}\n onLike={() => {}}\n onForward={() => {}}\n menuItems={menuItems}\n />\n </Frame>"
|
|
11398
|
+
},
|
|
11399
|
+
{
|
|
11400
|
+
name: "Liked",
|
|
11401
|
+
description: "Active like (accent) with like + comment counts beside the icons.",
|
|
11402
|
+
code: "<Frame>\n <CommentCard\n variant=\"expanded\"\n width={302}\n author={{ name: 'User Name' }}\n timestamp=\"Nov 14, 13:20\"\n chip=\"ROP Depth\"\n body=\"MUD WT IN 16.0 Visc 60, attantion to BD.\"\n contextRows={metadata}\n isLiked\n likesCount={12}\n commentsCount={2}\n onReplyToggle={() => {}}\n onLike={() => {}}\n onForward={() => {}}\n menuItems={menuItems}\n />\n </Frame>"
|
|
11403
|
+
},
|
|
11404
|
+
{
|
|
11405
|
+
name: "RepliesExpanded",
|
|
11406
|
+
description: "Reply section open (Figma 2841:66442): dimmed footer surface — reply input first, replies list, \"show more\" at the bottom.",
|
|
11407
|
+
code: "<Frame>\n <CommentCard\n variant=\"expanded\"\n width={364}\n author={{ name: 'Name Name' }}\n timestamp=\"Nov 14 2025, 13:20\"\n subtitle=\"Rig Name - Well Name\"\n body=\"MUD WT IN 16.0 Visc 60, attantion to BD.\"\n contextRows={metadata}\n commentsCount={2}\n onReplyToggle={() => {}}\n onLike={() => {}}\n onForward={() => {}}\n menuItems={menuItems}\n isReplyOpen\n replyInput={\n <CommentInput\n bare\n placeholder=\"Reply\"\n autoFocus\n onSubmit={() => {}}\n leading={<Avatar size={32} name=\"Jane Roe\" />}\n />\n }\n replies={replies}\n hasMoreReplies\n onShowMoreReplies={() => {}}\n />\n </Frame>"
|
|
11408
|
+
},
|
|
11409
|
+
{
|
|
11410
|
+
name: "WithAttachments",
|
|
11411
|
+
description: "Attachments (AttachmentPreview) in the `attachmentSlot`, below the body.",
|
|
11412
|
+
code: "<Frame>\n <CommentCard\n variant=\"expanded\"\n width={364}\n author={{ name: 'Name Name' }}\n timestamp=\"Nov 14 2025, 13:20\"\n subtitle=\"Rig Name - Well Name\"\n contextRows={metadata}\n body=\"Check the bottom slips on Penelope 9\"\n attachmentSlot={\n <AttachmentPreview\n onRemove={() => {}}\n items={[\n { id: 1, name: 'log.png', kind: 'image', src: img },\n { id: 2, name: 'Corva report.xls', kind: 'file' },\n ]}\n />\n }\n commentsCount={1}\n onReplyToggle={() => {}}\n onForward={() => {}}\n menuItems={menuItems}\n />\n </Frame>"
|
|
11413
|
+
},
|
|
11414
|
+
{
|
|
11415
|
+
name: "EditMode",
|
|
11416
|
+
description: "Edit mode — the body is replaced by an app-supplied form.",
|
|
11417
|
+
code: "<Frame>\n <CommentCard\n variant=\"expanded\"\n width={364}\n author={{ name: 'Name Name' }}\n timestamp=\"Nov 14 2025, 13:20\"\n subtitle=\"Rig Name - Well Name\"\n body=\"MUD WT IN 16.0 Visc 60, attantion to BD.\"\n editForm={\n <CommentInput value=\"MUD WT IN 16.0 Visc 60, attantion to BD.\" onSubmit={() => {}} />\n }\n />\n </Frame>"
|
|
11418
|
+
},
|
|
11419
|
+
{
|
|
11420
|
+
name: "Compact",
|
|
11421
|
+
description: "Compact `preview` variant — actions row in a bordered footer.",
|
|
11422
|
+
code: "<Frame>\n <CommentCard\n variant=\"preview\"\n width={302}\n author={{ name: 'User Name' }}\n timestamp=\"Nov 14, 13:20\"\n chip=\"ROP Depth\"\n body=\"MUD WT IN 16.0 Visc 60, attantion to BD.\"\n contextRows={metadata}\n commentsCount={2}\n onReplyToggle={() => {}}\n onLike={() => {}}\n onForward={() => {}}\n menuItems={menuItems}\n />\n </Frame>"
|
|
11423
|
+
}
|
|
11424
|
+
],
|
|
11425
|
+
sourceUrl: "https://github.com/corva-ai/corva-ui/blob/develop/src/components/CommentCard/CommentCard.tsx",
|
|
11426
|
+
figmaUrl: "https://www.figma.com/file/g7HMsT490usxg8oBs5olcD/Comment-Tool?node-id=2799-61842",
|
|
11427
|
+
keywords: [
|
|
11428
|
+
"commentcard"
|
|
11429
|
+
]
|
|
11430
|
+
},
|
|
11360
11431
|
{
|
|
11361
11432
|
name: "CommentInput",
|
|
11362
11433
|
modulePath: "components/CommentInput",
|
|
@@ -11524,6 +11595,150 @@ var componentsV1Data = [
|
|
|
11524
11595
|
"commentinput"
|
|
11525
11596
|
]
|
|
11526
11597
|
},
|
|
11598
|
+
{
|
|
11599
|
+
name: "CommentInputNext",
|
|
11600
|
+
modulePath: "components/CommentInputNext",
|
|
11601
|
+
importPath: "@corva/ui/components",
|
|
11602
|
+
category: "v1",
|
|
11603
|
+
description: "",
|
|
11604
|
+
isExperimental: true,
|
|
11605
|
+
isDeprecated: false,
|
|
11606
|
+
props: [
|
|
11607
|
+
],
|
|
11608
|
+
examples: [
|
|
11609
|
+
{
|
|
11610
|
+
name: "Default",
|
|
11611
|
+
description: "Empty input — send disabled until there is text.",
|
|
11612
|
+
code: "<Frame>\n <CommentInput onSubmit={() => {}} />\n </Frame>"
|
|
11613
|
+
},
|
|
11614
|
+
{
|
|
11615
|
+
name: "Filled",
|
|
11616
|
+
description: "Filled (\"Type\") state — send is enabled.",
|
|
11617
|
+
code: "<Frame>\n <CommentInput value=\"MUD WT IN 16.0 Visc 60\" onSubmit={() => {}} />\n </Frame>"
|
|
11618
|
+
},
|
|
11619
|
+
{
|
|
11620
|
+
name: "Reply",
|
|
11621
|
+
description: "Reply input — `bare` so the avatar aligns with the reply avatars; lives inside the card footer.",
|
|
11622
|
+
code: "<Frame>\n <CommentInput\n bare\n placeholder=\"Reply\"\n onSubmit={() => {}}\n leading={<Avatar size={32} name=\"Jane Roe\" />}\n />\n </Frame>"
|
|
11623
|
+
},
|
|
11624
|
+
{
|
|
11625
|
+
name: "CreateComment",
|
|
11626
|
+
description: "Create-comment state — in-field attach/@/emoji toolbar + metadata & share footer.",
|
|
11627
|
+
code: "<Frame width={420}>\n <CommentInput\n minRows={3}\n autoFocus\n onSubmit={() => {}}\n toolbar={<Toolbar />}\n footer={<Footer />}\n />\n </Frame>"
|
|
11628
|
+
},
|
|
11629
|
+
{
|
|
11630
|
+
name: "WithAttachments",
|
|
11631
|
+
description: "Attachments (AttachmentPreview) render below the text, above the toolbar.",
|
|
11632
|
+
code: "<Frame width={420}>\n <CommentInput\n value=\"Check the bottom slips\"\n onSubmit={() => {}}\n toolbar={<Toolbar />}\n attachmentSlot={\n <AttachmentPreview\n onRemove={() => {}}\n items={[\n { id: 1, name: 'log.png', kind: 'image', src: img },\n { id: 2, name: 'Corva report.xls', kind: 'file' },\n ]}\n />\n }\n />\n </Frame>"
|
|
11633
|
+
},
|
|
11634
|
+
{
|
|
11635
|
+
name: "MaxHeight",
|
|
11636
|
+
description: "Field auto-grows to `maxRows` (~256px) then scrolls internally.",
|
|
11637
|
+
code: "<Frame width={420}>\n <CommentInput\n maxRows={12}\n value={'MUD WT IN 16.0 Visc 60, attantion to BD.\\n'.repeat(8).trim()}\n onSubmit={() => {}}\n toolbar={<Toolbar />}\n />\n </Frame>"
|
|
11638
|
+
},
|
|
11639
|
+
{
|
|
11640
|
+
name: "Uploading",
|
|
11641
|
+
description: "File-uploading state — the `trailing` slot shows an upload spinner in place of send.",
|
|
11642
|
+
code: "<Frame>\n <CommentInput\n value=\"MUD WT IN 16.0 Visc 60\"\n onSubmit={() => {}}\n trailing={<CircularProgress size={20} thickness={4} />}\n />\n </Frame>"
|
|
11643
|
+
}
|
|
11644
|
+
],
|
|
11645
|
+
sourceUrl: "https://github.com/corva-ai/corva-ui/blob/develop/src/components/CommentInputNext/CommentInputNext.tsx",
|
|
11646
|
+
figmaUrl: "https://www.figma.com/file/g7HMsT490usxg8oBs5olcD/Comment-Tool?node-id=3035-22201",
|
|
11647
|
+
keywords: [
|
|
11648
|
+
"commentinputnext"
|
|
11649
|
+
]
|
|
11650
|
+
},
|
|
11651
|
+
{
|
|
11652
|
+
name: "CommentPin",
|
|
11653
|
+
modulePath: "components/CommentPin",
|
|
11654
|
+
importPath: "@corva/ui/components",
|
|
11655
|
+
category: "v1",
|
|
11656
|
+
description: "",
|
|
11657
|
+
isExperimental: true,
|
|
11658
|
+
isDeprecated: false,
|
|
11659
|
+
props: [
|
|
11660
|
+
{
|
|
11661
|
+
name: "users",
|
|
11662
|
+
type: "CommentPinUser[]",
|
|
11663
|
+
required: true,
|
|
11664
|
+
description: "Only the first avatar is shown, with a count badge when there are more."
|
|
11665
|
+
},
|
|
11666
|
+
{
|
|
11667
|
+
name: "count",
|
|
11668
|
+
type: "number",
|
|
11669
|
+
required: false,
|
|
11670
|
+
description: ""
|
|
11671
|
+
},
|
|
11672
|
+
{
|
|
11673
|
+
name: "maxCount",
|
|
11674
|
+
type: "number",
|
|
11675
|
+
required: false,
|
|
11676
|
+
description: ""
|
|
11677
|
+
},
|
|
11678
|
+
{
|
|
11679
|
+
name: "size",
|
|
11680
|
+
type: "number",
|
|
11681
|
+
required: false,
|
|
11682
|
+
description: ""
|
|
11683
|
+
},
|
|
11684
|
+
{
|
|
11685
|
+
name: "selected",
|
|
11686
|
+
type: "boolean",
|
|
11687
|
+
required: false,
|
|
11688
|
+
description: ""
|
|
11689
|
+
},
|
|
11690
|
+
{
|
|
11691
|
+
name: "onClick",
|
|
11692
|
+
type: "() => void",
|
|
11693
|
+
required: false,
|
|
11694
|
+
description: ""
|
|
11695
|
+
},
|
|
11696
|
+
{
|
|
11697
|
+
name: "className",
|
|
11698
|
+
type: "string",
|
|
11699
|
+
required: false,
|
|
11700
|
+
description: ""
|
|
11701
|
+
},
|
|
11702
|
+
{
|
|
11703
|
+
name: "testId",
|
|
11704
|
+
type: "string",
|
|
11705
|
+
required: false,
|
|
11706
|
+
description: ""
|
|
11707
|
+
}
|
|
11708
|
+
],
|
|
11709
|
+
examples: [
|
|
11710
|
+
{
|
|
11711
|
+
name: "Playground",
|
|
11712
|
+
description: "",
|
|
11713
|
+
code: "<Frame>\n <CommentPin {...props} />\n </Frame>"
|
|
11714
|
+
},
|
|
11715
|
+
{
|
|
11716
|
+
name: "Single",
|
|
11717
|
+
description: "One commenter, no count badge.",
|
|
11718
|
+
code: "<Frame>\n <CommentPin users={[{ name: 'John Doe' }]} />\n </Frame>"
|
|
11719
|
+
},
|
|
11720
|
+
{
|
|
11721
|
+
name: "Grouped",
|
|
11722
|
+
description: "Multiple commenters with a comment-count badge.",
|
|
11723
|
+
code: "<Frame>\n <CommentPin users={[{ name: 'John Doe' }, { name: 'Jane Roe' }]} count={2} />\n </Frame>"
|
|
11724
|
+
},
|
|
11725
|
+
{
|
|
11726
|
+
name: "ManyComments",
|
|
11727
|
+
description: "",
|
|
11728
|
+
code: "<Frame>\n <CommentPin users={[{ name: 'John Doe' }, { name: 'Jane Roe' }]} count={12} />\n </Frame>"
|
|
11729
|
+
},
|
|
11730
|
+
{
|
|
11731
|
+
name: "Selected",
|
|
11732
|
+
description: "Accent ring for the currently opened comment.",
|
|
11733
|
+
code: "<Frame>\n <CommentPin users={[{ name: 'John Doe' }, { name: 'Jane Roe' }]} count={2} selected />\n </Frame>"
|
|
11734
|
+
}
|
|
11735
|
+
],
|
|
11736
|
+
sourceUrl: "https://github.com/corva-ai/corva-ui/blob/develop/src/components/CommentPin/CommentPin.tsx",
|
|
11737
|
+
figmaUrl: "https://www.figma.com/file/g7HMsT490usxg8oBs5olcD/Comment-Tool?node-id=2799-44309",
|
|
11738
|
+
keywords: [
|
|
11739
|
+
"commentpin"
|
|
11740
|
+
]
|
|
11741
|
+
},
|
|
11527
11742
|
{
|
|
11528
11743
|
name: "CommentsInfo",
|
|
11529
11744
|
modulePath: "components/CommentsInfo",
|
|
@@ -12236,6 +12451,39 @@ var componentsV1Data = [
|
|
|
12236
12451
|
"errorboundary"
|
|
12237
12452
|
]
|
|
12238
12453
|
},
|
|
12454
|
+
{
|
|
12455
|
+
name: "FeedCard",
|
|
12456
|
+
modulePath: "components/FeedCard",
|
|
12457
|
+
importPath: "@corva/ui/components",
|
|
12458
|
+
category: "v1",
|
|
12459
|
+
description: "",
|
|
12460
|
+
isExperimental: true,
|
|
12461
|
+
isDeprecated: false,
|
|
12462
|
+
props: [
|
|
12463
|
+
],
|
|
12464
|
+
examples: [
|
|
12465
|
+
{
|
|
12466
|
+
name: "Default",
|
|
12467
|
+
description: "The surface hosting a composed header / body / footer.",
|
|
12468
|
+
code: "<Frame>\n <FeedCard {...props}>\n <Composed />\n </FeedCard>\n </Frame>"
|
|
12469
|
+
},
|
|
12470
|
+
{
|
|
12471
|
+
name: "Radius",
|
|
12472
|
+
description: "The `radius` prop — comment and feed cards pass 12.",
|
|
12473
|
+
code: "<Frame>\n <div style={{ display: 'flex', gap: 24 }}>\n <FeedCard width={260} radius={16}>\n <div style={bodyStyle}>Default radius (16)</div>\n </FeedCard>\n <FeedCard width={260} radius={12}>\n <div style={bodyStyle}>Comment/feed radius (12)</div>\n </FeedCard>\n </div>\n </Frame>"
|
|
12474
|
+
},
|
|
12475
|
+
{
|
|
12476
|
+
name: "FullWidth",
|
|
12477
|
+
description: "Omit `width` to fill the container.",
|
|
12478
|
+
code: "<Frame>\n <FeedCard>\n <Composed />\n </FeedCard>\n </Frame>"
|
|
12479
|
+
}
|
|
12480
|
+
],
|
|
12481
|
+
sourceUrl: "https://github.com/corva-ai/corva-ui/blob/develop/src/components/FeedCard/FeedCard.tsx",
|
|
12482
|
+
figmaUrl: "https://www.figma.com/file/g7HMsT490usxg8oBs5olcD/Comment-Tool?node-id=2774-89203",
|
|
12483
|
+
keywords: [
|
|
12484
|
+
"feedcard"
|
|
12485
|
+
]
|
|
12486
|
+
},
|
|
12239
12487
|
{
|
|
12240
12488
|
name: "FeedItem",
|
|
12241
12489
|
modulePath: "components/FeedItem",
|
|
@@ -12258,6 +12506,187 @@ var componentsV1Data = [
|
|
|
12258
12506
|
"feeditem"
|
|
12259
12507
|
]
|
|
12260
12508
|
},
|
|
12509
|
+
{
|
|
12510
|
+
name: "FeedItemCard",
|
|
12511
|
+
modulePath: "components/FeedItemCard",
|
|
12512
|
+
importPath: "@corva/ui/components",
|
|
12513
|
+
category: "v1",
|
|
12514
|
+
description: "",
|
|
12515
|
+
isExperimental: true,
|
|
12516
|
+
isDeprecated: false,
|
|
12517
|
+
props: [
|
|
12518
|
+
{
|
|
12519
|
+
name: "icon",
|
|
12520
|
+
type: "ReactNode",
|
|
12521
|
+
required: true,
|
|
12522
|
+
description: ""
|
|
12523
|
+
},
|
|
12524
|
+
{
|
|
12525
|
+
name: "iconBg",
|
|
12526
|
+
type: "string",
|
|
12527
|
+
required: false,
|
|
12528
|
+
description: ""
|
|
12529
|
+
},
|
|
12530
|
+
{
|
|
12531
|
+
name: "iconColor",
|
|
12532
|
+
type: "string",
|
|
12533
|
+
required: false,
|
|
12534
|
+
description: ""
|
|
12535
|
+
},
|
|
12536
|
+
{
|
|
12537
|
+
name: "title",
|
|
12538
|
+
type: "ReactNode",
|
|
12539
|
+
required: true,
|
|
12540
|
+
description: ""
|
|
12541
|
+
},
|
|
12542
|
+
{
|
|
12543
|
+
name: "timestamp",
|
|
12544
|
+
type: "ReactNode",
|
|
12545
|
+
required: false,
|
|
12546
|
+
description: ""
|
|
12547
|
+
},
|
|
12548
|
+
{
|
|
12549
|
+
name: "subtitle",
|
|
12550
|
+
type: "ReactNode",
|
|
12551
|
+
required: false,
|
|
12552
|
+
description: ""
|
|
12553
|
+
},
|
|
12554
|
+
{
|
|
12555
|
+
name: "contextRows",
|
|
12556
|
+
type: "FeedItemContextRow[]",
|
|
12557
|
+
required: false,
|
|
12558
|
+
description: ""
|
|
12559
|
+
},
|
|
12560
|
+
{
|
|
12561
|
+
name: "children",
|
|
12562
|
+
type: "ReactNode",
|
|
12563
|
+
required: false,
|
|
12564
|
+
description: ""
|
|
12565
|
+
},
|
|
12566
|
+
{
|
|
12567
|
+
name: "isLiked",
|
|
12568
|
+
type: "boolean",
|
|
12569
|
+
required: false,
|
|
12570
|
+
description: ""
|
|
12571
|
+
},
|
|
12572
|
+
{
|
|
12573
|
+
name: "likesCount",
|
|
12574
|
+
type: "number",
|
|
12575
|
+
required: false,
|
|
12576
|
+
description: ""
|
|
12577
|
+
},
|
|
12578
|
+
{
|
|
12579
|
+
name: "commentsCount",
|
|
12580
|
+
type: "number",
|
|
12581
|
+
required: false,
|
|
12582
|
+
description: ""
|
|
12583
|
+
},
|
|
12584
|
+
{
|
|
12585
|
+
name: "onLike",
|
|
12586
|
+
type: "() => void",
|
|
12587
|
+
required: false,
|
|
12588
|
+
description: ""
|
|
12589
|
+
},
|
|
12590
|
+
{
|
|
12591
|
+
name: "onReplyToggle",
|
|
12592
|
+
type: "() => void",
|
|
12593
|
+
required: false,
|
|
12594
|
+
description: ""
|
|
12595
|
+
},
|
|
12596
|
+
{
|
|
12597
|
+
name: "onForward",
|
|
12598
|
+
type: "() => void",
|
|
12599
|
+
required: false,
|
|
12600
|
+
description: ""
|
|
12601
|
+
},
|
|
12602
|
+
{
|
|
12603
|
+
name: "menuItems",
|
|
12604
|
+
type: "CommentMenuItem[]",
|
|
12605
|
+
required: false,
|
|
12606
|
+
description: ""
|
|
12607
|
+
},
|
|
12608
|
+
{
|
|
12609
|
+
name: "isReplyOpen",
|
|
12610
|
+
type: "boolean",
|
|
12611
|
+
required: false,
|
|
12612
|
+
description: ""
|
|
12613
|
+
},
|
|
12614
|
+
{
|
|
12615
|
+
name: "replyInput",
|
|
12616
|
+
type: "ReactNode",
|
|
12617
|
+
required: false,
|
|
12618
|
+
description: ""
|
|
12619
|
+
},
|
|
12620
|
+
{
|
|
12621
|
+
name: "replies",
|
|
12622
|
+
type: "CommentReply[]",
|
|
12623
|
+
required: false,
|
|
12624
|
+
description: ""
|
|
12625
|
+
},
|
|
12626
|
+
{
|
|
12627
|
+
name: "hasMoreReplies",
|
|
12628
|
+
type: "boolean",
|
|
12629
|
+
required: false,
|
|
12630
|
+
description: ""
|
|
12631
|
+
},
|
|
12632
|
+
{
|
|
12633
|
+
name: "onShowMoreReplies",
|
|
12634
|
+
type: "() => void",
|
|
12635
|
+
required: false,
|
|
12636
|
+
description: ""
|
|
12637
|
+
},
|
|
12638
|
+
{
|
|
12639
|
+
name: "width",
|
|
12640
|
+
type: "number",
|
|
12641
|
+
required: false,
|
|
12642
|
+
description: ""
|
|
12643
|
+
},
|
|
12644
|
+
{
|
|
12645
|
+
name: "onClick",
|
|
12646
|
+
type: "() => void",
|
|
12647
|
+
required: false,
|
|
12648
|
+
description: ""
|
|
12649
|
+
},
|
|
12650
|
+
{
|
|
12651
|
+
name: "className",
|
|
12652
|
+
type: "string",
|
|
12653
|
+
required: false,
|
|
12654
|
+
description: ""
|
|
12655
|
+
},
|
|
12656
|
+
{
|
|
12657
|
+
name: "testId",
|
|
12658
|
+
type: "string",
|
|
12659
|
+
required: false,
|
|
12660
|
+
description: ""
|
|
12661
|
+
}
|
|
12662
|
+
],
|
|
12663
|
+
examples: [
|
|
12664
|
+
{
|
|
12665
|
+
name: "Default",
|
|
12666
|
+
description: "Header + body + context rows. No footer — no reaction handlers are supplied.",
|
|
12667
|
+
code: "<Frame>\n <FeedItemCard\n icon={icon}\n iconBg=\"rgba(255, 255, 255, 0.08)\"\n title=\"NPT\"\n timestamp=\"04/16/26 18:11\"\n contextRows={contextRows}\n >\n Con barrena PDC de 18 1/2” y sarta rotatoria estacionada, se mantiene en espera por\n acondicionamiento de acceso.\n </FeedItemCard>\n </Frame>"
|
|
12668
|
+
},
|
|
12669
|
+
{
|
|
12670
|
+
name: "WithReactions",
|
|
12671
|
+
description: "Reactions/replies footer with an active like + counts and a kebab menu.",
|
|
12672
|
+
code: "<Frame>\n <FeedItemCard\n icon={icon}\n iconBg=\"rgba(255, 255, 255, 0.08)\"\n title=\"NPT\"\n timestamp=\"04/16/26 18:11\"\n subtitle=\"Rig Name - Well Name\"\n contextRows={contextRows}\n isLiked\n likesCount={3}\n commentsCount={2}\n onReplyToggle={() => {}}\n onLike={() => {}}\n menuItems={menuItems}\n />\n </Frame>"
|
|
12673
|
+
},
|
|
12674
|
+
{
|
|
12675
|
+
name: "RepliesExpanded",
|
|
12676
|
+
description: "Reply section open — reply input above the replies list (shared with CommentCard).",
|
|
12677
|
+
code: "<Frame>\n <FeedItemCard\n icon={icon}\n iconBg=\"rgba(255, 255, 255, 0.08)\"\n title=\"NPT\"\n timestamp=\"04/16/26 18:11\"\n contextRows={contextRows}\n commentsCount={1}\n onReplyToggle={() => {}}\n onLike={() => {}}\n isReplyOpen\n replyInput={\n <CommentInput\n bare\n placeholder=\"Reply\"\n autoFocus\n onSubmit={() => {}}\n leading={<Avatar size={32} name=\"Jane Roe\" />}\n />\n }\n replies={[\n {\n id: 1,\n author: { name: 'Name Name' },\n timestamp: 'Nov 14 2025, 13:20',\n body: 'Acknowledged — updating the plan.',\n menuItems: [{ label: 'Delete', icon: <DeleteIcon size={16} />, onClick: () => {} }],\n },\n ]}\n />\n </Frame>"
|
|
12678
|
+
},
|
|
12679
|
+
{
|
|
12680
|
+
name: "LongContentScrolls",
|
|
12681
|
+
description: "Body longer than 256px — the card caps its height and scrolls internally.",
|
|
12682
|
+
code: "<Frame>\n <FeedItemCard\n icon={icon}\n iconBg=\"rgba(255, 255, 255, 0.08)\"\n title=\"NPT\"\n timestamp=\"04/16/26 18:11\"\n contextRows={contextRows}\n onLike={() => {}}\n menuItems={menuItems}\n >\n {'Con barrena PDC de 18 1/2” y sarta rotatoria estacionada a la profundidad de 973 m, se mantiene en espera por acondicionamiento de acceso y terraplén de la presa de quema. '.repeat(\n 6\n )}\n </FeedItemCard>\n </Frame>"
|
|
12683
|
+
}
|
|
12684
|
+
],
|
|
12685
|
+
sourceUrl: "https://github.com/corva-ai/corva-ui/blob/develop/src/components/FeedItemCard/FeedItemCard.tsx",
|
|
12686
|
+
keywords: [
|
|
12687
|
+
"feeditemcard"
|
|
12688
|
+
]
|
|
12689
|
+
},
|
|
12261
12690
|
{
|
|
12262
12691
|
name: "FileIcon",
|
|
12263
12692
|
modulePath: "components/FileIcon",
|
|
@@ -13751,6 +14180,53 @@ var componentsV1Data = [
|
|
|
13751
14180
|
"confirmation"
|
|
13752
14181
|
]
|
|
13753
14182
|
},
|
|
14183
|
+
{
|
|
14184
|
+
name: "NewCommentCursor",
|
|
14185
|
+
modulePath: "components/NewCommentCursor",
|
|
14186
|
+
importPath: "@corva/ui/components",
|
|
14187
|
+
category: "v1",
|
|
14188
|
+
description: "",
|
|
14189
|
+
isExperimental: true,
|
|
14190
|
+
isDeprecated: false,
|
|
14191
|
+
props: [
|
|
14192
|
+
{
|
|
14193
|
+
name: "size",
|
|
14194
|
+
type: "number",
|
|
14195
|
+
required: false,
|
|
14196
|
+
description: ""
|
|
14197
|
+
},
|
|
14198
|
+
{
|
|
14199
|
+
name: "onClick",
|
|
14200
|
+
type: "() => void",
|
|
14201
|
+
required: false,
|
|
14202
|
+
description: ""
|
|
14203
|
+
},
|
|
14204
|
+
{
|
|
14205
|
+
name: "className",
|
|
14206
|
+
type: "string",
|
|
14207
|
+
required: false,
|
|
14208
|
+
description: ""
|
|
14209
|
+
},
|
|
14210
|
+
{
|
|
14211
|
+
name: "testId",
|
|
14212
|
+
type: "string",
|
|
14213
|
+
required: false,
|
|
14214
|
+
description: ""
|
|
14215
|
+
}
|
|
14216
|
+
],
|
|
14217
|
+
examples: [
|
|
14218
|
+
{
|
|
14219
|
+
name: "Playground",
|
|
14220
|
+
description: "",
|
|
14221
|
+
code: "<div style={{ background: '#1c1c1c', padding: 32 }}>\n <NewCommentCursor {...props} />\n </div>"
|
|
14222
|
+
}
|
|
14223
|
+
],
|
|
14224
|
+
sourceUrl: "https://github.com/corva-ai/corva-ui/blob/develop/src/components/NewCommentCursor/NewCommentCursor.tsx",
|
|
14225
|
+
figmaUrl: "https://www.figma.com/file/g7HMsT490usxg8oBs5olcD/Comment-Tool",
|
|
14226
|
+
keywords: [
|
|
14227
|
+
"newcommentcursor"
|
|
14228
|
+
]
|
|
14229
|
+
},
|
|
13754
14230
|
{
|
|
13755
14231
|
name: "NewDocumentViewer",
|
|
13756
14232
|
modulePath: "components/NewDocumentViewer",
|
|
@@ -92293,6 +92769,21 @@ var entries = [
|
|
|
92293
92769
|
importPath: "@corva/ui/components",
|
|
92294
92770
|
searchText: "attachment attachment"
|
|
92295
92771
|
},
|
|
92772
|
+
{
|
|
92773
|
+
id: "component-v1-AttachmentPreview",
|
|
92774
|
+
type: "component",
|
|
92775
|
+
name: "AttachmentPreview",
|
|
92776
|
+
description: "",
|
|
92777
|
+
keywords: [
|
|
92778
|
+
"attachmentpreview"
|
|
92779
|
+
],
|
|
92780
|
+
tags: [
|
|
92781
|
+
"v1"
|
|
92782
|
+
],
|
|
92783
|
+
category: "components-v1",
|
|
92784
|
+
importPath: "@corva/ui/components",
|
|
92785
|
+
searchText: "attachmentpreview attachmentpreview"
|
|
92786
|
+
},
|
|
92296
92787
|
{
|
|
92297
92788
|
id: "component-v1-Autocomplete",
|
|
92298
92789
|
type: "component",
|
|
@@ -92803,6 +93294,21 @@ var entries = [
|
|
|
92803
93294
|
importPath: "@corva/ui/components",
|
|
92804
93295
|
searchText: "comment comment"
|
|
92805
93296
|
},
|
|
93297
|
+
{
|
|
93298
|
+
id: "component-v1-CommentCard",
|
|
93299
|
+
type: "component",
|
|
93300
|
+
name: "CommentCard",
|
|
93301
|
+
description: "",
|
|
93302
|
+
keywords: [
|
|
93303
|
+
"commentcard"
|
|
93304
|
+
],
|
|
93305
|
+
tags: [
|
|
93306
|
+
"v1"
|
|
93307
|
+
],
|
|
93308
|
+
category: "components-v1",
|
|
93309
|
+
importPath: "@corva/ui/components",
|
|
93310
|
+
searchText: "commentcard commentcard"
|
|
93311
|
+
},
|
|
92806
93312
|
{
|
|
92807
93313
|
id: "component-v1-CommentInput",
|
|
92808
93314
|
type: "component",
|
|
@@ -92818,6 +93324,36 @@ var entries = [
|
|
|
92818
93324
|
importPath: "@corva/ui/components",
|
|
92819
93325
|
searchText: "commentinput commentinput"
|
|
92820
93326
|
},
|
|
93327
|
+
{
|
|
93328
|
+
id: "component-v1-CommentInputNext",
|
|
93329
|
+
type: "component",
|
|
93330
|
+
name: "CommentInputNext",
|
|
93331
|
+
description: "",
|
|
93332
|
+
keywords: [
|
|
93333
|
+
"commentinputnext"
|
|
93334
|
+
],
|
|
93335
|
+
tags: [
|
|
93336
|
+
"v1"
|
|
93337
|
+
],
|
|
93338
|
+
category: "components-v1",
|
|
93339
|
+
importPath: "@corva/ui/components",
|
|
93340
|
+
searchText: "commentinputnext commentinputnext"
|
|
93341
|
+
},
|
|
93342
|
+
{
|
|
93343
|
+
id: "component-v1-CommentPin",
|
|
93344
|
+
type: "component",
|
|
93345
|
+
name: "CommentPin",
|
|
93346
|
+
description: "",
|
|
93347
|
+
keywords: [
|
|
93348
|
+
"commentpin"
|
|
93349
|
+
],
|
|
93350
|
+
tags: [
|
|
93351
|
+
"v1"
|
|
93352
|
+
],
|
|
93353
|
+
category: "components-v1",
|
|
93354
|
+
importPath: "@corva/ui/components",
|
|
93355
|
+
searchText: "commentpin commentpin"
|
|
93356
|
+
},
|
|
92821
93357
|
{
|
|
92822
93358
|
id: "component-v1-CommentsInfo",
|
|
92823
93359
|
type: "component",
|
|
@@ -93113,6 +93649,21 @@ var entries = [
|
|
|
93113
93649
|
importPath: "@corva/ui/components",
|
|
93114
93650
|
searchText: "errorboundary errorboundary"
|
|
93115
93651
|
},
|
|
93652
|
+
{
|
|
93653
|
+
id: "component-v1-FeedCard",
|
|
93654
|
+
type: "component",
|
|
93655
|
+
name: "FeedCard",
|
|
93656
|
+
description: "",
|
|
93657
|
+
keywords: [
|
|
93658
|
+
"feedcard"
|
|
93659
|
+
],
|
|
93660
|
+
tags: [
|
|
93661
|
+
"v1"
|
|
93662
|
+
],
|
|
93663
|
+
category: "components-v1",
|
|
93664
|
+
importPath: "@corva/ui/components",
|
|
93665
|
+
searchText: "feedcard feedcard"
|
|
93666
|
+
},
|
|
93116
93667
|
{
|
|
93117
93668
|
id: "component-v1-FeedItem",
|
|
93118
93669
|
type: "component",
|
|
@@ -93128,6 +93679,21 @@ var entries = [
|
|
|
93128
93679
|
importPath: "@corva/ui/components",
|
|
93129
93680
|
searchText: "feeditem feeditem"
|
|
93130
93681
|
},
|
|
93682
|
+
{
|
|
93683
|
+
id: "component-v1-FeedItemCard",
|
|
93684
|
+
type: "component",
|
|
93685
|
+
name: "FeedItemCard",
|
|
93686
|
+
description: "",
|
|
93687
|
+
keywords: [
|
|
93688
|
+
"feeditemcard"
|
|
93689
|
+
],
|
|
93690
|
+
tags: [
|
|
93691
|
+
"v1"
|
|
93692
|
+
],
|
|
93693
|
+
category: "components-v1",
|
|
93694
|
+
importPath: "@corva/ui/components",
|
|
93695
|
+
searchText: "feeditemcard feeditemcard"
|
|
93696
|
+
},
|
|
93131
93697
|
{
|
|
93132
93698
|
id: "component-v1-FileIcon",
|
|
93133
93699
|
type: "component",
|
|
@@ -93560,6 +94126,21 @@ var entries = [
|
|
|
93560
94126
|
importPath: "@corva/ui/components",
|
|
93561
94127
|
searchText: "modal modal dialog popup overlay confirmation"
|
|
93562
94128
|
},
|
|
94129
|
+
{
|
|
94130
|
+
id: "component-v1-NewCommentCursor",
|
|
94131
|
+
type: "component",
|
|
94132
|
+
name: "NewCommentCursor",
|
|
94133
|
+
description: "",
|
|
94134
|
+
keywords: [
|
|
94135
|
+
"newcommentcursor"
|
|
94136
|
+
],
|
|
94137
|
+
tags: [
|
|
94138
|
+
"v1"
|
|
94139
|
+
],
|
|
94140
|
+
category: "components-v1",
|
|
94141
|
+
importPath: "@corva/ui/components",
|
|
94142
|
+
searchText: "newcommentcursor newcommentcursor"
|
|
94143
|
+
},
|
|
93563
94144
|
{
|
|
93564
94145
|
id: "component-v1-NewDocumentViewer",
|
|
93565
94146
|
type: "component",
|
|
@@ -101635,6 +102216,7 @@ var byCategory = {
|
|
|
101635
102216
|
"component-v1-AssetNameLabel",
|
|
101636
102217
|
"component-v1-AssetsMultipleSelector",
|
|
101637
102218
|
"component-v1-Attachment",
|
|
102219
|
+
"component-v1-AttachmentPreview",
|
|
101638
102220
|
"component-v1-Autocomplete",
|
|
101639
102221
|
"component-v1-Avatar",
|
|
101640
102222
|
"component-v1-BICOffsetPickerDialog",
|
|
@@ -101659,7 +102241,10 @@ var byCategory = {
|
|
|
101659
102241
|
"component-v1-ColorPicker",
|
|
101660
102242
|
"component-v1-ColorPickerPalette",
|
|
101661
102243
|
"component-v1-Comment",
|
|
102244
|
+
"component-v1-CommentCard",
|
|
101662
102245
|
"component-v1-CommentInput",
|
|
102246
|
+
"component-v1-CommentInputNext",
|
|
102247
|
+
"component-v1-CommentPin",
|
|
101663
102248
|
"component-v1-CommentsInfo",
|
|
101664
102249
|
"component-v1-ContextMenuItem",
|
|
101665
102250
|
"component-v1-CopyToClipboard",
|
|
@@ -101677,7 +102262,9 @@ var byCategory = {
|
|
|
101677
102262
|
"component-v1-EmptyState",
|
|
101678
102263
|
"component-v1-EmptyView",
|
|
101679
102264
|
"component-v1-ErrorBoundary",
|
|
102265
|
+
"component-v1-FeedCard",
|
|
101680
102266
|
"component-v1-FeedItem",
|
|
102267
|
+
"component-v1-FeedItemCard",
|
|
101681
102268
|
"component-v1-FileIcon",
|
|
101682
102269
|
"component-v1-FilePreview",
|
|
101683
102270
|
"component-v1-FilesDropzone",
|
|
@@ -101702,6 +102289,7 @@ var byCategory = {
|
|
|
101702
102289
|
"component-v1-MiddleTruncate",
|
|
101703
102290
|
"component-v1-MiddleTruncatedText",
|
|
101704
102291
|
"component-v1-Modal",
|
|
102292
|
+
"component-v1-NewCommentCursor",
|
|
101705
102293
|
"component-v1-NewDocumentViewer",
|
|
101706
102294
|
"component-v1-Notifications",
|
|
101707
102295
|
"component-v1-OffsetWellButton",
|