frst-components 0.20.55 → 0.20.56
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/dist/index.js +1 -5
- package/dist/src/components/DS/select/styles/StylesSelect.d.ts.map +1 -1
- package/dist/src/components/IJ/learningCycleCard/components/menu/index.d.ts.map +1 -1
- package/dist/src/components/IJ/learningCycleCard/components/menu/menuStyle.d.ts.map +1 -1
- package/dist/src/components/LXP/extraContent/richTextEditor/components.d.ts.map +1 -1
- package/dist/src/components/LXP/extraContent/richTextEditor/index.d.ts.map +1 -1
- package/dist/src/components/cardLT/MessageBox/icons/errorIcon.d.ts.map +1 -1
- package/dist/src/components/cardLT/MessageBox/icons/successIcon.d.ts.map +1 -1
- package/dist/src/components/cardLT/MessageBox/icons/warningIcon.d.ts.map +1 -1
- package/dist/src/components/cards/cardProblemGestor/index.d.ts.map +1 -1
- package/dist/src/components/global-menu/components/customMenu/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/src/components/DS/scroll-container-v2/ButtonControl/buttonControlStyles.d.ts +0 -7
- package/dist/src/components/DS/scroll-container-v2/ButtonControl/buttonControlStyles.d.ts.map +0 -1
- package/dist/src/components/DS/scroll-container-v2/ButtonControl/index.d.ts +0 -11
- package/dist/src/components/DS/scroll-container-v2/ButtonControl/index.d.ts.map +0 -1
- package/dist/src/components/DS/scroll-container-v2/ButtonControl/useLongPress.d.ts +0 -8
- package/dist/src/components/DS/scroll-container-v2/ButtonControl/useLongPress.d.ts.map +0 -1
- package/dist/src/components/DS/scroll-container-v2/index.d.ts +0 -4
- package/dist/src/components/DS/scroll-container-v2/index.d.ts.map +0 -1
- package/dist/src/components/DS/scroll-container-v2/scrollContainerStyles.d.ts +0 -10
- package/dist/src/components/DS/scroll-container-v2/scrollContainerStyles.d.ts.map +0 -1
- package/dist/src/components/DS/scroll-container-v2/useScroll.d.ts +0 -10
- package/dist/src/components/DS/scroll-container-v2/useScroll.d.ts.map +0 -1
- package/dist/src/components/FI/bannerProblemFeed/useDoubleClick.d.ts +0 -3
- package/dist/src/components/FI/bannerProblemFeed/useDoubleClick.d.ts.map +0 -1
package/dist/index.js
CHANGED
|
@@ -5228,11 +5228,7 @@ styleInject(css_248z$9);
|
|
|
5228
5228
|
function CardProblemGestor(props) {
|
|
5229
5229
|
const statusBg = props.statusBackgroundColor || '#757575';
|
|
5230
5230
|
const statusColor = props.statusColor || '#FFFFFF';
|
|
5231
|
-
return (jsxRuntime.jsxs("div", { className: style$8.container, style: { border: '1px solid ', borderColor: '#CCC', backgroundColor: '#FFF', color: '#000' }, onClick: () => props.onClick(props.problemID), children: [jsxRuntime.jsx("div", { className: style$8.tagStatusProblem, style: { background: statusBg || '#757575', color: statusColor }, children: props.statusName }), jsxRuntime.jsxs("div", { className: style$8.contentCard, children: [jsxRuntime.jsxs("div", { className: style$8.avatarInfoUser, children: [jsxRuntime.jsxs("div", { children: [
|
|
5232
|
-
jsxRuntime.jsx("div", { className: style$8.tituloCard, style: { color: '#FF4D0D', width: '100%' }, children: jsxRuntime.jsx("span", { children: props.cardTitle }) }), props.tags &&
|
|
5233
|
-
jsxRuntime.jsx("div", { className: style$8.tagsContainer, children: props.tags.map((item, index) => (jsxRuntime.jsx(Tag, { title: item, color: '#050505', selected: false, inverted: true, style: { fontWeight: 500, fontSize: 14, marginRight: 8, marginTop: 8 } }, index))) }), props.ratingImpacto &&
|
|
5234
|
-
jsxRuntime.jsxs("div", { className: style$8.avaliacao, children: [jsxRuntime.jsx(Rating$1, { nota: props.ratingImpacto.nota, qtdeAvaliacao: props.ratingImpacto.qtdeAvaliacao, descricaoAvaliacao: props.ratingImpacto.description, titulo: props.locales?.impact, tipoVisualizacao: 2, style: { margin: 0, width: 120 }, nomeAvaliacao: props.locales?.evaluation }), jsxRuntime.jsx(Rating$1, { nota: props.ratingRelevancia.nota, qtdeAvaliacao: props.ratingRelevancia.qtdeAvaliacao, descricaoAvaliacao: props.ratingRelevancia.description, titulo: props.locales?.relevance, tipoVisualizacao: 2, style: { margin: 0, width: 120 }, nomeAvaliacao: props.locales?.evaluation }), jsxRuntime.jsx(RatingCurtidas, { qtdeCurtidas: props.ratingCurtidas, titulo: props.locales?.likes, tipoBotao: 4, style: { margin: 0, width: 90 }, descricaoCurtida: props.locales?.likesDescription })] }), props.lastUpdated &&
|
|
5235
|
-
jsxRuntime.jsxs("div", { style: { color: '#0645AD', fontSize: 12, fontWeight: 400, marginTop: 8 }, children: [props.lastUpdated, " "] })] })] }));
|
|
5231
|
+
return (jsxRuntime.jsxs("div", { className: style$8.container, style: { border: '1px solid ', borderColor: '#CCC', backgroundColor: '#FFF', color: '#000' }, onClick: () => props.onClick(props.problemID), children: [props.problemStatus !== 'problemaCriado' && (jsxRuntime.jsx("div", { className: style$8.tagStatusProblem, style: { background: statusBg || '#757575', color: statusColor }, children: props.statusName })), jsxRuntime.jsxs("div", { className: style$8.contentCard, children: [jsxRuntime.jsxs("div", { className: style$8.avatarInfoUser, children: [jsxRuntime.jsxs("div", { children: [' ', jsxRuntime.jsx(Avatar, { size: "40px", src: props.userAvatar }), ' '] }), jsxRuntime.jsxs("div", { className: style$8.infoUser, children: [jsxRuntime.jsx("span", { style: { fontSize: 16, fontWeight: 600 }, children: props.userName }), jsxRuntime.jsx("span", { style: { fontSize: 14, fontWeight: 400 }, children: props.userCargo })] })] }), props.cardTitle && (jsxRuntime.jsx("div", { className: style$8.tituloCard, style: { color: '#FF4D0D', width: '100%' }, children: jsxRuntime.jsx("span", { children: props.cardTitle }) })), props.tags && (jsxRuntime.jsx("div", { className: style$8.tagsContainer, children: props.tags.map((item, index) => (jsxRuntime.jsx(Tag, { title: item, color: '#050505', selected: false, inverted: true, style: { fontWeight: 500, fontSize: 14, marginRight: 8, marginTop: 8 } }, index))) })), props.ratingImpacto && (jsxRuntime.jsxs("div", { className: style$8.avaliacao, children: [jsxRuntime.jsx(Rating$1, { nota: props.ratingImpacto.nota, qtdeAvaliacao: props.ratingImpacto.qtdeAvaliacao, descricaoAvaliacao: props.ratingImpacto.description, titulo: props.locales?.impact, tipoVisualizacao: 2, style: { margin: 0, width: 120 }, nomeAvaliacao: props.locales?.evaluation }), jsxRuntime.jsx(Rating$1, { nota: props.ratingRelevancia.nota, qtdeAvaliacao: props.ratingRelevancia.qtdeAvaliacao, descricaoAvaliacao: props.ratingRelevancia.description, titulo: props.locales?.relevance, tipoVisualizacao: 2, style: { margin: 0, width: 120 }, nomeAvaliacao: props.locales?.evaluation }), jsxRuntime.jsx(RatingCurtidas, { qtdeCurtidas: props.ratingCurtidas, titulo: props.locales?.likes, tipoBotao: 4, style: { margin: 0, width: 90 }, descricaoCurtida: props.locales?.likesDescription })] })), props.lastUpdated && (jsxRuntime.jsxs("div", { style: { color: '#0645AD', fontSize: 12, fontWeight: 400, marginTop: 8 }, children: [props.lastUpdated, " "] }))] })] }));
|
|
5236
5232
|
}
|
|
5237
5233
|
|
|
5238
5234
|
var css_248z$8 = ".cardProblem-module_container__eYX3j {\n width: 100%;\n border-radius: 10px;\n padding-right: 24px;\n padding-left: 48px;\n padding-top: 40px;\n padding-bottom: 24px;\n\n justify-content: flex-start;\n align-items: flex-start;\n flex-direction: row;\n position: relative;\n}\n\n.cardProblem-module_container__eYX3j:hover {\n box-shadow: 4px 8px 8px rgba(0, 0, 0, 0.2);\n}\n\n.cardProblem-module_contentCard__oBqoN:hover {\n cursor: pointer;\n}\n\n.cardProblem-module_tagStatusProblem__11NQe {\n position: absolute;\n top: 0;\n right: 0;\n display: flex;\n font-size: 12px;\n font-weight: 500;\n padding: 8px;\n border-bottom-left-radius: 8px;\n border-top-right-radius: 5px;\n}\n\n.cardProblem-module_checkBox__hhdF6 {\n display: flex;\n justify-content: flex-start;\n align-items: flex-start;\n height: 100%;\n padding-top: 17px;\n padding-left: 16px;\n\n position: absolute;\n left: 0;\n}\n\n.cardProblem-module_contentCard__oBqoN {\n margin-left: 8px;\n display: flex;\n justify-content: center;\n align-items: flex-start;\n flex-direction: column;\n}\n\n.cardProblem-module_avatarInfoUser__0ppVK {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: row;\n margin-bottom: 24px;\n}\n\n.cardProblem-module_infoUser__Zx6rx {\n display: flex;\n justify-content: center;\n align-items: flex-start;\n flex-direction: column;\n margin-left: 16px;\n}\n\n.cardProblem-module_tituloCard__JD95u {\n margin-top: 4px;\n margin-bottom: 8px;\n display: flex;\n justify-content: flex-start;\n align-items: center;\n\n font-weight: 600;\n font-size: 18px;\n word-break: break-word;\n}\n\n.cardProblem-module_tagsContainer__IwGeV {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n flex-wrap: wrap;\n}\n\n.cardProblem-module_buttonVerMais__qgmLA {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n\n position: absolute;\n bottom: 0;\n right: 0;\n font-weight: 600;\n\n margin-bottom: 26px;\n margin-right: 30px;\n}\n";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StylesSelect.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"StylesSelect.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/select/styles/StylesSelect.tsx"],"names":[],"mappings":"AAEA,UAAU,WAAW;IACnB,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB;AAED,eAAO,MAAM,iBAAiB,6EAa7B,CAAA;AACD,eAAO,MAAM,YAAY,oEASxB,CAAA;AACD,eAAO,MAAM,cAAc,6EA4B1B,CAAA;AACD,eAAO,MAAM,qBAAqB,oEAAkB,CAAA;AAEpD,eAAO,MAAM,YAAY,mEAgBxB,CAAA;AACD,eAAO,MAAM,kBAAkB;UAAyB,OAAO;SAa9D,CAAA;AACD,eAAO,MAAM,cAAc,kEAO1B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
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":["
|
|
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":"components.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../../../src/components/LXP/extraContent/richTextEditor/components.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiC,MAAM,OAAO,CAAA;AAIrD,UAAU,SAAS;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CACvB;AAGD,eAAO,MAAM,MAAM;YASH,OAAO;cACL,OAAO;uEAuBxB,CAAA;AAED,eAAO,MAAM,WAAW;WAQT,GAAG;4DA+CjB,CAAA;AAED,eAAO,MAAM,IAAI,0GAkBhB,CAAA;AAED,eAAO,MAAM,WAAW,yGAoBvB,CAAA;AAED,eAAO,MAAM,IAAI,yGAsBhB,CAAA;AAED,eAAO,MAAM,MAAM;;SAIlB,CAAA;AAED,eAAO,MAAM,OAAO,yGAmBnB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/LXP/extraContent/richTextEditor/index.tsx"],"names":[],"mappings":";AAuCA,QAAA,MAAM,eAAe,mBAwCpB,CAAA;AAsLD,eAAe,eAAe,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errorIcon.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"errorIcon.d.ts","sourceRoot":"","sources":["../../../../../src/components/cardLT/MessageBox/icons/errorIcon.tsx"],"names":[],"mappings":";AAIE;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,SAAS,gBAUhC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"successIcon.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"successIcon.d.ts","sourceRoot":"","sources":["../../../../../src/components/cardLT/MessageBox/icons/successIcon.tsx"],"names":[],"mappings":";AAIE;;;GAGG;AACF,MAAM,CAAC,OAAO,UAAU,WAAW,gBASnC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"warningIcon.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"warningIcon.d.ts","sourceRoot":"","sources":["../../../../../src/components/cardLT/MessageBox/icons/warningIcon.tsx"],"names":[],"mappings":";AAIE;;;GAGG;AACF,MAAM,CAAC,OAAO,UAAU,WAAW,gBAWnC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/cards/cardProblemGestor/index.tsx"],"names":[],"mappings":";AAAA,OAAO,4BAA4B,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/cards/cardProblemGestor/index.tsx"],"names":[],"mappings":";AAAA,OAAO,4BAA4B,CAAA;AAQnC,UAAU,sBAAsB;IAC9B,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,aAAa,EAAE,MAAM,CAAA;IACrB,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,GAAG,CAAA;IACnB,gBAAgB,CAAC,EAAE,GAAG,CAAA;IACtB,cAAc,CAAC,EAAE,MAAM,CAAA;IAEvB,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB,OAAO,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAA;IAEpC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAC9B,OAAO,CAAC,EAAE,GAAG,CAAA;CACd;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,eAiFtE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/global-menu/components/customMenu/index.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,UAAU,UAAU,SAAK"}
|
package/package.json
CHANGED
package/dist/src/components/DS/scroll-container-v2/ButtonControl/buttonControlStyles.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"buttonControlStyles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DS/scroll-container-v2/ButtonControl/buttonControlStyles.ts"],"names":[],"mappings":"AAEA,UAAU,cAAc;IACtB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAGD,eAAO,MAAM,oBAAoB,gFAmChC,CAAA"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare function ButtonControll({ onClick, onClickLongPress, isVisible, direction, ArrowScroll, sizeButton, styles }: {
|
|
3
|
-
onClick: any;
|
|
4
|
-
onClickLongPress: any;
|
|
5
|
-
isVisible: any;
|
|
6
|
-
direction: any;
|
|
7
|
-
ArrowScroll: any;
|
|
8
|
-
sizeButton: any;
|
|
9
|
-
styles: any;
|
|
10
|
-
}): JSX.Element;
|
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DS/scroll-container-v2/ButtonControl/index.tsx"],"names":[],"mappings":";AAMA,wBAAgB,cAAc,CAAC,EACvB,OAAO,EACP,gBAAgB,EAChB,SAAS,EACT,SAAS,EACT,WAAW,EACX,UAAU,EACV,MAAM,EACT;;;;;;;;CAAA,eAuBF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useLongPress.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DS/scroll-container-v2/ButtonControl/useLongPress.tsx"],"names":[],"mappings":"AAGA,wBAAgB,YAAY,CAAC,QAAQ,aAAW,EAAE,EAAE,SAAO;;;;;;EAsB1D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/scroll-container-v2/index.tsx"],"names":[],"mappings":";AACA,OAAO,4BAA4B,CAAA;AAcnC,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,KAAK,KAAA,eAoF5C"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const WrapperHorizontal: import("styled-components").StyledComponent<"div", any, {
|
|
2
|
-
position: any;
|
|
3
|
-
}, never>;
|
|
4
|
-
export declare const WrapperContent: import("styled-components").StyledComponent<"div", any, {
|
|
5
|
-
paddingInternVertical?: string;
|
|
6
|
-
paddingInternHorizontal?: string;
|
|
7
|
-
hiddenHorizontalScrollBar: boolean;
|
|
8
|
-
}, never>;
|
|
9
|
-
export declare const CardTest: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
10
|
-
//# sourceMappingURL=scrollContainerStyles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"scrollContainerStyles.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/scroll-container-v2/scrollContainerStyles.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,iBAAiB;;SAO7B,CAAA;AAED,eAAO,MAAM,cAAc;4BACD,MAAM;8BACJ,MAAM;+BACL,OAAO;SAwBnC,CAAA;AAED,eAAO,MAAM,QAAQ,oEASpB,CAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const useScroll: (stepMove: any) => {
|
|
3
|
-
scrollToLeft: () => void;
|
|
4
|
-
scrollToRight: () => void;
|
|
5
|
-
onClickLongPress: (direction: any) => void;
|
|
6
|
-
isVisibleLeft: boolean;
|
|
7
|
-
isVisibleRight: boolean;
|
|
8
|
-
scrollRef: React.MutableRefObject<undefined>;
|
|
9
|
-
};
|
|
10
|
-
//# sourceMappingURL=useScroll.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useScroll.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/scroll-container-v2/useScroll.ts"],"names":[],"mappings":"AACA,OAAO,KAAsC,MAAM,OAAO,CAAA;AAE1D,eAAO,MAAM,SAAS;;;;;;;CA8EnB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDoubleClick.d.ts","sourceRoot":"","sources":["../../../../../src/components/FI/bannerProblemFeed/useDoubleClick.ts"],"names":[],"mappings":"AAEA,iBAAS,cAAc,CAAC,MAAM,EAAE,MAAM,IAAI,cAkBzC;AAED,eAAe,cAAc,CAAC"}
|