plataforma-fundacao-componentes 2.25.11 → 2.26.0

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.
Files changed (97) hide show
  1. package/dist/assets/icons/PercentLoaderIcon.d.ts +1 -1
  2. package/dist/assets/icons/ThreeDotsLoader.d.ts +3 -4
  3. package/dist/components/accordion/Accordion.stories.d.ts +9 -10
  4. package/dist/components/bigBlockButton/BigBlockButton.d.ts +4 -6
  5. package/dist/components/bottomNavigation/BottomNavigation.d.ts +1 -1
  6. package/dist/components/bottomNavigation/BottomNavigation.stories.d.ts +14 -14
  7. package/dist/components/breadCrumb/BreadCrumb.stories.d.ts +5 -6
  8. package/dist/components/button/Button.d.ts +6 -27
  9. package/dist/components/calendar/Calendar.d.ts +1 -1
  10. package/dist/components/calendar/components/calendarDays/CalendarDays.d.ts +4 -4
  11. package/dist/components/calendar/components/calendarMonthDay/CalendarMonthDay.d.ts +1 -1
  12. package/dist/components/card/Card.stories.d.ts +8 -7
  13. package/dist/components/carousel/Carousel.stories.d.ts +6 -7
  14. package/dist/components/carouselPersona/CarouselPersona.stories.d.ts +5 -6
  15. package/dist/components/carouselTouchFrendly/CarouselTouchFrendly.stories.d.ts +6 -7
  16. package/dist/components/chart/components/moneyMonthLineChart/MoneyMonthLineChart.d.ts +2 -1
  17. package/dist/components/chart/doughnutSquare/DoughnutSquare.stories.d.ts +9 -8
  18. package/dist/components/chart/moneyByMonth/MoneyByMonth.d.ts +2 -1
  19. package/dist/components/chart/moneyByMonth/MoneyByMonth.stories.d.ts +3 -2
  20. package/dist/components/checkbox/Checkbox.d.ts +0 -1
  21. package/dist/components/checkbox/Checkbox.stories.d.ts +9 -10
  22. package/dist/components/col/Col.stories.d.ts +6 -7
  23. package/dist/components/collapse/Collapse.stories.d.ts +5 -6
  24. package/dist/components/container/Container.stories.d.ts +6 -7
  25. package/dist/components/controlLabel/ControlLabel.d.ts +1 -1
  26. package/dist/components/datePicker/DatePicker.d.ts +1 -6
  27. package/dist/components/datePicker/DatePicker.stories.d.ts +7 -8
  28. package/dist/components/doughnut/Doughnut.d.ts +1 -6
  29. package/dist/components/doughnut/Doughnut.stories.d.ts +21 -25
  30. package/dist/components/elementPaginator/ElementPaginator.stories.d.ts +5 -6
  31. package/dist/components/etapas/Etapas.stories.d.ts +10 -11
  32. package/dist/components/etiqueta/Etiqueta.stories.d.ts +28 -34
  33. package/dist/components/fileLoader/FileLoader.stories.d.ts +7 -8
  34. package/dist/components/fileUpload/FileUpload.d.ts +1 -2
  35. package/dist/components/fileUpload/FileUpload.stories.d.ts +14 -13
  36. package/dist/components/footerSicredi/FooterSicredi.stories.d.ts +9 -10
  37. package/dist/components/fullHeightContainer/FullHeightContainer.stories.d.ts +7 -8
  38. package/dist/components/header/Header.d.ts +2 -3
  39. package/dist/components/header/Header.stories.d.ts +12 -13
  40. package/dist/components/iconButton/IconButton.d.ts +0 -1
  41. package/dist/components/iconButton/IconButton.stories.d.ts +7 -8
  42. package/dist/components/inputArea/InputArea.d.ts +0 -1
  43. package/dist/components/inputArea/InputArea.stories.d.ts +16 -17
  44. package/dist/components/menu/components/menuItem/MenuItem.d.ts +1 -2
  45. package/dist/components/menu/components/menuItem/MenuItem.stories.d.ts +8 -9
  46. package/dist/components/modal/Modal.d.ts +280 -20
  47. package/dist/components/modal/Modal.stories.d.ts +1 -0
  48. package/dist/components/modal/ModalMask.d.ts +2 -1
  49. package/dist/components/modal/ModalTypes.d.ts +3 -18
  50. package/dist/components/pageTitle/PageTitle.stories.d.ts +7 -6
  51. package/dist/components/pagination/Pagination.d.ts +1 -1
  52. package/dist/components/pagination/Pagination.stories.d.ts +46 -60
  53. package/dist/components/paginator/Paginator.stories.d.ts +16 -15
  54. package/dist/components/radioButton/RadioButton.d.ts +1 -2
  55. package/dist/components/row/Row.stories.d.ts +5 -6
  56. package/dist/components/select/Select.stories.d.ts +1 -0
  57. package/dist/components/switch/Switch.d.ts +0 -1
  58. package/dist/components/switch/Switch.stories.d.ts +8 -9
  59. package/dist/components/table/Table.d.ts +1 -1
  60. package/dist/components/tableFileNameAndAction/TableFileNameAndAction.d.ts +10 -9
  61. package/dist/components/tableFileNameAndAction/TableFileNameAndAction.stories.d.ts +7 -8
  62. package/dist/components/textEditor/TextEditor.d.ts +0 -1
  63. package/dist/components/textEditor/TextEditor.stories.d.ts +11 -12
  64. package/dist/components/textEditor/components/textEditorColorPicker/TextEditorColorPicker.d.ts +3 -8
  65. package/dist/components/textEditor/components/textEditorInput/TextEditorHeaderInput.d.ts +2 -7
  66. package/dist/components/textEditor/components/textEditorTitleChoser/TextEditorTitleChoser.d.ts +3 -8
  67. package/dist/components/textEditor/components/textEditorUrlCreator/TextEditorUrlCreator.d.ts +3 -8
  68. package/dist/components/toast/Toast.d.ts +0 -2
  69. package/dist/components/toastManager/ToastManager.d.ts +7 -1
  70. package/dist/components/toastManager/ToastManager.stories.d.ts +5 -6
  71. package/dist/components/tooltip/Tooltip.stories.d.ts +8 -9
  72. package/dist/components/tooltipManager/TooltipManager.stories.d.ts +7 -8
  73. package/dist/components/topLoader/TopLoader.stories.d.ts +6 -7
  74. package/dist/components/videoModal/VideoModal.d.ts +273 -10
  75. package/dist/components/videoPlayer/VideoPlayer.stories.d.ts +10 -11
  76. package/dist/hooks/useDebounce/useDebounce.d.ts +5 -0
  77. package/dist/hooks/useDebounce/useDebounce.stories.d.ts +10 -0
  78. package/dist/hooks/useHTMLShare/useHTMLShare.d.ts +1 -1
  79. package/dist/hooks/usePagination/usePagination.d.ts +1 -1
  80. package/dist/hooks/usePublicMenuList/usePublicMenuList.d.ts +1 -1
  81. package/dist/hooks/useScreenSize/useScreenSize.d.ts +7 -8
  82. package/dist/hooks/useStorageState/useStorageState.d.ts +1 -1
  83. package/dist/hooks/useToastManager/useToastManager.d.ts +1 -1
  84. package/dist/hooks/useValidatedState/useValidatedState.d.ts +1 -1
  85. package/dist/index.css +74 -75
  86. package/dist/index.d.ts +3 -2
  87. package/dist/index.js +2704 -2676
  88. package/dist/index.js.map +1 -1
  89. package/dist/index.modern.js +2380 -2351
  90. package/dist/index.modern.js.map +1 -1
  91. package/dist/libraries/ModalSize.d.ts +2 -1
  92. package/dist/libraries/ScreenSizes.d.ts +7 -0
  93. package/dist/utils/ArrayUtils.d.ts +1 -2
  94. package/dist/utils/HTMLutils.d.ts +3 -3
  95. package/dist/utils/MaskUtils.d.ts +8 -8
  96. package/dist/utils/ScrollUtils.d.ts +1 -1
  97. package/package.json +4 -4
package/dist/index.css CHANGED
@@ -1121,7 +1121,10 @@ h5 {
1121
1121
  margin-left: 4px; }
1122
1122
 
1123
1123
  .component-button-loader {
1124
- position: absolute; }
1124
+ position: absolute;
1125
+ display: flex;
1126
+ align-items: center;
1127
+ justify-content: center; }
1125
1128
 
1126
1129
  .component-button-hide {
1127
1130
  opacity: 0; }
@@ -5055,11 +5058,13 @@ header.component-header {
5055
5058
  display: flex;
5056
5059
  justify-content: center;
5057
5060
  align-items: center; }
5058
- @media screen and (max-width: 575.98px) {
5059
- .component-modal-mask.mobile-on-xs {
5060
- align-items: flex-end !important; } }
5061
+ .component-modal-mask.mobile {
5062
+ align-items: flex-end !important; }
5061
5063
 
5062
5064
  .component-modal {
5065
+ padding: 0;
5066
+ margin: 0;
5067
+ border: none;
5063
5068
  z-index: 986;
5064
5069
  background-color: #f8f9f7;
5065
5070
  min-height: 200px;
@@ -5069,25 +5074,31 @@ header.component-header {
5069
5074
  max-width: calc(100vw - 30px);
5070
5075
  display: flex;
5071
5076
  flex-flow: column; }
5072
- .component-modal.component-modal-extra-large {
5077
+ .component-modal-full-screen {
5078
+ width: 100vw;
5079
+ height: 100dvh;
5080
+ border-radius: 0;
5081
+ max-height: none !important;
5082
+ max-width: none !important; }
5083
+ .component-modal-extra-large {
5073
5084
  width: 900px; }
5074
- .component-modal.component-modal-large {
5085
+ .component-modal-large {
5075
5086
  width: 630px; }
5076
- .component-modal.component-modal-small {
5087
+ .component-modal-small {
5077
5088
  width: 410px; }
5078
5089
  @media (max-width: 575.98px) {
5079
- .component-modal.component-modal-small {
5090
+ .component-modal-small {
5080
5091
  width: 100%; } }
5081
- @media screen and (max-width: 575.98px) {
5082
- .component-modal.mobile-on-xs {
5083
- max-height: 75% !important;
5084
- max-width: 100% !important;
5085
- border-radius: 8px 8px 0 0; }
5086
- .component-modal.mobile-on-xs .component-modal-content {
5087
- max-height: calc(80vh - 72px - 72px) !important; }
5088
- .component-modal.mobile-on-xs .component-modal-footer {
5089
- width: 100%;
5090
- background-color: #f8f9f7; } }
5092
+ .component-modal.mobile {
5093
+ width: 100%;
5094
+ max-height: 78dvh !important;
5095
+ max-width: 100% !important;
5096
+ border-radius: 8px 8px 0 0; }
5097
+ .component-modal.mobile .component-modal-content {
5098
+ max-height: calc(80vh - 72px - 72px) !important; }
5099
+ .component-modal.mobile .component-modal-footer {
5100
+ width: 100%;
5101
+ background-color: #f8f9f7; }
5091
5102
  .component-modal .component-modal-header {
5092
5103
  flex: 0 1 56px;
5093
5104
  height: 56px;
@@ -5160,65 +5171,53 @@ header.component-header {
5160
5171
  warningLight: #ffeb98;
5161
5172
  warningDark: #765f00; }
5162
5173
 
5163
- .comp-modal-manager-mask-enter {
5174
+ :not(.mobile).comp-modal-manager-mask-enter {
5164
5175
  opacity: 0; }
5165
- .comp-modal-manager-mask-enter > * {
5176
+ :not(.mobile).comp-modal-manager-mask-enter > * {
5166
5177
  transform: scale(0.8); }
5167
5178
 
5168
- .comp-modal-manager-mask-enter-active {
5179
+ :not(.mobile).comp-modal-manager-mask-enter-active {
5169
5180
  transition: opacity 0.3s ease;
5170
5181
  opacity: 1; }
5171
- .comp-modal-manager-mask-enter-active > * {
5182
+ :not(.mobile).comp-modal-manager-mask-enter-active > * {
5172
5183
  transition: transform 0.3s ease;
5173
5184
  transform: scale(1); }
5174
5185
 
5175
- .comp-modal-manager-mask-exit {
5186
+ :not(.mobile).comp-modal-manager-mask-exit {
5176
5187
  transition: opacity 0.3s ease;
5177
5188
  opacity: 1; }
5178
- .comp-modal-manager-mask-exit > * {
5189
+ :not(.mobile).comp-modal-manager-mask-exit > * {
5179
5190
  transition: transform 0.3s ease;
5180
5191
  transform: scale(1); }
5181
5192
 
5182
- .comp-modal-manager-mask-exit-active {
5193
+ :not(.mobile).comp-modal-manager-mask-exit-active {
5183
5194
  opacity: 0; }
5184
- .comp-modal-manager-mask-exit-active > * {
5195
+ :not(.mobile).comp-modal-manager-mask-exit-active > * {
5185
5196
  transform: scale(0.8); }
5186
5197
 
5187
- .comp-modal-manager-mask-mobile-on-xs-enter {
5198
+ .mobile.comp-modal-manager-mask-enter {
5188
5199
  opacity: 0; }
5189
- .comp-modal-manager-mask-mobile-on-xs-enter > * {
5190
- transform: scale(0.8); }
5191
- @media screen and (max-width: 575.98px) {
5192
- .comp-modal-manager-mask-mobile-on-xs-enter > * {
5193
- transform: translateY(100%); } }
5200
+ .mobile.comp-modal-manager-mask-enter > * {
5201
+ transform: translateY(100%); }
5194
5202
 
5195
- .comp-modal-manager-mask-mobile-on-xs-enter-active {
5203
+ .mobile.comp-modal-manager-mask-enter-active {
5196
5204
  transition: opacity 0.3s ease;
5197
5205
  opacity: 1; }
5198
- .comp-modal-manager-mask-mobile-on-xs-enter-active > * {
5206
+ .mobile.comp-modal-manager-mask-enter-active > * {
5199
5207
  transition: transform 0.3s ease;
5200
- transform: scale(1); }
5201
- @media screen and (max-width: 575.98px) {
5202
- .comp-modal-manager-mask-mobile-on-xs-enter-active > * {
5203
- transform: translateY(0); } }
5208
+ transform: translateY(0); }
5204
5209
 
5205
- .comp-modal-manager-mask-mobile-on-xs-exit {
5210
+ .mobile.comp-modal-manager-mask-exit {
5206
5211
  transition: opacity 0.3s ease;
5207
5212
  opacity: 1; }
5208
- .comp-modal-manager-mask-mobile-on-xs-exit > * {
5213
+ .mobile.comp-modal-manager-mask-exit > * {
5209
5214
  transition: transform 0.3s ease;
5210
- transform: scale(1); }
5211
- @media screen and (max-width: 575.98px) {
5212
- .comp-modal-manager-mask-mobile-on-xs-exit > * {
5213
- transform: translateY(0); } }
5215
+ transform: translateY(0); }
5214
5216
 
5215
- .comp-modal-manager-mask-mobile-on-xs-exit-active {
5217
+ .mobile.comp-modal-manager-mask-exit-active {
5216
5218
  opacity: 0; }
5217
- .comp-modal-manager-mask-mobile-on-xs-exit-active > * {
5218
- transform: scale(0.8); }
5219
- @media screen and (max-width: 575.98px) {
5220
- .comp-modal-manager-mask-mobile-on-xs-exit-active > * {
5221
- transform: translateY(100%); } }
5219
+ .mobile.comp-modal-manager-mask-exit-active > * {
5220
+ transform: translateY(100%); }
5222
5221
 
5223
5222
  :export {
5224
5223
  widthXs: 575.98px;
@@ -6378,8 +6377,7 @@ h5 {
6378
6377
  margin-left: 16px; }
6379
6378
  .component-table-actions-column svg {
6380
6379
  width: 20px;
6381
- height: 20px;
6382
- color: #3fa110; }
6380
+ height: 20px; }
6383
6381
 
6384
6382
  :export {
6385
6383
  widthXs: 575.98px;
@@ -6478,9 +6476,9 @@ table.component-table {
6478
6476
  .component-table-item-dragging {
6479
6477
  cursor: grabbing; }
6480
6478
 
6481
- .grab-handle {
6482
- cursor: grab; }
6483
- .grab-handle:active {
6479
+ .grab-handle:not(:disabled) {
6480
+ cursor: grab !important; }
6481
+ .grab-handle:not(:disabled):active {
6484
6482
  cursor: grabbing; }
6485
6483
 
6486
6484
  .component-table-upper-header {
@@ -7925,6 +7923,9 @@ nav.component-tabs {
7925
7923
  warningDark: #765f00; }
7926
7924
 
7927
7925
  .video-modal {
7926
+ padding: 0;
7927
+ margin: 0;
7928
+ border: none;
7928
7929
  z-index: 986;
7929
7930
  position: relative;
7930
7931
  max-width: calc(100vw - 30px);
@@ -7961,54 +7962,52 @@ nav.component-tabs {
7961
7962
  max-height: calc(100vh - 30px);
7962
7963
  max-width: calc(100vw - 30px); }
7963
7964
 
7964
- .video-modal.video-modal-sm iframe {
7965
+ .video-modal.video-modal-small iframe {
7965
7966
  width: 750px;
7966
7967
  height: 421.875px; }
7967
7968
 
7968
7969
  @media screen and (max-width: 991.98px) {
7969
- .video-modal.video-modal-sm iframe {
7970
+ .video-modal.video-modal-small iframe {
7970
7971
  width: 90vw;
7971
7972
  height: 50.625vw; } }
7972
7973
 
7973
- .video-modal.video-modal-md iframe {
7974
+ .video-modal.video-modal-large iframe {
7974
7975
  width: 920px;
7975
7976
  height: 517.5px; }
7976
7977
 
7977
7978
  @media screen and (max-width: 991.98px) {
7978
- .video-modal.video-modal-md iframe {
7979
+ .video-modal.video-modal-large iframe {
7979
7980
  width: 90vw;
7980
7981
  height: 50.625vw; } }
7981
7982
 
7982
- .video-modal.video-modal-lg iframe {
7983
+ .video-modal.video-modal-extra-large iframe {
7983
7984
  width: 1150px;
7984
7985
  height: 646.875px; }
7985
7986
 
7986
7987
  @media screen and (max-width: 991.98px) {
7987
- .video-modal.video-modal-lg iframe {
7988
+ .video-modal.video-modal-extra-large iframe {
7988
7989
  width: 90vw;
7989
7990
  height: 50.625vw; } }
7990
7991
 
7991
- .video-modal.video-modal-full iframe {
7992
+ .video-modal.video-modal-full-screen iframe {
7992
7993
  width: 90vw;
7993
7994
  height: 90vh; }
7994
7995
 
7995
7996
  @media screen and (max-width: 991.98px) {
7996
- .video-modal.video-modal-full iframe {
7997
+ .video-modal.video-modal-full-screen iframe {
7997
7998
  width: 90vw;
7998
7999
  height: 50.625vw; } }
7999
8000
 
8000
- .video-modal.mobile-on-xs {
8001
- border-radius: 8px 8px 0 0; }
8002
- @media screen and (max-width: 575.98px) {
8003
- .video-modal.mobile-on-xs {
8004
- width: 100%;
8005
- max-width: 100% !important; }
8006
- .video-modal.mobile-on-xs iframe {
8007
- height: 56.25vw;
8008
- max-width: 100vw;
8009
- width: 100vw; }
8010
- .video-modal.mobile-on-xs .video-modal-video-row {
8011
- border-radius: 7px 7px 0 0; } }
8001
+ .video-modal.mobile {
8002
+ border-radius: 8px 8px 0 0;
8003
+ width: 100%;
8004
+ max-width: 100% !important; }
8005
+ .video-modal.mobile iframe {
8006
+ height: 56.25vw;
8007
+ max-width: 100vw;
8008
+ width: 100vw; }
8009
+ .video-modal.mobile .video-modal-video-row {
8010
+ border-radius: 7px 7px 0 0; }
8012
8011
 
8013
8012
  :export {
8014
8013
  widthXs: 575.98px;
package/dist/index.d.ts CHANGED
@@ -201,12 +201,12 @@ import FormattedText from './components/formattedText/FormattedText';
201
201
  import { LeftControlWithLabel } from './components/table/components/leftControlWithLabel/LeftControlWithLabel';
202
202
  export * from './components/modal/ModalTypes';
203
203
  export * from './libraries/ActionCardThemes';
204
- export * from './libraries/FileTypes';
205
204
  export * from './libraries/ButtonTheme';
206
- export * from './libraries/ControlLabelPosition';
207
205
  export * from './libraries/CardThemes';
208
206
  export * from './libraries/CheckboxThemes';
207
+ export * from './libraries/ControlLabelPosition';
209
208
  export * from './libraries/EtiquetasThemes';
209
+ export * from './libraries/FileTypes';
210
210
  export * from './libraries/FundacaoLogoThemes';
211
211
  export * from './libraries/HeaderSeparatorThemes';
212
212
  export * from './libraries/HeaderThemes';
@@ -215,6 +215,7 @@ export * from './libraries/ModalSize';
215
215
  export * from './libraries/Notification';
216
216
  export * from './libraries/Pautas';
217
217
  export * from './libraries/RadioButtonTheme';
218
+ export * from './libraries/ScreenSizes';
218
219
  export * from './libraries/SicrediLogoThemes';
219
220
  export * from './libraries/Toast';
220
221
  export * from './libraries/Tooltips';