plataforma-fundacao-componentes 2.20.26 → 2.20.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.
@@ -7,6 +7,7 @@ interface BannerPesquisaCpfCnpjProps {
7
7
  inputProps?: InputProps;
8
8
  urlImg?: string;
9
9
  theme?: 'white' | 'secondary-light' | 'secondary-lighter';
10
+ captcha?: React.ReactNode;
10
11
  }
11
12
  declare function BannerPesquisaCpfCnpj(props: BannerPesquisaCpfCnpjProps): JSX.Element;
12
13
  declare namespace BannerPesquisaCpfCnpj {
@@ -4,4 +4,5 @@ declare namespace _default {
4
4
  }
5
5
  export default _default;
6
6
  export function FirstExample(): JSX.Element;
7
+ export function CaptchaExample(): JSX.Element;
7
8
  import BannerPesquisaCpfCnpj from "./BannerPesquisaCpfCnpj";
package/dist/index.css CHANGED
@@ -3553,6 +3553,8 @@ h5 {
3553
3553
  padding: 3%;
3554
3554
  height: 412px;
3555
3555
  width: 50%; }
3556
+ .banner-pesquisa-cpf-cnpj .banner-pesquisa-cpf-cnpj-left.plus {
3557
+ height: 500px; }
3556
3558
  @media screen and (max-width: 767.98px) {
3557
3559
  .banner-pesquisa-cpf-cnpj .banner-pesquisa-cpf-cnpj-left {
3558
3560
  width: 100%;
@@ -3579,6 +3581,8 @@ h5 {
3579
3581
  width: 50%;
3580
3582
  background-size: cover;
3581
3583
  background-position: center; }
3584
+ .banner-pesquisa-cpf-cnpj .banner-pesquisa-cpf-cnpj-image.plus {
3585
+ height: 500px; }
3582
3586
  .banner-pesquisa-cpf-cnpj .banner-pesquisa-cpf-cnpj-image img {
3583
3587
  display: none; }
3584
3588
  @media screen and (max-width: 767.98px) {
package/dist/index.js CHANGED
@@ -2321,15 +2321,17 @@ function BannerPesquisaCpfCnpj(props) {
2321
2321
  return React__default.createElement("div", {
2322
2322
  className: getMergedClassNames([rootClassName$n, props.theme])
2323
2323
  }, React__default.createElement("div", {
2324
- className: rootClassName$n + "-left"
2324
+ className: getMergedClassNames([rootClassName$n + "-left", props.captcha ? 'plus' : ''])
2325
2325
  }, React__default.createElement("div", {
2326
2326
  className: rootClassName$n + "-title"
2327
2327
  }, props.title), React__default.createElement("div", {
2328
2328
  className: rootClassName$n + "-sub-title nunito"
2329
- }, props.subtitle), React__default.createElement("div", {
2329
+ }, props.subtitle), props.inputProps ? React__default.createElement("div", {
2330
2330
  className: rootClassName$n + "-input"
2331
- }, React__default.createElement(Input$1, Object.assign({}, props.inputProps)))), React__default.createElement("div", {
2332
- className: rootClassName$n + "-image",
2331
+ }, React__default.createElement(Input$1, Object.assign({}, props.inputProps))) : undefined, props.captcha ? React__default.createElement("div", {
2332
+ className: "" + rootClassName$n
2333
+ }, props.captcha) : undefined), React__default.createElement("div", {
2334
+ className: getMergedClassNames([rootClassName$n + "-image", props.captcha ? 'plus' : '']),
2333
2335
  style: {
2334
2336
  backgroundImage: "url(" + props.urlImg + ")"
2335
2337
  }