frst-components 0.23.61 → 0.23.63

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 (31) hide show
  1. package/dist/index.js +23 -7
  2. package/dist/public/customIcons/SwitchVoteIcon.d.ts +8 -0
  3. package/dist/public/customIcons/SwitchVoteIcon.d.ts.map +1 -0
  4. package/dist/public/customIcons/index.d.ts +1 -0
  5. package/dist/public/customIcons/index.d.ts.map +1 -1
  6. package/dist/src/components/DS/hypotesisAndImpediment/Voting/index.d.ts +1 -1
  7. package/dist/src/components/DS/hypotesisAndImpediment/Voting/index.d.ts.map +1 -1
  8. package/dist/src/components/DS/hypotesisAndImpediment/index.d.ts +1 -1
  9. package/dist/src/components/DS/hypotesisAndImpediment/index.d.ts.map +1 -1
  10. package/dist/src/components/DS/impedimentosTab/index.d.ts +1 -1
  11. package/dist/src/components/DS/impedimentosTab/index.d.ts.map +1 -1
  12. package/dist/src/components/FI/ThreadComments/utilitiesComponents/commentaryBoxReply/index.d.ts.map +1 -1
  13. package/dist/src/components/FI/ThreadComments/utilitiesComponents/inputReply/index.d.ts.map +1 -1
  14. package/dist/src/components/FI/ThreadComments/utilitiesComponents/inputReply/inputReply.styles.d.ts.map +1 -1
  15. package/dist/src/components/IJ/learningCycleCard/components/menu/index.d.ts.map +1 -1
  16. package/dist/src/components/IJ/learningCycleCard/components/menu/menuStyle.d.ts.map +1 -1
  17. package/dist/src/components/form-elements/table/parts/TableBody/index.d.ts.map +1 -1
  18. package/dist/src/components/form-elements/table/parts/TableBody/tableStyle.d.ts.map +1 -1
  19. package/dist/src/components/form-elements/table/parts/TableHead/index.d.ts.map +1 -1
  20. package/dist/src/components/form-elements/table/parts/TableHead/tableStyle.d.ts.map +1 -1
  21. package/dist/src/components/form-elements/table-actions/parts/CollaboratorAvatar/collaboratorAvatarStyle.d.ts.map +1 -1
  22. package/dist/src/components/form-elements/table-actions/parts/CollaboratorAvatar/index.d.ts.map +1 -1
  23. package/dist/src/components/form-elements/table-actions/parts/DateLimit/dateLimitStyle.d.ts.map +1 -1
  24. package/dist/src/components/form-elements/table-actions/parts/DateLimit/index.d.ts.map +1 -1
  25. package/dist/src/components/form-elements/table-actions/parts/EmptyState/emptyStateStyle.d.ts.map +1 -1
  26. package/dist/src/components/form-elements/table-actions/parts/EmptyState/index.d.ts.map +1 -1
  27. package/dist/src/components/form-elements/table-actions/parts/TagStatus/index.d.ts.map +1 -1
  28. package/dist/src/components/form-elements/table-actions/parts/TagStatus/tagStatusStyle.d.ts.map +1 -1
  29. package/package.json +1 -1
  30. package/public/customIcons/SwitchVoteIcon.tsx +22 -0
  31. package/public/customIcons/index.ts +4 -3
package/dist/index.js CHANGED
@@ -3057,6 +3057,10 @@ function CloseIcon() {
3057
3057
  return (jsxRuntime.jsxs("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsxRuntime.jsx("rect", { width: "32", height: "32", rx: "16", fill: "#FFE0E0" }), jsxRuntime.jsx("path", { d: "M21.3332 10.6666L10.6665 21.3333", stroke: "#C00F00", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), jsxRuntime.jsx("path", { d: "M10.6665 10.6666L21.3332 21.3333", stroke: "#C00F00", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })] }));
3058
3058
  }
3059
3059
 
3060
+ const SwitchVoteIcon = ({ style, width = '16', height = '17', stroke = '#444444' }) => {
3061
+ return (jsxRuntime.jsxs("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsxRuntime.jsx("path", { d: "M3.3335 4.36444V7.05746H5.87895", stroke: stroke, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }), jsxRuntime.jsx("path", { d: "M12.6665 11.5459V8.85284H10.1211", stroke: stroke, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }), jsxRuntime.jsx("path", { d: "M11.602 6.60864C11.3868 5.96536 11.0211 5.39023 10.5391 4.93691C10.057 4.4836 9.47421 4.16687 8.84513 4.01628C8.21606 3.86569 7.56118 3.88616 6.9416 4.07576C6.32202 4.26536 5.75793 4.61792 5.30198 5.10055L3.3335 7.05748M12.6668 8.85282L10.6983 10.8097C10.2424 11.2924 9.67831 11.6449 9.05873 11.8345C8.43915 12.0241 7.78427 12.0446 7.15519 11.894C6.52612 11.7434 5.94335 11.4267 5.46127 10.9734C4.97919 10.5201 4.61351 9.94493 4.39834 9.30166", stroke: stroke, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })] }));
3062
+ };
3063
+
3060
3064
  const fadeInRight = styled.keyframes `
3061
3065
  0% {
3062
3066
  opacity: 0;
@@ -7490,7 +7494,7 @@ function Dropdown$1({ isOpen, anchor, onClose, impedimentoList, onClickImpedimen
7490
7494
  }, children: jsxRuntime.jsx(ContainerDropdown, { children: render() }) }));
7491
7495
  }
7492
7496
 
7493
- function ImpedimentosTab({ maxTabs, tabsList, showAddButton, onSaveNewImpedimento, onSelectedTab, }) {
7497
+ function ImpedimentosTab({ maxTabs, tabsList, showAddButton, onSaveNewImpedimento, onSelectedTab, idSelectedTab }) {
7494
7498
  const [selectedTab, setSelectedTab] = React.useState(null);
7495
7499
  const [allTabs, setAllTabs] = React.useState([]);
7496
7500
  const [onShowTabs, setOnShowTabs] = React.useState([]);
@@ -7504,6 +7508,14 @@ function ImpedimentosTab({ maxTabs, tabsList, showAddButton, onSaveNewImpediment
7504
7508
  React.useEffect(() => {
7505
7509
  setAllTabs(tabsList);
7506
7510
  }, [tabsList]);
7511
+ React.useEffect(() => {
7512
+ if (idSelectedTab) {
7513
+ if (allTabs?.length > 0) {
7514
+ let tab = allTabs?.find(value => value.id == idSelectedTab);
7515
+ handleClickTab(tab);
7516
+ }
7517
+ }
7518
+ }, [idSelectedTab]);
7507
7519
  React.useEffect(() => {
7508
7520
  if (allTabs.length > 0) {
7509
7521
  setSelectedTab(allTabs[0]);
@@ -7825,14 +7837,15 @@ const VoterName = styled__default["default"].span `
7825
7837
  color: #333;
7826
7838
  `;
7827
7839
 
7828
- const Voting = ({ type, voteText, onDeleteVote, votersList, onVote }) => {
7829
- const [isVotted, setIsVotted] = React.useState(false);
7840
+ const Voting = ({ type, voteText, onDeleteVote, onChangeVote, votersList, onVote, voteHasAlreadyBeenRegistered, isVotedByUserLogged }) => {
7830
7841
  const [isVotingListHover, setIsVotingListHover] = React.useState(false);
7831
7842
  const [anchorEl, setAnchorEl] = React.useState(null);
7832
7843
  const handleDeleteVote = () => {
7833
- setIsVotted(false);
7834
7844
  onDeleteVote();
7835
7845
  };
7846
+ const handleChangeVote = () => {
7847
+ onChangeVote();
7848
+ };
7836
7849
  const handleHoverVoteList = () => {
7837
7850
  setAnchorEl(null);
7838
7851
  setIsVotingListHover(true);
@@ -7848,7 +7861,10 @@ const Voting = ({ type, voteText, onDeleteVote, votersList, onVote }) => {
7848
7861
  const votersToDisplay = React.useMemo(() => {
7849
7862
  return votersList?.slice(0, 2);
7850
7863
  }, [votersList]);
7851
- return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: isVotted ? (jsxRuntime.jsxs(ContainerVoting, { type: type, children: [!isVotingListHover && (jsxRuntime.jsx(VotingList, { onClick: handleClickVotingList, children: votersToDisplay?.map(i => jsxRuntime.jsx(Avatar, { src: i.avatar, size: "24px", border: "1px solid #fff" })) })), jsxRuntime.jsx(material.Popper, { id: id, open: open, anchorEl: anchorEl, sx: { paddingTop: 1.5, paddingRight: 6.5 }, children: jsxRuntime.jsx(ContainerListUsers, { children: jsxRuntime.jsx(ContainerScroll, { children: votersList?.map((voter, index) => (jsxRuntime.jsxs(VoterItem, { children: [jsxRuntime.jsx(Avatar, { src: voter.avatar, size: "24px" }), jsxRuntime.jsx(VoterName, { children: voter.name })] }, index))) }) }) }), jsxRuntime.jsx(VotesCount, { onMouseEnter: handleHoverVoteList, onMouseLeave: handleLeaveVoteList, children: isVotingListHover ? (jsxRuntime.jsxs("div", { onClick: handleDeleteVote, children: [jsxRuntime.jsx(ExcludeVoteIcon, {}), "Excluir voto"] })) : (jsxRuntime.jsxs("span", { children: [votersList?.length, " ", votersList?.length > 1 ? 'votos' : 'voto'] })) })] })) : (jsxRuntime.jsx(ContainerVoting, { type: type, onClick: () => setIsVotted(true), children: jsxRuntime.jsxs(ContainerTitleVoting, { onClick: onVote, children: [jsxRuntime.jsx(NewVoteIcon, {}), jsxRuntime.jsx(TitleVoting, { children: voteText })] }) })) }));
7864
+ return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: (isVotedByUserLogged || voteHasAlreadyBeenRegistered) ? (jsxRuntime.jsxs(ContainerVoting, { type: type, children: [(isVotedByUserLogged || voteHasAlreadyBeenRegistered) && (jsxRuntime.jsx(VotingList, { onClick: handleClickVotingList, children: votersToDisplay?.map(i => jsxRuntime.jsx(Avatar, { src: i.avatar, size: "24px", border: "1px solid #fff" })) })), jsxRuntime.jsx(material.Popper, { id: id, open: open, anchorEl: anchorEl, sx: { paddingTop: 1.5, paddingRight: 6.5 }, children: jsxRuntime.jsx(ContainerListUsers, { children: jsxRuntime.jsx(ContainerScroll, { children: votersList?.map((voter, index) => (jsxRuntime.jsxs(VoterItem, { children: [jsxRuntime.jsx(Avatar, { src: voter.avatar, size: "24px" }), jsxRuntime.jsx(VoterName, { children: voter.name })] }, index))) }) }) }), jsxRuntime.jsx(VotesCount, { onMouseEnter: handleHoverVoteList, onMouseLeave: handleLeaveVoteList, children: isVotingListHover ? (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [" ", isVotedByUserLogged ?
7865
+ jsxRuntime.jsxs("div", { onClick: handleDeleteVote, children: [jsxRuntime.jsx(ExcludeVoteIcon, {}), "Excluir voto"] })
7866
+ :
7867
+ jsxRuntime.jsxs("div", { onClick: handleChangeVote, children: [jsxRuntime.jsx(SwitchVoteIcon, {}), "Trocar voto"] })] })) : (jsxRuntime.jsxs("span", { children: [votersList?.length, " ", votersList?.length > 1 ? 'votos' : 'voto'] })) })] })) : (jsxRuntime.jsx(ContainerVoting, { type: type, children: jsxRuntime.jsxs(ContainerTitleVoting, { onClick: onVote, children: [jsxRuntime.jsx(NewVoteIcon, {}), jsxRuntime.jsx(TitleVoting, { children: voteText })] }) })) }));
7852
7868
  };
7853
7869
 
7854
7870
  const ContainerInput = styled__default["default"].div `
@@ -7897,7 +7913,7 @@ const EditHypotesisAndImpediment = ({ setEditDescription, editDescription, onSav
7897
7913
  const HypothesisAndImpediment = ({ description, variant, type, avatar, id, index, authorGoalId, // id do dono do desafio
7898
7914
  userLoggedId, authorName, // nome autor da hipotese ou do impedimento
7899
7915
  handleViewProfile, authorId, // id do autor do impedimento ou da hipotese
7900
- hasVoting, voteText, onDeleteVote, votersList, onDeleteHipotesisOrImpediment, onSaveEditHipotesisOrImpediment, hasEditHipotesisOrImpediment, onVote, onPrioritize, onDown, onUp, hasUpdownButtons, onClickAction, onAddActions, hasAddActions }) => {
7916
+ hasVoting, voteHasAlreadyBeenRegistered, isVotedByUserLogged, voteText, onDeleteVote, onChangeVote, votersList, onDeleteHipotesisOrImpediment, onSaveEditHipotesisOrImpediment, hasEditHipotesisOrImpediment, onVote, onPrioritize, onDown, onUp, hasUpdownButtons, onClickAction, onAddActions, hasAddActions }) => {
7901
7917
  const [editDescription, setEditDescription] = React.useState(description);
7902
7918
  const [isEditing, setIsEditing] = React.useState(false);
7903
7919
  const isOwnerGoal = authorGoalId === authorId;
@@ -7947,7 +7963,7 @@ hasVoting, voteText, onDeleteVote, votersList, onDeleteHipotesisOrImpediment, on
7947
7963
  left: '4px',
7948
7964
  whiteSpace: 'nowrap',
7949
7965
  boxShadow: ' 0px 0px 18px 0px rgba(34, 34, 34, 0.2)'
7950
- }, children: jsxRuntime.jsx(Avatar, { src: avatar, size: isOwnerGoal ? '28px' : '24px', border: avatarBorder, style: { marginRight: '14px', cursor: 'pointer', marginLeft: '16px' }, onClick: () => handleViewProfile(authorId) }) }), jsxRuntime.jsx(Title$6, { children: title }), jsxRuntime.jsx(Separator, { type: type, variant: variant }), jsxRuntime.jsx(Description$4, { onClick: handleClickAction, children: editDescription }), hasVoting && (jsxRuntime.jsx(Voting, { voteText: voteText, type: type, onDeleteVote: onDeleteVote, votersList: votersList, onVote: () => onVote(id) })), validHasEditHipotesisOrImpediment && (jsxRuntime.jsx(MenuMore, { options: [
7966
+ }, children: jsxRuntime.jsx(Avatar, { src: avatar, size: isOwnerGoal ? '28px' : '24px', border: avatarBorder, style: { marginRight: '14px', cursor: 'pointer', marginLeft: '16px' }, onClick: () => handleViewProfile(authorId) }) }), jsxRuntime.jsx(Title$6, { children: title }), jsxRuntime.jsx(Separator, { type: type, variant: variant }), jsxRuntime.jsx(Description$4, { onClick: handleClickAction, children: editDescription }), hasVoting && (jsxRuntime.jsx(Voting, { voteText: voteText, type: type, onDeleteVote: onDeleteVote, votersList: votersList, onVote: () => onVote(id), onChangeVote: () => onChangeVote(id), isVotedByUserLogged: isVotedByUserLogged, voteHasAlreadyBeenRegistered: voteHasAlreadyBeenRegistered })), validHasEditHipotesisOrImpediment && (jsxRuntime.jsx(MenuMore, { options: [
7951
7967
  hasUpdownButtons && userLoggedId === authorGoalId &&
7952
7968
  ({
7953
7969
  startIcon: jsxRuntime.jsx(StarPrioritize, { width: '24px', height: '24px', stroke: type === 'prioritize' ? "#9C9C9C" : "#222222" }),
@@ -0,0 +1,8 @@
1
+ import { CSSProperties } from 'react';
2
+ export declare const SwitchVoteIcon: ({ style, width, height, stroke }: {
3
+ style?: CSSProperties | undefined;
4
+ width?: string;
5
+ height?: string;
6
+ stroke?: string;
7
+ }) => JSX.Element;
8
+ //# sourceMappingURL=SwitchVoteIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SwitchVoteIcon.d.ts","sourceRoot":"","sources":["../../../public/customIcons/SwitchVoteIcon.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAErC,eAAO,MAAM,cAAc;YAMjB,aAAa,GAAG,SAAS;YACzB,MAAM;aACL,MAAM;aACN,MAAM;iBAShB,CAAA"}
@@ -8,4 +8,5 @@ export { VoteCurrentIcon } from './VoteCurrentIcon';
8
8
  export { NewVoteIcon } from './newVoteIcon';
9
9
  export { CheckIcon } from './CheckIcon';
10
10
  export { CloseIcon } from './CloseIcon';
11
+ export { SwitchVoteIcon } from './SwitchVoteIcon';
11
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../public/customIcons/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAA;AACzC,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAA;AACrC,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../public/customIcons/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA"}
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { VotingProps } from '../hypothesisAndImpediment';
3
- export declare const Voting: ({ type, voteText, onDeleteVote, votersList, onVote }: VotingProps) => JSX.Element;
3
+ export declare const Voting: ({ type, voteText, onDeleteVote, onChangeVote, votersList, onVote, voteHasAlreadyBeenRegistered, isVotedByUserLogged }: VotingProps) => JSX.Element;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DS/hypotesisAndImpediment/Voting/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAqB,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAM3E,eAAO,MAAM,MAAM,yDAAyD,WAAW,gBAgFtF,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DS/hypotesisAndImpediment/Voting/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAqB,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAM3E,eAAO,MAAM,MAAM,0HAA0H,WAAW,gBAyFvJ,CAAA"}
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { IHypothesisAndImpedimentComponent } from './hypothesisAndImpediment';
3
- export declare const HypothesisAndImpediment: ({ description, variant, type, avatar, id, index, authorGoalId, userLoggedId, authorName, handleViewProfile, authorId, hasVoting, voteText, onDeleteVote, votersList, onDeleteHipotesisOrImpediment, onSaveEditHipotesisOrImpediment, hasEditHipotesisOrImpediment, onVote, onPrioritize, onDown, onUp, hasUpdownButtons, onClickAction, onAddActions, hasAddActions }: IHypothesisAndImpedimentComponent) => JSX.Element;
3
+ export declare const HypothesisAndImpediment: ({ description, variant, type, avatar, id, index, authorGoalId, userLoggedId, authorName, handleViewProfile, authorId, hasVoting, voteHasAlreadyBeenRegistered, isVotedByUserLogged, voteText, onDeleteVote, onChangeVote, votersList, onDeleteHipotesisOrImpediment, onSaveEditHipotesisOrImpediment, hasEditHipotesisOrImpediment, onVote, onPrioritize, onDown, onUp, hasUpdownButtons, onClickAction, onAddActions, hasAddActions }: IHypothesisAndImpedimentComponent) => JSX.Element;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/hypotesisAndImpediment/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,iCAAiC,EAAE,MAAM,2BAA2B,CAAA;AAU7E,eAAO,MAAM,uBAAuB,0WA2BjC,iCAAiC,gBA6InC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/hypotesisAndImpediment/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,iCAAiC,EAAE,MAAM,2BAA2B,CAAA;AAU7E,eAAO,MAAM,uBAAuB,2aA8BjC,iCAAiC,gBAsJnC,CAAA"}
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { ImpedimentosTabProps } from './impedimentosTab';
3
- export default function ImpedimentosTab({ maxTabs, tabsList, showAddButton, onSaveNewImpedimento, onSelectedTab, }: ImpedimentosTabProps): JSX.Element;
3
+ export default function ImpedimentosTab({ maxTabs, tabsList, showAddButton, onSaveNewImpedimento, onSelectedTab, idSelectedTab }: ImpedimentosTabProps): JSX.Element;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/impedimentosTab/index.tsx"],"names":[],"mappings":";AAYA,OAAO,EACH,oBAAoB,EAEvB,MAAM,mBAAmB,CAAA;AAc1B,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACpC,OAAO,EACP,QAAQ,EACR,aAAa,EACb,oBAAoB,EACpB,aAAa,GAChB,EAAE,oBAAoB,eAmNtB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/impedimentosTab/index.tsx"],"names":[],"mappings":";AAYA,OAAO,EACH,oBAAoB,EAEvB,MAAM,mBAAmB,CAAA;AAc1B,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACpC,OAAO,EACP,QAAQ,EACR,aAAa,EACb,oBAAoB,EACpB,aAAa,EACb,aAAa,EAChB,EAAE,oBAAoB,eA4NtB"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/FI/ThreadComments/utilitiesComponents/commentaryBoxReply/index.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAA;AAKtE,eAAO,MAAM,kBAAkB,scAgC5B,yBAAyB,gBAsH3B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/FI/ThreadComments/utilitiesComponents/commentaryBoxReply/index.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAA;AAKtE,eAAO,MAAM,kBAAkB,scAgC5B,yBAAyB,gBAsH3B,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/FI/ThreadComments/utilitiesComponents/inputReply/index.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,eAAO,MAAM,UAAU,oMAapB,WAAW,gBAkGb,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/FI/ThreadComments/utilitiesComponents/inputReply/index.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,eAAO,MAAM,UAAU,oMAapB,WAAW,gBAkGb,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"inputReply.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/FI/ThreadComments/utilitiesComponents/inputReply/inputReply.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,oEAI1B,CAAA;AAED,eAAO,MAAM,SAAS,oEAGrB,CAAA"}
1
+ {"version":3,"file":"inputReply.styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/FI/ThreadComments/utilitiesComponents/inputReply/inputReply.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,oEAI1B,CAAA;AAED,eAAO,MAAM,SAAS,oEAGrB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/IJ/learningCycleCard/components/menu/index.tsx"],"names":[],"mappings":";AAUA,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAAE,EAAE,EAAE,WAAW,EAAE;;;CAAA,eAiFnD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/IJ/learningCycleCard/components/menu/index.tsx"],"names":[],"mappings":";AAUA,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAAE,EAAE,EAAE,WAAW,EAAE;;;CAAA,eAiFnD"}
@@ -1 +1 @@
1
- {"version":3,"file":"menuStyle.d.ts","sourceRoot":"","sources":["../../../../../../src/components/IJ/learningCycleCard/components/menu/menuStyle.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,oEAuBxB,CAAA"}
1
+ {"version":3,"file":"menuStyle.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/IJ/learningCycleCard/components/menu/menuStyle.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,oEAuBxB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form-elements/table/parts/TableBody/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAY,UAAU,EAAE,MAAM,aAAa,CAAA;AAUlD,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,iBAAiB,EAAE,OAAO,EAAE,EAAE,UAAU,eAiB/F"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-elements/table/parts/TableBody/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAY,UAAU,EAAE,MAAM,aAAa,CAAA;AAUlD,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,iBAAiB,EAAE,OAAO,EAAE,EAAE,UAAU,eAiB/F"}
@@ -1 +1 @@
1
- {"version":3,"file":"tableStyle.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form-elements/table/parts/TableBody/tableStyle.ts"],"names":[],"mappings":"AAEA,UAAU,oBAAoB;IAC5B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,eAAO,MAAM,cAAc,qFAI1B,CAAC;AAEF,eAAO,MAAM,gBAAgB,mEAM5B,CAAC;AAEF,eAAO,MAAM,qBAAqB,qFAMjC,CAAC;AAEF,eAAO,MAAM,8BAA8B,sFAI1C,CAAC;AAEF,eAAO,MAAM,WAAW,sFAUvB,CAAC;AAEF,UAAU,wBAAwB;IAChC,UAAU,EAAE,OAAO,CAAA;CACpB;AAED,eAAO,MAAM,mBAAmB,0FAU/B,CAAC"}
1
+ {"version":3,"file":"tableStyle.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-elements/table/parts/TableBody/tableStyle.ts"],"names":[],"mappings":"AAEA,UAAU,oBAAoB;IAC5B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,eAAO,MAAM,cAAc,qFAI1B,CAAC;AAEF,eAAO,MAAM,gBAAgB,mEAM5B,CAAC;AAEF,eAAO,MAAM,qBAAqB,qFAMjC,CAAC;AAEF,eAAO,MAAM,8BAA8B,sFAI1C,CAAC;AAEF,eAAO,MAAM,WAAW,sFAUvB,CAAC;AAEF,UAAU,wBAAwB;IAChC,UAAU,EAAE,OAAO,CAAA;CACpB;AAED,eAAO,MAAM,mBAAmB,0FAU/B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form-elements/table/parts/TableHead/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAGxC,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAAE,OAAO,EAAE,EAAE,UAAU,eAmBxD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-elements/table/parts/TableHead/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAGxC,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAAE,OAAO,EAAE,EAAE,UAAU,eAmBxD"}
@@ -1 +1 @@
1
- {"version":3,"file":"tableStyle.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form-elements/table/parts/TableHead/tableStyle.ts"],"names":[],"mappings":"AAEA,UAAU,qBAAqB;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,eAAO,MAAM,WAAW,sEAEvB,CAAC;AAEF,eAAO,MAAM,UAAU,mEAEtB,CAAC;AAEF,eAAO,MAAM,iBAAiB,sFAW7B,CAAC"}
1
+ {"version":3,"file":"tableStyle.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-elements/table/parts/TableHead/tableStyle.ts"],"names":[],"mappings":"AAEA,UAAU,qBAAqB;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,eAAO,MAAM,WAAW,sEAEvB,CAAC;AAEF,eAAO,MAAM,UAAU,mEAEtB,CAAC;AAEF,eAAO,MAAM,iBAAiB,sFAW7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"collaboratorAvatarStyle.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form-elements/table-actions/parts/CollaboratorAvatar/collaboratorAvatarStyle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB;;SASrC,CAAC"}
1
+ {"version":3,"file":"collaboratorAvatarStyle.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-elements/table-actions/parts/CollaboratorAvatar/collaboratorAvatarStyle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB;;SASrC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form-elements/table-actions/parts/CollaboratorAvatar/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAI3D,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EAAE,GAAG,EAAE,aAAa,EAAE,qBAAqB,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,mBAAmB,eA6BzH"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-elements/table-actions/parts/CollaboratorAvatar/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAI3D,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EAAE,GAAG,EAAE,aAAa,EAAE,qBAAqB,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,mBAAmB,eA6BzH"}
@@ -1 +1 @@
1
- {"version":3,"file":"dateLimitStyle.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form-elements/table-actions/parts/DateLimit/dateLimitStyle.ts"],"names":[],"mappings":"AAEA,UAAU,kBAAkB;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAGD,eAAO,MAAM,gBAAgB,oFAkB5B,CAAC"}
1
+ {"version":3,"file":"dateLimitStyle.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-elements/table-actions/parts/DateLimit/dateLimitStyle.ts"],"names":[],"mappings":"AAEA,UAAU,kBAAkB;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAGD,eAAO,MAAM,gBAAgB,oFAkB5B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form-elements/table-actions/parts/DateLimit/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAGxC,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,UAAU,eAE7D"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-elements/table-actions/parts/DateLimit/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAGxC,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,UAAU,eAE7D"}
@@ -1 +1 @@
1
- {"version":3,"file":"emptyStateStyle.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form-elements/table-actions/parts/EmptyState/emptyStateStyle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,oEAY7B,CAAA;AAED,eAAO,MAAM,eAAe,oEAE3B,CAAA;AAED,eAAO,MAAM,eAAe,oEAY3B,CAAA;AAED,eAAO,MAAM,kBAAkB,oEAuB9B,CAAA"}
1
+ {"version":3,"file":"emptyStateStyle.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-elements/table-actions/parts/EmptyState/emptyStateStyle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,oEAY7B,CAAA;AAED,eAAO,MAAM,eAAe,oEAE3B,CAAA;AAED,eAAO,MAAM,eAAe,oEAY3B,CAAA;AAED,eAAO,MAAM,kBAAkB,oEAuB9B,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form-elements/table-actions/parts/EmptyState/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAI1C,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAAE,UAAU,EAAE,WAAW,EAAE,EAAE,WAAW,eA2B1E"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-elements/table-actions/parts/EmptyState/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAI1C,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAAE,UAAU,EAAE,WAAW,EAAE,EAAE,WAAW,eA2B1E"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form-elements/table-actions/parts/TagStatus/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAGxC,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,UAAU,eAS9D"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-elements/table-actions/parts/TagStatus/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAGxC,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,UAAU,eAS9D"}
@@ -1 +1 @@
1
- {"version":3,"file":"tagStatusStyle.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form-elements/table-actions/parts/TagStatus/tagStatusStyle.ts"],"names":[],"mappings":"AAEA,UAAU,WAAW;IACnB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAGD,eAAO,MAAM,YAAY,oEAKxB,CAAA;AAED,eAAO,MAAM,UAAU,6EAqBtB,CAAC;AAEF,eAAO,MAAM,QAAQ,6EAapB,CAAC"}
1
+ {"version":3,"file":"tagStatusStyle.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-elements/table-actions/parts/TagStatus/tagStatusStyle.ts"],"names":[],"mappings":"AAEA,UAAU,WAAW;IACnB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAGD,eAAO,MAAM,YAAY,oEAKxB,CAAA;AAED,eAAO,MAAM,UAAU,6EAqBtB,CAAC;AAEF,eAAO,MAAM,QAAQ,6EAapB,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "frst-components",
3
3
  "homepage": "http://FRST-Falconi.github.io/storybook.frstfalconi.com",
4
- "version": "0.23.61",
4
+ "version": "0.23.63",
5
5
  "private": false,
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
@@ -0,0 +1,22 @@
1
+ import React from 'react'
2
+ import { CSSProperties } from 'react'
3
+
4
+ export const SwitchVoteIcon = ({
5
+ style,
6
+ width = '16',
7
+ height = '17',
8
+ stroke = '#444444'
9
+ }: {
10
+ style?: CSSProperties | undefined
11
+ width?: string
12
+ height?: string
13
+ stroke?: string
14
+ }) => {
15
+ return (
16
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
17
+ <path d="M3.3335 4.36444V7.05746H5.87895" stroke={stroke} strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round"/>
18
+ <path d="M12.6665 11.5459V8.85284H10.1211" stroke={stroke} strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round"/>
19
+ <path d="M11.602 6.60864C11.3868 5.96536 11.0211 5.39023 10.5391 4.93691C10.057 4.4836 9.47421 4.16687 8.84513 4.01628C8.21606 3.86569 7.56118 3.88616 6.9416 4.07576C6.32202 4.26536 5.75793 4.61792 5.30198 5.10055L3.3335 7.05748M12.6668 8.85282L10.6983 10.8097C10.2424 11.2924 9.67831 11.6449 9.05873 11.8345C8.43915 12.0241 7.78427 12.0446 7.15519 11.894C6.52612 11.7434 5.94335 11.4267 5.46127 10.9734C4.97919 10.5201 4.61351 9.94493 4.39834 9.30166" stroke={stroke} strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round"/>
20
+ </svg>
21
+ )
22
+ }
@@ -5,6 +5,7 @@ export { CircledAlert } from './CircledAlert'
5
5
  export { VoteIcon } from './VoteIcon';
6
6
  export { ExcludeVoteIcon } from './ExcludeVoteIcon';
7
7
  export { VoteCurrentIcon } from './VoteCurrentIcon';
8
- export {NewVoteIcon} from './newVoteIcon'
9
- export {CheckIcon} from './CheckIcon'
10
- export {CloseIcon} from './CloseIcon'
8
+ export { NewVoteIcon } from './newVoteIcon'
9
+ export { CheckIcon } from './CheckIcon'
10
+ export { CloseIcon } from './CloseIcon'
11
+ export { SwitchVoteIcon } from './SwitchVoteIcon'