frst-components 0.20.73 → 0.20.74
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
CHANGED
|
@@ -4299,7 +4299,7 @@ const SelectedOption$1 = styled__default["default"]('p') `
|
|
|
4299
4299
|
color: #222222 !important;
|
|
4300
4300
|
`;
|
|
4301
4301
|
|
|
4302
|
-
function ArrowIcon$
|
|
4302
|
+
function ArrowIcon$2() {
|
|
4303
4303
|
return (jsxRuntime.jsx("svg", { width: "14", height: "7", viewBox: "0 0 14 7", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: jsxRuntime.jsx("path", { d: "M7.1736 6.64904L13.521 0.992188H0.826172L7.1736 6.64904Z", fill: "#222222" }) }));
|
|
4304
4304
|
}
|
|
4305
4305
|
function Select$2({ placeholder, defaultValue, children, onChange, loading, isError, style }) {
|
|
@@ -4339,7 +4339,7 @@ function Select$2({ placeholder, defaultValue, children, onChange, loading, isEr
|
|
|
4339
4339
|
onChange(e);
|
|
4340
4340
|
toggle();
|
|
4341
4341
|
};
|
|
4342
|
-
return (jsxRuntime.jsx("div", { style: style, children: jsxRuntime.jsxs(DropDownContainer$1, { ref: wrapperRef, error: isError, theme: FRSTTheme, children: [jsxRuntime.jsx(EventOverlay$1, { onClick: toggle }), jsxRuntime.jsxs(DropDownHeader$1, { error: isError, theme: FRSTTheme, children: [loading ? (jsxRuntime.jsx("p", { children: "Carregando dados..." })) : selectedOption ? (jsxRuntime.jsx(SelectedOption$1, { children: selectedOption })) : (jsxRuntime.jsx("p", { children: placeholder })), jsxRuntime.jsx(DropDownHeaderIcon$1, { open: isOpen, children: jsxRuntime.jsx(ArrowIcon$
|
|
4342
|
+
return (jsxRuntime.jsx("div", { style: style, children: jsxRuntime.jsxs(DropDownContainer$1, { ref: wrapperRef, error: isError, theme: FRSTTheme, children: [jsxRuntime.jsx(EventOverlay$1, { onClick: toggle }), jsxRuntime.jsxs(DropDownHeader$1, { error: isError, theme: FRSTTheme, children: [loading ? (jsxRuntime.jsx("p", { children: "Carregando dados..." })) : selectedOption ? (jsxRuntime.jsx(SelectedOption$1, { children: selectedOption })) : (jsxRuntime.jsx("p", { children: placeholder })), jsxRuntime.jsx(DropDownHeaderIcon$1, { open: isOpen, children: jsxRuntime.jsx(ArrowIcon$2, {}) })] }), isOpen && (jsxRuntime.jsx(DropDownListContainer$1, { children: jsxRuntime.jsx(DropDownList$1, { children: jsxRuntime.jsx("div", { onClick: handleChange, children: jsxRuntime.jsx(SelectContext.Provider, { value: { selected: selectedOptionValue }, children: children }) }) }) }))] }) }));
|
|
4343
4343
|
}
|
|
4344
4344
|
|
|
4345
4345
|
const ListItem$1 = styled__default["default"]("li") `
|
|
@@ -11745,7 +11745,7 @@ const SelectedOption = styled__default["default"]('p') `
|
|
|
11745
11745
|
line-height: 19px;
|
|
11746
11746
|
color: #222222 !important;
|
|
11747
11747
|
`;
|
|
11748
|
-
function ArrowIcon() {
|
|
11748
|
+
function ArrowIcon$1() {
|
|
11749
11749
|
return (jsxRuntime.jsx("svg", { width: "14", height: "7", viewBox: "0 0 14 7", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: jsxRuntime.jsx("path", { d: "M7.1736 6.64904L13.521 0.992188H0.826172L7.1736 6.64904Z", fill: "#222222" }) }));
|
|
11750
11750
|
}
|
|
11751
11751
|
function SelectLXP$1({ placeholder, defaultValue, children, onChange, loading }) {
|
|
@@ -11786,7 +11786,7 @@ function SelectLXP$1({ placeholder, defaultValue, children, onChange, loading })
|
|
|
11786
11786
|
return (jsxRuntime.jsx("div", { children: jsxRuntime.jsxs(DropDownContainer, { ref: wrapperRef, children: [jsxRuntime.jsx(EventOverlay, { onClick: toggle }), jsxRuntime.jsxs(DropDownHeader, { children: [loading ?
|
|
11787
11787
|
jsxRuntime.jsx("p", { children: "Carregando dados..." })
|
|
11788
11788
|
:
|
|
11789
|
-
selectedOption ? jsxRuntime.jsx(SelectedOption, { children: selectedOption }) : jsxRuntime.jsx("p", { children: placeholder }), jsxRuntime.jsx(DropDownHeaderIcon, { open: isOpen, children: jsxRuntime.jsx(ArrowIcon, {}) })] }), isOpen && (jsxRuntime.jsx(DropDownListContainer, { children: jsxRuntime.jsx(DropDownList, { children: jsxRuntime.jsx("div", { onClick: handleChange, children: jsxRuntime.jsx(SelectLXPContext.Provider, { value: { selected: selectedOptionValue }, children: children }) }) }) }))] }) }));
|
|
11789
|
+
selectedOption ? jsxRuntime.jsx(SelectedOption, { children: selectedOption }) : jsxRuntime.jsx("p", { children: placeholder }), jsxRuntime.jsx(DropDownHeaderIcon, { open: isOpen, children: jsxRuntime.jsx(ArrowIcon$1, {}) })] }), isOpen && (jsxRuntime.jsx(DropDownListContainer, { children: jsxRuntime.jsx(DropDownList, { children: jsxRuntime.jsx("div", { onClick: handleChange, children: jsxRuntime.jsx(SelectLXPContext.Provider, { value: { selected: selectedOptionValue }, children: children }) }) }) }))] }) }));
|
|
11790
11790
|
}
|
|
11791
11791
|
|
|
11792
11792
|
const ListItem = styled__default["default"]("li") `
|
|
@@ -17518,6 +17518,10 @@ function ScrollContainer(props) {
|
|
|
17518
17518
|
} })] }))] }) }) }));
|
|
17519
17519
|
}
|
|
17520
17520
|
|
|
17521
|
+
var ArrowIcon = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAlCAYAAAAqXEs9AAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAEDSURBVHgB7ZLNDYJAEEa/FUk8WgKl6M2jJWgHdqIdaAkevdEKJejNhD8nTKIEWGB39uBhXkICy8zLCwFQFEVRFCUopntQ79YJlsWZbtcoiqN5vDMEZMq/6G3ExRXG7OnaII7TerdKEDImrtKW/9Kd6QfBvFoPSaiobwzq5HdIX2kyKIpOVJ8hYNRgjEGGZX7ozppBwZ4EFQnqlgAkyPOt6z9ljVmQ6953GasoQJRrDL8eEwqifGJ4ZAKfKN8YHpuBS5QkhkdnMidKGsPjDoxFAStIY3jFEWtUo5LF8JoHlihIY3jVE2uUIIbXBfSihDGsENJEleWNbp+I8pMkRlEU5R/4AAUW8eBuzqq8AAAAAElFTkSuQmCC";
|
|
17522
|
+
|
|
17523
|
+
var ArrowIconWhite = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAlCAYAAAAqXEs9AAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACZSURBVHgB7ZHBCcAgDEWlE3QE97/UDewmztAJrAUFkdJGTeLlPwh4MD/PaAwAAAAAZIkx2lRHKv+cDTPd+fliIXBKZZlQ5bv2zvbSd1Vnm4plUznD58zCTmpsXjG9qelMTim2LI4g9m3PBEaBrx8OFpMZGSAu0zNITYYyUF2GIKUv8yO1RoYgpS/zIbVOppE6U7nlMgAAwMAN8Jd85Y4qu00AAAAASUVORK5CYII=";
|
|
17524
|
+
|
|
17521
17525
|
const FiltroPrimeReact = styled__default["default"].div `
|
|
17522
17526
|
.multiselect-custom {
|
|
17523
17527
|
width: fit-content;
|
|
@@ -17551,6 +17555,15 @@ const FiltroPrimeReact = styled__default["default"].div `
|
|
|
17551
17555
|
.p-multiselect-items-label {
|
|
17552
17556
|
color: #ffffff;
|
|
17553
17557
|
}
|
|
17558
|
+
.p-multiselect-trigger {
|
|
17559
|
+
i {
|
|
17560
|
+
background-image: url(${ArrowIconWhite});
|
|
17561
|
+
background-size: 1rem;
|
|
17562
|
+
width: 15px;
|
|
17563
|
+
height: 15px;
|
|
17564
|
+
background-repeat: no-repeat;
|
|
17565
|
+
}
|
|
17566
|
+
}
|
|
17554
17567
|
}
|
|
17555
17568
|
|
|
17556
17569
|
.p-placeholder {
|
|
@@ -17586,6 +17599,16 @@ const FiltroPrimeReact = styled__default["default"].div `
|
|
|
17586
17599
|
`}
|
|
17587
17600
|
}
|
|
17588
17601
|
|
|
17602
|
+
.p-multiselect .p-multiselect-trigger {
|
|
17603
|
+
i {
|
|
17604
|
+
background-image: url(${ArrowIcon});
|
|
17605
|
+
background-size: 1rem;
|
|
17606
|
+
width: 15px;
|
|
17607
|
+
height: 15px;
|
|
17608
|
+
background-repeat: no-repeat;
|
|
17609
|
+
}
|
|
17610
|
+
}
|
|
17611
|
+
|
|
17589
17612
|
.p-multiselect-items-label {
|
|
17590
17613
|
display: flex;
|
|
17591
17614
|
flex-direction: row;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiSelectDemo.d.ts","sourceRoot":"","sources":["../../../../../src/components/filtro-galeria-desafio/styles/MultiSelectDemo.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MultiSelectDemo.d.ts","sourceRoot":"","sources":["../../../../../src/components/filtro-galeria-desafio/styles/MultiSelectDemo.ts"],"names":[],"mappings":"AAIA,UAAU,WAAW;IACnB,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB;AAED,eAAO,MAAM,gBAAgB,6EAuI5B,CAAA;AAED,eAAO,MAAM,WAAW,sEASvB,CAAA;AAED,eAAO,MAAM,eAAe,2EAe3B,CAAA;AAED,eAAO,MAAM,qBAAqB,kEAgBjC,CAAA;AAED,eAAO,MAAM,eAAe,oEAI3B,CAAA;AAED,eAAO,MAAM,eAAe,oEAI3B,CAAA;AAED,eAAO,MAAM,WAAW,oEAOvB,CAAA"}
|