Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LIIKUNTA-584 | feat: update to HDS v3.1.0, use Header in Navigation component #131

Merged
merged 1 commit into from
Nov 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-helsinki-headless-cms",
"version": "1.0.0-alpha228",
"version": "1.0.0-alpha229",
"description": "React components for displaying Headless CMS content according to guidelines set by HDS",
"main": "cjs/index.js",
"module": "index.js",
Expand Down Expand Up @@ -104,7 +104,7 @@
"eslint-plugin-react-hooks": "^4.3.0",
"git-rev-sync": "^3.0.2",
"graphql": "^16.8.0",
"hds-react": "^2.17.0",
"hds-react": "^3.1.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.6.2",
"jest-axe": "^8.0.0",
Expand Down Expand Up @@ -133,8 +133,8 @@
"webpack": "^5.70.0"
},
"dependencies": {
"hds-core": "^2.17.0",
"hds-design-tokens": "^2.17.0",
"hds-core": "^3.1.0",
"hds-design-tokens": "^3.1.0",
"html-entities": "^2.4.0",
"html-react-parser": "^4.2.1",
"isomorphic-dompurify": "^1.8.0",
Expand Down
345 changes: 192 additions & 153 deletions src/common/components/icons/index.tsx
Original file line number Diff line number Diff line change
@@ -1,160 +1,199 @@
export {
IconZoomOut,
IconZoomIn,
IconYouth,
IconWifiCrossed,
IconWifi,
IconVolumePlus,
IconVolumeMute,
IconVolumeMinus,
IconVolumeLow,
IconVolumeHigh,
IconVirus,
IconVideocameraCrossed,
IconVideocamera,
IconVaccine,
IconUploadCloud,
IconTraveler,
IconTrash,
IconThumbsUp,
IconThumbsUpFill,
IconAlertCircle,
IconAlertCircleFill,
IconAngleDown,
IconAngleLeft,
IconAngleRight,
IconAngleUp,
IconArrowBottomLeft,
IconArrowBottomRight,
IconArrowDown,
IconArrowLeft,
IconArrowRedo,
IconArrowRight,
IconArrowRightDashed,
IconArrowTopLeft,
IconArrowTopRight,
IconArrowUndo,
IconArrowUp,
IconAtSign as IconGlyphAt, // @deprecated Use IconAtSign instead
IconAtSign,
IconBagCogwheel,
IconBell,
IconBellCrossed,
IconBinoculars,
IconCake,
IconCalendar,
IconCalendarClock,
IconCalendarCross,
IconCalendarEvent as IconEvent, // @deprecated Use IconCalendarEvent instead
IconCalendarEvent,
IconCalendarPlus,
IconCalendarRecurring,
IconCamera,
IconCheck,
IconCheckCircle,
IconCheckCircleFill,
IconChildren,
IconClock,
IconClockCross,
IconClockPlus,
IconCoffeeCupSaucer,
IconCogwheel,
IconCogwheels,
IconCollapse,
IconCompany,
IconCopy,
IconCross,
IconCrossCircle,
IconCrossCircleFill,
IconCustomerBotNegative,
IconCustomerBotNeutral,
IconCustomerBotPositive,
IconDiscord,
IconDisplay,
IconDocument,
IconDownload,
IconDownloadCloud,
IconDrag,
IconEntrepreneur,
IconEnvelope,
IconError,
IconErrorFill,
IconEuroSign as IconGlyphEuro, // @deprecated Use IconEuroSign instead
IconEuroSign,
IconEye,
IconEyeCrossed,
IconFacebook,
IconFaceNeutral,
IconFaceSad,
IconFaceSmile,
IconFamily,
IconGlobe,
IconGoogle,
IconGraphColumns,
IconGroup,
IconHammers,
IconHeadphones,
IconHeart,
IconHeartFill,
IconHistory,
IconHome,
IconHomeSmoke,
IconInfoCircle,
IconInfoCircleFill,
IconInstagram,
IconKey,
IconLayers,
IconLightbulb,
IconLink,
IconLinkedin,
IconLinkExternal,
IconLocate,
IconLocation,
IconLock,
IconLockOpen,
IconMap,
IconMenuDots,
IconMenuHamburger,
IconMicrophone,
IconMicrophoneCrossed,
IconMinus,
IconMinusCircle,
IconMinusCircleFill,
IconMobile,
IconMoneyBag,
IconMoneyBagFill,
IconMover,
IconOccupation,
IconPaperclip,
IconPen,
IconPenLine,
IconPersonFemale,
IconPersonGenderless,
IconPersonMale,
IconPersonWheelchair,
IconPhone,
IconPhoto,
IconPhotoPlus,
IconPlaybackFastforward,
IconPlaybackNext,
IconPlaybackPause,
IconPlaybackPlay,
IconPlaybackPrevious,
IconPlaybackRecord,
IconPlaybackRewind,
IconPlaybackStop,
IconPlus,
IconPlusCircle,
IconPlusCircleFill,
IconPodcast,
IconPrinter,
IconQuestionCircle,
IconQuestionCircleFill,
IconRefresh,
IconRestaurant,
IconRss,
IconSaveDiskette,
IconSaveDisketteFill,
IconScroll,
IconScrollCogwheel,
IconScrollContent,
IconScrollGroup,
IconSearch,
IconSenior,
IconShare,
IconShield,
IconShoppingCart,
IconSignin,
IconSignout,
IconSitemap,
IconSliders,
IconSnapchat,
IconSort,
IconSortAlphabeticalAscending,
IconSortAlphabeticalDescending,
IconSortAscending,
IconSortDescending,
IconSpeechbubble,
IconSpeechbubbleText,
IconStar,
IconStarFill,
IconSwapUser,
IconTextBold,
IconTextItalic,
IconTextTool,
IconThumbsDown,
IconThumbsDownFill,
IconThumbsUp,
IconThumbsUpFill,
IconTicket,
IconTextTool,
IconTextItalic,
IconTextBold,
IconSwapUser,
IconStarFill,
IconStar,
IconSpeechbubbleText,
IconSpeechbubble,
IconSliders,
IconSitemap,
IconSignout,
IconShoppingCart,
IconShare,
IconSenior,
IconShield,
IconScroll,
IconScrollGroup,
IconScrollContent,
IconScrollCogwheel,
IconSaveDisketteFill,
IconSaveDiskette,
IconRestaurant,
IconRefresh,
IconQuestionCircleFill,
IconPrinter,
IconPodcast,
IconPlusCircleFill,
IconPlusCircle,
IconPlaybackStop,
IconPlaybackRewind,
IconPlaybackRecord,
IconPlaybackPrevious,
IconPlaybackPlay,
IconPlaybackNext,
IconPlaybackFastforward,
IconPhotoPlus,
IconPhone,
IconPersonWheelchair,
IconPersonMale,
IconPersonGenderless,
IconPersonFemale,
IconPenLine,
IconPen,
IconPaperclip,
IconOccupation,
IconMover,
IconMoneyBag,
IconMoneyBagFill,
IconMobile,
IconMinusCircleFill,
IconMinusCircle,
IconMicrophoneCrossed,
IconMicrophone,
IconMenuDots,
IconMap,
IconLockOpen,
IconLock,
IconLocation,
IconLocate,
IconLink,
IconLightbulb,
IconLayers,
IconKey,
IconInfoCircle,
IconHomeSmoke,
IconHome,
IconHistory,
IconHeartFill,
IconHeart,
IconHeadphones,
IconHammers,
IconGroup,
IconGraphColumns,
IconGlyphEuro,
IconGlyphAt,
IconGlobe,
IconFamily,
IconFaceSmile,
IconFaceSad,
IconFaceNeutral,
IconEvent,
IconEnvelope,
IconEntrepreneur,
IconDrag,
IconDownloadCloud,
IconDownload,
IconDisplay,
IconCustomerBotPositive,
IconCustomerBotNeutral,
IconCustomerBotNegative,
IconCopy,
IconCompany,
IconCollapse,
IconCogwheels,
IconCogwheel,
IconCoffeeCupSaucer,
IconClockPlus,
IconClockCross,
IconClock,
IconChildren,
IconCheckCircle,
IconCamera,
IconCalendarRecurring,
IconCalendarPlus,
IconCalendarCross,
IconCalendarClock,
IconCake,
IconBellCrossed,
IconBell,
IconBinoculars,
IconBagCogwheel,
IconArrowUndo,
IconArrowTopRight,
IconArrowTopLeft,
IconArrowRightDashed,
IconArrowRedo,
IconArrowLeft,
IconArrowDown,
IconArrowBottomRight,
IconArrowBottomLeft,
IconAlertCircle,
IconYoutube,
IconYle,
IconWhatsApp,
IconVimeo,
IconTwitter,
IconTwitch,
IconTiktok,
IconSnapchat,
IconRss,
IconLinkedin,
IconInstagram,
IconGoogle,
IconFacebook,
IconDiscord,
IconTrash,
IconTraveler,
IconTwitch,
IconTwitter,
IconUpload,
IconUploadCloud,
IconUser,
IconVaccine,
IconVideocamera,
IconVideocameraCrossed,
IconVimeo,
IconVirus,
IconVolumeHigh,
IconVolumeLow,
IconVolumeMinus,
IconVolumeMute,
IconVolumePlus,
IconWhatsapp as IconWhatsApp, // @deprecated Use IconWhatsapp instead
IconWhatsapp,
IconWifi,
IconWifiCrossed,
IconYle,
IconYouth,
IconYoutube,
IconZoomIn,
IconZoomOut,
IconZoomText,
} from 'hds-react';
2 changes: 1 addition & 1 deletion src/common/components/tag/Tag.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
// eslint-disable-next-line import/no-extraneous-dependencies
import classNames from 'classnames';
import { RoundedTag as HDSTag } from 'hds-react';
import { Tag as HDSTag } from 'hds-react';

import styles from './tag.module.scss';
import { theme1, theme2 } from './tagThemes';
Expand Down
2 changes: 1 addition & 1 deletion src/core/hero/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export default function Hero({
korosType && styles[korosType],
)}
type={korosType}
flipHorizontal={!imageUrl}
flipVertical={!imageUrl}
style={{
fill: `var(--${
// eslint-disable-next-line no-nested-ternary
Expand Down
Loading
Loading