@corva/ui 3.79.0-13 → 3.79.0-14

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.
Files changed (32) hide show
  1. package/cjs-bundle/components/CommentCard/CommentCard.js +1 -1
  2. package/cjs-bundle/components/CommentCard/CommentCard.js.map +1 -1
  3. package/cjs-bundle/components/CommentCard/CommentCard.scss.js +1 -1
  4. package/cjs-bundle/components/CurveTooltip/CurveTooltip.js +2 -0
  5. package/cjs-bundle/components/CurveTooltip/CurveTooltip.js.map +1 -0
  6. package/cjs-bundle/components/CurveTooltip/CurveTooltip.scss.js +2 -0
  7. package/cjs-bundle/components/CurveTooltip/CurveTooltip.scss.js.map +1 -0
  8. package/cjs-bundle/components/NewCommentCursor/NewCommentCursor.js +1 -1
  9. package/cjs-bundle/components/NewCommentCursor/NewCommentCursor.js.map +1 -1
  10. package/components/CommentCard/CommentCard.d.ts.map +1 -1
  11. package/components/CommentCard/CommentCard.js +1 -1
  12. package/components/CommentCard/CommentCard.js.map +1 -1
  13. package/components/CommentCard/CommentCard.scss.js +1 -1
  14. package/components/CommentCard/CommentCard.types.d.ts +3 -0
  15. package/components/CommentCard/CommentCard.types.d.ts.map +1 -1
  16. package/components/CurveTooltip/CurveTooltip.d.ts +24 -0
  17. package/components/CurveTooltip/CurveTooltip.d.ts.map +1 -0
  18. package/components/CurveTooltip/CurveTooltip.js +2 -0
  19. package/components/CurveTooltip/CurveTooltip.js.map +1 -0
  20. package/components/CurveTooltip/CurveTooltip.scss.js +2 -0
  21. package/components/CurveTooltip/CurveTooltip.scss.js.map +1 -0
  22. package/components/CurveTooltip/index.d.ts +2 -0
  23. package/components/CurveTooltip/index.d.ts.map +1 -0
  24. package/components/NewCommentCursor/NewCommentCursor.d.ts +2 -0
  25. package/components/NewCommentCursor/NewCommentCursor.d.ts.map +1 -1
  26. package/components/NewCommentCursor/NewCommentCursor.js +1 -1
  27. package/components/NewCommentCursor/NewCommentCursor.js.map +1 -1
  28. package/components/NewCommentCursor/__tests__/NewCommentCursor.test.d.ts +2 -0
  29. package/components/NewCommentCursor/__tests__/NewCommentCursor.test.d.ts.map +1 -0
  30. package/mcp-server/server.mjs +70 -4
  31. package/package.json +1 -1
  32. package/tsconfig.tsbuildinfo +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"NewCommentCursor.js","sources":["../../../src/components/NewCommentCursor/NewCommentCursor.tsx"],"sourcesContent":["import { forwardRef } from 'react';\nimport classNames from 'classnames';\n\nimport styles from './NewCommentCursor.scss';\n\nexport type NewCommentCursorProps = {\n size?: number;\n onClick?: () => void;\n\n className?: string;\n testId?: string;\n};\n\n// Figma's \"Vector\" plus glyph is sized relative to the pin (\"Union\", 17.916 units),\n// not the full 24px canvas the pin sits in (node 3119:21596, \"add-message-custom-fill\").\n// Our CSS-drawn pin fills the whole container, so the glyph scales off `size` directly\n// using that plus/pin ratio. Paths/viewBox below are exact Figma coordinates.\nconst GLYPH_RATIO = 8.75 / 17.916;\n\nexport const NewCommentCursor = forwardRef<HTMLDivElement, NewCommentCursorProps>(\n ({ size = 40, onClick, className, testId }, ref) => (\n <div\n ref={ref}\n data-testid={testId}\n className={classNames(styles.root, className)}\n style={{ width: size, height: size }}\n onClick={onClick}\n >\n <svg\n width={size * GLYPH_RATIO}\n height={size * GLYPH_RATIO}\n viewBox=\"0 0 8.75 8.75\"\n fill=\"none\"\n aria-hidden\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M0 4.375C0 4.02982 0.279822 3.75 0.625 3.75H8.125C8.47018 3.75 8.75 4.02982 8.75 4.375C8.75 4.72018 8.47018 5 8.125 5H0.625C0.279822 5 0 4.72018 0 4.375Z\"\n fill=\"currentColor\"\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M4.375 0C4.72018 0 5 0.279822 5 0.625V8.125C5 8.47018 4.72018 8.75 4.375 8.75C4.02982 8.75 3.75 8.47018 3.75 8.125V0.625C3.75 0.279822 4.02982 0 4.375 0Z\"\n fill=\"currentColor\"\n />\n </svg>\n </div>\n )\n);\n"],"names":["NewCommentCursor","forwardRef","ref","_ref$size","_ref","size","onClick","className","testId","_jsx","classNames","styles","root","style","width","height","children","_jsxs","viewBox","fill","fillRule","clipRule","d"],"mappings":"yJAiBA,IAEaA,EAAmBC,GAC9B,WAA4CC,GAAG,IAAAC,EAAAC,EAA5CC,KAAAA,aAAO,GAAEF,EAAEG,IAAAA,QAASC,IAAAA,UAAWC,IAAAA,OAAM,OACtCC,EAAA,MAAA,CACEP,IAAKA,EACL,cAAaM,EACbD,UAAWG,EAAWC,EAAOC,KAAML,GACnCM,MAAO,CAAEC,MAAOT,EAAMU,OAAQV,GAC9BC,QAASA,EAAQU,SAEjBC,EAAA,MAAA,CACEH,MAZY,mBAYLT,EACPU,OAbY,mBAaJV,EACRa,QAAQ,gBACRC,KAAK,OACL,eAAW,EAAAH,SAEX,CAAAP,EAAA,OAAA,CACEW,SAAS,UACTC,SAAS,UACTC,EAAE,4JACFH,KAAK,iBAEPV,EAAA,OAAA,CACEW,SAAS,UACTC,SAAS,UACTC,EAAE,4JACFH,KAAK,qBAGL"}
1
+ {"version":3,"file":"NewCommentCursor.js","sources":["../../../src/components/NewCommentCursor/NewCommentCursor.tsx"],"sourcesContent":["import { forwardRef } from 'react';\nimport classNames from 'classnames';\n\nimport styles from './NewCommentCursor.scss';\nimport { CurveTooltip, CurveTooltipData } from '../CurveTooltip';\n\nexport type NewCommentCursorProps = {\n size?: number;\n onClick?: () => void;\n tooltip?: CurveTooltipData;\n\n className?: string;\n testId?: string;\n};\n\n// Figma's \"Vector\" plus glyph is sized relative to the pin (\"Union\", 17.916 units),\n// not the full 24px canvas the pin sits in (node 3119:21596, \"add-message-custom-fill\").\n// Our CSS-drawn pin fills the whole container, so the glyph scales off `size` directly\n// using that plus/pin ratio. Paths/viewBox below are exact Figma coordinates.\nconst GLYPH_RATIO = 8.75 / 17.916;\n\nexport const NewCommentCursor = forwardRef<HTMLDivElement, NewCommentCursorProps>(\n ({ size = 40, onClick, tooltip, className, testId }, ref) => {\n const cursor = (\n <div\n ref={ref}\n data-testid={testId}\n className={classNames(styles.root, className)}\n style={{ width: size, height: size }}\n onClick={onClick}\n >\n <svg\n width={size * GLYPH_RATIO}\n height={size * GLYPH_RATIO}\n viewBox=\"0 0 8.75 8.75\"\n fill=\"none\"\n aria-hidden\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M0 4.375C0 4.02982 0.279822 3.75 0.625 3.75H8.125C8.47018 3.75 8.75 4.02982 8.75 4.375C8.75 4.72018 8.47018 5 8.125 5H0.625C0.279822 5 0 4.72018 0 4.375Z\"\n fill=\"currentColor\"\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M4.375 0C4.72018 0 5 0.279822 5 0.625V8.125C5 8.47018 4.72018 8.75 4.375 8.75C4.02982 8.75 3.75 8.47018 3.75 8.125V0.625C3.75 0.279822 4.02982 0 4.375 0Z\"\n fill=\"currentColor\"\n />\n </svg>\n </div>\n );\n\n // isFullScreen: the DC variant resizes the app iframe on open, making a cursor-following tooltip loop.\n return tooltip ? (\n <CurveTooltip data={tooltip} open isFullScreen={false} placement=\"bottom-start\">\n {cursor}\n </CurveTooltip>\n ) : (\n cursor\n );\n }\n);\n"],"names":["NewCommentCursor","forwardRef","_ref","ref","_ref$size","size","onClick","tooltip","className","testId","cursor","_jsx","classNames","styles","root","style","width","height","children","_jsxs","viewBox","fill","fillRule","clipRule","d","CurveTooltip","data","open","isFullScreen","placement"],"mappings":"wNAmBA,IAEaA,EAAmBC,GAC9B,SAAAC,EAAqDC,GAAQ,IAAAC,EAAAF,EAA1DG,KAAAA,aAAO,GAAED,EAAEE,IAAAA,QAASC,IAAAA,QAASC,IAAAA,UAAWC,IAAAA,OACnCC,EACJC,EAAA,MAAA,CACER,IAAKA,EACL,cAAaM,EACbD,UAAWI,EAAWC,EAAOC,KAAMN,GACnCO,MAAO,CAAEC,MAAOX,EAAMY,OAAQZ,GAC9BC,QAASA,EAAQY,SAEjBC,EAAA,MAAA,CACEH,MAbU,mBAaHX,EACPY,OAdU,mBAcFZ,EACRe,QAAQ,gBACRC,KAAK,OACL,eAAW,EAAAH,SAEX,CAAAP,EAAA,OAAA,CACEW,SAAS,UACTC,SAAS,UACTC,EAAE,4JACFH,KAAK,iBAEPV,EAAA,OAAA,CACEW,SAAS,UACTC,SAAS,UACTC,EAAE,4JACFH,KAAK,sBAOb,OAAOd,EACLI,EAACc,EAAY,CAACC,KAAMnB,EAASoB,MAAI,EAACC,cAAc,EAAOC,UAAU,eAAcX,SAC5ER,IAGHA,CAEJ"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=NewCommentCursor.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NewCommentCursor.test.d.ts","sourceRoot":"","sources":["../../../../src/components/NewCommentCursor/__tests__/NewCommentCursor.test.tsx"],"names":[],"mappings":""}