plataforma-fundacao-componentes 2.23.3 → 2.23.4

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.
@@ -4,6 +4,7 @@ interface BigBlockButtonProps {
4
4
  id?: string;
5
5
  icon?: React.ReactNode;
6
6
  label?: React.ReactNode | string | number;
7
+ subtitle?: React.ReactNode | string | number;
7
8
  onClick: (evt?: any) => void;
8
9
  disabled?: boolean;
9
10
  }
@@ -13,4 +13,6 @@ export namespace FirstExample {
13
13
  }
14
14
  }
15
15
  export function MultipleExample(): JSX.Element;
16
+ export function SubtitleExample(): JSX.Element;
17
+ export function MultipleSubtitleExample(): JSX.Element;
16
18
  import BigBlockButton from "./BigBlockButton";
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import './Qrcode.scss';
3
- export interface QrcodeProps {
2
+ import './QRCode.scss';
3
+ export interface QRCodeProps {
4
4
  button?: boolean;
5
5
  size: number;
6
6
  margin?: number;
@@ -9,12 +9,12 @@ export interface QrcodeProps {
9
9
  backgroundColor?: string;
10
10
  onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
11
11
  }
12
- declare function QRcode(props: QrcodeProps): JSX.Element;
13
- declare namespace QRcode {
12
+ declare function QRCode(props: QRCodeProps): JSX.Element;
13
+ declare namespace QRCode {
14
14
  var defaultProps: {
15
15
  margin: number;
16
16
  color: string;
17
17
  };
18
18
  }
19
- declare const _default: React.MemoExoticComponent<typeof QRcode>;
19
+ declare const _default: React.MemoExoticComponent<typeof QRCode>;
20
20
  export default _default;
@@ -1,14 +1,14 @@
1
1
  /// <reference types="react" />
2
- import { QrcodeProps } from './Qrcode';
2
+ import { QRCodeProps } from './QRCode';
3
3
  declare const _default: {
4
4
  title: string;
5
5
  };
6
6
  export default _default;
7
7
  export declare const DefaultExample: {
8
- (args: QrcodeProps): JSX.Element;
9
- args: QrcodeProps;
8
+ (args: QRCodeProps): JSX.Element;
9
+ args: QRCodeProps;
10
10
  };
11
11
  export declare const ColorizedExample: {
12
- (args: QrcodeProps): JSX.Element;
13
- args: QrcodeProps;
12
+ (args: QRCodeProps): JSX.Element;
13
+ args: QRCodeProps;
14
14
  };
package/dist/index.css CHANGED
@@ -4499,6 +4499,11 @@ h5 {
4499
4499
  font-size: 21px;
4500
4500
  line-height: 24px;
4501
4501
  font-weight: 400; }
4502
+ .component-big-block-button .component-big-block-button-subtitle {
4503
+ color: #3fa110;
4504
+ font-size: 16px;
4505
+ line-height: 24px;
4506
+ font-weight: 400; }
4502
4507
 
4503
4508
  @import url("https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
4504
4509
  @import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap");
@@ -12139,7 +12144,8 @@ h5 {
12139
12144
  color: #323c32;
12140
12145
  max-width: calc(100% - 30px);
12141
12146
  overflow: hidden;
12142
- text-overflow: ellipsis; }
12147
+ text-overflow: ellipsis;
12148
+ text-align: left; }
12143
12149
  .component-item-dropdown-download-outer .component-item-dropdown-download .component-item-dropdown-download-arrow {
12144
12150
  display: flex;
12145
12151
  align-items: center;
@@ -14100,143 +14106,6 @@ h5 {
14100
14106
  .scroll-white::-webkit-scrollbar-thumb:hover {
14101
14107
  background-color: #bfc7bf; }
14102
14108
 
14103
- .qrcode {
14104
- display: inline-block;
14105
- display: flex;
14106
- align-items: center;
14107
- justify-content: center;
14108
- padding: 12px; }
14109
- .qrcode.button {
14110
- cursor: pointer;
14111
- transition: transform 0.3s ease; }
14112
- .qrcode.button:active {
14113
- transform: scale(0.95); }
14114
-
14115
- @import url("https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
14116
- @import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap");
14117
- :export {
14118
- white: #fefefe;
14119
- darkenWhite: #efefef;
14120
- black: #121212;
14121
- transparent: rgba(0, 0, 0, 0);
14122
- primary: #3fa110;
14123
- primaryDark: #33820d;
14124
- primaryLight: #d7e6c8;
14125
- secondaryDarker: #323c32;
14126
- secondaryDark: #5a645a;
14127
- secondary: #828a82;
14128
- secondaryLight: #cdd3cd;
14129
- secondaryLighter: #f8f9f7;
14130
- danger: #e60000;
14131
- dangerLight: #ffb4b4;
14132
- dangerDark: #ab4745;
14133
- warning: #ffcd00;
14134
- warningLight: #ffeb98;
14135
- warningDark: #765f00; }
14136
-
14137
- :root {
14138
- --rowPadding: 0;
14139
- --colPadding: 8px; }
14140
-
14141
- :export {
14142
- widthXs: 575.98px;
14143
- widthSm: 767.98px;
14144
- widthMd: 991.98px;
14145
- widthLg: 1199.98px; }
14146
-
14147
- body.sb-show-main.sb-main-padded {
14148
- padding: 15px; }
14149
-
14150
- *.nunito {
14151
- font-family: "Nunito", sans-serif; }
14152
-
14153
- *:not(.nunito) {
14154
- font-family: "Exo 2", sans-serif; }
14155
-
14156
- .document-grabbing {
14157
- cursor: -webkit-grabbing !important;
14158
- cursor: grabbing !important; }
14159
-
14160
- h1 {
14161
- font-size: 36px;
14162
- font-weight: 600;
14163
- margin: 0; }
14164
-
14165
- h2 {
14166
- font-size: 32px;
14167
- font-weight: 500;
14168
- margin: 0; }
14169
-
14170
- h3 {
14171
- font-size: 24px;
14172
- font-weight: 500;
14173
- margin: 0; }
14174
-
14175
- h4 {
14176
- font-size: 18px;
14177
- font-weight: 500;
14178
- margin: 0; }
14179
-
14180
- h5 {
14181
- font-family: "Nunito", sans-serif;
14182
- font-size: 24px;
14183
- font-weight: 400;
14184
- margin: 0; }
14185
-
14186
- .fade-enter {
14187
- transition: opacity 0.2s ease;
14188
- position: absolute;
14189
- opacity: 0; }
14190
-
14191
- .fade-enter-active {
14192
- position: absolute;
14193
- opacity: 1; }
14194
-
14195
- .fade-exit {
14196
- transition: opacity 0.15s ease;
14197
- position: absolute;
14198
- opacity: 1; }
14199
-
14200
- .fade-exit-active {
14201
- position: absolute;
14202
- opacity: 0; }
14203
-
14204
- .fade-exit-done {
14205
- position: absolute;
14206
- opacity: 0; }
14207
-
14208
- * {
14209
- box-sizing: border-box; }
14210
- *::-webkit-scrollbar-track {
14211
- background-color: #f8f9f7;
14212
- border-radius: 20px; }
14213
- *::-webkit-scrollbar {
14214
- width: 12px;
14215
- height: 12px; }
14216
- *::-webkit-scrollbar-thumb {
14217
- -webkit-transition: all 0.3s ease;
14218
- transition: all 0.3s ease;
14219
- border-radius: 10px;
14220
- background-color: #cdd3cd;
14221
- border-width: 3px;
14222
- border-style: solid;
14223
- border-color: #f8f9f7; }
14224
- *::-webkit-scrollbar-thumb:hover {
14225
- border-width: 2px;
14226
- background-color: #bfc7bf; }
14227
- *::-webkit-scrollbar-button {
14228
- display: none; }
14229
-
14230
- .scroll-white::-webkit-scrollbar-track {
14231
- background-color: #fefefe;
14232
- border-radius: 20px; }
14233
-
14234
- .scroll-white::-webkit-scrollbar-thumb {
14235
- background-color: #cdd3cd;
14236
- border-color: #fefefe; }
14237
- .scroll-white::-webkit-scrollbar-thumb:hover {
14238
- background-color: #bfc7bf; }
14239
-
14240
14109
  .component-search-bloco-de-notas {
14241
14110
  width: 100%;
14242
14111
  display: flex;
@@ -18731,3 +18600,140 @@ h5 {
18731
18600
  width: 100vw; }
18732
18601
  .video-modal.mobile-on-xs .video-modal-video-row {
18733
18602
  border-radius: 7px 7px 0 0; } }
18603
+
18604
+ @import url("https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
18605
+ @import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap");
18606
+ :export {
18607
+ white: #fefefe;
18608
+ darkenWhite: #efefef;
18609
+ black: #121212;
18610
+ transparent: rgba(0, 0, 0, 0);
18611
+ primary: #3fa110;
18612
+ primaryDark: #33820d;
18613
+ primaryLight: #d7e6c8;
18614
+ secondaryDarker: #323c32;
18615
+ secondaryDark: #5a645a;
18616
+ secondary: #828a82;
18617
+ secondaryLight: #cdd3cd;
18618
+ secondaryLighter: #f8f9f7;
18619
+ danger: #e60000;
18620
+ dangerLight: #ffb4b4;
18621
+ dangerDark: #ab4745;
18622
+ warning: #ffcd00;
18623
+ warningLight: #ffeb98;
18624
+ warningDark: #765f00; }
18625
+
18626
+ :root {
18627
+ --rowPadding: 0;
18628
+ --colPadding: 8px; }
18629
+
18630
+ :export {
18631
+ widthXs: 575.98px;
18632
+ widthSm: 767.98px;
18633
+ widthMd: 991.98px;
18634
+ widthLg: 1199.98px; }
18635
+
18636
+ body.sb-show-main.sb-main-padded {
18637
+ padding: 15px; }
18638
+
18639
+ *.nunito {
18640
+ font-family: "Nunito", sans-serif; }
18641
+
18642
+ *:not(.nunito) {
18643
+ font-family: "Exo 2", sans-serif; }
18644
+
18645
+ .document-grabbing {
18646
+ cursor: -webkit-grabbing !important;
18647
+ cursor: grabbing !important; }
18648
+
18649
+ h1 {
18650
+ font-size: 36px;
18651
+ font-weight: 600;
18652
+ margin: 0; }
18653
+
18654
+ h2 {
18655
+ font-size: 32px;
18656
+ font-weight: 500;
18657
+ margin: 0; }
18658
+
18659
+ h3 {
18660
+ font-size: 24px;
18661
+ font-weight: 500;
18662
+ margin: 0; }
18663
+
18664
+ h4 {
18665
+ font-size: 18px;
18666
+ font-weight: 500;
18667
+ margin: 0; }
18668
+
18669
+ h5 {
18670
+ font-family: "Nunito", sans-serif;
18671
+ font-size: 24px;
18672
+ font-weight: 400;
18673
+ margin: 0; }
18674
+
18675
+ .fade-enter {
18676
+ transition: opacity 0.2s ease;
18677
+ position: absolute;
18678
+ opacity: 0; }
18679
+
18680
+ .fade-enter-active {
18681
+ position: absolute;
18682
+ opacity: 1; }
18683
+
18684
+ .fade-exit {
18685
+ transition: opacity 0.15s ease;
18686
+ position: absolute;
18687
+ opacity: 1; }
18688
+
18689
+ .fade-exit-active {
18690
+ position: absolute;
18691
+ opacity: 0; }
18692
+
18693
+ .fade-exit-done {
18694
+ position: absolute;
18695
+ opacity: 0; }
18696
+
18697
+ * {
18698
+ box-sizing: border-box; }
18699
+ *::-webkit-scrollbar-track {
18700
+ background-color: #f8f9f7;
18701
+ border-radius: 20px; }
18702
+ *::-webkit-scrollbar {
18703
+ width: 12px;
18704
+ height: 12px; }
18705
+ *::-webkit-scrollbar-thumb {
18706
+ -webkit-transition: all 0.3s ease;
18707
+ transition: all 0.3s ease;
18708
+ border-radius: 10px;
18709
+ background-color: #cdd3cd;
18710
+ border-width: 3px;
18711
+ border-style: solid;
18712
+ border-color: #f8f9f7; }
18713
+ *::-webkit-scrollbar-thumb:hover {
18714
+ border-width: 2px;
18715
+ background-color: #bfc7bf; }
18716
+ *::-webkit-scrollbar-button {
18717
+ display: none; }
18718
+
18719
+ .scroll-white::-webkit-scrollbar-track {
18720
+ background-color: #fefefe;
18721
+ border-radius: 20px; }
18722
+
18723
+ .scroll-white::-webkit-scrollbar-thumb {
18724
+ background-color: #cdd3cd;
18725
+ border-color: #fefefe; }
18726
+ .scroll-white::-webkit-scrollbar-thumb:hover {
18727
+ background-color: #bfc7bf; }
18728
+
18729
+ .qrcode {
18730
+ display: inline-block;
18731
+ display: flex;
18732
+ align-items: center;
18733
+ justify-content: center;
18734
+ padding: 12px; }
18735
+ .qrcode.button {
18736
+ cursor: pointer;
18737
+ transition: transform 0.3s ease; }
18738
+ .qrcode.button:active {
18739
+ transform: scale(0.95); }
package/dist/index.d.ts CHANGED
@@ -88,10 +88,17 @@ import { WebsiteIcon } from 'assets/icons/WebsiteIcon';
88
88
  import { ChevronArrowLeftIcon } from 'assets/icons/ChevronArrowLeftIcon';
89
89
  import { FontColorIcon } from 'assets/icons/FontColorIcon';
90
90
  import { ParticipantesIcon } from 'assets/icons/ParticipantesIcon';
91
+ import { AgencyIcon } from 'assets/icons/AgencyIcon';
91
92
  import BigPlayIcon from 'assets/icons/BigPlayIcon';
93
+ import { CalendarCheckIcon } from 'assets/icons/CalendarCheckIcon';
92
94
  import CataventoVerde from 'assets/icons/CataventoVerde';
95
+ import { CopyIcon } from 'assets/icons/CopyIcon';
93
96
  import { CrescerIcon } from 'assets/icons/CrescerIcon';
97
+ import { DevicePlusIcon } from 'assets/icons/DevicePlusIcon';
94
98
  import LoaderIcon from 'assets/icons/LoaderIcon';
99
+ import { NotebookIcon } from 'assets/icons/NotebookIcon';
100
+ import { PrintIcon } from 'assets/icons/PrintIcon';
101
+ import { QRCodeIcon } from 'assets/icons/QRCodeIcon';
95
102
  import QRCodeWhatsapp from 'assets/icons/QRCodeWhatsapp';
96
103
  import Accordion from 'components/accordion/Accordion';
97
104
  import Aconteceu from 'components/aconteceu/Aconteceu';
@@ -154,7 +161,6 @@ import PageTitle, { PageSubTitle } from 'components/pageTitle/PageTitle';
154
161
  import Paginator from 'components/paginator/Paginator';
155
162
  import PreviaVideo from 'components/previaVideo/PreviaVideo';
156
163
  import ProgressBar from 'components/progressBar/ProgressBar';
157
- import Qrcode from 'components/qrcode/Qrcode';
158
164
  import RadioButton from 'components/radioButton/RadioButton';
159
165
  import Row from 'components/row/Row';
160
166
  import SearchBlocoDeNotas from 'components/searchBlocoDeNotas/SearchBlocoDeNotas';
@@ -189,13 +195,7 @@ import useStorageState from 'hooks/useStorageState/useStorageState';
189
195
  import useTimeElapsed from 'hooks/useTimeElapsed/useTimeElapsed';
190
196
  import useToastManager from 'hooks/useToastManager/useToastManager';
191
197
  import useValidatedState from 'hooks/useValidatedState/useValidatedState';
192
- import { CopyIcon } from 'assets/icons/CopyIcon';
193
- import { PrintIcon } from 'assets/icons/PrintIcon';
194
- import { QRCodeIcon } from 'assets/icons/QRCodeIcon';
195
- import { CalendarCheckIcon } from 'assets/icons/CalendarCheckIcon';
196
- import { DevicePlusIcon } from 'assets/icons/DevicePlusIcon';
197
- import { NotebookIcon } from 'assets/icons/NotebookIcon';
198
- import { AgencyIcon } from 'assets/icons/AgencyIcon';
198
+ import QRCode from 'components/qrcode/QRCode';
199
199
  export * from './components/modal/ModalTypes';
200
200
  export * from './libraries/ActionCardThemes';
201
201
  export * from './libraries/BlobFileTypes';
@@ -218,4 +218,4 @@ export { Accordion, ActionCard, AdvancedSemiHeader, AssembleiaItem, AssembleiaPa
218
218
  /**
219
219
  * @deprecated
220
220
  */
221
- Title as ModulosTitle, MoneyByMonth, MoneyMonthLineChart, NotaEdit, Notification, PageSubTitle, PageTitle, Paginator, PreviaVideo, ProgressBar, Qrcode, RadioButton, Row, SearchBlocoDeNotas, Select, Switch, Table, TypedTable, TableFileNameAndAction, TableActions, TableWithOverflow, TextEditor, LeftCheckboxWithLabel, ActionsColumn, Tabs, Toast, ToastManager, Tooltip, TooltipManager, TopLoader, VideoItem, VideoPlayer, VideoModal, useCallbackedState, useCarouselBehaviour, useControlledTimer, useDraggableContainer, useDropOpened, useModalManager, useProgressiveCount, useScreenSize, useStorageState, useTimeElapsed, useToastManager, useValidatedState, AconteceuIcon, ChevronArrowRightIcon, FontIcon, PaymentIcon, AddCircleIcon, CircleArrowLeft, CopyIcon, QRCodeIcon, PrintIcon, FormacaoIcon, PercentLoaderIcon, AddIcon, CircleArrowRight, FundacaoLogo, PieChartIcon, AlignCenterIcon, ClockIcon, CalendarCheckIcon, DevicePlusIcon, NotebookIcon, AgencyIcon, FundoSocialIcon, PlayIcon, AlignJustifyIcon, CloseIcon, GlobeIcon, QRCodeWhatsapp, AlignLeftIcon, CloudDownloadIcon, GraduationIcon, RedoIcon, AlignRightIcon, CloudUploadIcon, HamburgerIcon, RefreshIcon, ArrowLeftIcon, ComitesIcon, HandUpIcon, SearchIcon, ArrowRightIcon, ComunidadeIcon, HomeIcon, SettingsIcon, AssembleiasIcon, CreditIcon, InformationIcon, SicrediLogo, ATMIcon, CrescerIcon, InvestimentIcon, SquaresIcon, BackOfficeIcon, CrescerLogo, ItalicIcon, SustentabilidadeIcon, BarChartIcon, DownloadIcon, LinkIcon, ThreeDotsLoader, BeeIcon, DraggableIcon, LinksUteisIcon, ThumbsUpIcon, BigPlayIcon, EditIcon, ListDotIcon, TimesCircleIcon, BoldIcon, EvidenciasIcon, ListIcon, TransferenciaIcon, CalendarIcon, ExclamationIcon, LoaderIcon, TrashIcon, CardsIcon, ExitIconArrowLeft, LocalIcon, TrianguloInferior, CataventoVerde, ExitIconArrowRight, LockIcon, TwoFileIcon, CheckCircleIcon, EyeIcon, MessageIcon, UnderlineIcon, CheckIcon, FilePlusIcon, MoneyFileIcon, UndoIcon, ChequeIcon, FilesIcon, NavigatorWithMouse, UserIcon, ChevronArrowDownIcon, FilterIcon, OptionsIcon, WebsiteIcon, ChevronArrowLeftIcon, FontColorIcon, ParticipantesIcon, };
221
+ Title as ModulosTitle, MoneyByMonth, MoneyMonthLineChart, NotaEdit, Notification, PageSubTitle, PageTitle, Paginator, PreviaVideo, ProgressBar, RadioButton, QRCode, Row, SearchBlocoDeNotas, Select, Switch, Table, TypedTable, TableFileNameAndAction, TableActions, TableWithOverflow, TextEditor, LeftCheckboxWithLabel, ActionsColumn, Tabs, Toast, ToastManager, Tooltip, TooltipManager, TopLoader, VideoItem, VideoPlayer, VideoModal, useCallbackedState, useCarouselBehaviour, useControlledTimer, useDraggableContainer, useDropOpened, useModalManager, useProgressiveCount, useScreenSize, useStorageState, useTimeElapsed, useToastManager, useValidatedState, AconteceuIcon, ChevronArrowRightIcon, FontIcon, PaymentIcon, AddCircleIcon, CircleArrowLeft, CopyIcon, QRCodeIcon, PrintIcon, FormacaoIcon, PercentLoaderIcon, AddIcon, CircleArrowRight, FundacaoLogo, PieChartIcon, AlignCenterIcon, ClockIcon, CalendarCheckIcon, DevicePlusIcon, NotebookIcon, AgencyIcon, FundoSocialIcon, PlayIcon, AlignJustifyIcon, CloseIcon, GlobeIcon, QRCodeWhatsapp, AlignLeftIcon, CloudDownloadIcon, GraduationIcon, RedoIcon, AlignRightIcon, CloudUploadIcon, HamburgerIcon, RefreshIcon, ArrowLeftIcon, ComitesIcon, HandUpIcon, SearchIcon, ArrowRightIcon, ComunidadeIcon, HomeIcon, SettingsIcon, AssembleiasIcon, CreditIcon, InformationIcon, SicrediLogo, ATMIcon, CrescerIcon, InvestimentIcon, SquaresIcon, BackOfficeIcon, CrescerLogo, ItalicIcon, SustentabilidadeIcon, BarChartIcon, DownloadIcon, LinkIcon, ThreeDotsLoader, BeeIcon, DraggableIcon, LinksUteisIcon, ThumbsUpIcon, BigPlayIcon, EditIcon, ListDotIcon, TimesCircleIcon, BoldIcon, EvidenciasIcon, ListIcon, TransferenciaIcon, CalendarIcon, ExclamationIcon, LoaderIcon, TrashIcon, CardsIcon, ExitIconArrowLeft, LocalIcon, TrianguloInferior, CataventoVerde, ExitIconArrowRight, LockIcon, TwoFileIcon, CheckCircleIcon, EyeIcon, MessageIcon, UnderlineIcon, CheckIcon, FilePlusIcon, MoneyFileIcon, UndoIcon, ChequeIcon, FilesIcon, NavigatorWithMouse, UserIcon, ChevronArrowDownIcon, FilterIcon, OptionsIcon, WebsiteIcon, ChevronArrowLeftIcon, FontColorIcon, ParticipantesIcon, };