uikit-react-public 0.50.7 → 0.50.12
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/Alert/Alert.d.ts +3 -3
- package/dist/components/Alert/Alert.stories.d.ts +3 -3
- package/dist/components/Alert/AlertMessage.d.ts +1 -1
- package/dist/components/Alert/AlertTitle.d.ts +1 -1
- package/dist/components/AppHeader/AppHeader.d.ts +1 -1
- package/dist/components/AppHeader/AppHeader.stories.d.ts +1 -1
- package/dist/components/AppHeader/AppHeaderBottom.d.ts +1 -1
- package/dist/components/AppHeader/AppHeaderNav.d.ts +1 -1
- package/dist/components/AppHeader/AppHeaderTop.d.ts +1 -1
- package/dist/components/AppMenu/AppMenu.d.ts +1 -1
- package/dist/components/AppMenu/AppMenu.stories.d.ts +1 -1
- package/dist/components/Badge/Badge.d.ts +1 -1
- package/dist/components/Badge/Badge.stories.d.ts +1 -1
- package/dist/components/BaseCheckbox/BaseCheckbox.d.ts +1 -1
- package/dist/components/BaseCheckbox/BaseCheckbox.stories.d.ts +1 -1
- package/dist/components/Breadcrumbs/Breadcrumb.d.ts +1 -1
- package/dist/components/BreadcrumbsNew/BaseBreadcrumbsItem.d.ts +1 -1
- package/dist/components/BreadcrumbsNew/BreadcrumbsCurrent.d.ts +1 -1
- package/dist/components/BreadcrumbsNew/BreadcrumbsLink.d.ts +1 -1
- package/dist/components/Button/Button.d.ts +1 -1
- package/dist/components/Button/Button.stories.d.ts +1 -1
- package/dist/components/Calendar/Calendar.d.ts +1 -1
- package/dist/components/Calendar/Calendar.stories.d.ts +1 -1
- package/dist/components/Calendar/subcomponents/AcademicWeek.d.ts +1 -1
- package/dist/components/Calendar/subcomponents/AcademicWeeks.d.ts +1 -1
- package/dist/components/Calendar/subcomponents/ColumnHeading.d.ts +1 -1
- package/dist/components/Calendar/subcomponents/Controls.d.ts +1 -1
- package/dist/components/Calendar/subcomponents/ControlsSelect.d.ts +1 -1
- package/dist/components/Calendar/subcomponents/Day.d.ts +1 -1
- package/dist/components/Calendar/subcomponents/Day.stories.d.ts +1 -1
- package/dist/components/Calendar/subcomponents/EventDot.d.ts +1 -1
- package/dist/components/Calendar/subcomponents/Grid.d.ts +1 -1
- package/dist/components/Callout/Callout.d.ts +1 -1
- package/dist/components/Callout/Callout.stories.d.ts +1 -1
- package/dist/components/CookieNotice/CookieNotice.d.ts +1 -1
- package/dist/components/CookiesNotice/CookieSettings.d.ts +1 -1
- package/dist/components/CookiesNotice/CookiesNotice.d.ts +1 -1
- package/dist/components/CookiesNotice/CookiesNotice.stories.d.ts +1 -1
- package/dist/components/Datepicker/Datepicker.d.ts +1 -1
- package/dist/components/Datepicker/Datepicker.stories.d.ts +1 -1
- package/dist/components/Datepicker/subcomponents/CustomDatepicker.d.ts +1 -1
- package/dist/components/Datepicker/subcomponents/DatepickerInput.d.ts +1 -1
- package/dist/components/Datepicker/subcomponents/Panel.d.ts +1 -1
- package/dist/components/Dialog/DialogBody.d.ts +1 -1
- package/dist/components/Dialog/DialogFooter.d.ts +1 -1
- package/dist/components/Dialog/DialogHeader.d.ts +1 -1
- package/dist/components/Divider/Divider.d.ts +1 -1
- package/dist/components/Divider/Divider.stories.d.ts +1 -1
- package/dist/components/DrawerMenu/DrawerMenu.d.ts +1 -1
- package/dist/components/DrawerMenu/DrawerMenuTrigger.d.ts +1 -1
- package/dist/components/DropZone/DropZone.d.ts +1 -1
- package/dist/components/DropZone/DropZone.stories.d.ts +1 -1
- package/dist/components/Dropdown/Dropdown.d.ts +1 -1
- package/dist/components/Dropdown/Dropdown.stories.d.ts +1 -1
- package/dist/components/Dropdown/DropdownContent.d.ts +1 -1
- package/dist/components/DropdownMenu/DropdownMenu.d.ts +1 -1
- package/dist/components/DropdownMenu/DropdownMenuTrigger.d.ts +1 -1
- package/dist/components/DropdownUserMenu/DropdownUserMenu.d.ts +1 -1
- package/dist/components/ErrorDialog/ErrorDialog.d.ts +1 -1
- package/dist/components/ErrorDialog/ErrorDialog.stories.d.ts +1 -1
- package/dist/components/FeedbackDialog/FeedbackDialog.d.ts +1 -1
- package/dist/components/FeedbackDialog/FeedbackDialog.stories.d.ts +1 -1
- package/dist/components/Field/CharacterCount.d.ts +1 -1
- package/dist/components/Field/ErrorText.d.ts +1 -1
- package/dist/components/Field/Field.d.ts +1 -1
- package/dist/components/Field/Field.stories.d.ts +1 -1
- package/dist/components/Field/HelperText.d.ts +1 -1
- package/dist/components/FileInput/FileInput.d.ts +1 -1
- package/dist/components/FileInput/FileInput.stories.d.ts +1 -1
- package/dist/components/Filters/Filter.d.ts +1 -1
- package/dist/components/Filters/FilterPanel.d.ts +1 -1
- package/dist/components/Filters/Filters.d.ts +3 -3
- package/dist/components/Filters/Filters.stories.d.ts +3 -3
- package/dist/components/Filters/QuickFilter.d.ts +1 -1
- package/dist/components/Footer/Footer.d.ts +3 -3
- package/dist/components/Footer/Footer.stories.d.ts +1 -1
- package/dist/components/Footer/FooterColumn.d.ts +1 -1
- package/dist/components/Footer/FooterNavLink.d.ts +1 -1
- package/dist/components/Footer/SocialLink.d.ts +1 -1
- package/dist/components/FooterNew/BackToTop.d.ts +1 -1
- package/dist/components/FooterNew/Footer.d.ts +1 -1
- package/dist/components/FooterNew/FooterColumn.d.ts +1 -1
- package/dist/components/FooterNew/FooterLinks.d.ts +1 -1
- package/dist/components/FooterNew/FooterNavLink.d.ts +1 -1
- package/dist/components/FooterNew/LegalAndCopyright.d.ts +1 -1
- package/dist/components/FooterNew/LogoAddressAndSocial.d.ts +1 -1
- package/dist/components/FooterNew/SocialLink.d.ts +1 -1
- package/dist/components/Header/Header.d.ts +1 -1
- package/dist/components/Header/Header.stories.d.ts +1 -1
- package/dist/components/HeaderDraft/HeaderBottomBreadcrumbs.d.ts +1 -1
- package/dist/components/HeaderDraft/HeaderBottomHeadingAndAvatar.d.ts +1 -1
- package/dist/components/HeaderDraft/HeaderBreadcrumb.d.ts +1 -1
- package/dist/components/HeaderNew/Header.d.ts +1 -1
- package/dist/components/HeaderNew/HeaderBorder.d.ts +3 -1
- package/dist/components/HeaderNew/HeaderItem.d.ts +1 -1
- package/dist/components/HeaderNew/HeaderLogo.d.ts +1 -1
- package/dist/components/HeaderNew/HeaderTitle.d.ts +3 -1
- package/dist/components/Heading/Heading.stories.d.ts +1 -1
- package/dist/components/Icon/BaseIcon.d.ts +1 -1
- package/dist/components/Icon/Icon.d.ts +1 -1
- package/dist/components/Icon/svgImports.d.ts +8 -0
- package/dist/components/Icon/svgs/ActivitySvg.d.ts +1 -1
- package/dist/components/Icon/svgs/AirplaySvg.d.ts +1 -1
- package/dist/components/Icon/svgs/AlertCircleSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/AlertOctagonSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/AlertTriangleSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/AlignCenterSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/AlignJustifySvg.d.ts +1 -1
- package/dist/components/Icon/svgs/AlignLeftSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/AlignRightSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/AnchorSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ApertureSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ArchiveSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ArrowDownCircleSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ArrowDownLeftSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ArrowDownRightSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ArrowDownSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ArrowLeftCircleSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ArrowLeftSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ArrowRightCircleSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ArrowRightSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ArrowUpCircleSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ArrowUpLeftSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ArrowUpRightSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ArrowUpSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/AtSignSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/AvatarSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/AwardSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/BarChart2Svg.d.ts +1 -1
- package/dist/components/Icon/svgs/BarChartSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/BatteryChargingSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/BatterySvg.d.ts +1 -1
- package/dist/components/Icon/svgs/BellOffSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/BellSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/BluetoothSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/BoldSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/BookOpenSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/BookSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/BookmarkSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/BoxSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/BriefcaseSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/CalendarSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/CameraOffSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/CameraSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/CastSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/CheckCircleSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/CheckSquareSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/CheckSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ChevronDownSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ChevronLeftSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ChevronRightSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ChevronUpSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ChevronsDownSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ChevronsLeftSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ChevronsRightSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ChevronsUpSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ChromeSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/CircleSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ClipboardSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ClockSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/CloudDrizzleSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/CloudLightningSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/CloudOffSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/CloudRainSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/CloudSnowSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/CloudSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/CodeSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/CodepenSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/CodesandboxSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/CoffeeSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ColumnsSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/CommandSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/CompassSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/CopySvg.d.ts +1 -1
- package/dist/components/Icon/svgs/CornerDownLeftSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/CornerDownRightSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/CornerLeftDownSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/CornerLeftUpSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/CornerRightDownSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/CornerRightUpSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/CornerUpLeftSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/CornerUpRightSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/CpuSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/CreditCardSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/CropSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/CrosshairSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/DatabaseSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/DeleteSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/DiscSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/DivideCircleSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/DivideSquareSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/DivideSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/DollarSignSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/DownloadCloudSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/DownloadSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/DribbbleSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/DropletSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/Edit2Svg.d.ts +1 -1
- package/dist/components/Icon/svgs/Edit3Svg.d.ts +1 -1
- package/dist/components/Icon/svgs/EditSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ExternalLinkSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/EyeOffSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/EyeSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/FastForwardSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/FeatherSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/FigmaSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/FileMinusSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/FilePlusSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/FileSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/FileTextSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/FilmSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/FilterSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/FlagSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/FolderMinusSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/FolderPlusSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/FolderSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/FramerSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/FrownSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/GiftSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/GitBranchSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/GitCommitSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/GitMergeSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/GitPullRequestSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/GithubSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/GitlabSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/GlobeSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/GridSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/HardDriveSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/HashSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/HeadphonesSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/HeartSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/HelpCircleSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/HexagonSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/HomeSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ImageSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/InboxSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/InfoSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ItalicSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/KeySvg.d.ts +1 -1
- package/dist/components/Icon/svgs/LayersSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/LayoutSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/LifeBuoySvg.d.ts +1 -1
- package/dist/components/Icon/svgs/Link2Svg.d.ts +1 -1
- package/dist/components/Icon/svgs/LinkSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/LinkedinSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ListSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/LoaderSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/LockSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/LogInSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/LogOutSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/MailSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/MapPinSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/MapSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/Maximize2Svg.d.ts +1 -1
- package/dist/components/Icon/svgs/MaximizeSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/MehSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/MenuSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/MessageCircleSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/MessageSquareSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/MicOffSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/MicSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/Minimize2Svg.d.ts +1 -1
- package/dist/components/Icon/svgs/MinimizeSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/MinusCircleSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/MinusSquareSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/MinusSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/MonitorSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/MoonSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/MoreHorizontalSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/MoreVerticalSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/MousePointerSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/MoveSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/MusicSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/Navigation2Svg.d.ts +1 -1
- package/dist/components/Icon/svgs/NavigationSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/OctagonSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/PackageSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/PaperclipSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/PauseCircleSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/PauseSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/PenToolSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/PercentSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/PhoneCallSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/PhoneForwardedSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/PhoneIncomingSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/PhoneMissedSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/PhoneOffSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/PhoneOutgoingSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/PhoneSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/PieChartSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/PlayCircleSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/PlaySvg.d.ts +1 -1
- package/dist/components/Icon/svgs/PlusCircleSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/PlusSquareSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/PlusSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/PocketSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/PowerSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/PrinterSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/RadioSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/RefreshCcwSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/RefreshCwSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/RepeatSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/RewindSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/RotateCcwSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/RotateCwSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/RssSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/SaveSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ScissorsSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/SearchSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/SendSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ServerSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/SettingsSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/Share2Svg.d.ts +1 -1
- package/dist/components/Icon/svgs/ShareSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ShieldOffSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ShieldSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ShoppingBagSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ShoppingCartSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ShuffleSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/SidebarSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/SkipBackSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/SkipForwardSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/SlackSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/SlashSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/SlidersSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/SmartphoneSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/SmileSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/SpeakerSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/SquareSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/StarSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/StopCircleSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/SunSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/SunriseSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/SunsetSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/TableSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/TabletSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/TagSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/TargetSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/TerminalSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ThermometerSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ThumbsDownSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ThumbsUpSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ToggleLeftSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ToggleRightSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ToolSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/Trash2Svg.d.ts +1 -1
- package/dist/components/Icon/svgs/TrashSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/TrelloSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/TrendingDownSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/TrendingUpSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/TriangleSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/TruckSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/TvSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/TwitchSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/TwitterSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/TypeSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/UmbrellaSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/UnderlineSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/UnlockSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/UploadCloudSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/UploadSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/UserCheckSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/UserMinusSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/UserPlusSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/UserSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/UserXSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/UsersSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/VideoOffSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/VideoSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/VoicemailSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/Volume1Svg.d.ts +1 -1
- package/dist/components/Icon/svgs/Volume2Svg.d.ts +1 -1
- package/dist/components/Icon/svgs/VolumeSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/VolumeXSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/WatchSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/WifiOffSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/WifiSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/WindSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/XCircleSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/XOctagonSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/XSquareSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/XSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ZapOffSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ZapSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ZoomInSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/ZoomOutSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/internal/EmptySvg.d.ts +1 -1
- package/dist/components/Icon/svgs/social/FacebookSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/social/FlickrSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/social/InstagramSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/social/SoundcloudSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/social/TiktokSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/social/XSvg.d.ts +1 -1
- package/dist/components/Icon/svgs/social/YoutubeSvg.d.ts +1 -1
- package/dist/components/Layout/Layout.d.ts +1 -1
- package/dist/components/Layout/Layout.stories.d.ts +1 -1
- package/dist/components/Main/Main.d.ts +1 -1
- package/dist/components/Main/Main.stories.d.ts +1 -1
- package/dist/components/Menu/Menu.d.ts +2 -2
- package/dist/components/Menu/MenuTrigger.d.ts +1 -1
- package/dist/components/MenuNew/ActionMenuButton.d.ts +1 -1
- package/dist/components/MenuNew/Menu.context.d.ts +1 -1
- package/dist/components/MenuNew/MenuAccordion/MenuAccordionChevron.d.ts +1 -1
- package/dist/components/MenuNew/MenuAccordion/MenuAccordionItem.d.ts +1 -1
- package/dist/components/MenuNew/MenuBaseItem.d.ts +1 -1
- package/dist/components/MenuNew/MenuDivider.d.ts +1 -1
- package/dist/components/MenuNew/MenuHead.d.ts +1 -1
- package/dist/components/MenuNew/MenuHeading.d.ts +1 -1
- package/dist/components/MenuNew/MenuItemText.d.ts +1 -1
- package/dist/components/MenuNew/MenuSection.d.ts +1 -1
- package/dist/components/MenuNew/PrimaryMenuItem.d.ts +1 -1
- package/dist/components/MenuNew/SecondaryMenuItem.d.ts +1 -1
- package/dist/components/NativeDatepicker/NativeDatepicker.d.ts +1 -1
- package/dist/components/NativeDatepicker/NativeDatepicker.stories.d.ts +1 -1
- package/dist/components/Overlay/Overlay.stories.d.ts +16 -16
- package/dist/components/Pagination/Pagination.d.ts +1 -1
- package/dist/components/Pagination/Pagination.stories.d.ts +1 -1
- package/dist/components/Pagination/PaginationControls.d.ts +1 -1
- package/dist/components/Pagination/PaginationInfo.d.ts +1 -1
- package/dist/components/Pagination/subcomponents/PaginationCompactControls.d.ts +1 -1
- package/dist/components/Pagination/subcomponents/PaginationStandardControls.d.ts +1 -1
- package/dist/components/Paragraph/Paragraph.stories.d.ts +1 -1
- package/dist/components/ProgressBar/ProgressBar.d.ts +1 -1
- package/dist/components/ProgressBar/ProgressBar.stories.d.ts +1 -1
- package/dist/components/Search/Search.d.ts +1 -1
- package/dist/components/Search/Search.stories.d.ts +1 -1
- package/dist/components/Select/subcomponents/CustomOption.d.ts +1 -1
- package/dist/components/Select/subcomponents/CustomSelect.d.ts +1 -1
- package/dist/components/Select/subcomponents/FilterInput.d.ts +1 -1
- package/dist/components/Select/subcomponents/NativeSelect.d.ts +1 -1
- package/dist/components/Select/subcomponents/Panel.d.ts +1 -1
- package/dist/components/Select/subcomponents/VisibleField.d.ts +1 -1
- package/dist/components/Sidebar/Sidebar.d.ts +1 -1
- package/dist/components/Sidebar/Sidebar.stories.d.ts +1 -1
- package/dist/components/Skeleton/Skeleton.d.ts +1 -1
- package/dist/components/Skeleton/Skeleton.stories.d.ts +1 -1
- package/dist/components/Skeleton/SkeletonAvatar.d.ts +1 -1
- package/dist/components/Skeleton/SkeletonInput.d.ts +1 -1
- package/dist/components/Skeleton/SkeletonTableRow.d.ts +1 -1
- package/dist/components/Skeleton/SkeletonText.d.ts +1 -1
- package/dist/components/SkipToContent/SkipToContent.d.ts +1 -1
- package/dist/components/SkipToContent/SkipToContent.stories.d.ts +1 -1
- package/dist/components/Snackbar/Snackbar.d.ts +1 -1
- package/dist/components/Snackbar/Snackbar.stories.d.ts +1 -1
- package/dist/components/Snackbar/Snackbars.d.ts +1 -1
- package/dist/components/Snackbar/Snackbars.stories.d.ts +1 -1
- package/dist/components/Spinner/Spinner.d.ts +1 -1
- package/dist/components/Spinner/Spinner.stories.d.ts +1 -1
- package/dist/components/Table/Table.d.ts +6 -6
- package/dist/components/Table/Table.stories.d.ts +6 -6
- package/dist/components/Table/subcomponents/Body.d.ts +1 -1
- package/dist/components/Table/subcomponents/Cell/Cell.d.ts +1 -1
- package/dist/components/Table/subcomponents/Cell/Cell.stories.d.ts +2 -2
- package/dist/components/Table/subcomponents/Cell/CellContent.d.ts +1 -1
- package/dist/components/Table/subcomponents/Head.d.ts +1 -1
- package/dist/components/Table/subcomponents/HeadCell/HeadCell.d.ts +1 -1
- package/dist/components/Table/subcomponents/HeadCell/HeadCell.stories.d.ts +2 -2
- package/dist/components/Table/subcomponents/HeadCell/HeadCellContent.d.ts +1 -1
- package/dist/components/Table/subcomponents/Row.d.ts +1 -1
- package/dist/components/Table/subcomponents/SortIcon.d.ts +1 -1
- package/dist/components/Tabs/Tab.d.ts +1 -1
- package/dist/components/Tabs/TabsList.d.ts +1 -1
- package/dist/components/Tabs/TabsPanel.d.ts +1 -1
- package/dist/components/Text/Text.d.ts +1 -1
- package/dist/components/Timepicker/Timepicker.d.ts +1 -1
- package/dist/components/ToggleGroup/ToggleGroup.stories.d.ts +2 -2
- package/dist/components/ToggleGroup/subcomponents/ToggleGroupItem.stories.d.ts +2 -2
- package/dist/components/UclLogo/UclLogo.d.ts +1 -1
- package/dist/components/UclLogo/UclLogoNegativeSpace.d.ts +1 -1
- package/dist/components/UclLogoNew/UclLogo.d.ts +1 -1
- package/dist/components/WeekPicker/WeekPicker.d.ts +1 -1
- package/dist/components/WeekPicker/WeekPicker.stories.d.ts +1 -1
- package/dist/components/WeekPicker/subcomponents/CustomDatepicker.d.ts +1 -1
- package/dist/components/WeekPicker/subcomponents/DatepickerInput.d.ts +1 -1
- package/dist/index.js +7560 -7522
- package/lib/components/Datepicker/__tests__/Datepicker.test.tsx +49 -0
- package/lib/components/Datepicker/subcomponents/CustomDatepicker.tsx +2 -1
- package/lib/components/Datepicker/utils/parseInputValue/parseInputValue.test.ts +33 -0
- package/lib/components/Datepicker/utils/parseInputValue/parseInputValue.ts +13 -10
- package/lib/components/Header/Header.mdx +14 -1
- package/lib/components/Header/__tests__/Header.test.tsx +5 -3
- package/lib/components/HeaderNew/Header.tsx +6 -1
- package/lib/components/HeaderNew/HeaderBorder.tsx +27 -1
- package/lib/components/HeaderNew/HeaderTitle.tsx +33 -1
- package/lib/components/HeaderNew/__tests__/Header.test.tsx +206 -8
- package/lib/components/Icon/__tests__/Icon.test.tsx +24 -1
- package/lib/components/Icon/svgImports.ts +7 -7
- package/package.json +4 -4
|
@@ -107,6 +107,55 @@ describe('Datepicker', () => {
|
|
|
107
107
|
);
|
|
108
108
|
});
|
|
109
109
|
|
|
110
|
+
test.each([
|
|
111
|
+
{ key: 'Enter', initialValue: null, selection: 'no existing selection' },
|
|
112
|
+
{ key: 'Tab', initialValue: null, selection: 'no existing selection' },
|
|
113
|
+
{
|
|
114
|
+
key: 'Enter',
|
|
115
|
+
initialValue: new Date(2027, 0, 10),
|
|
116
|
+
selection: 'an existing selection',
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
key: 'Tab',
|
|
120
|
+
initialValue: new Date(2027, 0, 10),
|
|
121
|
+
selection: 'an existing selection',
|
|
122
|
+
},
|
|
123
|
+
])(
|
|
124
|
+
'Clears an overflowing date on $key with $selection',
|
|
125
|
+
async ({ key, initialValue }) => {
|
|
126
|
+
const onValueChange = vi.fn();
|
|
127
|
+
const user = userEvent.setup();
|
|
128
|
+
const ControlledDatepicker = () => {
|
|
129
|
+
const [value, setValue] = useState<Date | null>(initialValue);
|
|
130
|
+
return (
|
|
131
|
+
<Datepicker
|
|
132
|
+
value={value}
|
|
133
|
+
onValueChange={(nextValue, event) => {
|
|
134
|
+
setValue(nextValue);
|
|
135
|
+
onValueChange(nextValue, event);
|
|
136
|
+
}}
|
|
137
|
+
/>
|
|
138
|
+
);
|
|
139
|
+
};
|
|
140
|
+
customRender(<ControlledDatepicker />);
|
|
141
|
+
|
|
142
|
+
const datepickerInput = screen.getByRole('textbox');
|
|
143
|
+
await user.clear(datepickerInput);
|
|
144
|
+
await user.type(datepickerInput, '101/01/2027');
|
|
145
|
+
expect(datepickerInput).toHaveValue('101/01/2027');
|
|
146
|
+
expect(onValueChange).not.toHaveBeenCalled();
|
|
147
|
+
|
|
148
|
+
await user.keyboard(`{${key}}`);
|
|
149
|
+
|
|
150
|
+
expect(datepickerInput).toHaveValue('');
|
|
151
|
+
expect(onValueChange).toHaveBeenCalledExactlyOnceWith(
|
|
152
|
+
null,
|
|
153
|
+
expect.anything()
|
|
154
|
+
);
|
|
155
|
+
expect(announce).not.toHaveBeenCalled();
|
|
156
|
+
}
|
|
157
|
+
);
|
|
158
|
+
|
|
110
159
|
test('Does not submit an enclosing form on ENTER key press', async () => {
|
|
111
160
|
const onValueChange = vi.fn();
|
|
112
161
|
const onSubmit = vi.fn((event: React.FormEvent) => event.preventDefault());
|
|
@@ -28,6 +28,39 @@ describe('parseInputValue', () => {
|
|
|
28
28
|
expect(parseInputValue(' ')).toBeNull(); // Just white space
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
+
test.each([
|
|
32
|
+
'01x/01/2027',
|
|
33
|
+
'01/01/2027junk',
|
|
34
|
+
'01/01/2027/extra',
|
|
35
|
+
'01/01/2027/',
|
|
36
|
+
'01/01/27',
|
|
37
|
+
])('Rejects malformed date %s', (input) => {
|
|
38
|
+
expect(parseInputValue(input)).toBeNull();
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
test('Accepts surrounding whitespace', () => {
|
|
42
|
+
expect(parseInputValue(' 01/01/2027 ')).toEqual(new Date(2027, 0, 1));
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
test.each([
|
|
46
|
+
'101/01/2027',
|
|
47
|
+
'32/01/2027',
|
|
48
|
+
'00/01/2027',
|
|
49
|
+
'31/04/2027',
|
|
50
|
+
'29/02/2027',
|
|
51
|
+
'01/00/2027',
|
|
52
|
+
'01/13/2027',
|
|
53
|
+
])(
|
|
54
|
+
'Rejects impossible calendar date %s instead of rolling it over',
|
|
55
|
+
(input) => {
|
|
56
|
+
expect(parseInputValue(input)).toBeNull();
|
|
57
|
+
}
|
|
58
|
+
);
|
|
59
|
+
|
|
60
|
+
test('Accepts February 29 in a leap year', () => {
|
|
61
|
+
expect(parseInputValue('29/02/2028')).toEqual(new Date(2028, 1, 29));
|
|
62
|
+
});
|
|
63
|
+
|
|
31
64
|
test('Handles single-digit days and months correctly', () => {
|
|
32
65
|
const dateWithSingleDigit = parseInputValue('1/2/2023') as Date;
|
|
33
66
|
expect(dateWithSingleDigit).toBeInstanceOf(Date);
|
|
@@ -17,21 +17,24 @@ const parseInputValue = (
|
|
|
17
17
|
return date;
|
|
18
18
|
};
|
|
19
19
|
|
|
20
|
-
const
|
|
20
|
+
const dateMatch = /^(\d{1,2})[-/ ](\d{1,2})[-/ ](\d{4})$/.exec(value.trim());
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
const parsedDay = parseInt(dateParts[0], 10); // (Second argument is just for base 10 -- decimal)
|
|
24
|
-
const parsedMonth = parseInt(dateParts[1], 10);
|
|
25
|
-
const parsedYear = parseInt(dateParts[2], 10);
|
|
26
|
-
|
|
27
|
-
if (isNaN(parsedDay) || isNaN(parsedMonth) || isNaN(parsedYear)) {
|
|
22
|
+
if (!dateMatch) {
|
|
28
23
|
return null;
|
|
29
24
|
}
|
|
30
25
|
|
|
31
|
-
const
|
|
26
|
+
const parsedDay = Number(dateMatch[1]);
|
|
27
|
+
const parsedMonth = Number(dateMatch[2]);
|
|
28
|
+
const parsedYear = Number(dateMatch[3]);
|
|
29
|
+
|
|
30
|
+
const parsedDate = new Date(parsedYear, parsedMonth - 1, parsedDay);
|
|
32
31
|
|
|
33
|
-
if (
|
|
34
|
-
|
|
32
|
+
if (
|
|
33
|
+
Number.isNaN(parsedDate.getTime()) ||
|
|
34
|
+
parsedDate.getDate() !== parsedDay ||
|
|
35
|
+
parsedDate.getMonth() !== parsedMonth - 1 ||
|
|
36
|
+
parsedDate.getFullYear() !== parsedYear
|
|
37
|
+
) {
|
|
35
38
|
return null;
|
|
36
39
|
}
|
|
37
40
|
|
|
@@ -22,7 +22,7 @@ export const usage = {
|
|
|
22
22
|
<Subtitle>A simple header with optional menu and home link support.</Subtitle>
|
|
23
23
|
|
|
24
24
|
Use `<Header>` to display the UCL logo and app title at the top of a page. Pass
|
|
25
|
-
`homeLinkHref` to
|
|
25
|
+
`homeLinkHref` to enable home navigation from the branding (logo, title and mobile/tablet pillars in Light and Dark themes), and wrap a menu in `<Header.Menu>`
|
|
26
26
|
to add a menu button on the right.
|
|
27
27
|
|
|
28
28
|
<Canvas source={{ code: usage.default }} />
|
|
@@ -36,6 +36,19 @@ Set `showBorder={false}` when another component, such as `NavigationBar`, sits d
|
|
|
36
36
|
## Home link
|
|
37
37
|
|
|
38
38
|
Add `homeLinkHref` (and optionally `homeLinkAriaLabel`) to make the logo/title act as a home link.
|
|
39
|
+
In Light and Dark themes, the title is linked at every viewport size, the UCL logo
|
|
40
|
+
provides a desktop home link, and the pillars provide a separate mobile/tablet
|
|
41
|
+
home link. The pillar link is hidden on desktop; the border remains decorative.
|
|
42
|
+
The title remains clickable but is excluded from the tab order to avoid a
|
|
43
|
+
duplicate home-navigation stop. Keyboard users can use the pillars on
|
|
44
|
+
mobile/tablet or the UCL logo on desktop.
|
|
45
|
+
|
|
46
|
+
The pillar link defaults to the accessible label **“Go to homepage”**. Override it
|
|
47
|
+
with `homeLinkProps={{ 'aria-label': 'App Name home' }}`; this label is passed to
|
|
48
|
+
all branding links. `homeLinkAriaLabel` also supplies a label when no explicit
|
|
49
|
+
`homeLinkProps['aria-label']` is provided. Without `homeLinkHref`, the branding
|
|
50
|
+
remains non-interactive.
|
|
51
|
+
|
|
39
52
|
For client routing, pass your router link through `homeLinkProps` (e.g. `homeLinkProps={{ component: RouterLink }}`, with `import { Link as RouterLink } from 'react-router-dom'` or `'wouter'`).
|
|
40
53
|
|
|
41
54
|
<Canvas of={HeaderStories.WithHomeLink} source={{ code: usage.homeLink }} />
|
|
@@ -85,9 +85,11 @@ describe('Header', () => {
|
|
|
85
85
|
</ThemeContextProvider>
|
|
86
86
|
);
|
|
87
87
|
|
|
88
|
-
const
|
|
89
|
-
expect(
|
|
90
|
-
|
|
88
|
+
const links = screen.getAllByLabelText('Go home');
|
|
89
|
+
expect(links).toHaveLength(3);
|
|
90
|
+
links.forEach((link) => {
|
|
91
|
+
expect(link).toHaveAttribute('href', '/');
|
|
92
|
+
});
|
|
91
93
|
});
|
|
92
94
|
|
|
93
95
|
test('passes showBorder to the new header implementation', () => {
|
|
@@ -69,7 +69,10 @@ const Header = ({
|
|
|
69
69
|
data-testid={testId}
|
|
70
70
|
{...props}
|
|
71
71
|
>
|
|
72
|
-
<HeaderBorder
|
|
72
|
+
<HeaderBorder
|
|
73
|
+
linkHref={homeLinkHref}
|
|
74
|
+
linkProps={homeLinkProps}
|
|
75
|
+
/>
|
|
73
76
|
<HeaderLogo
|
|
74
77
|
linkHref={homeLinkHref}
|
|
75
78
|
linkProps={homeLinkProps}
|
|
@@ -79,6 +82,8 @@ const Header = ({
|
|
|
79
82
|
title={title}
|
|
80
83
|
as={titleAs}
|
|
81
84
|
{...titleProps}
|
|
85
|
+
linkHref={homeLinkHref}
|
|
86
|
+
linkProps={homeLinkProps}
|
|
82
87
|
/>
|
|
83
88
|
{children}
|
|
84
89
|
</header>
|
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
import { css, cx } from '@emotion/css';
|
|
2
2
|
import { useTheme } from '../../theme';
|
|
3
3
|
import { HTMLAttributes } from 'react';
|
|
4
|
+
import Link from '../Link';
|
|
4
5
|
|
|
5
6
|
export const NAME = 'ucl-uikit-header__border';
|
|
6
7
|
|
|
7
8
|
export interface HeaderBorderProps extends HTMLAttributes<HTMLDivElement> {
|
|
9
|
+
linkHref?: string;
|
|
10
|
+
linkProps?: Record<string, unknown>;
|
|
8
11
|
testId?: string;
|
|
9
12
|
}
|
|
10
13
|
|
|
11
14
|
const HeaderBorder = ({
|
|
15
|
+
linkHref,
|
|
16
|
+
linkProps,
|
|
12
17
|
testId = NAME,
|
|
13
18
|
className,
|
|
14
19
|
...props
|
|
@@ -42,13 +47,34 @@ const HeaderBorder = ({
|
|
|
42
47
|
}
|
|
43
48
|
`;
|
|
44
49
|
|
|
50
|
+
const linkStyle = css`
|
|
51
|
+
position: absolute;
|
|
52
|
+
inset: 0;
|
|
53
|
+
display: block;
|
|
54
|
+
|
|
55
|
+
@media (min-width: ${theme.breakpoints.desktop}px) {
|
|
56
|
+
display: none;
|
|
57
|
+
}
|
|
58
|
+
`;
|
|
59
|
+
|
|
45
60
|
return (
|
|
46
61
|
<div
|
|
47
62
|
className={style}
|
|
48
63
|
data-test={testId}
|
|
49
64
|
{...props}
|
|
50
65
|
>
|
|
51
|
-
|
|
66
|
+
{linkHref ? (
|
|
67
|
+
<Link
|
|
68
|
+
href={linkHref}
|
|
69
|
+
aria-label='Go to homepage'
|
|
70
|
+
{...linkProps}
|
|
71
|
+
className={cx(linkStyle, linkProps?.className as string | undefined)}
|
|
72
|
+
>
|
|
73
|
+
<div className={stripeStyle} />
|
|
74
|
+
</Link>
|
|
75
|
+
) : (
|
|
76
|
+
<div className={stripeStyle} />
|
|
77
|
+
)}
|
|
52
78
|
</div>
|
|
53
79
|
);
|
|
54
80
|
};
|
|
@@ -1,18 +1,23 @@
|
|
|
1
1
|
import { css, cx } from '@emotion/css';
|
|
2
2
|
import { useTheme } from '../../theme';
|
|
3
3
|
import { HTMLAttributes } from 'react';
|
|
4
|
+
import Link from '../Link';
|
|
4
5
|
|
|
5
6
|
export const NAME = 'ucl-uikit-header__title';
|
|
6
7
|
|
|
7
8
|
export interface HeaderTitleProps extends HTMLAttributes<HTMLElement> {
|
|
8
9
|
title: string;
|
|
9
10
|
as?: React.ElementType<React.HTMLAttributes<HTMLElement>>;
|
|
11
|
+
linkHref?: string;
|
|
12
|
+
linkProps?: Record<string, unknown>;
|
|
10
13
|
testId?: string;
|
|
11
14
|
}
|
|
12
15
|
|
|
13
16
|
const HeaderTitle = ({
|
|
14
17
|
title,
|
|
15
18
|
as = 'span',
|
|
19
|
+
linkHref,
|
|
20
|
+
linkProps,
|
|
16
21
|
testId = NAME,
|
|
17
22
|
className,
|
|
18
23
|
...props
|
|
@@ -44,6 +49,22 @@ const HeaderTitle = ({
|
|
|
44
49
|
|
|
45
50
|
const style = cx(NAME, baseStyle, className);
|
|
46
51
|
|
|
52
|
+
const linkStyle = css`
|
|
53
|
+
&& {
|
|
54
|
+
font: inherit;
|
|
55
|
+
font-feature-settings: inherit;
|
|
56
|
+
color: inherit;
|
|
57
|
+
text-decoration: none;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&&:visited,
|
|
61
|
+
&&:active,
|
|
62
|
+
&&:hover {
|
|
63
|
+
color: inherit;
|
|
64
|
+
text-decoration: none;
|
|
65
|
+
}
|
|
66
|
+
`;
|
|
67
|
+
|
|
47
68
|
const Comp = as;
|
|
48
69
|
|
|
49
70
|
return (
|
|
@@ -52,7 +73,18 @@ const HeaderTitle = ({
|
|
|
52
73
|
data-test={testId}
|
|
53
74
|
{...props}
|
|
54
75
|
>
|
|
55
|
-
{
|
|
76
|
+
{linkHref ? (
|
|
77
|
+
<Link
|
|
78
|
+
href={linkHref}
|
|
79
|
+
{...linkProps}
|
|
80
|
+
tabIndex={-1}
|
|
81
|
+
className={cx(linkStyle, linkProps?.className as string | undefined)}
|
|
82
|
+
>
|
|
83
|
+
{title}
|
|
84
|
+
</Link>
|
|
85
|
+
) : (
|
|
86
|
+
title
|
|
87
|
+
)}
|
|
56
88
|
</Comp>
|
|
57
89
|
);
|
|
58
90
|
};
|
|
@@ -1,8 +1,17 @@
|
|
|
1
|
-
import { describe, expect, test } from 'vitest';
|
|
2
|
-
import { render, screen } from '@testing-library/react';
|
|
1
|
+
import { describe, expect, test, vi } from 'vitest';
|
|
2
|
+
import { render, screen, within } from '@testing-library/react';
|
|
3
|
+
import userEvent from '@testing-library/user-event';
|
|
4
|
+
import { Link as RouterLink, MemoryRouter, useLocation } from 'react-router';
|
|
3
5
|
import Header from '../Header';
|
|
6
|
+
import HeaderBorder from '../HeaderBorder';
|
|
7
|
+
import HeaderTitle from '../HeaderTitle';
|
|
4
8
|
import { ThemeContextProvider } from '../../../theme/useTheme';
|
|
5
9
|
|
|
10
|
+
const CurrentLocation = () => {
|
|
11
|
+
const location = useLocation();
|
|
12
|
+
return <div role='status'>{location.pathname}</div>;
|
|
13
|
+
};
|
|
14
|
+
|
|
6
15
|
describe('Header', () => {
|
|
7
16
|
// Snapshot tests
|
|
8
17
|
|
|
@@ -24,22 +33,211 @@ describe('Header', () => {
|
|
|
24
33
|
expect(renderResult.container.firstChild).toMatchSnapshot();
|
|
25
34
|
});
|
|
26
35
|
|
|
27
|
-
test('
|
|
28
|
-
render(
|
|
36
|
+
test('links the logo, title and pillars to the configured home destination', () => {
|
|
37
|
+
const { container } = render(
|
|
29
38
|
<ThemeContextProvider>
|
|
30
39
|
<Header
|
|
31
40
|
title='LIDS'
|
|
32
|
-
homeLinkHref='/'
|
|
41
|
+
homeLinkHref='/application/home'
|
|
33
42
|
homeLinkProps={{ 'aria-label': 'Go home' }}
|
|
34
43
|
/>
|
|
35
44
|
</ThemeContextProvider>
|
|
36
45
|
);
|
|
37
46
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
expect(
|
|
47
|
+
// jsdom does not apply responsive visibility: all three links are in the DOM.
|
|
48
|
+
const links = screen.getAllByLabelText('Go home');
|
|
49
|
+
expect(links).toHaveLength(3);
|
|
50
|
+
links.forEach((link) => {
|
|
51
|
+
expect(link).toHaveAttribute('href', '/application/home');
|
|
52
|
+
});
|
|
53
|
+
expect(screen.getByText('LIDS').closest('a')).toBeInTheDocument();
|
|
54
|
+
expect(
|
|
55
|
+
container.querySelector('.ucl-uikit-header__border a')
|
|
56
|
+
).toBeInTheDocument();
|
|
57
|
+
expect(
|
|
58
|
+
container.querySelector('.ucl-uikit-header__logo')?.closest('a')
|
|
59
|
+
).toBeInTheDocument();
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
test('keeps the title visible and branding unlinked without homeLinkHref', () => {
|
|
63
|
+
const { rerender } = render(
|
|
64
|
+
<ThemeContextProvider>
|
|
65
|
+
<Header title='LIDS' />
|
|
66
|
+
</ThemeContextProvider>
|
|
67
|
+
);
|
|
68
|
+
expect(screen.getByText('LIDS')).toBeInTheDocument();
|
|
69
|
+
expect(screen.queryByRole('link')).not.toBeInTheDocument();
|
|
70
|
+
|
|
71
|
+
rerender(
|
|
72
|
+
<ThemeContextProvider>
|
|
73
|
+
<Header
|
|
74
|
+
title='LIDS'
|
|
75
|
+
homeLinkProps={{ 'aria-label': 'Go home' }}
|
|
76
|
+
/>
|
|
77
|
+
</ThemeContextProvider>
|
|
78
|
+
);
|
|
79
|
+
expect(screen.getByText('LIDS')).toBeInTheDocument();
|
|
80
|
+
expect(screen.queryByRole('link')).not.toBeInTheDocument();
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
test('preserves title semantics and forwards link classes and click handlers', async () => {
|
|
84
|
+
const user = userEvent.setup();
|
|
85
|
+
const onClick = vi.fn((event: React.MouseEvent) => event.preventDefault());
|
|
86
|
+
render(
|
|
87
|
+
<ThemeContextProvider>
|
|
88
|
+
<Header
|
|
89
|
+
title='LIDS'
|
|
90
|
+
titleAs='h1'
|
|
91
|
+
titleClassName='custom-title'
|
|
92
|
+
titleProps={{ id: 'app-title' }}
|
|
93
|
+
homeLinkHref='/home'
|
|
94
|
+
homeLinkProps={{ className: 'custom-home-link', onClick }}
|
|
95
|
+
>
|
|
96
|
+
<button>Menu</button>
|
|
97
|
+
</Header>
|
|
98
|
+
</ThemeContextProvider>
|
|
99
|
+
);
|
|
100
|
+
const heading = screen.getByRole('heading', { name: 'LIDS', level: 1 });
|
|
101
|
+
expect(heading).toHaveClass('custom-title');
|
|
102
|
+
expect(heading).toHaveAttribute('id', 'app-title');
|
|
103
|
+
const titleLink = within(heading).getByRole('link', { name: 'LIDS' });
|
|
104
|
+
const pillarLink = screen.getByRole('link', { name: 'Go to homepage' });
|
|
105
|
+
[titleLink, pillarLink].forEach((link) => {
|
|
106
|
+
expect(link).toHaveClass('custom-home-link');
|
|
107
|
+
expect(link.classList.length).toBeGreaterThan(1);
|
|
108
|
+
});
|
|
109
|
+
expect(titleLink).toHaveAttribute('tabindex', '-1');
|
|
110
|
+
await user.click(titleLink);
|
|
111
|
+
await user.click(pillarLink);
|
|
112
|
+
expect(onClick).toHaveBeenCalledTimes(2);
|
|
113
|
+
expect(
|
|
114
|
+
screen.getByRole('button', { name: 'Menu' }).closest('a')
|
|
115
|
+
).toBeNull();
|
|
116
|
+
});
|
|
117
|
+
|
|
118
|
+
test('skips the title in the tab order without changing the other home links', async () => {
|
|
119
|
+
const user = userEvent.setup();
|
|
120
|
+
const { container } = render(
|
|
121
|
+
<ThemeContextProvider theme='light'>
|
|
122
|
+
<Header
|
|
123
|
+
title='LIDS'
|
|
124
|
+
homeLinkHref='/home'
|
|
125
|
+
homeLinkProps={{ tabIndex: 0 }}
|
|
126
|
+
>
|
|
127
|
+
<button>Menu</button>
|
|
128
|
+
</Header>
|
|
129
|
+
</ThemeContextProvider>
|
|
130
|
+
);
|
|
131
|
+
|
|
132
|
+
const titleLink = screen.getByRole('link', { name: 'LIDS' });
|
|
133
|
+
const pillarLink = screen.getByRole('link', { name: 'Go to homepage' });
|
|
134
|
+
const logoLink = container
|
|
135
|
+
.querySelector('.ucl-uikit-header__logo')
|
|
136
|
+
?.closest('a');
|
|
137
|
+
expect(titleLink).toHaveAttribute('tabindex', '-1');
|
|
138
|
+
expect(pillarLink).toHaveAttribute('tabindex', '0');
|
|
139
|
+
expect(logoLink).toHaveAttribute('tabindex', '0');
|
|
140
|
+
|
|
141
|
+
// jsdom does not apply responsive visibility, so both branding links are tabbable.
|
|
142
|
+
await user.tab();
|
|
143
|
+
expect(pillarLink).toHaveFocus();
|
|
144
|
+
await user.tab();
|
|
145
|
+
expect(logoLink).toHaveFocus();
|
|
146
|
+
await user.tab();
|
|
147
|
+
expect(screen.getByRole('button', { name: 'Menu' })).toHaveFocus();
|
|
148
|
+
await user.tab({ shift: true });
|
|
149
|
+
expect(logoLink).toHaveFocus();
|
|
150
|
+
});
|
|
151
|
+
|
|
152
|
+
test('gives title typography and colour resets higher specificity than shared link styles', () => {
|
|
153
|
+
render(
|
|
154
|
+
<ThemeContextProvider theme='light'>
|
|
155
|
+
<HeaderTitle
|
|
156
|
+
title='LIDS'
|
|
157
|
+
linkHref='/home'
|
|
158
|
+
/>
|
|
159
|
+
</ThemeContextProvider>
|
|
160
|
+
);
|
|
161
|
+
|
|
162
|
+
const link = screen.getByRole('link', { name: 'LIDS' });
|
|
163
|
+
const styles = document.head.textContent;
|
|
164
|
+
const resetClass = [...link.classList].find((className) =>
|
|
165
|
+
styles?.includes(`.${className}.${className}{font:inherit;`)
|
|
166
|
+
);
|
|
167
|
+
|
|
168
|
+
expect(resetClass).toBeDefined();
|
|
169
|
+
expect(styles).toMatch(
|
|
170
|
+
new RegExp(
|
|
171
|
+
`\\.${resetClass}\\.${resetClass}\\{[^}]*font-feature-settings:inherit;[^}]*color:inherit;[^}]*text-decoration:none;`
|
|
172
|
+
)
|
|
173
|
+
);
|
|
174
|
+
['visited', 'active', 'hover'].forEach((state) => {
|
|
175
|
+
expect(styles).toContain(`.${resetClass}.${resetClass}:${state}`);
|
|
176
|
+
});
|
|
177
|
+
});
|
|
178
|
+
|
|
179
|
+
test('hides the pillar link on desktop and retains keyboard focus styling', () => {
|
|
180
|
+
render(
|
|
181
|
+
<ThemeContextProvider theme='light'>
|
|
182
|
+
<Header
|
|
183
|
+
title='LIDS'
|
|
184
|
+
homeLinkHref='/home'
|
|
185
|
+
/>
|
|
186
|
+
</ThemeContextProvider>
|
|
187
|
+
);
|
|
188
|
+
const pillarLink = screen.getByRole('link', { name: 'Go to homepage' });
|
|
189
|
+
const styles = document.head.textContent;
|
|
190
|
+
expect(
|
|
191
|
+
[...pillarLink.classList].some((className) =>
|
|
192
|
+
styles?.includes(
|
|
193
|
+
`@media (min-width: 1056px){.${className}{display:none;}}`
|
|
194
|
+
)
|
|
195
|
+
)
|
|
196
|
+
).toBe(true);
|
|
197
|
+
[pillarLink, screen.getByRole('link', { name: 'LIDS' })].forEach((link) => {
|
|
198
|
+
expect(
|
|
199
|
+
[...link.classList].some((className) =>
|
|
200
|
+
styles?.includes(`.${className}:focus-visible`)
|
|
201
|
+
)
|
|
202
|
+
).toBe(true);
|
|
203
|
+
});
|
|
41
204
|
});
|
|
42
205
|
|
|
206
|
+
test.each(['title', 'pillars'] as const)(
|
|
207
|
+
'supports router navigation from the %s link',
|
|
208
|
+
async (part) => {
|
|
209
|
+
const user = userEvent.setup();
|
|
210
|
+
const linkProps = { component: RouterLink, to: '/application/home' };
|
|
211
|
+
render(
|
|
212
|
+
<ThemeContextProvider>
|
|
213
|
+
<MemoryRouter initialEntries={['/application/details']}>
|
|
214
|
+
{part === 'title' ? (
|
|
215
|
+
<HeaderTitle
|
|
216
|
+
title='LIDS'
|
|
217
|
+
linkHref='/application/home'
|
|
218
|
+
linkProps={linkProps}
|
|
219
|
+
/>
|
|
220
|
+
) : (
|
|
221
|
+
<HeaderBorder
|
|
222
|
+
linkHref='/application/home'
|
|
223
|
+
linkProps={linkProps}
|
|
224
|
+
/>
|
|
225
|
+
)}
|
|
226
|
+
<CurrentLocation />
|
|
227
|
+
</MemoryRouter>
|
|
228
|
+
</ThemeContextProvider>
|
|
229
|
+
);
|
|
230
|
+
expect(screen.getByRole('status')).toHaveTextContent(
|
|
231
|
+
'/application/details'
|
|
232
|
+
);
|
|
233
|
+
if (part === 'title') {
|
|
234
|
+
expect(screen.getByRole('link')).toHaveAttribute('tabindex', '-1');
|
|
235
|
+
}
|
|
236
|
+
await user.click(screen.getByRole('link'));
|
|
237
|
+
expect(screen.getByRole('status')).toHaveTextContent('/application/home');
|
|
238
|
+
}
|
|
239
|
+
);
|
|
240
|
+
|
|
43
241
|
test('shows the bottom border by default and can hide it', () => {
|
|
44
242
|
const { rerender } = render(
|
|
45
243
|
<ThemeContextProvider>
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ReactNode, SVGProps } from 'react';
|
|
2
|
+
import { describe, expect, expectTypeOf, test } from 'vitest';
|
|
2
3
|
import { render } from '@testing-library/react';
|
|
3
4
|
import Icon from '../Icon';
|
|
5
|
+
import svgs from '../svgImports';
|
|
4
6
|
import { ThemeContextProvider } from '../../../theme/useTheme';
|
|
5
7
|
|
|
6
8
|
describe('Icon', () => {
|
|
@@ -43,6 +45,27 @@ describe('Icon', () => {
|
|
|
43
45
|
});
|
|
44
46
|
|
|
45
47
|
// Unit tests
|
|
48
|
+
test('Preserves icon names with declaration-safe component types', () => {
|
|
49
|
+
type IconName = keyof typeof svgs;
|
|
50
|
+
type NamedIcons = 'Bluesky' | 'Check' | 'Avatar' | 'XSocial';
|
|
51
|
+
|
|
52
|
+
expectTypeOf<IconName>().extract<NamedIcons>().toEqualTypeOf<NamedIcons>();
|
|
53
|
+
expectTypeOf<IconName>().extract<'NotAnIcon'>().toBeNever();
|
|
54
|
+
expectTypeOf<ReturnType<typeof Icon.getIconNames>>().toEqualTypeOf<
|
|
55
|
+
IconName[]
|
|
56
|
+
>();
|
|
57
|
+
expectTypeOf(svgs.Bluesky).toEqualTypeOf<
|
|
58
|
+
(
|
|
59
|
+
props: SVGProps<SVGSVGElement> & {
|
|
60
|
+
title?: string;
|
|
61
|
+
titleId?: string;
|
|
62
|
+
}
|
|
63
|
+
) => ReactNode
|
|
64
|
+
>();
|
|
65
|
+
expectTypeOf(svgs.Check).toEqualTypeOf(svgs.Bluesky);
|
|
66
|
+
expectTypeOf(svgs.Avatar).toEqualTypeOf(svgs.Bluesky);
|
|
67
|
+
});
|
|
68
|
+
|
|
46
69
|
test('Can be found via default testId', () => {
|
|
47
70
|
const defaultTestId = 'ucl-uikit-icon';
|
|
48
71
|
const renderResult = render(
|
|
@@ -311,9 +311,6 @@ const {
|
|
|
311
311
|
},
|
|
312
312
|
} = ts;
|
|
313
313
|
|
|
314
|
-
// Explicit type avoids TS4023: upstream SVGRProps is not exported, so TypeScript
|
|
315
|
-
// cannot name it in generated .d.ts files. Declaring it locally keeps the public
|
|
316
|
-
// API fully expressible without depending on upstream internals.
|
|
317
314
|
interface SVGRProps {
|
|
318
315
|
title?: string;
|
|
319
316
|
titleId?: string;
|
|
@@ -321,9 +318,12 @@ interface SVGRProps {
|
|
|
321
318
|
|
|
322
319
|
type IconComponent = (props: SVGProps<SVGSVGElement> & SVGRProps) => ReactNode;
|
|
323
320
|
|
|
324
|
-
//
|
|
325
|
-
|
|
326
|
-
|
|
321
|
+
// Widen upstream component types for declaration emit while preserving icon names.
|
|
322
|
+
const defineIcons = <Name extends string>(
|
|
323
|
+
icons: Record<Name, IconComponent>
|
|
324
|
+
): Record<Name, IconComponent> => icons;
|
|
325
|
+
|
|
326
|
+
const iconSvgs = defineIcons({
|
|
327
327
|
Activity,
|
|
328
328
|
Airplay,
|
|
329
329
|
AlertCircle,
|
|
@@ -620,6 +620,6 @@ const iconSvgs = {
|
|
|
620
620
|
Zap,
|
|
621
621
|
ZoomIn,
|
|
622
622
|
ZoomOut,
|
|
623
|
-
}
|
|
623
|
+
});
|
|
624
624
|
|
|
625
625
|
export default iconSvgs;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "uikit-react-public",
|
|
3
3
|
"private": false,
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
|
-
"version": "0.50.
|
|
5
|
+
"version": "0.50.12",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
@@ -80,11 +80,11 @@
|
|
|
80
80
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
81
81
|
"eslint-plugin-react-refresh": "^0.4.19",
|
|
82
82
|
"eslint-plugin-storybook": "10.4.6",
|
|
83
|
-
"gh-pages": "
|
|
83
|
+
"gh-pages": "6.1.1",
|
|
84
84
|
"globals": "^16.0.0",
|
|
85
85
|
"husky": "^9.1.7",
|
|
86
86
|
"jsdom": "^26.0.0",
|
|
87
|
-
"lint-staged": "^
|
|
87
|
+
"lint-staged": "^17.6.0",
|
|
88
88
|
"prettier": "^3.5.3",
|
|
89
89
|
"react": "^19.1.0",
|
|
90
90
|
"react-dom": "^19.1.0",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"typescript": "^5.8.2",
|
|
94
94
|
"typescript-eslint": "^8.26.1",
|
|
95
95
|
"vite": "^6.2.1",
|
|
96
|
-
"vite-plugin-dts": "^
|
|
96
|
+
"vite-plugin-dts": "^5.1.2",
|
|
97
97
|
"vitest": "^4.1.11",
|
|
98
98
|
"wouter": "^3.6.0"
|
|
99
99
|
}
|