plataforma-fundacao-componentes 2.26.13 → 2.26.15
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/README.md +18 -35
- package/dist/assets/icons/ATMIcon.d.ts +1 -3
- package/dist/assets/icons/AconteceuIcon.d.ts +1 -3
- package/dist/assets/icons/AddAssemblyIcon.d.ts +1 -3
- package/dist/assets/icons/AddIcon.d.ts +1 -3
- package/dist/assets/icons/AgencyIcon.d.ts +1 -3
- package/dist/assets/icons/AlertIcon.d.ts +1 -3
- package/dist/assets/icons/AlignCenterIcon.d.ts +1 -3
- package/dist/assets/icons/AlignJustifyIcon.d.ts +1 -3
- package/dist/assets/icons/AlignLeftIcon.d.ts +1 -3
- package/dist/assets/icons/AlignRightIcon.d.ts +1 -3
- package/dist/assets/icons/ArrowLeftIcon.d.ts +1 -3
- package/dist/assets/icons/ArrowRightIcon.d.ts +1 -3
- package/dist/assets/icons/AssembleiasIcon.d.ts +1 -3
- package/dist/assets/icons/BackOfficeIcon.d.ts +1 -3
- package/dist/assets/icons/BarChartIcon.d.ts +1 -3
- package/dist/assets/icons/BeeIcon.d.ts +1 -3
- package/dist/assets/icons/Bell16Icon.d.ts +2 -3
- package/dist/assets/icons/BellIcon.d.ts +2 -3
- package/dist/assets/icons/BigPlayIcon.d.ts +5 -6
- package/dist/assets/icons/BoldIcon.d.ts +1 -3
- package/dist/assets/icons/CalendarCheckIcon.d.ts +1 -3
- package/dist/assets/icons/CalendarIcon.d.ts +1 -3
- package/dist/assets/icons/CardsIcon.d.ts +1 -3
- package/dist/assets/icons/CataventoVerde.d.ts +2 -4
- package/dist/assets/icons/CheckCircleIcon.d.ts +1 -3
- package/dist/assets/icons/CheckIcon.d.ts +1 -3
- package/dist/assets/icons/ChequeIcon.d.ts +1 -3
- package/dist/assets/icons/ChevronArrowDownIcon.d.ts +1 -3
- package/dist/assets/icons/ChevronArrowLeftIcon.d.ts +1 -3
- package/dist/assets/icons/ChevronArrowRightIcon.d.ts +1 -3
- package/dist/assets/icons/CircleArrowLeft.d.ts +1 -3
- package/dist/assets/icons/CircleArrowRight.d.ts +1 -3
- package/dist/assets/icons/ClockIcon.d.ts +1 -3
- package/dist/assets/icons/CloseIcon.d.ts +1 -3
- package/dist/assets/icons/CloudDownloadIcon.d.ts +1 -3
- package/dist/assets/icons/CloudUploadIcon.d.ts +1 -3
- package/dist/assets/icons/ComitesIcon.d.ts +1 -3
- package/dist/assets/icons/ComunidadeIcon.d.ts +1 -3
- package/dist/assets/icons/CopyIcon.d.ts +1 -3
- package/dist/assets/icons/CreditIcon.d.ts +1 -3
- package/dist/assets/icons/CrescerIcon.d.ts +1 -3
- package/dist/assets/icons/CrescerLogo.d.ts +6 -13
- package/dist/assets/icons/DecreaseIcon.d.ts +1 -3
- package/dist/assets/icons/DevicePlusIcon.d.ts +1 -3
- package/dist/assets/icons/DownloadIcon.d.ts +1 -3
- package/dist/assets/icons/DraggableIcon.d.ts +1 -3
- package/dist/assets/icons/EditIcon.d.ts +1 -3
- package/dist/assets/icons/EvidenciasIcon.d.ts +1 -3
- package/dist/assets/icons/ExclamationIcon.d.ts +1 -3
- package/dist/assets/icons/ExitIconArrowLeft.d.ts +1 -3
- package/dist/assets/icons/ExitIconArrowRight.d.ts +1 -3
- package/dist/assets/icons/EyeIcon.d.ts +1 -3
- package/dist/assets/icons/FilePlusIcon.d.ts +1 -3
- package/dist/assets/icons/FilesIcon.d.ts +1 -3
- package/dist/assets/icons/FilterIcon.d.ts +1 -3
- package/dist/assets/icons/FontColorIcon.d.ts +3 -5
- package/dist/assets/icons/FontIcon.d.ts +1 -3
- package/dist/assets/icons/FormacaoIcon.d.ts +1 -3
- package/dist/assets/icons/FundacaoLogo.d.ts +8 -15
- package/dist/assets/icons/FundoSocialIcon.d.ts +1 -3
- package/dist/assets/icons/GlobeIcon.d.ts +1 -3
- package/dist/assets/icons/GraduationIcon.d.ts +1 -3
- package/dist/assets/icons/HamburgerIcon.d.ts +1 -3
- package/dist/assets/icons/HandUpIcon.d.ts +1 -3
- package/dist/assets/icons/HomeIcon.d.ts +1 -3
- package/dist/assets/icons/InformationIcon.d.ts +2 -3
- package/dist/assets/icons/InvestimentIcon.d.ts +1 -3
- package/dist/assets/icons/ItalicIcon.d.ts +1 -3
- package/dist/assets/icons/LinkIcon.d.ts +1 -3
- package/dist/assets/icons/LinksUteisIcon.d.ts +1 -3
- package/dist/assets/icons/ListDotIcon.d.ts +1 -3
- package/dist/assets/icons/ListIcon.d.ts +1 -3
- package/dist/assets/icons/LoaderIcon.d.ts +4 -11
- package/dist/assets/icons/LocalIcon.d.ts +1 -3
- package/dist/assets/icons/LockIcon.d.ts +1 -3
- package/dist/assets/icons/MessageIcon.d.ts +1 -3
- package/dist/assets/icons/MiniInformationIcon.d.ts +2 -3
- package/dist/assets/icons/MoneyFileIcon.d.ts +1 -3
- package/dist/assets/icons/NavigatorWithMouse.d.ts +1 -3
- package/dist/assets/icons/NotebookIcon.d.ts +1 -3
- package/dist/assets/icons/OptionsIcon.d.ts +1 -3
- package/dist/assets/icons/ParticipantesIcon.d.ts +1 -3
- package/dist/assets/icons/PaymentIcon.d.ts +1 -3
- package/dist/assets/icons/PercentLoaderIcon.d.ts +8 -9
- package/dist/assets/icons/PhonePlusIcon.d.ts +1 -3
- package/dist/assets/icons/PieChartIcon.d.ts +1 -3
- package/dist/assets/icons/PlayIcon.d.ts +1 -3
- package/dist/assets/icons/PrintIcon.d.ts +1 -3
- package/dist/assets/icons/QRCodeIcon.d.ts +1 -3
- package/dist/assets/icons/QRCodeWhatsapp.d.ts +8 -9
- package/dist/assets/icons/RedoIcon.d.ts +1 -3
- package/dist/assets/icons/RefreshIcon.d.ts +3 -10
- package/dist/assets/icons/SearchIcon.d.ts +1 -3
- package/dist/assets/icons/Settings16Icon.d.ts +1 -3
- package/dist/assets/icons/SettingsIcon.d.ts +1 -3
- package/dist/assets/icons/SicrediLogo.d.ts +8 -17
- package/dist/assets/icons/SquaresIcon.d.ts +1 -3
- package/dist/assets/icons/SustentabilidadeIcon.d.ts +1 -3
- package/dist/assets/icons/ThreeDots.d.ts +1 -3
- package/dist/assets/icons/ThreeDotsLoader.d.ts +8 -9
- package/dist/assets/icons/ThumbsUpIcon.d.ts +1 -3
- package/dist/assets/icons/TimesCircleIcon.d.ts +1 -3
- package/dist/assets/icons/TransferenciaIcon.d.ts +1 -3
- package/dist/assets/icons/TrashIcon.d.ts +1 -3
- package/dist/assets/icons/TrianguloInferior.d.ts +3 -9
- package/dist/assets/icons/TwoFileIcon.d.ts +1 -3
- package/dist/assets/icons/UnderlineIcon.d.ts +1 -3
- package/dist/assets/icons/UndoIcon.d.ts +1 -3
- package/dist/assets/icons/UserIcon.d.ts +1 -3
- package/dist/assets/icons/WebsiteIcon.d.ts +1 -3
- package/dist/assets/icons/index.d.ts +113 -0
- package/dist/components/accordion/Accordion.d.ts +16 -17
- package/dist/components/actionCard/ActionCard.d.ts +10 -17
- package/dist/components/animatedLink/AnimatedLink.d.ts +10 -16
- package/dist/components/banner/Banner.d.ts +6 -8
- package/dist/components/bigBlockButton/BigBlockButton.d.ts +9 -10
- package/dist/components/bottomNavigation/BottomNavigation.d.ts +14 -20
- package/dist/components/breadCrumb/BreadCrumb.d.ts +8 -15
- package/dist/components/button/Button.d.ts +17 -18
- package/dist/components/buttonFileUpload/ButtonFileUpload.d.ts +30 -42
- package/dist/components/calendar/Calendar.d.ts +22 -26
- package/dist/components/calendar/components/calendarChip/CalendarChip.d.ts +11 -15
- package/dist/components/calendar/components/calendarDays/CalendarDays.d.ts +23 -24
- package/dist/components/calendar/components/calendarHeader/CalendarHeader.d.ts +6 -8
- package/dist/components/calendar/components/calendarMonthDay/CalendarMonthDay.d.ts +21 -22
- package/dist/components/calendarEvent/CalendarEvent.d.ts +73 -77
- package/dist/components/card/Card.d.ts +9 -16
- package/dist/components/carousel/Carousel.d.ts +8 -16
- package/dist/components/carouselPersona/CarouselPersona.d.ts +11 -12
- package/dist/components/carouselTouchFrendly/CarouselTouchFrendly.d.ts +9 -10
- package/dist/components/chart/components/moneyMonthLineChart/MoneyMonthLineChart.d.ts +6 -16
- package/dist/components/chart/doughnutSquare/DoughnutSquare.d.ts +7 -9
- package/dist/components/chart/moneyByMonth/MoneyByMonth.d.ts +8 -18
- package/dist/components/checkbox/Checkbox.d.ts +294 -307
- package/dist/components/chip/Chip.d.ts +13 -14
- package/dist/components/col/Col.d.ts +1134 -1122
- package/dist/components/collapse/Collapse.d.ts +8 -16
- package/dist/components/container/Container.d.ts +17 -18
- package/dist/components/controlLabel/ControlLabel.d.ts +11 -12
- package/dist/components/datePicker/DatePicker.d.ts +12 -19
- package/dist/components/datePicker/components/datePickerCalendar/DatePickerCalendar.d.ts +14 -15
- package/dist/components/doughnut/Doughnut.d.ts +8 -10
- package/dist/components/dropdownItem/DropdownItem.d.ts +13 -14
- package/dist/components/dropdownMenu/DropdownMenu.d.ts +12 -13
- package/dist/components/dropdownSelector/DropdownSelector.d.ts +15 -16
- package/dist/components/elementPaginator/ElementPaginator.d.ts +10 -17
- package/dist/components/etapas/Etapas.d.ts +23 -31
- package/dist/components/etiqueta/Etiqueta.d.ts +10 -11
- package/dist/components/fileLoader/FileLoader.d.ts +10 -18
- package/dist/components/fileUpload/FileUpload.d.ts +18 -30
- package/dist/components/floatingPanel/FloatingPanel.d.ts +23 -24
- package/dist/components/footerSicredi/FooterSicredi.d.ts +9 -10
- package/dist/components/formattedText/FormattedText.d.ts +14 -14
- package/dist/components/fullHeightContainer/FullHeightContainer.d.ts +11 -12
- package/dist/components/header/Header.d.ts +30 -36
- package/dist/components/header/components/headerSeparator/HeaderSeparator.d.ts +6 -13
- package/dist/components/hourEvents/HourEvents.d.ts +21 -25
- package/dist/components/iconButton/IconButton.d.ts +12 -13
- package/dist/components/index.d.ts +88 -0
- package/dist/components/information/Information.d.ts +8 -15
- package/dist/components/inlineMonthPicker/InlineMonthPicker.d.ts +9 -16
- package/dist/components/input/Input.d.ts +17 -18
- package/dist/components/inputArea/InputArea.d.ts +22 -35
- package/dist/components/itemDropdownDownload/ItemDropdownDownload.d.ts +16 -19
- package/dist/components/menu/Menu.d.ts +17 -28
- package/dist/components/menu/components/menuItem/MenuItem.d.ts +28 -37
- package/dist/components/modal/Modal.d.ts +282 -287
- package/dist/components/modal/ModalMask.d.ts +10 -11
- package/dist/components/modal/ModalTypes.d.ts +32 -33
- package/dist/components/modalManager/ModalManager.d.ts +6 -8
- package/dist/components/notification/Notification.d.ts +14 -15
- package/dist/components/notificationPanel/NotificationPanel.d.ts +20 -21
- package/dist/components/pageTitle/PageTitle.d.ts +6 -18
- package/dist/components/pagination/Pagination.d.ts +25 -26
- package/dist/components/paginator/Paginator.d.ts +11 -16
- package/dist/components/previaVideo/PreviaVideo.d.ts +11 -12
- package/dist/components/qrcode/QRCode.d.ts +13 -20
- package/dist/components/radioButton/RadioButton.d.ts +15 -23
- package/dist/components/row/Row.d.ts +1106 -1094
- package/dist/components/scrollArrowOverflow/ScrollArrowOverflow.d.ts +8 -13
- package/dist/components/search/Search.d.ts +23 -29
- package/dist/components/select/Select.d.ts +39 -54
- package/dist/components/switch/Switch.d.ts +12 -13
- package/dist/components/table/Table.d.ts +46 -47
- package/dist/components/table/components/TableUpperHeader/TableUpperHeader.d.ts +25 -26
- package/dist/components/table/components/actionsColumn/ActionsColumn.d.ts +4 -11
- package/dist/components/table/components/leftControlWithLabel/LeftControlWithLabel.d.ts +26 -27
- package/dist/components/tableActions/TableActions.d.ts +6 -15
- package/dist/components/tableFileNameAndAction/TableFileNameAndAction.d.ts +20 -24
- package/dist/components/tableWithOverflow/TableWithOverflow.d.ts +25 -31
- package/dist/components/tabs/Tabs.d.ts +15 -16
- package/dist/components/textEditor/TextEditor.d.ts +14 -21
- package/dist/components/textEditor/components/textEditorColorPicker/TextEditorColorPicker.d.ts +7 -9
- package/dist/components/textEditor/components/textEditorHeaderButton/TextEditorHeaderButton.d.ts +7 -8
- package/dist/components/textEditor/components/textEditorInput/TextEditorHeaderInput.d.ts +7 -8
- package/dist/components/textEditor/components/textEditorMenuButton/TextEditorMenuButton.d.ts +2 -3
- package/dist/components/textEditor/components/textEditorTitleChoser/TextEditorTitleChoser.d.ts +6 -8
- package/dist/components/textEditor/components/textEditorUrlCreator/TextEditorUrlCreator.d.ts +7 -9
- package/dist/components/title/Title.d.ts +13 -17
- package/dist/components/toast/Toast.d.ts +15 -26
- package/dist/components/toastManager/ToastManager.d.ts +18 -19
- package/dist/components/tooltip/Tooltip.d.ts +6 -16
- package/dist/components/tooltipElement/TooltipElement.d.ts +10 -11
- package/dist/components/tooltipManager/TooltipManager.d.ts +1 -8
- package/dist/components/topLoader/TopLoader.d.ts +8 -14
- package/dist/components/typography/Typography.d.ts +13 -14
- package/dist/components/verticalSlider/verticalSlider.d.ts +19 -20
- package/dist/components/videoModal/VideoModal.d.ts +274 -285
- package/dist/components/videoPlayer/VideoPlayer.d.ts +22 -29
- package/dist/hooks/index.d.ts +21 -0
- package/dist/hooks/useCallbackedState/useCallbackedState.d.ts +2 -2
- package/dist/hooks/useCarouselBehaviour/useCarouselBehaviour.d.ts +10 -11
- package/dist/hooks/useControlledTimer/useControlledTimer.d.ts +12 -12
- package/dist/hooks/useDraggableContainer/useDraggableContainer.d.ts +1 -1
- package/dist/hooks/useDraggableScroll/useDraggableScroll.d.ts +4 -4
- package/dist/hooks/useDropOpened/useDropOpened.d.ts +1 -1
- package/dist/hooks/useEvent/useEvent.d.ts +6 -6
- package/dist/hooks/useFloatingPanel/useFloatingPanel.d.ts +20 -21
- package/dist/hooks/useHTMLShare/useHTMLShare.d.ts +18 -18
- package/dist/hooks/useModalManager/useModalManager.d.ts +6 -4
- package/dist/hooks/useOutsideClick/useOutsideClick.d.ts +4 -4
- package/dist/hooks/usePagination/usePagination.d.ts +33 -33
- package/dist/hooks/useProgressiveCount/useProgressiveCount.d.ts +2 -2
- package/dist/hooks/usePublicMenuList/usePublicMenuList.d.ts +23 -23
- package/dist/hooks/useScreenSize/useScreenSize.d.ts +8 -8
- package/dist/hooks/useScrollTo/useScrollTo.d.ts +9 -9
- package/dist/hooks/useStorageState/useStorageState.d.ts +2 -2
- package/dist/hooks/useSystemInfo/useSystemInfo.d.ts +6 -6
- package/dist/hooks/useTimeElapsed/useTimeElapsed.d.ts +1 -1
- package/dist/hooks/useToastManager/useToastManager.d.ts +16 -19
- package/dist/hooks/useValidatedState/useValidatedState.d.ts +12 -8
- package/dist/index-CVYiT2ns.js +44214 -0
- package/dist/index.d.ts +7 -246
- package/dist/index.es-C6jPfyRn.js +5618 -0
- package/dist/index.js +251 -45090
- package/dist/index.umd.cjs +411 -0
- package/dist/libraries/ActionCardThemes.d.ts +6 -6
- package/dist/libraries/ButtonTheme.d.ts +20 -20
- package/dist/libraries/CardThemes.d.ts +4 -4
- package/dist/libraries/CheckboxThemes.d.ts +6 -6
- package/dist/libraries/ControlLabelPosition.d.ts +6 -6
- package/dist/libraries/EtiquetasThemes.d.ts +18 -18
- package/dist/libraries/FileTypes.d.ts +27 -27
- package/dist/libraries/FundacaoLogoThemes.d.ts +6 -6
- package/dist/libraries/HeaderSeparatorThemes.d.ts +2 -2
- package/dist/libraries/HeaderThemes.d.ts +6 -6
- package/dist/libraries/IconButtonTheme.d.ts +7 -7
- package/dist/libraries/ModalSize.d.ts +6 -6
- package/dist/libraries/Notification.d.ts +15 -15
- package/dist/libraries/Pautas.d.ts +6 -6
- package/dist/libraries/RadioButtonTheme.d.ts +4 -4
- package/dist/libraries/ScreenSizes.d.ts +7 -7
- package/dist/libraries/SicrediLogoThemes.d.ts +4 -4
- package/dist/libraries/System.d.ts +19 -19
- package/dist/libraries/Toast.d.ts +6 -6
- package/dist/libraries/Tooltips.d.ts +6 -6
- package/dist/libraries/index.d.ts +20 -0
- package/dist/models/menus.d.ts +22 -22
- package/dist/purify.es-BwOkayRK.js +471 -0
- package/dist/style.css +1 -0
- package/dist/utils/CalendarUtils.d.ts +43 -44
- package/dist/utils/HTMLutils.d.ts +23 -23
- package/dist/utils/LanguageUtils.d.ts +133 -146
- package/dist/utils/MaskUtils.d.ts +9 -9
- package/dist/utils/MoedaUtils.d.ts +3 -3
- package/dist/utils/ParsingUtils.d.ts +6 -6
- package/dist/utils/ScrollUtils.d.ts +7 -7
- package/dist/utils/ValidationUtils.d.ts +10 -10
- package/package.json +78 -80
- package/dist/assets/icons/Teste.d.ts +0 -3
- package/dist/components/accordion/Accordion.stories.d.ts +0 -10
- package/dist/components/actionCard/ActionCard.stories.d.ts +0 -9
- package/dist/components/animatedLink/AnimatedLink.stories.d.ts +0 -8
- package/dist/components/banner/Banner.stories.d.ts +0 -10
- package/dist/components/bigBlockButton/BigBlockButton.stories.d.ts +0 -19
- package/dist/components/bottomNavigation/BottomNavigation.stories.d.ts +0 -21
- package/dist/components/breadCrumb/BreadCrumb.stories.d.ts +0 -6
- package/dist/components/button/Button.stories.d.ts +0 -32
- package/dist/components/buttonFileUpload/ButtonFileUpload.stories.d.ts +0 -10
- package/dist/components/calendar/Calendar.stories.d.ts +0 -17
- package/dist/components/calendar/components/calendarWeekDay/CalendarWeekDay.d.ts +0 -2
- package/dist/components/calendarEvent/CalendarEvent.stories.d.ts +0 -26
- package/dist/components/card/Card.stories.d.ts +0 -9
- package/dist/components/carousel/Carousel.stories.d.ts +0 -7
- package/dist/components/carouselPersona/CarouselPersona.stories.d.ts +0 -6
- package/dist/components/carouselTouchFrendly/CarouselTouchFrendly.stories.d.ts +0 -7
- package/dist/components/chart/doughnutSquare/DoughnutSquare.stories.d.ts +0 -10
- package/dist/components/chart/moneyByMonth/MoneyByMonth.stories.d.ts +0 -9
- package/dist/components/checkbox/Checkbox.stories.d.ts +0 -10
- package/dist/components/chip/Chip.stories.d.ts +0 -16
- package/dist/components/col/Col.stories.d.ts +0 -8
- package/dist/components/collapse/Collapse.stories.d.ts +0 -6
- package/dist/components/container/Container.stories.d.ts +0 -7
- package/dist/components/controlLabel/ControlLabel.stories.d.ts +0 -10
- package/dist/components/datePicker/DatePicker.stories.d.ts +0 -8
- package/dist/components/doughnut/Doughnut.stories.d.ts +0 -22
- package/dist/components/dropdownMenu/DropdownMenu.stories.d.ts +0 -10
- package/dist/components/dropdownSelector/DropdownSelector.stories.d.ts +0 -8
- package/dist/components/elementPaginator/ElementPaginator.stories.d.ts +0 -6
- package/dist/components/etapas/Etapas.stories.d.ts +0 -11
- package/dist/components/etiqueta/Etiqueta.stories.d.ts +0 -29
- package/dist/components/fileLoader/FileLoader.stories.d.ts +0 -8
- package/dist/components/fileUpload/FileUpload.stories.d.ts +0 -15
- package/dist/components/floatingPanel/FloatingPanel.stories.d.ts +0 -6
- package/dist/components/footerSicredi/FooterSicredi.stories.d.ts +0 -10
- package/dist/components/formattedText/FormattedText.stories.d.ts +0 -6
- package/dist/components/fullHeightContainer/FullHeightContainer.stories.d.ts +0 -8
- package/dist/components/header/Header.stories.d.ts +0 -13
- package/dist/components/hourEvents/HourEvents.stories.d.ts +0 -24
- package/dist/components/iconButton/IconButton.stories.d.ts +0 -8
- package/dist/components/information/Information.stories.d.ts +0 -21
- package/dist/components/inlineMonthPicker/InlineMonthPicker.stories.d.ts +0 -7
- package/dist/components/input/Input.stories.d.ts +0 -20
- package/dist/components/inputArea/InputArea.stories.d.ts +0 -17
- package/dist/components/itemDropdownDownload/ItemDropdownDownload.stories.d.ts +0 -8
- package/dist/components/menu/Menu.stories.d.ts +0 -13
- package/dist/components/menu/components/menuItem/MenuItem.stories.d.ts +0 -9
- package/dist/components/modal/Modal.stories.d.ts +0 -14
- package/dist/components/modalManager/ModalManager.stories.d.ts +0 -8
- package/dist/components/notification/Notification.stories.d.ts +0 -8
- package/dist/components/notificationPanel/NotificationPanel.stories.d.ts +0 -6
- package/dist/components/pageTitle/PageTitle.stories.d.ts +0 -8
- package/dist/components/pagination/Pagination.stories.d.ts +0 -47
- package/dist/components/paginator/Paginator.stories.d.ts +0 -17
- package/dist/components/previaVideo/PreviaVideo.stories.d.ts +0 -9
- package/dist/components/qrcode/QRCode.stories.d.ts +0 -14
- package/dist/components/radioButton/RadioButton.stories.d.ts +0 -10
- package/dist/components/row/Row.stories.d.ts +0 -6
- package/dist/components/scrollArrowOverflow/ScrollArrowOverflow.stories.d.ts +0 -16
- package/dist/components/search/Search.stories.d.ts +0 -9
- package/dist/components/select/Select.stories.d.ts +0 -25
- package/dist/components/switch/Switch.stories.d.ts +0 -6
- package/dist/components/table/Table.stories.d.ts +0 -15
- package/dist/components/tableFileNameAndAction/TableFileNameAndAction.stories.d.ts +0 -8
- package/dist/components/tableWithOverflow/TableWithOverflow.stories.d.ts +0 -9
- package/dist/components/tabs/Tabs.stories.d.ts +0 -7
- package/dist/components/textEditor/TextEditor.stories.d.ts +0 -12
- package/dist/components/title/Title.stories.d.ts +0 -45
- package/dist/components/toast/Toast.stories.d.ts +0 -12
- package/dist/components/toastManager/ToastManager.stories.d.ts +0 -6
- package/dist/components/tooltip/Tooltip.stories.d.ts +0 -9
- package/dist/components/tooltipElement/TooltipElement.stories.d.ts +0 -8
- package/dist/components/tooltipManager/TooltipManager.stories.d.ts +0 -8
- package/dist/components/topLoader/TopLoader.stories.d.ts +0 -7
- package/dist/components/typography/Typography.stories.d.ts +0 -39
- package/dist/components/verticalSlider/verticalSlider.stories.d.ts +0 -13
- package/dist/components/videoModal/VideoModal.stories.d.ts +0 -8
- package/dist/components/videoPlayer/VideoPlayer.stories.d.ts +0 -11
- package/dist/createComponent.d.ts +0 -1
- package/dist/docs/colors/Colors.d.ts +0 -5
- package/dist/docs/icons/DynamicIcon.d.ts +0 -6
- package/dist/docs/icons/Icones.d.ts +0 -4
- package/dist/hooks/useCallbackedState/useCallbackedState.stories.d.ts +0 -8
- package/dist/hooks/useControlledTimer/useControlledTimer.stories.d.ts +0 -8
- package/dist/hooks/useDebounce/useDebounce.d.ts +0 -5
- package/dist/hooks/useDebounce/useDebounce.stories.d.ts +0 -10
- package/dist/hooks/useFloatingPanel/useFloatingPanel.stories.d.ts +0 -8
- package/dist/hooks/useHTMLShare/useHTMLShare.stories.d.ts +0 -6
- package/dist/hooks/useModalManager/useModalManager.stories.d.ts +0 -8
- package/dist/hooks/usePosition/usePosition.d.ts +0 -0
- package/dist/hooks/useProgressiveCount/useProgressiveCount.stories.d.ts +0 -8
- package/dist/hooks/useScreenSize/useScreenSize.stories.d.ts +0 -8
- package/dist/hooks/useScrollTo/useScrollTo.stories.d.ts +0 -10
- package/dist/hooks/useStorageState/useStorageState.stories.d.ts +0 -10
- package/dist/hooks/useSystemInfo/useSystemInfo.stories.d.ts +0 -6
- package/dist/hooks/useTimeElapsed/useTimeElapsed.stories.d.ts +0 -8
- package/dist/hooks/useToastManager/useToastManager.stories.d.ts +0 -8
- package/dist/hooks/useValidatedState/useValidatedState.stories.d.ts +0 -8
- package/dist/index.css +0 -9136
- package/dist/index.js.map +0 -1
- package/dist/index.modern.js +0 -44882
- package/dist/index.modern.js.map +0 -1
- package/dist/utils/ArrayUtils.d.ts +0 -16
- package/dist/utils/DropdownUtils.d.ts +0 -4
|
@@ -1,29 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
declare function VideoPlayer(props: VideoPlayerProps): React.JSX.Element;
|
|
24
|
-
declare namespace VideoPlayer {
|
|
25
|
-
var defaultProps: {
|
|
26
|
-
formatUrl: boolean;
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
export default VideoPlayer;
|
|
1
|
+
import { IframeHTMLAttributes } from 'react';
|
|
2
|
+
export interface VideoPlayerProps {
|
|
3
|
+
id?: string;
|
|
4
|
+
url?: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
blackGround?: boolean;
|
|
7
|
+
className?: string;
|
|
8
|
+
iframeProps?: IframeHTMLAttributes<HTMLIFrameElement>;
|
|
9
|
+
formatUrl?: boolean;
|
|
10
|
+
blockRedirect?: boolean;
|
|
11
|
+
autoPlay?: boolean;
|
|
12
|
+
callBackStarted?: (id: string) => void;
|
|
13
|
+
callBackPaused?: (id: string) => void;
|
|
14
|
+
callBackStopped?: (id: string) => void;
|
|
15
|
+
}
|
|
16
|
+
declare global {
|
|
17
|
+
interface Window {
|
|
18
|
+
onYouTubeIframeAPIReady?: (pid?: any) => void;
|
|
19
|
+
YT?: any;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
export default function VideoPlayer({ formatUrl, ...props }: VideoPlayerProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import useCallbackedState from './useCallbackedState/useCallbackedState';
|
|
2
|
+
import useCarouselBehaviour from './useCarouselBehaviour/useCarouselBehaviour';
|
|
3
|
+
import useControlledTimer from './useControlledTimer/useControlledTimer';
|
|
4
|
+
import useDraggableContainer from './useDraggableContainer/useDraggableContainer';
|
|
5
|
+
import useDropOpened from './useDropOpened/useDropOpened';
|
|
6
|
+
import useEvent from './useEvent/useEvent';
|
|
7
|
+
import useFloatingPanel from './useFloatingPanel/useFloatingPanel';
|
|
8
|
+
import useHTMLShare from './useHTMLShare/useHTMLShare';
|
|
9
|
+
import useModalManager from './useModalManager/useModalManager';
|
|
10
|
+
import useOutsideClick from './useOutsideClick/useOutsideClick';
|
|
11
|
+
import usePagination from './usePagination/usePagination';
|
|
12
|
+
import useProgressiveCount from './useProgressiveCount/useProgressiveCount';
|
|
13
|
+
import usePublicMenuList from './usePublicMenuList/usePublicMenuList';
|
|
14
|
+
import useScreenSize from './useScreenSize/useScreenSize';
|
|
15
|
+
import useScrollTo from './useScrollTo/useScrollTo';
|
|
16
|
+
import useStorageState from './useStorageState/useStorageState';
|
|
17
|
+
import useSystemInfo from './useSystemInfo/useSystemInfo';
|
|
18
|
+
import useTimeElapsed from './useTimeElapsed/useTimeElapsed';
|
|
19
|
+
import useToastManager from './useToastManager/useToastManager';
|
|
20
|
+
import useValidatedState from './useValidatedState/useValidatedState';
|
|
21
|
+
export { useCallbackedState, useCarouselBehaviour, useControlledTimer, useDraggableContainer, useDropOpened, useEvent, useFloatingPanel, useHTMLShare, useModalManager, useOutsideClick, usePagination, useProgressiveCount, usePublicMenuList, useScreenSize, useScrollTo, useStorageState, useSystemInfo, useTimeElapsed, useToastManager, useValidatedState, };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
-
export default function useCallbackedState<T = any>(callback: (newValue: any) => void, initialValue?: T | undefined): [T | undefined, Dispatch<SetStateAction<T | undefined>>];
|
|
1
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
+
export default function useCallbackedState<T = any>(callback: (newValue: any) => void, initialValue?: T | undefined): [T | undefined, Dispatch<SetStateAction<T | undefined>>];
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
newAtual
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export default useCarouselBehaviour;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface CarouselBehaviourProps {
|
|
3
|
+
atual: number;
|
|
4
|
+
newAtual?: number;
|
|
5
|
+
setAtual: (newAtual: number) => void;
|
|
6
|
+
slides: any[];
|
|
7
|
+
draggable?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare function useCarouselBehaviour(props: CarouselBehaviourProps): [React.ReactNode, (newAtual: number, onScroll: boolean) => void];
|
|
10
|
+
export default useCarouselBehaviour;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Dispatch } from 'react';
|
|
2
|
-
interface
|
|
3
|
-
timeout?: number;
|
|
4
|
-
callbackTrigger: () => void;
|
|
5
|
-
}
|
|
6
|
-
export declare enum TimerStatus {
|
|
7
|
-
Running = "running",
|
|
8
|
-
Paused = "paused",
|
|
9
|
-
Stopped = "stopped"
|
|
10
|
-
}
|
|
11
|
-
export default function useControlledTimer(props:
|
|
12
|
-
export {};
|
|
1
|
+
import { Dispatch } from 'react';
|
|
2
|
+
interface ControlledTimerProps {
|
|
3
|
+
timeout?: number;
|
|
4
|
+
callbackTrigger: () => void;
|
|
5
|
+
}
|
|
6
|
+
export declare enum TimerStatus {
|
|
7
|
+
Running = "running",
|
|
8
|
+
Paused = "paused",
|
|
9
|
+
Stopped = "stopped"
|
|
10
|
+
}
|
|
11
|
+
export default function useControlledTimer(props: ControlledTimerProps): [Dispatch<'play' | 'pause' | 'restart' | 'stop'>, TimerStatus | undefined];
|
|
12
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function useDraggableContainer(queryContainer: string, size?: number): void;
|
|
1
|
+
export default function useDraggableContainer(queryContainer: string, size?: number): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export default function useDraggableScroll<T extends HTMLElement>(reference: React.RefObject<T>, options?: {
|
|
3
|
-
mouseDownCondition: (target: HTMLElement) => boolean;
|
|
4
|
-
}): void;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export default function useDraggableScroll<T extends HTMLElement>(reference: React.RefObject<T>, options?: {
|
|
3
|
+
mouseDownCondition: (target: HTMLElement) => boolean;
|
|
4
|
+
}): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function useDropOpened<R>(initialState?: R | undefined): [R | undefined, (reference: R, value: boolean) => void];
|
|
1
|
+
export default function useDropOpened<R>(initialState?: R | undefined): [R | undefined, (reference: R, value: boolean) => void];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AnimationEvent, FormEvent, KeyboardEvent, MouseEvent, UIEvent, WheelEvent } from 'react';
|
|
2
|
-
export default function useEvent(events: {
|
|
3
|
-
target?: HTMLElement;
|
|
4
|
-
handler: (event: MouseEvent | KeyboardEvent | WheelEvent | UIEvent | Event | AnimationEvent | FormEvent) => void;
|
|
5
|
-
event: keyof DocumentEventMap;
|
|
6
|
-
}[]): void;
|
|
1
|
+
import { AnimationEvent, FormEvent, KeyboardEvent, MouseEvent, UIEvent, WheelEvent } from 'react';
|
|
2
|
+
export default function useEvent(events: {
|
|
3
|
+
target?: HTMLElement;
|
|
4
|
+
handler: (event: MouseEvent | KeyboardEvent | WheelEvent | UIEvent | Event | AnimationEvent | FormEvent) => void;
|
|
5
|
+
event: keyof DocumentEventMap;
|
|
6
|
+
}[]): void;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
};
|
|
1
|
+
import { Placement, UseFloatingOptions } from '@floating-ui/react';
|
|
2
|
+
export interface FloatingPanelProps {
|
|
3
|
+
stateOpened: [boolean, (v: boolean) => void];
|
|
4
|
+
matchWidth?: boolean;
|
|
5
|
+
offset?: number;
|
|
6
|
+
/**
|
|
7
|
+
* Utilize useState para essas refs!
|
|
8
|
+
*/
|
|
9
|
+
elements?: UseFloatingOptions['elements'];
|
|
10
|
+
placement?: Placement;
|
|
11
|
+
strategy?: UseFloatingOptions['strategy'];
|
|
12
|
+
fallbackPlacements?: Placement[];
|
|
13
|
+
heightAvaliableCallback?: (height: number) => void;
|
|
14
|
+
}
|
|
15
|
+
export default function useFloatingPanel({ stateOpened, matchWidth, offset, placement, strategy, fallbackPlacements, heightAvaliableCallback, elements, }: FloatingPanelProps): {
|
|
16
|
+
panelRef: ((node: HTMLElement | null) => void) & ((node: HTMLElement | null) => void);
|
|
17
|
+
panelStyles: import("react").CSSProperties;
|
|
18
|
+
anchorRef: ((node: import("@floating-ui/react-dom").ReferenceType | null) => void) & ((node: import("@floating-ui/react").ReferenceType | null) => void);
|
|
19
|
+
isMounted: boolean;
|
|
20
|
+
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { RefObject } from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
pdfWidth?: number;
|
|
5
|
-
pdfHeight?: number;
|
|
6
|
-
imageWidth?: number;
|
|
7
|
-
imageHeight?: number;
|
|
8
|
-
imageX?: number;
|
|
9
|
-
imageY?: number;
|
|
10
|
-
quality?: number;
|
|
11
|
-
orientation?: 'p' | 'portrait' | 'l' | 'landscape';
|
|
12
|
-
scale?: number;
|
|
13
|
-
};
|
|
14
|
-
export default function useHTMLShare(): {
|
|
15
|
-
print: (element: queryElementOrRef) => Promise<void>;
|
|
16
|
-
pdf: (elementOrQuerySelector: queryElementOrRef, fileName: string, options?: ((canvas: HTMLCanvasElement) => pdfOptions) | undefined, scale?: number) => Promise<void>;
|
|
17
|
-
};
|
|
18
|
-
export {};
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
type queryElementOrRef = string | JSX.Element | RefObject<HTMLElement>;
|
|
3
|
+
type pdfOptions = {
|
|
4
|
+
pdfWidth?: number;
|
|
5
|
+
pdfHeight?: number;
|
|
6
|
+
imageWidth?: number;
|
|
7
|
+
imageHeight?: number;
|
|
8
|
+
imageX?: number;
|
|
9
|
+
imageY?: number;
|
|
10
|
+
quality?: number;
|
|
11
|
+
orientation?: 'p' | 'portrait' | 'l' | 'landscape';
|
|
12
|
+
scale?: number;
|
|
13
|
+
};
|
|
14
|
+
export default function useHTMLShare(): {
|
|
15
|
+
print: (element: queryElementOrRef) => Promise<void>;
|
|
16
|
+
pdf: (elementOrQuerySelector: queryElementOrRef, fileName: string, options?: ((canvas: HTMLCanvasElement) => pdfOptions) | undefined, scale?: number) => Promise<void>;
|
|
17
|
+
};
|
|
18
|
+
export {};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export default function useModalManager(): [
|
|
3
|
+
React.ReactNode,
|
|
4
|
+
<C extends React.ElementType, P extends React.ComponentProps<C>>(component: C, modalProps: P) => void,
|
|
5
|
+
(modalKey: string | number) => void
|
|
6
|
+
];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RefObject } from 'react';
|
|
2
|
-
export default function useOutsideClick(refs: Array<RefObject<null | HTMLButtonElement | HTMLDivElement | HTMLInputElement | HTMLLabelElement | HTMLParagraphElement | HTMLSpanElement>>, handler: (isInside: boolean) => void, options?: {
|
|
3
|
-
events: (keyof DocumentEventMap)[];
|
|
4
|
-
}): void;
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
export default function useOutsideClick(refs: Array<RefObject<null | HTMLButtonElement | HTMLDivElement | HTMLInputElement | HTMLLabelElement | HTMLParagraphElement | HTMLSpanElement>>, handler: (isInside: boolean) => void, options?: {
|
|
3
|
+
events: (keyof DocumentEventMap)[];
|
|
4
|
+
}): void;
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { ChangeEvent, MouseEvent } from 'react';
|
|
2
|
-
interface PaginationProps {
|
|
3
|
-
boundaryCount?: number;
|
|
4
|
-
count?: number;
|
|
5
|
-
currentPage?: number;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
hideNextButton?: boolean;
|
|
8
|
-
hidePrevButton?: boolean;
|
|
9
|
-
onChange?: (event: ChangeEvent<unknown>, value: number) => void;
|
|
10
|
-
page?: number | undefined;
|
|
11
|
-
siblingCount?: number | boolean;
|
|
12
|
-
maxLength?: number;
|
|
13
|
-
[key: string]: unknown;
|
|
14
|
-
}
|
|
15
|
-
export default function usePagination(props?: PaginationProps): {
|
|
16
|
-
items: ({
|
|
17
|
-
onClick: (event: MouseEvent<unknown>) => void;
|
|
18
|
-
type: string;
|
|
19
|
-
page: number;
|
|
20
|
-
selected: boolean;
|
|
21
|
-
disabled: boolean;
|
|
22
|
-
'aria-current': string | undefined;
|
|
23
|
-
} | {
|
|
24
|
-
onClick: (event: MouseEvent<unknown>) => void;
|
|
25
|
-
type: string;
|
|
26
|
-
page: number | null;
|
|
27
|
-
selected: boolean;
|
|
28
|
-
disabled: boolean;
|
|
29
|
-
'aria-current'?: undefined;
|
|
30
|
-
})[];
|
|
31
|
-
pageCurrent: number | undefined;
|
|
32
|
-
};
|
|
33
|
-
export {};
|
|
1
|
+
import { ChangeEvent, MouseEvent } from 'react';
|
|
2
|
+
interface PaginationProps {
|
|
3
|
+
boundaryCount?: number;
|
|
4
|
+
count?: number;
|
|
5
|
+
currentPage?: number;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
hideNextButton?: boolean;
|
|
8
|
+
hidePrevButton?: boolean;
|
|
9
|
+
onChange?: (event: ChangeEvent<unknown>, value: number) => void;
|
|
10
|
+
page?: number | undefined;
|
|
11
|
+
siblingCount?: number | boolean;
|
|
12
|
+
maxLength?: number;
|
|
13
|
+
[key: string]: unknown;
|
|
14
|
+
}
|
|
15
|
+
export default function usePagination(props?: PaginationProps): {
|
|
16
|
+
items: ({
|
|
17
|
+
onClick: (event: MouseEvent<unknown>) => void;
|
|
18
|
+
type: string;
|
|
19
|
+
page: number;
|
|
20
|
+
selected: boolean;
|
|
21
|
+
disabled: boolean;
|
|
22
|
+
'aria-current': string | undefined;
|
|
23
|
+
} | {
|
|
24
|
+
onClick: (event: MouseEvent<unknown>) => void;
|
|
25
|
+
type: string;
|
|
26
|
+
page: number | null;
|
|
27
|
+
selected: boolean;
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
'aria-current'?: undefined;
|
|
30
|
+
})[];
|
|
31
|
+
pageCurrent: number | undefined;
|
|
32
|
+
};
|
|
33
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare function useProgressiveCount(initialValue?: number): [number | undefined | null, (newValue: number) => void];
|
|
2
|
-
export default useProgressiveCount;
|
|
1
|
+
declare function useProgressiveCount(initialValue?: number): [number | undefined | null, (newValue: number) => void];
|
|
2
|
+
export default useProgressiveCount;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { MenuItemProps } from '../../components/menu/components/menuItem/MenuItem';
|
|
2
|
-
import { Item } from '../../models/menus';
|
|
3
|
-
interface Props {
|
|
4
|
-
roles?: string[];
|
|
5
|
-
idFerramenta: string;
|
|
6
|
-
menus: Item[];
|
|
7
|
-
menusLoading?: boolean;
|
|
8
|
-
history: {
|
|
9
|
-
push: (url: string) => void;
|
|
10
|
-
location: unknown;
|
|
11
|
-
};
|
|
12
|
-
getProgramaLabel: (str: string) => string;
|
|
13
|
-
openModalProfileWarning: (label: string, plural?: boolean, isPerfil?: boolean, labelPrograma?: boolean) => void;
|
|
14
|
-
allProfilesForProgramas: {
|
|
15
|
-
[k: string]: string[];
|
|
16
|
-
};
|
|
17
|
-
isRoute: (str: string, reg: RegExp | string) => boolean;
|
|
18
|
-
closeMenu: () => void;
|
|
19
|
-
incongruencia?: boolean;
|
|
20
|
-
openModalIncongruencia?: () => void;
|
|
21
|
-
}
|
|
22
|
-
export default function usePublicMenuList(props: Props): MenuItemProps[];
|
|
23
|
-
export {};
|
|
1
|
+
import { MenuItemProps } from '../../components/menu/components/menuItem/MenuItem';
|
|
2
|
+
import { Item } from '../../models/menus';
|
|
3
|
+
interface Props {
|
|
4
|
+
roles?: string[];
|
|
5
|
+
idFerramenta: string;
|
|
6
|
+
menus: Item[];
|
|
7
|
+
menusLoading?: boolean;
|
|
8
|
+
history: {
|
|
9
|
+
push: (url: string) => void;
|
|
10
|
+
location: unknown;
|
|
11
|
+
};
|
|
12
|
+
getProgramaLabel: (str: string) => string;
|
|
13
|
+
openModalProfileWarning: (label: string, plural?: boolean, isPerfil?: boolean, labelPrograma?: boolean) => void;
|
|
14
|
+
allProfilesForProgramas: {
|
|
15
|
+
[k: string]: string[];
|
|
16
|
+
};
|
|
17
|
+
isRoute: (str: string, reg: RegExp | string) => boolean;
|
|
18
|
+
closeMenu: () => void;
|
|
19
|
+
incongruencia?: boolean;
|
|
20
|
+
openModalIncongruencia?: () => void;
|
|
21
|
+
}
|
|
22
|
+
export default function usePublicMenuList(props: Props): MenuItemProps[];
|
|
23
|
+
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ScreenSize } from '../../libraries/ScreenSizes';
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
size: IScreenSize;
|
|
5
|
-
rankedSize: ScreenSize;
|
|
6
|
-
};
|
|
7
|
-
export default function useScreenSize(): hookValue;
|
|
8
|
-
export {};
|
|
1
|
+
import { ScreenSize } from '../../libraries/ScreenSizes';
|
|
2
|
+
export type IScreenSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3
|
+
type hookValue = {
|
|
4
|
+
size: IScreenSize;
|
|
5
|
+
rankedSize: ScreenSize;
|
|
6
|
+
};
|
|
7
|
+
export default function useScreenSize(): hookValue;
|
|
8
|
+
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { RefObject } from 'react';
|
|
2
|
-
interface ScrollProps {
|
|
3
|
-
to: string | RefObject<HTMLElement>;
|
|
4
|
-
parent?: string;
|
|
5
|
-
offset?: number;
|
|
6
|
-
duration?: number;
|
|
7
|
-
}
|
|
8
|
-
export default function useScrollTo(): ({ to, parent, offset, duration, }: ScrollProps) => void;
|
|
9
|
-
export {};
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
interface ScrollProps {
|
|
3
|
+
to: string | RefObject<HTMLElement>;
|
|
4
|
+
parent?: string;
|
|
5
|
+
offset?: number;
|
|
6
|
+
duration?: number;
|
|
7
|
+
}
|
|
8
|
+
export default function useScrollTo(): ({ to, parent, offset, duration, }: ScrollProps) => void;
|
|
9
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
-
export default function useStorageState<T = unknown>(storage: Storage, key: string, initialValue?: T | undefined): [T | undefined, Dispatch<SetStateAction<T | undefined>>];
|
|
1
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
+
export default function useStorageState<T = unknown>(storage: Storage, key: string, initialValue?: T | undefined): [T | undefined, Dispatch<SetStateAction<T | undefined>>];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Browser, OS } from '../../libraries/System';
|
|
2
|
-
export default function useSystemInfo(): {
|
|
3
|
-
os: OS;
|
|
4
|
-
browser: Browser;
|
|
5
|
-
isMobile: boolean;
|
|
6
|
-
};
|
|
1
|
+
import { Browser, OS } from '../../libraries/System';
|
|
2
|
+
export default function useSystemInfo(): {
|
|
3
|
+
os: OS;
|
|
4
|
+
browser: Browser;
|
|
5
|
+
isMobile: boolean;
|
|
6
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function useTimeElapsed(timeLeftInSeconds: number, callBackZero?: () => void): number;
|
|
1
|
+
export default function useTimeElapsed(timeLeftInSeconds: number, callBackZero?: () => void): number;
|
|
@@ -1,19 +1,16 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ToastProps } from '../../components/toast/Toast';
|
|
3
|
-
export interface ToastManagerProps {
|
|
4
|
-
max?: number;
|
|
5
|
-
marginTop?: string | number;
|
|
6
|
-
verticalPosition?: 'top' | 'bottom';
|
|
7
|
-
horizontalPosition?: 'left' | 'right' | 'center';
|
|
8
|
-
reverse?: boolean;
|
|
9
|
-
animateSize?: boolean;
|
|
10
|
-
pauseOnFocusLoss?: boolean;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
export default useToastManager;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ToastProps } from '../../components/toast/Toast';
|
|
3
|
+
export interface ToastManagerProps {
|
|
4
|
+
max?: number;
|
|
5
|
+
marginTop?: string | number;
|
|
6
|
+
verticalPosition?: 'top' | 'bottom';
|
|
7
|
+
horizontalPosition?: 'left' | 'right' | 'center';
|
|
8
|
+
reverse?: boolean;
|
|
9
|
+
animateSize?: boolean;
|
|
10
|
+
pauseOnFocusLoss?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export default function useToastManager({ verticalPosition, horizontalPosition, ...props }: ToastManagerProps): [
|
|
13
|
+
React.ReactNode,
|
|
14
|
+
(toast: ToastProps) => void,
|
|
15
|
+
() => void
|
|
16
|
+
];
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
-
export default function useValidatedState<T = unknown>(validation: (value: T | undefined) => {
|
|
3
|
-
error: boolean;
|
|
4
|
-
text?: string;
|
|
5
|
-
}, initialValue?: T | undefined): [
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
+
export default function useValidatedState<T = unknown>(validation: (value: T | undefined) => {
|
|
3
|
+
error: boolean;
|
|
4
|
+
text?: string;
|
|
5
|
+
}, initialValue?: T | undefined): [
|
|
6
|
+
T | undefined,
|
|
7
|
+
Dispatch<SetStateAction<T | undefined>>,
|
|
8
|
+
{
|
|
9
|
+
error: boolean;
|
|
10
|
+
text?: string;
|
|
11
|
+
}
|
|
12
|
+
];
|