plataforma-fundacao-componentes 2.23.25 → 2.23.27
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/components/bannerAssembleia/BannerAssembleia.d.ts +2 -1
- package/dist/components/bannerAssembleia/BannerAssembleia.stories.d.ts +1 -0
- package/dist/components/informativoAssembleiasComImagem/InformativoAssembleiasComImagem.d.ts +1 -0
- package/dist/components/informativoAssembleiasComImagem/InformativoAssembleiasComImagem.stories.d.ts +21 -0
- package/dist/index.css +23 -3
- package/dist/index.js +14 -11
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +14 -11
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
|
@@ -2,9 +2,10 @@ import React from 'react';
|
|
|
2
2
|
import './BannerAssembleia.scss';
|
|
3
3
|
interface BannerAssembleiaProps {
|
|
4
4
|
imgUrl: string;
|
|
5
|
-
breadCrumb
|
|
5
|
+
breadCrumb?: string;
|
|
6
6
|
buttonLabel: string;
|
|
7
7
|
onButtonClick: (evt: any) => void;
|
|
8
|
+
green?: boolean;
|
|
8
9
|
text: string;
|
|
9
10
|
}
|
|
10
11
|
declare function BannerAssembleia(props: BannerAssembleiaProps): JSX.Element;
|
package/dist/components/informativoAssembleiasComImagem/InformativoAssembleiasComImagem.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ interface InformativoAssembleiasComImagemProps {
|
|
|
7
7
|
buttonLabel?: string;
|
|
8
8
|
onButtonClick?: (evt?: any) => void;
|
|
9
9
|
reverse?: boolean;
|
|
10
|
+
filledButton?: boolean;
|
|
10
11
|
}
|
|
11
12
|
declare function InformativoAssembleiasComImagem(props: InformativoAssembleiasComImagemProps): JSX.Element;
|
|
12
13
|
declare const _default: React.MemoExoticComponent<typeof InformativoAssembleiasComImagem>;
|
package/dist/components/informativoAssembleiasComImagem/InformativoAssembleiasComImagem.stories.d.ts
CHANGED
|
@@ -16,4 +16,25 @@ export namespace FirstExample {
|
|
|
16
16
|
export const reverse: boolean;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
+
export function FilledButtonExample(args: any): JSX.Element;
|
|
20
|
+
export namespace FilledButtonExample {
|
|
21
|
+
export namespace args_1 {
|
|
22
|
+
const urlImg_1: string;
|
|
23
|
+
export { urlImg_1 as urlImg };
|
|
24
|
+
const alt_1: string;
|
|
25
|
+
export { alt_1 as alt };
|
|
26
|
+
const title_2: string;
|
|
27
|
+
export { title_2 as title };
|
|
28
|
+
const subtitle_1: string;
|
|
29
|
+
export { subtitle_1 as subtitle };
|
|
30
|
+
const buttonLabel_1: string;
|
|
31
|
+
export { buttonLabel_1 as buttonLabel };
|
|
32
|
+
export function onButtonClick_1(): void;
|
|
33
|
+
export { onButtonClick_1 as onButtonClick };
|
|
34
|
+
const reverse_1: boolean;
|
|
35
|
+
export { reverse_1 as reverse };
|
|
36
|
+
export const filledButton: boolean;
|
|
37
|
+
}
|
|
38
|
+
export { args_1 as args };
|
|
39
|
+
}
|
|
19
40
|
import InformativoAssembleiasComImagem from "./InformativoAssembleiasComImagem";
|
package/dist/index.css
CHANGED
|
@@ -2091,6 +2091,8 @@ h5 {
|
|
|
2091
2091
|
justify-content: center;
|
|
2092
2092
|
flex-direction: column;
|
|
2093
2093
|
padding: 4% 6%; }
|
|
2094
|
+
.banner-assembleia .banner-assembleia-left.green {
|
|
2095
|
+
background-color: #3fa110; }
|
|
2094
2096
|
@media screen and (max-width: 991.98px) {
|
|
2095
2097
|
.banner-assembleia .banner-assembleia-left {
|
|
2096
2098
|
padding: 4% 2%; } }
|
|
@@ -2105,6 +2107,7 @@ h5 {
|
|
|
2105
2107
|
margin-bottom: 50px;
|
|
2106
2108
|
color: #5a645a;
|
|
2107
2109
|
padding: 8px;
|
|
2110
|
+
padding-left: 10px;
|
|
2108
2111
|
position: relative;
|
|
2109
2112
|
font-weight: 600; }
|
|
2110
2113
|
@media screen and (max-width: 767.98px) {
|
|
@@ -2114,7 +2117,7 @@ h5 {
|
|
|
2114
2117
|
content: '';
|
|
2115
2118
|
position: absolute;
|
|
2116
2119
|
bottom: 0;
|
|
2117
|
-
left:
|
|
2120
|
+
left: 10px;
|
|
2118
2121
|
width: 109px;
|
|
2119
2122
|
height: 2px;
|
|
2120
2123
|
background-color: #3fa110; }
|
|
@@ -2124,13 +2127,18 @@ h5 {
|
|
|
2124
2127
|
text-align: left;
|
|
2125
2128
|
font-weight: 500;
|
|
2126
2129
|
line-height: 70px;
|
|
2127
|
-
font-style: italic;
|
|
2130
|
+
font-style: italic;
|
|
2131
|
+
padding-left: 10px; }
|
|
2132
|
+
.banner-assembleia .banner-assembleia-left .banner-assembleia-text.white {
|
|
2133
|
+
color: #fefefe; }
|
|
2128
2134
|
@media screen and (max-width: 767.98px) {
|
|
2129
2135
|
.banner-assembleia .banner-assembleia-left .banner-assembleia-text {
|
|
2130
2136
|
font-size: 36px;
|
|
2131
2137
|
line-height: 42px; } }
|
|
2132
2138
|
.banner-assembleia .banner-assembleia-left .banner-assembleia-button {
|
|
2133
2139
|
margin-top: 40px; }
|
|
2140
|
+
.banner-assembleia .banner-assembleia-left .banner-assembleia-button button.white {
|
|
2141
|
+
color: #fefefe; }
|
|
2134
2142
|
.banner-assembleia .banner-assembleia-imagem {
|
|
2135
2143
|
min-height: 492px;
|
|
2136
2144
|
width: 50%;
|
|
@@ -6115,7 +6123,9 @@ header.component-header {
|
|
|
6115
6123
|
align-items: stretch;
|
|
6116
6124
|
flex-direction: row; }
|
|
6117
6125
|
@media screen and (max-width: 767.98px) {
|
|
6118
|
-
.informativo-assembleias-com-imagem {
|
|
6126
|
+
.informativo-assembleias-com-imagem.wrap {
|
|
6127
|
+
flex-wrap: wrap; }
|
|
6128
|
+
.informativo-assembleias-com-imagem.wrap-reverse {
|
|
6119
6129
|
flex-wrap: wrap-reverse; } }
|
|
6120
6130
|
.informativo-assembleias-com-imagem.reverse {
|
|
6121
6131
|
flex-direction: row-reverse; }
|
|
@@ -6171,6 +6181,16 @@ header.component-header {
|
|
|
6171
6181
|
display: block !important;
|
|
6172
6182
|
opacity: 1;
|
|
6173
6183
|
width: 100%; } }
|
|
6184
|
+
.informativo-assembleias-com-imagem .informativo-assembleias-com-imagem-button.filled {
|
|
6185
|
+
width: 100%;
|
|
6186
|
+
display: flex;
|
|
6187
|
+
justify-content: center; }
|
|
6188
|
+
.informativo-assembleias-com-imagem .informativo-assembleias-com-imagem-button.filled button {
|
|
6189
|
+
padding: 10px 60px;
|
|
6190
|
+
border-radius: 6px; }
|
|
6191
|
+
@media screen and (max-width: 575.98px) {
|
|
6192
|
+
.informativo-assembleias-com-imagem .informativo-assembleias-com-imagem-button.filled button {
|
|
6193
|
+
width: 100%; } }
|
|
6174
6194
|
|
|
6175
6195
|
:export {
|
|
6176
6196
|
widthXs: 575.98px;
|
package/dist/index.js
CHANGED
|
@@ -5432,20 +5432,23 @@ function BannerAssembleia(props) {
|
|
|
5432
5432
|
return React__default.createElement("div", {
|
|
5433
5433
|
className: rootClassName$1L
|
|
5434
5434
|
}, React__default.createElement("div", {
|
|
5435
|
-
className: rootClassName$1L + "-left"
|
|
5436
|
-
}, React__default.createElement("div", {
|
|
5435
|
+
className: getMergedClassNames([rootClassName$1L + "-left", props.green ? 'green' : ''])
|
|
5436
|
+
}, props.breadCrumb ? React__default.createElement("div", {
|
|
5437
5437
|
className: rootClassName$1L + "-bread-crumb"
|
|
5438
|
-
}, props.breadCrumb), React__default.createElement("div", {
|
|
5439
|
-
className: rootClassName$1L + "-text"
|
|
5438
|
+
}, props.breadCrumb) : undefined, React__default.createElement("div", {
|
|
5439
|
+
className: getMergedClassNames([rootClassName$1L + "-text", props.green ? 'white' : ''])
|
|
5440
5440
|
}, props.text), React__default.createElement("div", {
|
|
5441
5441
|
className: rootClassName$1L + "-button"
|
|
5442
5442
|
}, React__default.createElement(Button$1, {
|
|
5443
5443
|
onClick: props.onButtonClick,
|
|
5444
5444
|
theme: exports.ButtonThemes.DefaultPrimary,
|
|
5445
|
-
rightIcon: React__default.createElement(ArrowRightIcon, null)
|
|
5445
|
+
rightIcon: React__default.createElement(ArrowRightIcon, null),
|
|
5446
|
+
className: props.green ? 'white' : ''
|
|
5446
5447
|
}, props.buttonLabel))), React__default.createElement("div", {
|
|
5447
5448
|
className: rootClassName$1L + "-imagem",
|
|
5448
|
-
style: {
|
|
5449
|
+
style: props.green ? {
|
|
5450
|
+
backgroundImage: "linear-gradient(30deg, rgba(63,161,16,0.3701855742296919) 0%, rgba(63,161,16,0) 50%), url(" + props.imgUrl + ")"
|
|
5451
|
+
} : {
|
|
5449
5452
|
backgroundImage: "url(" + props.imgUrl + ")"
|
|
5450
5453
|
}
|
|
5451
5454
|
}, React__default.createElement("img", {
|
|
@@ -9789,7 +9792,7 @@ var rootClassName$2o = 'informativo-assembleias-com-imagem';
|
|
|
9789
9792
|
|
|
9790
9793
|
function InformativoAssembleiasComImagem(props) {
|
|
9791
9794
|
return React__default.createElement("div", {
|
|
9792
|
-
className: getMergedClassNames([rootClassName$2o, props.reverse ? 'reverse' : ''])
|
|
9795
|
+
className: getMergedClassNames([rootClassName$2o, props.reverse ? 'reverse' : '', props.filledButton ? 'wrap' : 'wrap-reverse'])
|
|
9793
9796
|
}, React__default.createElement("div", {
|
|
9794
9797
|
className: rootClassName$2o + "-text"
|
|
9795
9798
|
}, React__default.createElement("div", {
|
|
@@ -9797,11 +9800,11 @@ function InformativoAssembleiasComImagem(props) {
|
|
|
9797
9800
|
}, props.title), React__default.createElement("p", {
|
|
9798
9801
|
className: rootClassName$2o + "-sub-title nunito"
|
|
9799
9802
|
}, props.subtitle), React__default.createElement("div", {
|
|
9800
|
-
className: rootClassName$2o + "-button"
|
|
9803
|
+
className: getMergedClassNames([rootClassName$2o + "-button", props.filledButton ? 'filled' : ''])
|
|
9801
9804
|
}, React__default.createElement(Button$1, {
|
|
9802
|
-
theme: exports.ButtonThemes.DefaultPrimary,
|
|
9805
|
+
theme: props.filledButton ? exports.ButtonThemes.Primary : exports.ButtonThemes.DefaultPrimary,
|
|
9803
9806
|
onClick: props.onButtonClick,
|
|
9804
|
-
rightIcon: React__default.createElement(ArrowRightIcon, null)
|
|
9807
|
+
rightIcon: props.filledButton ? undefined : React__default.createElement(ArrowRightIcon, null)
|
|
9805
9808
|
}, props.buttonLabel))), React__default.createElement("div", {
|
|
9806
9809
|
className: rootClassName$2o + "-photo",
|
|
9807
9810
|
style: {
|
|
@@ -40864,7 +40867,7 @@ function usePublicMenuList(props) {
|
|
|
40864
40867
|
subList: getSubList(it.subItems)
|
|
40865
40868
|
};
|
|
40866
40869
|
});
|
|
40867
|
-
}, [isOpenedByReference, props.menus, props.history.location]);
|
|
40870
|
+
}, [isOpenedByReference, props.menus, props.history.location, props.roles]);
|
|
40868
40871
|
return menus;
|
|
40869
40872
|
}
|
|
40870
40873
|
|