vaishu-react-comp 1.1.4 → 1.1.6
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/lib/components/ScriptCommentModal/ScriptCommentModal.d.ts +1 -0
- package/lib/components/ScriptCommentModal/ScriptCommentModal.js +7 -2
- package/lib/components/ScriptCommentModal/ScriptCommentModal.js.map +1 -1
- package/lib/components/ScriptCommentModal/components/ButtonActions.d.ts +0 -1
- package/lib/components/ScriptCommentModal/components/ButtonActions.js +0 -1
- package/lib/components/ScriptCommentModal/components/ButtonActions.js.map +1 -1
- package/lib/components/ScriptCommentModal/components/CommentCount.js +3 -2
- package/lib/components/ScriptCommentModal/components/CommentCount.js.map +1 -1
- package/lib/components/ScriptCommentModal/components/CommentDiscription.d.ts +0 -1
- package/lib/components/ScriptCommentModal/components/CommentDiscription.js +0 -1
- package/lib/components/ScriptCommentModal/components/CommentDiscription.js.map +1 -1
- package/lib/components/ScriptCommentModal/components/CommentFooter.d.ts +0 -1
- package/lib/components/ScriptCommentModal/components/CommentFooter.js +0 -1
- package/lib/components/ScriptCommentModal/components/CommentFooter.js.map +1 -1
- package/lib/components/ScriptCommentModal/components/CommentsTitle.d.ts +0 -1
- package/lib/components/ScriptCommentModal/components/CommentsTitle.js +1 -1
- package/lib/components/ScriptCommentModal/components/CommentsTitle.js.map +1 -1
- package/lib/components/ScriptCommentModal/components/FooterText.d.ts +0 -1
- package/lib/components/ScriptCommentModal/components/FooterText.js +1 -2
- package/lib/components/ScriptCommentModal/components/FooterText.js.map +1 -1
- package/lib/index.d.ts +8 -8
- package/lib/index.js +3 -3
- package/lib/index.js.map +1 -1
- package/lib/styles.css +1 -1
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@ import { useRef, useState } from 'react';
|
|
|
3
3
|
import MiniModal from '../MiniModal';
|
|
4
4
|
import CommentsTitle from './components/CommentsTitle';
|
|
5
5
|
import CommentDescription from './components/CommentDiscription';
|
|
6
|
+
import './ScriptCommentModal.scss';
|
|
6
7
|
const ScriptCommentModal = ({ anchorRef, isOpen, onClose, }) => {
|
|
7
8
|
const [comment, setComment] = useState('');
|
|
8
9
|
const [isEditMode, setIsEditMode] = useState(false);
|
|
@@ -23,7 +24,7 @@ const ScriptCommentModal = ({ anchorRef, isOpen, onClose, }) => {
|
|
|
23
24
|
console.log('Delete Comment');
|
|
24
25
|
};
|
|
25
26
|
console.log('hiii');
|
|
26
|
-
return (_jsx(MiniModal, { anchorRef: anchorRef, ignoreRefs: [popUpRef],
|
|
27
|
+
return (_jsx(MiniModal, { anchorRef: anchorRef, ignoreRefs: [popUpRef, anchorRef],
|
|
27
28
|
// firstAnchorRef={anchorRef}
|
|
28
29
|
outSideClick: onClose, isIconModel: isOpen, modalProperties: {
|
|
29
30
|
width: 350,
|
|
@@ -41,7 +42,11 @@ const ScriptCommentModal = ({ anchorRef, isOpen, onClose, }) => {
|
|
|
41
42
|
left: 36,
|
|
42
43
|
size: 8,
|
|
43
44
|
top: -12,
|
|
44
|
-
},
|
|
45
|
+
}, overlay: {
|
|
46
|
+
isOverlay: true,
|
|
47
|
+
backgroundColorOverlay: 'rgba(0, 0, 0, 0.2)',
|
|
48
|
+
zIndexOverlay: 1999,
|
|
49
|
+
}, childContent: _jsxs("div", { ref: popUpRef, className: "ff-main-container", children: [_jsx(CommentsTitle, { ref: popUpRef, isEditMode: isEditMode, onEdit: () => setIsEditMode(true), onDelete: handleDelete, onClose: onClose }), _jsx(CommentDescription, { comment: comment, setComment: setComment, isEditMode: isEditMode, onCancel: handleCancel, onSave: isEditMode ? handleUpdate : handleSave })] }) }));
|
|
45
50
|
};
|
|
46
51
|
export default ScriptCommentModal;
|
|
47
52
|
//# sourceMappingURL=ScriptCommentModal.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScriptCommentModal.js","sourceRoot":"","sources":["../../../src/components/ScriptCommentModal/ScriptCommentModal.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAM,MAAM,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GAAG;YACV,YAAY,EAAE,CAAC;YACf,MAAM,EAAE,IAAI;YACZ,OAAO,EAAE,CAAC;SACX;QACD,uBAAuB;QACvB,kBAAkB;QAClB,eAAe;QACf,KAAK;QACL,YAAY;QACZ,yBAAyB;QACzB,aAAa,EAAC,QAAQ,EACtB,SAAS,QACT,WAAW,EAAE,IAAI,EACjB,eAAe,EAAE;YACf,IAAI,EAAE,EAAE;YACR,IAAI,EAAE,CAAC;YACP,GAAG,EAAE,CAAC,EAAE;SACT,EACD,OAAO,EAAE;YACP,SAAS,EAAE,IAAI;YACf,sBAAsB,EAAE,oBAAoB;YAC5C,aAAa,EAAE,IAAI;SACpB,EACD,YAAY,EACV,eAAK,GAAG,EAAE,QAAQ,EAAE,SAAS,EAAC,mBAAmB,aAC/C,KAAC,aAAa,IACZ,GAAG,EAAE,QAAQ,EACb,UAAU,EAAE,UAAU,EACtB,MAAM,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,EACjC,QAAQ,EAAE,YAAY,EACtB,OAAO,EAAE,OAAO,GAChB,EAEF,KAAC,kBAAkB,IACjB,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,UAAU,EACtB,UAAU,EAAE,UAAU,EACtB,QAAQ,EAAE,YAAY,EACtB,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,UAAU,GAC9C,IACE,GAER,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import Button from '../../Button';
|
|
3
|
-
import '../ScriptCommentModal.scss';
|
|
4
3
|
const ButtonActions = ({ onCancel, onSave, isSaveDisabled, isEditMode, }) => {
|
|
5
4
|
return (_jsxs("div", { className: "ff-button-actions-container", children: [_jsx(Button, { variant: "tertiary", label: "Cancel", onClick: onCancel, buttonHeight: "24px" }), _jsx(Button, { variant: "primary", label: isEditMode ? 'Update' : 'Save', onClick: onSave, disabled: isSaveDisabled, buttonHeight: "24px" })] }));
|
|
6
5
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonActions.js","sourceRoot":"","sources":["../../../../src/components/ScriptCommentModal/components/ButtonActions.tsx"],"names":[],"mappings":";AAEA,OAAO,MAAM,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"ButtonActions.js","sourceRoot":"","sources":["../../../../src/components/ScriptCommentModal/components/ButtonActions.tsx"],"names":[],"mappings":";AAEA,OAAO,MAAM,MAAM,cAAc,CAAC;AAMlC,MAAM,aAAa,GAA2B,CAAC,EAC7C,QAAQ,EACR,MAAM,EACN,cAAc,EACd,UAAU,GACX,EAAE,EAAE;IACH,OAAO,CACL,eAAK,SAAS,EAAC,6BAA6B,aAC1C,KAAC,MAAM,IACL,OAAO,EAAC,UAAU,EAClB,KAAK,EAAC,QAAQ,EACd,OAAO,EAAE,QAAQ,EACjB,YAAY,EAAC,MAAM,GACnB,EACF,KAAC,MAAM,IACL,OAAO,EAAC,SAAS,EACjB,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EACrC,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,cAAc,EACxB,YAAY,EAAC,MAAM,GACnB,IACE,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import Typography from '../../Typography';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
// import '../ScriptCommentModal.scss';
|
|
4
|
+
const CommentCount = ({ commentLength, maxLength }) => {
|
|
5
|
+
return (_jsx("div", { className: "ff-comment-count-container", children: _jsxs(Typography, { fontSize: 8, className: "ff-comment-count", color: "var(--text-area-default-color)", children: [commentLength, "/", maxLength] }) }));
|
|
5
6
|
};
|
|
6
7
|
export default CommentCount;
|
|
7
8
|
//# sourceMappingURL=CommentCount.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommentCount.js","sourceRoot":"","sources":["../../../../src/components/ScriptCommentModal/components/CommentCount.tsx"],"names":[],"mappings":";AACA,OAAO,UAAU,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"CommentCount.js","sourceRoot":"","sources":["../../../../src/components/ScriptCommentModal/components/CommentCount.tsx"],"names":[],"mappings":";AACA,OAAO,UAAU,MAAM,kBAAkB,CAAC;AAE1C,uCAAuC;AAEvC,MAAM,YAAY,GAA0B,CAAC,EAAE,aAAa,EAAE,SAAS,EAAE,EAAE,EAAE;IAC3E,OAAO,CACL,cAAK,SAAS,EAAC,4BAA4B,YACzC,MAAC,UAAU,IACT,QAAQ,EAAE,CAAC,EACX,SAAS,EAAC,kBAAkB,EAC5B,KAAK,EAAC,gCAAgC,aAErC,aAAa,OAAG,SAAS,IACf,GACT,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import '../ScriptCommentModal.scss';
|
|
3
2
|
import CommentFooter from './CommentFooter';
|
|
4
3
|
const CommentDescription = ({ comment, setComment, maxLength = 200, onCancel, onSave, isEditMode, }) => {
|
|
5
4
|
const handleChange = (event) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommentDiscription.js","sourceRoot":"","sources":["../../../../src/components/ScriptCommentModal/components/CommentDiscription.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"CommentDiscription.js","sourceRoot":"","sources":["../../../../src/components/ScriptCommentModal/components/CommentDiscription.tsx"],"names":[],"mappings":";AAGA,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAE5C,MAAM,kBAAkB,GAAgC,CAAC,EACvD,OAAO,EACP,UAAU,EACV,SAAS,GAAG,GAAG,EACf,QAAQ,EACR,MAAM,EACN,UAAU,GACX,EAAE,EAAE;IACH,MAAM,YAAY,GAAG,CAAC,KAAuC,EAAE,EAAE;QAC/D,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,IAAI,SAAS,EAAE,CAAC;YAC3C,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACjC,CAAC;IACH,CAAC,CAAC;IAEF,OAAO,CACL,eAAK,SAAS,EAAC,kCAAkC,aAC/C,mBACE,KAAK,EAAE,OAAO,EACd,QAAQ,EAAE,YAAY,EACtB,WAAW,EAAC,kBAAkB,EAC9B,SAAS,EAAC,qBAAqB,EAC/B,IAAI,EAAE,CAAC,GACP,EAEF,KAAC,aAAa,IACZ,aAAa,EAAE,OAAO,CAAC,MAAM,EAC7B,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,QAAQ,EAClB,MAAM,EAAE,MAAM,EACd,cAAc,EAAE,CAAC,OAAO,CAAC,IAAI,EAAE,EAC/B,UAAU,EAAE,UAAU,GACtB,IACE,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import CommentCount from './CommentCount';
|
|
3
3
|
import ButtonActions from './ButtonActions';
|
|
4
|
-
import '../ScriptCommentModal.scss';
|
|
5
4
|
const CommentFooter = ({ commentLength, maxLength, onCancel, onSave, isSaveDisabled, isEditMode, }) => {
|
|
6
5
|
return (_jsxs("div", { className: "ff-comment-footer-container", children: [_jsx(CommentCount, { commentLength: commentLength, maxLength: maxLength }), _jsx(ButtonActions, { onCancel: onCancel, onSave: onSave, isSaveDisabled: isSaveDisabled, isEditMode: isEditMode })] }));
|
|
7
6
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommentFooter.js","sourceRoot":"","sources":["../../../../src/components/ScriptCommentModal/components/CommentFooter.tsx"],"names":[],"mappings":";AAEA,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,aAAa,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"CommentFooter.js","sourceRoot":"","sources":["../../../../src/components/ScriptCommentModal/components/CommentFooter.tsx"],"names":[],"mappings":";AAEA,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAM5C,MAAM,aAAa,GAA2B,CAAC,EAC7C,aAAa,EACb,SAAS,EACT,QAAQ,EACR,MAAM,EACN,cAAc,EACd,UAAU,GACX,EAAE,EAAE;IACH,OAAO,CACL,eAAK,SAAS,EAAC,6BAA6B,aAC1C,KAAC,YAAY,IAAC,aAAa,EAAE,aAAa,EAAE,SAAS,EAAE,SAAS,GAAI,EAEpE,KAAC,aAAa,IACZ,QAAQ,EAAE,QAAQ,EAClB,MAAM,EAAE,MAAM,EACd,cAAc,EAAE,cAAc,EAC9B,UAAU,EAAE,UAAU,GACtB,IACE,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
|
|
|
2
2
|
import { forwardRef } from 'react';
|
|
3
3
|
import Icon from '../../Icon';
|
|
4
4
|
import Tooltip from '../../Tooltip';
|
|
5
|
-
import '../ScriptCommentModal.scss';
|
|
5
|
+
// import '../ScriptCommentModal.scss';
|
|
6
6
|
import DeleteComment from './DeleteComment';
|
|
7
7
|
import CommentTitleText from './CommentTitleText';
|
|
8
8
|
const CommentsTitle = forwardRef(({ isEditMode, onEdit, onDelete, onClose }, ref) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommentsTitle.js","sourceRoot":"","sources":["../../../../src/components/ScriptCommentModal/components/CommentsTitle.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAEnC,OAAO,IAAI,MAAM,YAAY,CAAC;AAC9B,OAAO,OAAO,MAAM,eAAe,CAAC;AAEpC,
|
|
1
|
+
{"version":3,"file":"CommentsTitle.js","sourceRoot":"","sources":["../../../../src/components/ScriptCommentModal/components/CommentsTitle.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAEnC,OAAO,IAAI,MAAM,YAAY,CAAC;AAC9B,OAAO,OAAO,MAAM,eAAe,CAAC;AAEpC,uCAAuC;AACvC,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAElD,MAAM,aAAa,GAAG,UAAU,CAC9B,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,GAAG,EAAE,EAAE;IACjD,OAAO,CACL,eAAK,SAAS,EAAC,wBAAwB,aACrC,KAAC,gBAAgB,IAAC,UAAU,EAAE,UAAU,GAAI,EAE5C,eAAK,SAAS,EAAC,mBAAmB,aAC/B,CAAC,UAAU,IAAI,CACd,8BACE,KAAC,OAAO,IAAC,KAAK,EAAC,MAAM,YACnB,KAAC,IAAI,IACH,IAAI,EAAC,MAAM,EACX,MAAM,EAAE,EAAE,EACV,KAAK,EAAE,EAAE,EACT,OAAO,EAAE,MAAM,EACf,WAAW,SACX,GACM,EAEV,KAAC,aAAa,IAAC,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,GAAI,IAC9C,CACJ,EACD,KAAC,OAAO,IAAC,KAAK,EAAC,OAAO,YACpB,KAAC,IAAI,IACH,IAAI,EAAC,kBAAkB,EACvB,MAAM,EAAE,EAAE,EACV,KAAK,EAAE,EAAE,EACT,OAAO,EAAE,OAAO,EAChB,WAAW,SACX,GACM,IACN,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import Typography from '../../Typography';
|
|
3
|
-
|
|
4
|
-
const FooterText = ({ modifiedBy, modifiedOn, }) => {
|
|
3
|
+
const FooterText = ({ modifiedBy, modifiedOn }) => {
|
|
5
4
|
return (_jsxs("div", { className: "ff-button-actions-container", children: [_jsx(Typography, { children: modifiedBy }), _jsx(Typography, { children: modifiedOn })] }));
|
|
6
5
|
};
|
|
7
6
|
export default FooterText;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FooterText.js","sourceRoot":"","sources":["../../../../src/components/ScriptCommentModal/components/FooterText.tsx"],"names":[],"mappings":";AAEA,OAAO,UAAU,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"FooterText.js","sourceRoot":"","sources":["../../../../src/components/ScriptCommentModal/components/FooterText.tsx"],"names":[],"mappings":";AAEA,OAAO,UAAU,MAAM,kBAAkB,CAAC;AAM1C,MAAM,UAAU,GAAwB,CAAC,EAAE,UAAU,EAAE,UAAU,EAAE,EAAE,EAAE;IACrE,OAAO,CACL,eAAK,SAAS,EAAC,6BAA6B,aAC1C,KAAC,UAAU,cAAE,UAAU,GAAc,EAErC,KAAC,UAAU,cAAE,UAAU,GAAc,IACjC,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/lib/index.d.ts
CHANGED
|
@@ -4348,6 +4348,14 @@ interface ChipsWithCountProps {
|
|
|
4348
4348
|
|
|
4349
4349
|
declare const ChipWithCount: FC<ChipsWithCountProps>;
|
|
4350
4350
|
|
|
4351
|
+
interface ScriptCommentprop {
|
|
4352
|
+
anchorRef: RefObject<HTMLButtonElement>;
|
|
4353
|
+
isOpen: boolean;
|
|
4354
|
+
onClose: () => void;
|
|
4355
|
+
}
|
|
4356
|
+
|
|
4357
|
+
declare const ScriptCommentModal: FC<ScriptCommentprop>;
|
|
4358
|
+
|
|
4351
4359
|
interface EditLabelProps {
|
|
4352
4360
|
onConfirm?: (_text: string, _selectedOption?: Option$2) => void;
|
|
4353
4361
|
onCancel?: () => void;
|
|
@@ -4974,14 +4982,6 @@ interface CommentsProps {
|
|
|
4974
4982
|
|
|
4975
4983
|
declare const Comments: ({ commentsData, handleAddComment, handleEditComment, handleDeleteComment, onCommentsDataChange, currentUser, isDisable, userDetails, createdByID, rowBreakCharCount, isVewMode, deleteEnable, showTextarea, autoFocus, }: CommentsProps) => react_jsx_runtime.JSX.Element;
|
|
4976
4984
|
|
|
4977
|
-
interface ScriptCommentprop {
|
|
4978
|
-
anchorRef: RefObject<HTMLButtonElement>;
|
|
4979
|
-
isOpen: boolean;
|
|
4980
|
-
onClose: () => void;
|
|
4981
|
-
}
|
|
4982
|
-
|
|
4983
|
-
declare const ScriptCommentModal: FC<ScriptCommentprop>;
|
|
4984
|
-
|
|
4985
4985
|
declare const useFileDropzone: (options: DropzoneOptions) => DropzoneState;
|
|
4986
4986
|
|
|
4987
4987
|
type ClickOutsideOptions = {
|