@helsenorge/designsystem-react 1.0.0-beta108 → 1.0.0-beta109
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/{Button-7e82091f.js → Button-ed1c6e3f.js} +2 -2
- package/Button-ed1c6e3f.js.map +1 -0
- package/Checkbox-8e590de0.js +2 -0
- package/Checkbox-8e590de0.js.map +1 -0
- package/{Close-d81081c8.js → Close-403016b0.js} +2 -2
- package/Close-403016b0.js.map +1 -0
- package/{FormGroup-af33981a.js → FormGroup-fbf475ed.js} +2 -2
- package/FormGroup-fbf475ed.js.map +1 -0
- package/{Input-31d7accc.js → Input-cd0319e0.js} +2 -2
- package/Input-cd0319e0.js.map +1 -0
- package/{Loader-bc13d060.js → Loader-bf89238f.js} +2 -2
- package/Loader-bf89238f.js.map +1 -0
- package/{Modal-ff546be0.js → Modal-1776ded7.js} +2 -2
- package/Modal-1776ded7.js.map +1 -0
- package/{RadioButton-c173d440.js → RadioButton-b0da1997.js} +2 -2
- package/RadioButton-b0da1997.js.map +1 -0
- package/{Textarea-78e20c9a.js → Textarea-648063a9.js} +2 -2
- package/Textarea-648063a9.js.map +1 -0
- package/{Title-9df559dd.js → Title-1d8708ea.js} +2 -2
- package/Title-1d8708ea.js.map +1 -0
- package/Validation-df81209c.js +2 -0
- package/Validation-df81209c.js.map +1 -0
- package/_rollupPluginBabelHelpers-6b3099b0.js +2 -0
- package/_rollupPluginBabelHelpers-6b3099b0.js.map +1 -0
- package/color-e7d082c1.js +2 -0
- package/color-e7d082c1.js.map +1 -0
- package/components/AnchorLink/index.js +1 -1
- package/components/Avatar/index.js +1 -1
- package/components/Badge/index.js +1 -1
- package/components/Button/index.js +1 -1
- package/components/ButtonWithModal/index.js +1 -1
- package/components/Checkbox/index.js +1 -1
- package/components/Close/index.js +1 -1
- package/components/Expander/index.js +1 -1
- package/components/ExpanderList/index.js +1 -1
- package/components/FormExample/index.js +1 -1
- package/components/FormGroup/index.js +1 -1
- package/components/HighlightBox/index.js +1 -1
- package/components/Icons/ActiveMonitoring.js +1 -1
- package/components/Icons/AcupunctureBack.d.ts.map +1 -1
- package/components/Icons/AcupunctureBack.js +1 -1
- package/components/Icons/AlarmClock.d.ts.map +1 -1
- package/components/Icons/AlarmClock.js +1 -1
- package/components/Icons/AlertSignFill.d.ts.map +1 -1
- package/components/Icons/AlertSignFill.js +1 -1
- package/components/Icons/AlertSignStroke.d.ts.map +1 -1
- package/components/Icons/AlertSignStroke.js +1 -1
- package/components/Icons/Amputation.js +1 -1
- package/components/Icons/Anxiety.js +1 -1
- package/components/Icons/Apple.js +1 -1
- package/components/Icons/Archive.d.ts.map +1 -1
- package/components/Icons/Archive.js +1 -1
- package/components/Icons/ArmFlexing.js +1 -1
- package/components/Icons/ArrowLeft.d.ts.map +1 -1
- package/components/Icons/ArrowLeft.js +1 -1
- package/components/Icons/ArrowRight.d.ts.map +1 -1
- package/components/Icons/ArrowRight.js +1 -1
- package/components/Icons/ArrowUpRight.d.ts.map +1 -1
- package/components/Icons/ArrowUpRight.js +1 -1
- package/components/Icons/Attachment.d.ts.map +1 -1
- package/components/Icons/Attachment.js +1 -1
- package/components/Icons/Atv.js +1 -1
- package/components/Icons/Avatar.d.ts.map +1 -1
- package/components/Icons/Avatar.js +1 -1
- package/components/Icons/AwakePersonOnPillow.js +1 -1
- package/components/Icons/Baby.js +1 -1
- package/components/Icons/BandAid.js +1 -1
- package/components/Icons/BeerAndPills.js +1 -1
- package/components/Icons/Bell.js +1 -1
- package/components/Icons/Bike.js +1 -1
- package/components/Icons/BirthdayCake.js +1 -1
- package/components/Icons/Boat.js +1 -1
- package/components/Icons/Brain.js +1 -1
- package/components/Icons/BreastReconstruction.js +1 -1
- package/components/Icons/BreastRemoval.js +1 -1
- package/components/Icons/Breasts.js +1 -1
- package/components/Icons/BrokenHeart.js +1 -1
- package/components/Icons/BrokenPuzzle.js +1 -1
- package/components/Icons/Bus.d.ts.map +1 -1
- package/components/Icons/Bus.js +1 -1
- package/components/Icons/Calendar.d.ts.map +1 -1
- package/components/Icons/Calendar.js +1 -1
- package/components/Icons/CalendarChange.d.ts.map +1 -1
- package/components/Icons/CalendarChange.js +1 -1
- package/components/Icons/CalendarCheck.d.ts.map +1 -1
- package/components/Icons/CalendarCheck.js +1 -1
- package/components/Icons/CalendarEvent.js +1 -1
- package/components/Icons/CalendarSave.d.ts.map +1 -1
- package/components/Icons/CalendarSave.js +1 -1
- package/components/Icons/Cancer.js +1 -1
- package/components/Icons/Car.js +1 -1
- package/components/Icons/Change.d.ts.map +1 -1
- package/components/Icons/Change.js +1 -1
- package/components/Icons/Check.d.ts.map +1 -1
- package/components/Icons/Check.js +1 -1
- package/components/Icons/CheckOutline.js +1 -1
- package/components/Icons/Chest.js +1 -1
- package/components/Icons/ChevronDown.d.ts.map +1 -1
- package/components/Icons/ChevronDown.js +1 -1
- package/components/Icons/ChevronLeft.d.ts.map +1 -1
- package/components/Icons/ChevronLeft.js +1 -1
- package/components/Icons/ChevronRight.d.ts.map +1 -1
- package/components/Icons/ChevronRight.js +1 -1
- package/components/Icons/ChevronUp.d.ts.map +1 -1
- package/components/Icons/ChevronUp.js +1 -1
- package/components/Icons/ChevronsDown.d.ts.map +1 -1
- package/components/Icons/ChevronsDown.js +1 -1
- package/components/Icons/ChevronsUp.d.ts.map +1 -1
- package/components/Icons/ChevronsUp.js +1 -1
- package/components/Icons/ChildPlaying.js +1 -1
- package/components/Icons/Cigarette.js +1 -1
- package/components/Icons/Contacts.d.ts.map +1 -1
- package/components/Icons/Contacts.js +1 -1
- package/components/Icons/Copy.d.ts.map +1 -1
- package/components/Icons/Copy.js +1 -1
- package/components/Icons/CoronaCertificate.js +1 -1
- package/components/Icons/Coronavirus.js +1 -1
- package/components/Icons/Cough.js +1 -1
- package/components/Icons/CriticalHealthInfo.js +1 -1
- package/components/Icons/Cross.js +1 -1
- package/components/Icons/Depression.js +1 -1
- package/components/Icons/DigestiveSystem.js +1 -1
- package/components/Icons/Dizzy.js +1 -1
- package/components/Icons/Documents.js +1 -1
- package/components/Icons/Dog.js +1 -1
- package/components/Icons/DonorCard.js +1 -1
- package/components/Icons/Download.d.ts.map +1 -1
- package/components/Icons/Download.js +1 -1
- package/components/Icons/Draft.js +1 -1
- package/components/Icons/EChat.d.ts.map +1 -1
- package/components/Icons/EChat.js +1 -1
- package/components/Icons/EarNoseThroat.js +1 -1
- package/components/Icons/ElderlyPerson.js +1 -1
- package/components/Icons/Embolization.js +1 -1
- package/components/Icons/EnterFullScreen.d.ts.map +1 -1
- package/components/Icons/EnterFullScreen.js +1 -1
- package/components/Icons/Envelope.d.ts.map +1 -1
- package/components/Icons/Envelope.js +1 -1
- package/components/Icons/Epilepsy.js +1 -1
- package/components/Icons/Eraser.d.ts.map +1 -1
- package/components/Icons/Eraser.js +1 -1
- package/components/Icons/ErrorSignFill.d.ts.map +1 -1
- package/components/Icons/ErrorSignFill.js +1 -1
- package/components/Icons/ErrorSignStroke.d.ts.map +1 -1
- package/components/Icons/ErrorSignStroke.js +1 -1
- package/components/Icons/EuropeanHealthCard.js +1 -1
- package/components/Icons/ExitFullScreen.d.ts.map +1 -1
- package/components/Icons/ExitFullScreen.js +1 -1
- package/components/Icons/Eye.d.ts.map +1 -1
- package/components/Icons/Eye.js +1 -1
- package/components/Icons/Facebook.js +1 -1
- package/components/Icons/Female.js +1 -1
- package/components/Icons/FemaleDoctor.js +1 -1
- package/components/Icons/Ferry.js +1 -1
- package/components/Icons/FingerBleed.js +1 -1
- package/components/Icons/FirstAidKit.js +1 -1
- package/components/Icons/Football.js +1 -1
- package/components/Icons/Form.d.ts.map +1 -1
- package/components/Icons/Form.js +1 -1
- package/components/Icons/Forward.d.ts.map +1 -1
- package/components/Icons/Forward.js +1 -1
- package/components/Icons/Gallery.d.ts.map +1 -1
- package/components/Icons/Gallery.js +1 -1
- package/components/Icons/Garden.js +1 -1
- package/components/Icons/GasCan.js +1 -1
- package/components/Icons/Globe.d.ts.map +1 -1
- package/components/Icons/Globe.js +1 -1
- package/components/Icons/HandWaving.js +1 -1
- package/components/Icons/HandWithDisease.js +1 -1
- package/components/Icons/HealthClinic.js +1 -1
- package/components/Icons/HealthWarning.js +1 -1
- package/components/Icons/Heart.d.ts.map +1 -1
- package/components/Icons/Heart.js +1 -1
- package/components/Icons/HelpSign.d.ts.map +1 -1
- package/components/Icons/HelpSign.js +1 -1
- package/components/Icons/HelpingHand.js +1 -1
- package/components/Icons/Hemodialysis.js +1 -1
- package/components/Icons/Hiker.js +1 -1
- package/components/Icons/Hipprosthesis.js +1 -1
- package/components/Icons/History.d.ts.map +1 -1
- package/components/Icons/History.js +1 -1
- package/components/Icons/HivAndAids.js +1 -1
- package/components/Icons/Home.d.ts.map +1 -1
- package/components/Icons/Home.js +1 -1
- package/components/Icons/Hormone.js +1 -1
- package/components/Icons/Hospital.d.ts.map +1 -1
- package/components/Icons/Hospital.js +1 -1
- package/components/Icons/Hourglass.d.ts.map +1 -1
- package/components/Icons/Hourglass.js +1 -1
- package/components/Icons/Icon.d.ts +3 -2
- package/components/Icons/Icon.d.ts.map +1 -1
- package/components/Icons/Icon.js +1 -1
- package/components/Icons/ImgFile.js +1 -1
- package/components/Icons/Inbox.js +1 -1
- package/components/Icons/InfoSignFill.d.ts.map +1 -1
- package/components/Icons/InfoSignFill.js +1 -1
- package/components/Icons/InfoSignStroke.d.ts.map +1 -1
- package/components/Icons/InfoSignStroke.js +1 -1
- package/components/Icons/Instagram.js +1 -1
- package/components/Icons/Intravenous.js +1 -1
- package/components/Icons/JointPain.js +1 -1
- package/components/Icons/Journal.d.ts.map +1 -1
- package/components/Icons/Journal.js +1 -1
- package/components/Icons/JpgFile.js +1 -1
- package/components/Icons/Kidney.js +1 -1
- package/components/Icons/KitchenScale.js +1 -1
- package/components/Icons/Kjernejournal.js +1 -1
- package/components/Icons/Laboratory.js +1 -1
- package/components/Icons/LaptopBlog.js +1 -1
- package/components/Icons/LawBook.js +1 -1
- package/components/Icons/LightBulb.js +1 -1
- package/components/Icons/List.d.ts.map +1 -1
- package/components/Icons/List.js +1 -1
- package/components/Icons/Location.d.ts.map +1 -1
- package/components/Icons/Location.js +1 -1
- package/components/Icons/Lock.d.ts.map +1 -1
- package/components/Icons/Lock.js +1 -1
- package/components/Icons/Lungs.js +1 -1
- package/components/Icons/Makeup.js +1 -1
- package/components/Icons/MaleDoctor.js +1 -1
- package/components/Icons/MaleDoctorAndPerson.js +1 -1
- package/components/Icons/MaleGenitalia.js +1 -1
- package/components/Icons/Medicine.d.ts.map +1 -1
- package/components/Icons/Medicine.js +1 -1
- package/components/Icons/MedicineWarning.js +1 -1
- package/components/Icons/MentalHealthAdult.js +1 -1
- package/components/Icons/MentalHealthChild.js +1 -1
- package/components/Icons/Menu.d.ts.map +1 -1
- package/components/Icons/Menu.js +1 -1
- package/components/Icons/Microscope.js +1 -1
- package/components/Icons/Minus.d.ts.map +1 -1
- package/components/Icons/Minus.js +1 -1
- package/components/Icons/Mirror.js +1 -1
- package/components/Icons/MobilePhone.d.ts.map +1 -1
- package/components/Icons/MobilePhone.js +1 -1
- package/components/Icons/MotherHoldingBaby.js +1 -1
- package/components/Icons/MuscleBack.js +1 -1
- package/components/Icons/MuscleLeg.js +1 -1
- package/components/Icons/Mushroom.js +1 -1
- package/components/Icons/Music.js +1 -1
- package/components/Icons/MusselsAndSalt.js +1 -1
- package/components/Icons/NoEye.d.ts.map +1 -1
- package/components/Icons/NoEye.js +1 -1
- package/components/Icons/NoFilter.d.ts.map +1 -1
- package/components/Icons/NoFilter.js +1 -1
- package/components/Icons/Notepad.js +1 -1
- package/components/Icons/Osteotomy.js +1 -1
- package/components/Icons/PaintRoller.js +1 -1
- package/components/Icons/PaperPlane.d.ts.map +1 -1
- package/components/Icons/PaperPlane.js +1 -1
- package/components/Icons/PatientAndPerson.js +1 -1
- package/components/Icons/Pause.d.ts.map +1 -1
- package/components/Icons/Pause.js +1 -1
- package/components/Icons/PdfFile.js +1 -1
- package/components/Icons/Pencil.d.ts.map +1 -1
- package/components/Icons/Pencil.js +1 -1
- package/components/Icons/PeopleTalking.js +1 -1
- package/components/Icons/Peritonealdialysis.js +1 -1
- package/components/Icons/Person.js +1 -1
- package/components/Icons/PersonAndPatient.js +1 -1
- package/components/Icons/PersonInXRayMachine.js +1 -1
- package/components/Icons/PersonOverweight.js +1 -1
- package/components/Icons/PersonRelaxing.js +1 -1
- package/components/Icons/PersonWithBrain.js +1 -1
- package/components/Icons/PersonWithBrokenArm.js +1 -1
- package/components/Icons/PersonWithCrutches.js +1 -1
- package/components/Icons/PersonWithJaw.js +1 -1
- package/components/Icons/PersonWithMagnifyingGlass.js +1 -1
- package/components/Icons/PersonWithSenses.js +1 -1
- package/components/Icons/PersonWorking.js +1 -1
- package/components/Icons/PizzaSlice.js +1 -1
- package/components/Icons/Plane.js +1 -1
- package/components/Icons/Plant.js +1 -1
- package/components/Icons/Play.d.ts.map +1 -1
- package/components/Icons/Play.js +1 -1
- package/components/Icons/PlusLarge.d.ts.map +1 -1
- package/components/Icons/PlusLarge.js +1 -1
- package/components/Icons/PlusSmall.d.ts.map +1 -1
- package/components/Icons/PlusSmall.js +1 -1
- package/components/Icons/PngFile.js +1 -1
- package/components/Icons/PoisonInformation.js +1 -1
- package/components/Icons/Pregnant.js +1 -1
- package/components/Icons/Printer.d.ts.map +1 -1
- package/components/Icons/Printer.js +1 -1
- package/components/Icons/Psychosis.js +1 -1
- package/components/Icons/Publication.js +1 -1
- package/components/Icons/Puzzle.js +1 -1
- package/components/Icons/QrCode.d.ts.map +1 -1
- package/components/Icons/QrCode.js +1 -1
- package/components/Icons/RadioTherapy.js +1 -1
- package/components/Icons/RadioactiveTreatment.js +1 -1
- package/components/Icons/Radioiodine.js +1 -1
- package/components/Icons/Receipt.js +1 -1
- package/components/Icons/Receptionist.d.ts.map +1 -1
- package/components/Icons/Receptionist.js +1 -1
- package/components/Icons/Recovery.js +1 -1
- package/components/Icons/Referral.d.ts.map +1 -1
- package/components/Icons/Referral.js +1 -1
- package/components/Icons/Refresh.d.ts.map +1 -1
- package/components/Icons/Refresh.js +1 -1
- package/components/Icons/Refund.js +1 -1
- package/components/Icons/Reply.d.ts.map +1 -1
- package/components/Icons/Reply.js +1 -1
- package/components/Icons/Rocket.js +1 -1
- package/components/Icons/RtfFile.js +1 -1
- package/components/Icons/Save.d.ts.map +1 -1
- package/components/Icons/Save.js +1 -1
- package/components/Icons/Scale.js +1 -1
- package/components/Icons/Search.d.ts.map +1 -1
- package/components/Icons/Search.js +1 -1
- package/components/Icons/SectionSign.d.ts.map +1 -1
- package/components/Icons/SectionSign.js +1 -1
- package/components/Icons/Settings.d.ts.map +1 -1
- package/components/Icons/Settings.js +1 -1
- package/components/Icons/ShakingHand.js +1 -1
- package/components/Icons/Share.d.ts.map +1 -1
- package/components/Icons/Share.js +1 -1
- package/components/Icons/Shield.js +1 -1
- package/components/Icons/ShuntOperation.js +1 -1
- package/components/Icons/Skeleton.js +1 -1
- package/components/Icons/Skin.js +1 -1
- package/components/Icons/Snake.js +1 -1
- package/components/Icons/Snapchat.js +1 -1
- package/components/Icons/SpeechBubble.d.ts.map +1 -1
- package/components/Icons/SpeechBubble.js +1 -1
- package/components/Icons/Spray.js +1 -1
- package/components/Icons/Stopwatch.d.ts.map +1 -1
- package/components/Icons/Stopwatch.js +1 -1
- package/components/Icons/SupportingPerson.d.ts.map +1 -1
- package/components/Icons/SupportingPerson.js +1 -1
- package/components/Icons/Surgery.js +1 -1
- package/components/Icons/Syringe.d.ts.map +1 -1
- package/components/Icons/Syringe.js +1 -1
- package/components/Icons/Taxi.js +1 -1
- package/components/Icons/TeddyBear.js +1 -1
- package/components/Icons/Teenagers.js +1 -1
- package/components/Icons/ThinkingAboutBaby.js +1 -1
- package/components/Icons/Ticket.js +1 -1
- package/components/Icons/TimePassing.d.ts.map +1 -1
- package/components/Icons/TimePassing.js +1 -1
- package/components/Icons/Toolbox.d.ts.map +1 -1
- package/components/Icons/Toolbox.js +1 -1
- package/components/Icons/Tooth.js +1 -1
- package/components/Icons/TotalKneeProsthesis.js +1 -1
- package/components/Icons/Train.js +1 -1
- package/components/Icons/Transplantation.js +1 -1
- package/components/Icons/TrashCan.d.ts.map +1 -1
- package/components/Icons/TrashCan.js +1 -1
- package/components/Icons/Twitter.js +1 -1
- package/components/Icons/Undo.d.ts.map +1 -1
- package/components/Icons/Undo.js +1 -1
- package/components/Icons/UniProsthesis.js +1 -1
- package/components/Icons/Upload.d.ts.map +1 -1
- package/components/Icons/Upload.js +1 -1
- package/components/Icons/UserOrganization.js +1 -1
- package/components/Icons/Vaccine.d.ts.map +1 -1
- package/components/Icons/Vaccine.js +1 -1
- package/components/Icons/VerticalDots.d.ts.map +1 -1
- package/components/Icons/VerticalDots.js +1 -1
- package/components/Icons/VideoCamera.d.ts.map +1 -1
- package/components/Icons/VideoCamera.js +1 -1
- package/components/Icons/VideoChat.d.ts.map +1 -1
- package/components/Icons/VideoChat.js +1 -1
- package/components/Icons/Wallet.d.ts.map +1 -1
- package/components/Icons/Wallet.js +1 -1
- package/components/Icons/Watch.d.ts.map +1 -1
- package/components/Icons/Watch.js +1 -1
- package/components/Icons/Website.js +1 -1
- package/components/Icons/Wheelchair.js +1 -1
- package/components/Icons/WheelchairActive.js +1 -1
- package/components/Icons/Window.js +1 -1
- package/components/Icons/WordDocument.js +1 -1
- package/components/Icons/WorkSuitcase.js +1 -1
- package/components/Icons/X.d.ts.map +1 -1
- package/components/Icons/X.js +1 -1
- package/components/Icons/XOutline.js +1 -1
- package/components/Icons/XmlFile.js +1 -1
- package/components/Icons/YouTube.js +1 -1
- package/components/Icons/Zoom.d.ts.map +1 -1
- package/components/Icons/Zoom.js +1 -1
- package/components/Icons/index.js +1 -1
- package/components/Input/index.js +1 -1
- package/components/LinkList/index.js +1 -1
- package/components/List/index.js +1 -1
- package/components/Loader/index.js +1 -1
- package/components/Logo/index.js +1 -1
- package/components/Modal/index.js +1 -1
- package/components/Modal/styles.module.scss +2 -0
- package/components/NotificationPanel/index.js +1 -1
- package/components/Portal/index.js +1 -1
- package/components/RadioButton/index.js +1 -1
- package/components/Slider/index.js +1 -1
- package/components/Spacer/index.js +1 -1
- package/components/Textarea/index.js +1 -1
- package/components/Tile/index.js +1 -1
- package/components/Title/index.js +1 -1
- package/components/Validation/index.js +1 -1
- package/constants-075356e2.js +2 -0
- package/constants-075356e2.js.map +1 -0
- package/constants.d.ts +1 -0
- package/constants.d.ts.map +1 -1
- package/grid-c105cad1.js +2 -0
- package/grid-c105cad1.js.map +1 -0
- package/hoc/withBreakpoint/index.d.ts +4 -0
- package/hoc/withBreakpoint/index.d.ts.map +1 -0
- package/hoc/withBreakpoint/index.js +2 -0
- package/{components/__mocks__ → hoc/withBreakpoint}/index.js.map +0 -0
- package/hoc/withBreakpoint/withBreakpoint.d.ts +14 -0
- package/hoc/withBreakpoint/withBreakpoint.d.ts.map +1 -0
- package/hooks/useBreakpoint.d.ts +1 -0
- package/hooks/useBreakpoint.d.ts.map +1 -1
- package/hooks/useHover.d.ts +1 -1
- package/hooks/useLayoutEvent.d.ts.map +1 -1
- package/hooks/useWindowSize.d.ts.map +1 -1
- package/index-d1c9177a.js +2 -0
- package/index-d1c9177a.js.map +1 -0
- package/index.js +1 -1
- package/package.json +2 -1
- package/scss/_breakpoints.scss +1 -1
- package/theme/grid.d.ts +2 -1
- package/theme/grid.d.ts.map +1 -1
- package/theme/index.d.ts +2 -1
- package/theme/index.d.ts.map +1 -1
- package/useBreakpoint-3186b97e.js +2 -0
- package/useBreakpoint-3186b97e.js.map +1 -0
- package/{useHover-9710204a.js → useHover-507fb85a.js} +2 -2
- package/useHover-507fb85a.js.map +1 -0
- package/{useIsVisible-a1f67a11.js → useIsVisible-f5d49913.js} +2 -2
- package/useIsVisible-f5d49913.js.map +1 -0
- package/useSticky-a572c326.js +2 -0
- package/useSticky-a572c326.js.map +1 -0
- package/useWindowSize-58f26dea.js +2 -0
- package/useWindowSize-58f26dea.js.map +1 -0
- package/Button-7e82091f.js.map +0 -1
- package/Checkbox-f2418dc5.js +0 -2
- package/Checkbox-f2418dc5.js.map +0 -1
- package/Close-d81081c8.js.map +0 -1
- package/FormGroup-af33981a.js.map +0 -1
- package/Input-31d7accc.js.map +0 -1
- package/Loader-bc13d060.js.map +0 -1
- package/Modal-ff546be0.js.map +0 -1
- package/RadioButton-c173d440.js.map +0 -1
- package/Textarea-78e20c9a.js.map +0 -1
- package/Title-9df559dd.js.map +0 -1
- package/Validation-4041c083.js +0 -2
- package/Validation-4041c083.js.map +0 -1
- package/_rollupPluginBabelHelpers-b8ef6dd9.js +0 -2
- package/_rollupPluginBabelHelpers-b8ef6dd9.js.map +0 -1
- package/color-a10c7892.js +0 -2
- package/color-a10c7892.js.map +0 -1
- package/components/Modal/__mocks__/IntersectionObserver.d.ts +0 -6
- package/components/Modal/__mocks__/IntersectionObserver.d.ts.map +0 -1
- package/components/__mocks__/index.js +0 -2
- package/constants-eb74321e.js +0 -2
- package/constants-eb74321e.js.map +0 -1
- package/grid-11a70eb7.js +0 -2
- package/grid-11a70eb7.js.map +0 -1
- package/index-0e78dfa0.js +0 -2
- package/index-0e78dfa0.js.map +0 -1
- package/useBreakpoint-552af2b9.js +0 -2
- package/useBreakpoint-552af2b9.js.map +0 -1
- package/useHover-9710204a.js.map +0 -1
- package/useIsVisible-a1f67a11.js.map +0 -1
- package/useSticky-d61d1f0b.js +0 -2
- package/useSticky-d61d1f0b.js.map +0 -1
- package/useWindowSize-750f9b68.js +0 -2
- package/useWindowSize-750f9b68.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import c from"react";export default function(l){l.
|
|
1
|
+
import c from"react";export default function(l){l.size;var e=l.isHovered,a=c.createElement("path",{fillRule:"evenodd",d:"M17.5 42.733c-5.24 0-9.49-4.25-9.49-9.49 0-5.23 4.25-9.49 9.49-9.49 5.23 0 9.49 4.26 9.49 9.49 0 5.24-4.26 9.49-9.49 9.49m9.58-14.45c-.22-.44-.48-.85-.76-1.25-.3-.43-.63-.84-.99-1.21-.32-.33-.65-.65-1.01-.94-.96-.78-2.06-1.4-3.25-1.81a7.91 7.91 0 00-1.26-.37 10.727 10.727 0 00-6.04.42l3.39-4.47 4.15.5-.96 2.29c.43.1.84.23 1.25.37l1.57-3.74-6.6-.8-4.25 5.6c-.48.64-1.39.76-2.03.28-.64-.48-.76-1.4-.28-2.04l4.77-6.24c.28-.37.72-.57 1.19-.56l10.03.37c.98.04 1.75.86 1.71 1.84-.01.22-.05.43-.13.61l-2.72 6.46c.36.28.71.58 1.04.9l2.83-6.74.05-.11a3.094 3.094 0 00-2.73-4.26l-9.93-.37h-.11c-.88-.03-1.73.37-2.26 1.07l-4.78 6.25c-.91 1.21-.68 2.94.53 3.85.42.32.9.5 1.38.54a10.777 10.777 0 00-4.17 8.52c0 5.95 4.84 10.79 10.79 10.79 5.95 0 10.79-4.84 10.79-10.79v-.03a10.67 10.67 0 00-1.21-4.93m12.43 14.71a3.153 3.153 0 01-4.21-1.48l-4.08-8.49-1.58.1c0-.44-.03-.87-.08-1.29l2.45-.16 4.46 9.28c.45.92 1.55 1.31 2.47.87.45-.22.78-.59.95-1.06.16-.46.13-.97-.08-1.41l-5.01-10.41c-.33-.69-1.03-1.1-1.79-1.05l-4.48.29c-.19-.43-.42-.85-.66-1.25l5.06-.34c1.28-.08 2.48.62 3.04 1.78l5.01 10.41c.75 1.57.09 3.46-1.47 4.21M29.09 5.263c1.68 0 3.05 1.37 3.05 3.05a3.056 3.056 0 01-6.11 0c0-1.68 1.37-3.05 3.06-3.05m0 7.4c2.4 0 4.35-1.95 4.35-4.35 0-2.4-1.95-4.35-4.35-4.35-2.4 0-4.36 1.95-4.36 4.35 0 2.4 1.96 4.35 4.36 4.35"});return e?c.createElement("path",{fillRule:"evenodd",d:"M19.17 42.733c-5.23 0-9.49-4.25-9.49-9.49 0-5.23 4.26-9.49 9.49-9.49s9.49 4.26 9.49 9.49c0 5.24-4.26 9.49-9.49 9.49m9.58-14.45a11.402 11.402 0 00-1.26-1.91c-.3-.35-.61-.69-.95-1.01-.9-.84-1.96-1.54-3.11-2.03-.4-.18-.82-.33-1.24-.45-.96-.28-1.97-.43-3.02-.43-.42 0-.84.02-1.25.08l2-3.85 4 .76-1.12 2.22c.42.12.83.28 1.23.46l1.82-3.64-6.64-1.26-2.55 4.94c-.53.56-1.42.6-2 .09-.61-.53-.67-1.44-.16-2.03l3.23-5.53c.31-.32.75-.49 1.19-.44l9.98 1.04c.98.11 1.69.98 1.58 1.96-.02.21-.08.41-.17.6l-3.15 6.27c.35.29.68.61.98.95l3.33-6.64c.17-.33.27-.68.31-1.05.17-1.68-1.06-3.2-2.74-3.38l-9.89-1.04-.1-.01a2.77 2.77 0 00-2.33.92l-3.22 5.52c-.96 1.15-.83 2.86.3 3.84.17.14.34.26.53.36-3.52 1.78-5.95 5.44-5.95 9.65 0 5.95 4.84 10.79 10.79 10.79 5.95 0 10.79-4.84 10.79-10.79v-.03a10.67 10.67 0 00-1.21-4.93m12.43 14.71c-.43.21-.9.31-1.36.31-.35 0-.71-.06-1.05-.18-.79-.28-1.43-.85-1.79-1.61l-4.09-8.49-1.58.1c0-.44-.03-.87-.08-1.29l2.45-.16 4.47 9.28c.21.45.59.78 1.05.95.47.16.97.13 1.42-.08.92-.45 1.3-1.55.86-2.47l-5-10.41c-.33-.69-1.03-1.1-1.79-1.05l-4.49.3c-.19-.43-.41-.85-.66-1.26l5.06-.34c1.29-.08 2.48.62 3.05 1.78l5 10.41c.76 1.57.1 3.46-1.47 4.21m-8.75-37.73c1.69 0 3.06 1.37 3.06 3.05a3.056 3.056 0 01-6.11 0c0-1.68 1.37-3.05 3.05-3.05m0 7.4c2.4 0 4.36-1.95 4.36-4.35 0-2.4-1.96-4.35-4.36-4.35-2.4 0-4.35 1.95-4.35 4.35 0 2.4 1.95 4.35 4.35 4.35"}):a}
|
|
2
2
|
//# sourceMappingURL=WheelchairActive.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import v from"react";export default function(h){h.
|
|
1
|
+
import v from"react";export default function(h){h.size;var m=h.isHovered,e=v.createElement("path",{d:"M39.386 8.475l.033 29.72h1.68v1.3H6.902v-1.3H8.58l-.033-29.72h30.839zm-1.3 1.3H9.85l.03 28.42h28.24l-.032-28.42zm-1.453 1.453v25.835H24.788v-9.858h-1.642v9.858H11.301V11.228h25.332zm-1.3 15.977h-9.245v8.558h9.245v-8.558zm-13.487-.001h-9.245v8.558h9.245v-8.558zm13.487-12.253H12.601v10.953h22.732V14.951zm0-2.422H12.601v1.121h22.732v-1.121z"});return m?v.createElement("path",{d:"M39.418 8.475l.034 29.72h1.68v1.3H6.933v-1.3h1.68l-.035-29.72h30.84zm-1.298 1.3H9.881l.032 28.42h28.24l-.033-28.42zm-1.454 1.453v25.835H24.821v-7.607h-1.642v7.607H11.334V11.228h25.332zm-1.3 18.228h-9.245v6.307h9.245v-6.307zm-13.487-.001h-9.245v6.307h9.245v-6.307zm13.486-14.504H12.634v13.204h22.731V14.951zm.001-2.422H12.635v1.121h22.731v-1.121z"}):e}
|
|
2
2
|
//# sourceMappingURL=Window.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import c from"react";export default function(v){v.
|
|
1
|
+
import c from"react";export default function(v){v.size;var h=v.isHovered,e=c.createElement("path",{fillRule:"evenodd",d:"M27.676 29.499c.183-.249.437-.373.763-.373.33 0 .57.081.723.245.154.162.251.406.291.732h.781c-.051-.514-.226-.91-.522-1.187-.297-.277-.721-.416-1.273-.416-.549 0-.988.182-1.319.545-.331.365-.496.837-.496 1.417v.891c0 .583.164 1.057.491 1.417.328.361.769.541 1.324.541.541 0 .964-.141 1.267-.422.302-.282.478-.669.525-1.161h-.781c-.041.323-.138.564-.294.722-.155.159-.394.238-.717.238-.33 0-.586-.124-.767-.371-.181-.247-.27-.568-.27-.964v-.897c0-.39.09-.709.274-.957zm-9.899-13.016c.08.151.171.419.275.805l2.125 7.907h1.765l1.892-6.629 1.595 6.629h1.681l2.647-7.738c.142-.409.259-.701.354-.875.093-.174.199-.31.317-.406.117-.096.264-.164.437-.201v-.466h-2.944v.466c.24.019.421.086.541.201.119.115.18.295.18.54 0 .155-.024.342-.07.561a8.354 8.354 0 01-.17.653l-1.49 4.779-1.652-7.2h-1.596l-2.026 7.2-1.221-4.906c-.137-.527-.205-.915-.205-1.165 0-.198.059-.35.177-.459.117-.108.299-.176.544-.204v-.466h-3.799v.466c.15.037.275.094.374.169.099.075.189.188.269.339zM12 39.1h23.999V8.9H12v30.2zm-1.301 1.3H37.3V7.6H10.699v32.8zm14.4-9.073c0 .394-.103.716-.306.967-.203.252-.486.378-.847.378-.349 0-.623-.126-.82-.378-.197-.251-.295-.573-.295-.967v-.848c0-.39.098-.71.293-.961.197-.25.469-.375.819-.375.359 0 .641.125.847.377.205.251.309.571.309.959v.848zM23.943 28.5c-.571 0-1.028.188-1.372.563-.345.376-.517.851-.517 1.421v.843c0 .573.172 1.047.518 1.422.346.375.804.562 1.374.562.58 0 1.046-.187 1.401-.561.354-.373.531-.847.531-1.423v-.843c0-.57-.178-1.045-.532-1.421-.356-.375-.823-.563-1.403-.563zm-3.414 2.717c0 .435-.111.778-.331 1.028-.218.251-.561.376-1.025.376h-.627v-3.427h.668c.443 0 .774.123.989.369.217.246.326.589.326 1.028v.626zm-1.292-2.65h-1.471v4.677h1.429c.66 0 1.177-.183 1.551-.551.375-.367.562-.86.562-1.476v-.62c0-.612-.186-1.103-.557-1.474-.371-.37-.876-.556-1.514-.556z"});return h?c.createElement("path",{d:"M37.3 7.6v32.8H10.7V7.6h26.6zm-1.301 1.3H12.001v30.2h23.998V8.9zm-7.56 19.6c.552 0 .976.139 1.273.416.297.277.47.673.522 1.187h-.78c-.041-.326-.138-.57-.291-.732-.153-.164-.394-.245-.724-.245-.326 0-.58.124-.763.373-.183.248-.274.567-.274.957v.897c0 .396.089.717.27.964.182.247.437.371.767.371.323 0 .562-.079.717-.238.156-.158.253-.399.294-.722h.782c-.048.492-.223.879-.526 1.161-.303.281-.725.422-1.267.422-.555 0-.996-.18-1.324-.541-.327-.36-.491-.834-.491-1.417v-.891c0-.58.166-1.052.496-1.417.33-.363.77-.545 1.319-.545zm-4.496 0c.58 0 1.048.188 1.403.564.356.376.533.85.533 1.42v.843c0 .576-.176 1.05-.531 1.424-.354.374-.822.56-1.402.56-.57 0-1.028-.187-1.373-.562-.346-.374-.52-.848-.52-1.422v-.842c0-.571.173-1.045.519-1.421.343-.376.8-.563 1.37-.563zm-4.706.068c.638 0 1.143.185 1.514.555.371.37.557.862.557 1.474v.62c0 .617-.187 1.109-.56 1.476-.376.368-.894.55-1.553.55h-1.429v-4.675zm4.706.575c-.35 0-.622.125-.818.375-.196.25-.294.572-.294.96v.849c0 .394.099.717.295.968.198.252.47.377.82.377.362 0 .644-.125.847-.377.204-.251.306-.574.306-.968v-.848c0-.387-.104-.707-.31-.96-.204-.251-.487-.376-.846-.376zm-4.729.05h-.668v3.428h.627c.464 0 .806-.125 1.025-.376.22-.25.33-.592.33-1.028v-.626c0-.44-.108-.782-.324-1.028-.217-.246-.547-.37-.99-.37zm1.718-15.506v.466c-.245.028-.426.096-.544.205-.117.108-.176.26-.176.458 0 .25.068.638.205 1.165l1.221 4.907 2.027-7.201h1.595l1.652 7.2 1.49-4.78c.065-.215.122-.433.17-.652a2.72 2.72 0 00.07-.561c0-.244-.06-.424-.18-.54-.12-.115-.3-.182-.54-.201v-.466h2.944v.466c-.175.038-.32.105-.439.2a1.356 1.356 0 00-.317.407c-.094.174-.212.466-.354.876l-2.646 7.737h-1.68l-1.596-6.63-1.892 6.63h-1.766l-2.125-7.907c-.103-.386-.195-.654-.275-.805a1.029 1.029 0 00-.268-.34 1.023 1.023 0 00-.375-.168v-.466h3.8z"}):e}
|
|
2
2
|
//# sourceMappingURL=WordDocument.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import v from"react";export default function(h){h.
|
|
1
|
+
import v from"react";export default function(h){h.size;var c=h.isHovered,H=v.createElement("path",{fillRule:"evenodd",d:"M40.06 36.383H7.94V25.621c.13.022.26.04.394.04H21.59v1.48h.76v.94c0 .91.74 1.65 1.65 1.65.91 0 1.65-.74 1.65-1.65v-.94h.76v-1.48h13.255c.135 0 .265-.018.394-.04v10.762zM7.294 15.897H22.35v7.135h-.76v1.33H8.335c-.573 0-1.04-.468-1.04-1.04v-7.425zm10.9-3.6a.68.68 0 01.678-.68h10.255c.375 0 .681.305.681.68v2.3H18.194v-2.3zM23.35 27.14h1.3v.94a.65.65 0 11-1.3 0v-.94zm-.759-1h2.82v-2.108h-2.82v2.108zm.758-3.108h1.301v-7.136h-1.3v7.136zm17.356-7.135v7.424c0 .573-.467 1.04-1.04 1.04H26.41v-1.329h-.76v-7.135h15.055zm1.3 7.424v-8.724H31.108v-2.3c0-1.092-.888-1.98-1.98-1.98H18.873c-1.09 0-1.98.888-1.98 1.98v2.3H5.995v8.724c0 .666.283 1.264.73 1.69h-.084v12.672H41.36V25.011h-.084c.448-.426.73-1.024.73-1.69z"});return c?v.createElement("path",{d:"M40.06 36.383H7.94V25.621c.13.022.26.04.394.04H22.35v.201c0 .911.74 1.651 1.65 1.651.91 0 1.65-.74 1.65-1.65v-.202h14.015c.135 0 .266-.018.394-.04v10.762zM7.294 15.897H22.351l.015 5.657h-.754l-.02 2.807H8.334c-.573 0-1.04-.467-1.04-1.04v-7.424zm10.9-3.6a.68.68 0 01.68-.68h10.253c.375 0 .681.305.681.68v2.3H18.194v-2.3zm5.155 12.626h1.3v.94a.651.651 0 01-.65.65.651.651 0 01-.65-.65v-.94zm-.746-2.369h2.82l-.01 1.37h-2.82l.01-1.37zm2.048-6.657l.015 5.657h-1.3l-.016-5.657h1.301zm16.053 0v7.424c0 .573-.467 1.04-1.04 1.04H26.41l.022-2.807h-.765l-.015-5.657h15.053zm1.3 7.424v-8.724H31.108v-2.3c0-1.092-.888-1.98-1.98-1.98H18.874a1.983 1.983 0 00-1.98 1.98v2.3H5.994v8.724c0 .666.283 1.264.731 1.69h-.085v12.672H41.36V25.011h-.084c.448-.426.73-1.024.73-1.69z"}):H}
|
|
2
2
|
//# sourceMappingURL=WorkSuitcase.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"X.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/X.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,
|
|
1
|
+
{"version":3,"file":"X.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/X.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAW,YAAY,EAAE,MAAM,QAAQ,CAAC;AAE/C,QAAA,MAAM,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA0B7B,CAAC;AAEF,eAAe,CAAC,CAAC"}
|
package/components/Icons/X.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"react";export default function(l){var
|
|
1
|
+
import e from"react";import{getIcon as t}from"./Icon.js";import"../../_tslib-51c8a283.js";import"../../constants-075356e2.js";export default function(l){var r=l.size,a=l.isHovered;return t(r,a,e.createElement("path",{d:"M25.403 24l10.259-10.259-1.403-1.403L24 22.597l-10.259-10.26-1.403 1.403L22.597 24 12.338 34.26l1.403 1.403L24 25.403l10.259 10.259 1.403-1.403z"}),e.createElement("path",{d:"M24 22.597L12.327 10.924l-1.403 1.402L22.597 24 10.923 35.674l1.403 1.402L24 25.403l11.674 11.673 1.403-1.402L25.403 24l11.673-11.674-1.403-1.402z"}),e.createElement("path",{d:"M25.773 24l10.432-10.432-1.772-1.773-10.432 10.433-10.433-10.433-1.773 1.772L22.229 24 11.795 34.433l1.773 1.772 10.433-10.433 10.432 10.433 1.772-1.773z"}),e.createElement("path",{d:"M24 22.227L11.781 10.008l-1.772 1.772 12.219 12.219-12.22 12.22 1.772 1.772L24 25.771l12.22 12.22 1.772-1.772-12.22-12.22L37.991 11.78l-1.772-1.772z"}),e.createElement("path",{d:"M36.3746 13.6056 34.3946 11.6256 24.0006 22.0196 13.6066 11.6256 11.6266 13.6056 22.0206 23.9996 11.6266 34.3936 13.6066 36.3736 24.0006 25.9796 34.3946 36.3736 36.3746 34.3936 25.9806 23.9996"}),e.createElement("path",{d:"M39.0362 10.9454 37.0562 8.9654 24.0002 22.0194 10.9442 8.9654 8.9642 10.9454 22.0202 23.9994 8.9642 37.0554 10.9442 39.0354 24.0002 25.9814 37.0562 39.0354 39.0362 37.0554 25.9802 23.9994"}))}
|
|
2
2
|
//# sourceMappingURL=X.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from"react";export default function(l){l.size;var r=l.isHovered,t=e.createElement("path",{d:"m35.068 32.24-2.829 2.828L24 26.828l-8.239 8.24-2.829-2.828 8.24-8.24-8.24-8.24 2.829-2.827L24 21.172l8.239-8.24 2.829 2.829L26.829 24l8.239 8.24zm2.828-16.48-5.657-5.655L24 18.344l-8.239-8.24-5.657 5.657L18.343 24l-8.239 8.24 5.657 5.656L24 29.656l8.239 8.24 5.657-5.656L29.657 24l8.239-8.24z","fill-rule":"evenodd"});return r?e.createElement("path",{d:"m24 26.828-9.851 9.851-2.83-2.828L21.172 24l-9.858-9.86 2.829-2.828L24 21.172l9.84-9.84 2.829 2.827-9.84 9.84 9.845 9.848-2.83 2.828L24 26.829zM29.657 24l9.84-9.84-5.657-5.656-9.84 9.84-9.858-9.86-5.657 5.656L18.343 24l-9.851 9.852 5.657 5.656 9.85-9.852 9.846 9.846 5.657-5.656L29.657 24z","fill-rule":"evenodd"}):t}
|
|
2
2
|
//# sourceMappingURL=XOutline.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import h from"react";export default function(l){l.size;var e=l.isHovered,v=h.createElement("path",{fillRule:"evenodd",d:"M12 39.1h23.999V8.9H12v30.2zm-1.301 1.3H37.3V7.6H10.699v32.8zm7.482-7.089l1.037-1.796 1.042 1.796h.955L19.692 30.9l1.467-2.37h-.943l-1.011 1.766-.999-1.766h-.934l1.468 2.37-1.501 2.411h.942zm4.083-10.476l-2.292-2.292 2.292-2.292-.707-.707-2.999 2.999 2.999 2.999.707-.707zm6.3 5.695h-.797v4.781h2.994v-.637h-2.197V28.53zm-2.12-4.988l2.998-2.999-2.998-2.999-.707.707 2.291 2.292-2.291 2.292.707.707zm-4.57 9.769h.798v-1.629l-.082-2.092h.011l1.425 3.721h.535l1.431-3.73h.011l-.083 2.101v1.629h.798V28.53h-1.034l-1.39 3.703-1.385-3.703h-1.035v4.781z"});return e?h.createElement("path",{fillRule:"evenodd",d:"M12.001 39.1H36V8.9H12.001v30.2zM10.7 40.4h26.601V7.6H10.7v32.8zm7.48-7.089l1.038-1.796 1.042 1.796h.955L19.692 30.9l1.468-2.37h-.944l-1.01 1.766-.999-1.766h-.935l1.468 2.37-1.501 2.411h.941zm3.084-10.476l-2.292-2.292 2.292-2.292-.707-.707-2.999 2.999 2.999 2.999.707-.707zm7.3 5.695h-.798v4.781h2.995v-.637h-2.197V28.53zm-1.12-4.988l2.998-2.999-2.998-2.999-.707.707 2.291 2.292-2.291 2.292.707.707zm-5.569 9.769h.797v-1.629l-.082-2.092h.011l1.425 3.721h.535l1.432-3.73h.009l-.082 2.101v1.629h.798V28.53h-1.034l-1.39 3.703-1.385-3.703h-1.034v4.781z"}):v}
|
|
2
2
|
//# sourceMappingURL=XmlFile.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import a from"react";export default function(e){e.
|
|
1
|
+
import a from"react";export default function(e){e.size;var t=e.isHovered,m=a.createElement("path",{d:"M34.913 12.097a6.441 6.441 0 016.434 6.433v10.94a6.441 6.441 0 01-6.434 6.433H13.088a6.441 6.441 0 01-6.434-6.433V18.53a6.441 6.441 0 016.434-6.433zm0 1.3H13.088a5.139 5.139 0 00-5.133 5.133v10.94a5.139 5.139 0 005.133 5.133h21.825a5.139 5.139 0 005.133-5.133V18.53a5.139 5.139 0 00-5.133-5.133zm-14.755 5.07l10.616 5.41-10.616 5.41v-10.82zm1.3 2.122v6.577l6.453-3.288-6.452-3.29z"});return t?a.createElement("path",{d:"M34.912 12.097a6.441 6.441 0 016.434 6.433v10.94a6.441 6.441 0 01-6.434 6.433H13.087a6.441 6.441 0 01-6.434-6.433V18.53a6.441 6.441 0 016.434-6.433zm0 1.3H13.087a5.139 5.139 0 00-5.133 5.133v10.94a5.139 5.139 0 005.133 5.133h21.825a5.139 5.139 0 005.133-5.133V18.53a5.139 5.139 0 00-5.133-5.133zm-13.755 5.07l10.616 5.41-10.616 5.41v-10.82zm1.302 2.122v6.577l6.451-3.288-6.451-3.29z"}):m}
|
|
2
2
|
//# sourceMappingURL=YouTube.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Zoom.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/Zoom.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,
|
|
1
|
+
{"version":3,"file":"Zoom.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/Zoom.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAW,YAAY,EAAE,MAAM,QAAQ,CAAC;AAE/C,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA8BhC,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
package/components/Icons/Zoom.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"react";export default function(
|
|
1
|
+
import e from"react";import{getIcon as a}from"./Icon.js";import"../../_tslib-51c8a283.js";import"../../constants-075356e2.js";export default function(c){var l=c.size,v=c.isHovered;return a(l,v,e.createElement("path",{d:"M21.866 20.005h5.573v1.6h-5.573v5.572h-1.6v-5.572h-5.572v-1.6h5.572v-5.573h1.6v5.573zM37.758 38.11a2.24 2.24 0 0 1-1.606.612 2.23 2.23 0 0 1-1.568-.703l-6.066-6.421a13.263 13.263 0 0 0 1.562-1.25 13.312 13.312 0 0 0 1.65-1.888l6.118 6.476c.85.9.81 2.324-.09 3.174zm-17.02-5.783a11.452 11.452 0 0 1-8.052-3.607 11.45 11.45 0 0 1-3.142-8.243c.178-6.243 5.312-11.2 11.518-11.2.11 0 .222.002.333.005 6.353.18 11.375 5.497 11.194 11.85a11.456 11.456 0 0 1-3.607 8.053c-2.24 2.114-5.166 3.24-8.244 3.142zm18.273 1.51-6.406-6.782a13.068 13.068 0 0 0 1.583-5.876c.1-3.505-1.171-6.84-3.58-9.388a13.036 13.036 0 0 0-9.167-4.108C14.2 7.482 8.15 13.196 7.945 20.43a13.043 13.043 0 0 0 3.578 9.388 13.042 13.042 0 0 0 9.553 4.113c2.136 0 4.198-.513 6.048-1.48l6.297 6.666a3.82 3.82 0 0 0 2.685 1.203l.113.002a3.82 3.82 0 0 0 2.637-1.05 3.85 3.85 0 0 0 .155-5.436z","fill-rule":"evenodd"}),e.createElement("path",{d:"M21.866 20.005h6.278v1.6h-6.278v6.278h-1.6v-6.278h-6.278v-1.6h6.278v-6.278h1.6v6.278zm15.89 18.105c-.898.85-2.323.81-3.173-.091l-5.25-5.558a14.432 14.432 0 0 0 3.212-3.14l5.303 5.615c.85.9.809 2.323-.091 3.174zm-17.052-4.6a12.627 12.627 0 0 1-8.88-3.977 12.621 12.621 0 0 1-3.463-9.09 12.623 12.623 0 0 1 3.977-8.878 12.62 12.62 0 0 1 9.09-3.466c7.006.2 12.543 6.062 12.344 13.068-.2 7.006-6.068 12.558-13.068 12.343zm18.307.327-5.556-5.882a14.21 14.21 0 0 0 1.916-6.742c.225-7.888-6.01-14.488-13.897-14.713a14.22 14.22 0 0 0-10.235 3.9 14.218 14.218 0 0 0-4.478 9.997 14.217 14.217 0 0 0 3.9 10.234 14.219 14.219 0 0 0 10.41 4.485c2.49 0 4.836-.651 6.885-1.782l5.464 5.784a3.82 3.82 0 0 0 2.799 1.205 3.82 3.82 0 0 0 2.637-1.05 3.85 3.85 0 0 0 .155-5.436z","fill-rule":"evenodd"}),e.createElement("path",{d:"M22.591 20.708h3.645v2.02H22.59v3.644h-2.02v-3.643h-3.644v-2.021h3.643v-3.645h2.021v3.645zm11.882 13.63c-.5.5-1.372.5-1.874 0l-4.47-4.472c.691-.555 1.304-1.2 1.834-1.912l4.51 4.51a1.318 1.318 0 0 1 0 1.873zm-21.334-12.62c0-4.656 3.787-8.443 8.442-8.443 4.656 0 8.443 3.787 8.443 8.443 0 4.655-3.787 8.442-8.443 8.442-4.655 0-8.442-3.787-8.442-8.442zm22.764 9.316-4.866-4.864a10.39 10.39 0 0 0 1.008-4.452c0-5.77-4.694-10.464-10.464-10.464-5.769 0-10.463 4.694-10.463 10.464 0 5.77 4.694 10.463 10.463 10.463 1.738 0 3.375-.432 4.819-1.185l4.77 4.77c.632.631 1.474.98 2.367.98s1.734-.349 2.366-.98c.631-.632.98-1.472.98-2.366 0-.893-.349-1.733-.98-2.366z","fill-rule":"evenodd"}),e.createElement("path",{d:"M22.592 20.708H27v2.02h-4.408v4.408H20.57v-4.407h-4.409v-2.021h4.409v-4.409h2.02v4.409zm11.881 13.63c-.499.498-1.372.5-1.873 0l-3.724-3.725a11.63 11.63 0 0 0 1.834-1.912l3.763 3.763c.25.25.388.583.388.936 0 .355-.138.687-.388.937zm-22.382-12.62c0-5.233 4.258-9.49 9.49-9.49 5.233 0 9.49 4.257 9.49 9.49 0 5.232-4.257 9.49-9.49 9.49-5.232 0-9.49-4.258-9.49-9.49zm23.812 9.316-4.083-4.083a11.423 11.423 0 0 0 1.272-5.233c0-6.347-5.163-11.51-11.51-11.51-6.347 0-11.51 5.163-11.51 11.51 0 6.346 5.163 11.51 11.51 11.51 2.03 0 3.934-.533 5.591-1.459l3.998 3.997c.632.631 1.473.98 2.366.98s1.734-.349 2.365-.98c.632-.632.98-1.472.98-2.366 0-.893-.348-1.733-.98-2.366z","fill-rule":"evenodd"}))}
|
|
2
2
|
//# sourceMappingURL=Zoom.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Icon as o}from"./Icon.js";export{Icon,Icon as default,
|
|
1
|
+
import{Icon as o}from"./Icon.js";export{Icon,Icon as default,getIcon}from"./Icon.js";export{I as IconSize}from"../../constants-075356e2.js";import"../../_tslib-51c8a283.js";import"react";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{I as s}from"../../Input-
|
|
1
|
+
import{I as s}from"../../Input-cd0319e0.js";export{a as InputTypes,I as default}from"../../Input-cd0319e0.js";import"../../_rollupPluginBabelHelpers-6b3099b0.js";import"../../_tslib-51c8a283.js";import"react";import"../../index-9b84fabc.js";import"../../constants-075356e2.js";import"../../uuid-fe7442b7.js";import"../Icons/Icon.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../../useBreakpoint-3186b97e.js";import"./styles.module.scss";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as e}from"../../_rollupPluginBabelHelpers-
|
|
1
|
+
import{b as e}from"../../_rollupPluginBabelHelpers-6b3099b0.js";import{_ as r}from"../../_tslib-51c8a283.js";import o from"react";import{c as i}from"../../index-9b84fabc.js";import{Icon as t}from"../Icons/Icon.js";import{A as s,I as a}from"../../constants-075356e2.js";import l from"../Icons/ChevronRight.js";import{u as n,B as m}from"../../useBreakpoint-3186b97e.js";import{u as c}from"../../useHover-507fb85a.js";import d from"./styles.module.scss";import"../../grid-c105cad1.js";var f=o.forwardRef((function(f,p){var v,u=f.children,_=f.className,h=void 0===_?"":_,k=f.color,b=void 0===k?"neutral":k,g=f.icon,j=f.size,E=void 0===j?"medium":j,N=f.chevron,I=void 0!==N&&N,L=f.testId,z=f.target,y=r(f,["children","className","color","icon","size","chevron","testId","target"]),B=c(),H=B.hoverRef,x=B.isHovered,R=n(),S="small"!==E&&!(!I&&!g);return o.createElement("li",{ref:p,"data-testid":L,"data-analyticsid":s.Link},o.createElement("a",Object.assign({className:i(d["link-list__anchor"],d["link-list__anchor--"+b],(v={},e(v,d["link-list__anchor--small"],"small"===E),e(v,d["link-list__anchor--medium"],"medium"===E),e(v,d["link-list__anchor--large"],"large"===E),v),h),ref:H,rel:"_blank"===z?"noopener noreferrer":void 0,target:z},y),S&&g&&o.createElement("span",{className:d["link-list__icon"]},o.cloneElement(g,{size:R===m.xs?a.XSmall:a.Small,isHovered:x})),o.createElement("span",{className:d["link-list__content"]},u),S&&I&&o.createElement("span",{className:d["link-list__chevron"]},o.createElement(t,{svgIcon:l,isHovered:x,size:a.XSmall}))))})),p=o.forwardRef((function(r,t){var a,l=r.children,n=r.className,m=void 0===n?"":n,c=r.chevron,p=void 0!==c&&c,v=r.size,u=void 0===v?"medium":v,_=r.color,h=r.topBorder,k=void 0===h||h,b=r.bottomBorder,g=void 0===b||b,j=r.testId;return o.createElement("ul",{ref:t,className:i(d["link-list"],(a={},e(a,d["link-list--hastopborder"],k),e(a,d["link-list--nobottomborder"],!g),a),m||""),"data-testid":j,"data-analyticsid":s.LinkList},o.Children.map(l,(function(e){if(e.type===f)return o.cloneElement(e,{color:_,size:u,chevron:p})})))}));p.Link=f,f.displayName="LinkList.Link";export default p;export{p as LinkList};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/components/List/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import t from"react";import{c as e}from"../../index-9b84fabc.js";import s from"./styles.module.scss";import{A as a}from"../../constants-
|
|
1
|
+
import t from"react";import{c as e}from"../../index-9b84fabc.js";import s from"./styles.module.scss";import{A as a}from"../../constants-075356e2.js";export default function(r){var i=r.children,m=r.className,c=r.testId;return t.createElement("ul",{className:e(s.list,m),"data-testid":c,"data-analyticsid":a.List},i.map((function(e,a){return t.createElement("li",{className:s.list__item,key:a},e)})))}
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{L as s}from"../../Loader-
|
|
1
|
+
import{L as s}from"../../Loader-bf89238f.js";export{O as Overlay,L as default}from"../../Loader-bf89238f.js";import"../../_rollupPluginBabelHelpers-6b3099b0.js";import"react";import"../../index-9b84fabc.js";import"../../uuid-fe7442b7.js";import"./styles.module.scss";import"../../constants-075356e2.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/components/Logo/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{_ as e}from"../../_tslib-51c8a283.js";import t from"react";import{A as c}from"../../constants-
|
|
1
|
+
import{_ as e}from"../../_tslib-51c8a283.js";import t from"react";import{A as c}from"../../constants-075356e2.js";import{g as l}from"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";var a=function(e){var a=e.size,s=void 0===a?300:a,v=e.color,h=void 0===v?"black":v,i=e.className,o=void 0===i?"":i,r=e.testId;return t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:s,role:"img","aria-labelledby":"logo-title",viewBox:"0 0 502 220",className:o,"data-testid":r,"data-analyticsid":c.Logo},t.createElement("title",{id:"logo-title"},"Helsenorge"),t.createElement("g",{fill:l(h,500)},t.createElement("path",{d:"M39.8 2.5v26.9H17V2.5H1v69.9h16V43.6h22.8v28.8h16.1V2.5zM250.3 58.6V2.5h-16v69.9h43.5V58.6zM142.9 122.5c-16.1 0-27.4 13.6-27.4 33.1s11.2 33.1 27.4 33.1 27.4-13.6 27.4-33.1-11.3-33.1-27.4-33.1zm19 33.1c0 11.9-5 25.9-19 25.9s-19-13.9-19-25.9c0-11.9 5-25.9 19-25.9s19 14 19 25.9zM501 40c0-19.1-11.1-32.4-27-32.4-16.4 0-27.4 13.3-27.4 33.1 0 19.5 11.5 33.1 28 33.1 12.2 0 21.4-6 24.7-16.2l.5-1.6h-8.3l-.3.7c-2.8 6.2-8.8 9.8-16.6 9.8-12.9 0-18.5-11.5-19.5-22.7H501V40zm-8.3-3.2h-37.6c1-10.8 6.5-21.9 18.9-21.9 13.2 0 18.3 12.6 18.7 21.9zM30.4 122.4c-10.8 0-16.6 6.7-19.5 11.8v-9.9H3.3v62.6h8.1v-31.4c0-8.4 4.4-25.7 18.1-25.7 14 0 15.9 12 15.9 25v32.1h8.1v-32.1c.1-16.1-2.7-32.4-23.1-32.4zM134.3 59V43H157V30h-22.7V15.9H165V2.5h-46.4v69.9h47.3V59zM466.7 173.4v-16h22.7v-13h-22.7v-14.1h30.7v-13.4H451v69.9h47.3v-13.4zM246.7 140.5v-16.3h-7.6v62.6h8.1v-37.6l27.3-19.6v-9zM393.5 120.6l-14.7 10.5c-4.4-5.6-11.2-8.7-18.8-8.7-13.6 0-23.6 9.8-23.6 23.3 0 10.6 6.2 19.1 16 22.2l-16 17.5c-4 4.6-5.7 8.3-5.7 12.7 0 12.6 11.1 20.7 28.2 20.7 16.9 0 28.3-8.3 28.3-20.7 0-12.5-11.1-20.6-28.3-20.6-1.7 0-3.9.2-5.6.5l8-9c12.9-.7 22.2-10.4 22.2-23.3 0-2.8-.4-5.5-1.2-7.8 0-.1-.1-.2-.1-.3l11.2-8.1v-8.9zm-34.4 64.2c12.1 0 20 5.2 20 13.4s-7.8 13.5-20 13.5c-12.1 0-19.9-5.3-19.9-13.5 0-7.8 8.3-13.4 19.9-13.4zm.9-23c-8.8 0-15.2-6.8-15.2-16 0-9.3 6.4-16 15.2-16s15.2 6.7 15.2 16c0 9.2-6.4 16-15.2 16zM366.7 30.3c-6.6-2.3-13.5-4.7-13.5-9.2 0-4.8 4.2-7 9.3-7 5.4 0 9 4.5 9 8.5v.8h16.2v-.6c0-13-10.2-21.7-25.4-21.7-15.3 0-24.9 7.8-24.9 20.4 0 14.7 13.1 18.4 22.9 21.9 6.5 2.4 13.6 4.3 13.6 8.7 0 4.6-3.4 8-10.6 8-6.5 0-10.9-3.8-10.9-9.4v-.8h-16.7v.8c0 14.5 10.3 23.1 27.5 23.1 16.5 0 26-7.6 26-21.5 0-14.4-12.5-18.5-22.5-22z"})))},s=function(e){var c=e.size,a=void 0===c?300:c,s=e.color,v=void 0===s?"black":s,h=e.className,i=void 0===h?"":h,o=e.testId;return t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:a,role:"img","aria-labelledby":"logo-title",viewBox:"0 0 87 12",className:i,"data-testid":o},t.createElement("title",{id:"logo-title"},"Helsenorge"),t.createElement("g",{fill:l(v,500)},t.createElement("path",{d:"M5 .8v2.8H2.6V.8H1V8h1.6V5.1H5V8h1.6V.8zM20.9 6.6V.8h-1.6V8h4.5V6.6zM57.9 1.4c-1.7 0-2.8 1.4-2.8 3.4s1.2 3.4 2.8 3.4 2.8-1.4 2.8-3.4-1.1-3.4-2.8-3.4zm2 3.4c0 1.2-.5 2.7-2 2.7-1.4 0-2-1.4-2-2.7s.5-2.7 2-2.7 2 1.5 2 2.7zM86 4.7c0-2-1.1-3.3-2.8-3.3-1.7 0-2.8 1.4-2.8 3.4s1.2 3.4 2.9 3.4c1.2 0 2.2-.6 2.5-1.7l.1-.2H85v.1c-.3.6-.9 1-1.7 1-1.3 0-1.9-1.2-2-2.3H86v-.4zm-.9-.3h-3.9c.1-1.1.7-2.3 1.9-2.3 1.5 0 2 1.3 2 2.3zM49.2 1.4c-1.1 0-1.7.7-2 1.2v-1h-.8V8h.8V4.8c0-.9.5-2.6 1.9-2.6s1.6 1.2 1.6 2.6V8h.8V4.7c0-1.6-.2-3.3-2.3-3.3zM12.1 6.6V5h2.4V3.7h-2.4V2.2h3.2V.8h-4.8V8h4.9V6.6zM38.3 6.6V5h2.3V3.7h-2.3V2.2h3.2V.8h-4.8V8h4.9V6.6zM65.5 3.3V1.6h-.8V8h.8V4.1l2.8-2v-.9zM77.6 1.2l-1.5 1.1c-.5-.6-1.1-.9-1.9-.9-1.4 0-2.4 1-2.4 2.4 0 1.1.6 2 1.6 2.3l-1.6 1.8c-.4.5-.6.9-.6 1.3 0 1.3 1.1 2.1 2.9 2.1 1.7 0 2.9-.9 2.9-2.1 0-1.3-1.1-2.1-2.9-2.1h-.6l.8-.9c1.3-.1 2.3-1.1 2.3-2.4 0-.3 0-.6-.1-.8l1.2-.8v-1zM74 7.8c1.2 0 2.1.5 2.1 1.4 0 .8-.8 1.4-2.1 1.4-1.2 0-2-.5-2-1.4 0-.8.8-1.4 2-1.4zm.1-2.4c-.9 0-1.6-.7-1.6-1.7s.7-1.6 1.6-1.6c.9 0 1.6.7 1.6 1.6 0 1-.7 1.7-1.6 1.7zM30.4 3.7c-.7-.2-1.4-.5-1.4-1s.4-.7 1-.7.9.5.9.9V3h1.7v-.1c0-1.3-1.1-2.2-2.6-2.2-1.6 0-2.6.8-2.6 2.1 0 1.5 1.3 1.9 2.4 2.3.7.2 1.4.4 1.4.9s-.3.8-1.1.8c-.7 0-1.1-.4-1.1-1v-.1h-1.7v.1c0 1.5 1.1 2.4 2.8 2.4 1.7 0 2.7-.8 2.7-2.2-.1-1.5-1.4-2-2.4-2.3z"})))};export default function(c){var l=c.byline,v=void 0!==l&&l,h=e(c,["byline"]);return v?t.createElement(s,Object.assign({},h)):t.createElement(a,Object.assign({},h))}
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{M as s}from"../../Modal-
|
|
1
|
+
import{M as s}from"../../Modal-1776ded7.js";export{b as ModalSize,a as ModalVariants,M as default}from"../../Modal-1776ded7.js";import"../../_rollupPluginBabelHelpers-6b3099b0.js";import"react";import"../../index-9b84fabc.js";import"../../palette-f206f488.js";import"../../Button-ed1c6e3f.js";import"../../_tslib-51c8a283.js";import"../../constants-075356e2.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../grid-c105cad1.js";import"../../Loader-bf89238f.js";import"../../uuid-fe7442b7.js";import"../Loader/styles.module.scss";import"../../useHover-507fb85a.js";import"../../useWindowSize-58f26dea.js";import"../Button/styles.module.scss";import"../Icons/Icon.js";import"./styles.module.scss";import"../Icons/AlertSignStroke.js";import"../Icons/AlertSignFill.js";import"../../useIsVisible-f5d49913.js";import"../../Title-1d8708ea.js";import"../Title/styles.module.scss";import"../../Close-403016b0.js";import"../Icons/X.js";import"../Close/styles.module.scss";import"../../useBreakpoint-3186b97e.js";import"../Icons/CheckOutline.js";import"../Portal/index.js";import"react-dom";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as e}from"../../_rollupPluginBabelHelpers-
|
|
1
|
+
import{b as e}from"../../_rollupPluginBabelHelpers-6b3099b0.js";import o from"react";import{c as a}from"../../index-9b84fabc.js";import{p as r}from"../../palette-f206f488.js";import{Icon as t}from"../Icons/Icon.js";import{A as i}from"../../constants-075356e2.js";import n from"../Icons/InfoSignStroke.js";import l from"../Icons/AlertSignStroke.js";import c from"../Icons/AlertSignFill.js";import s from"./styles.module.scss";import{C as m}from"../../Close-403016b0.js";import"../../_tslib-51c8a283.js";import"../Icons/X.js";import"../Close/styles.module.scss";import"../../useBreakpoint-3186b97e.js";import"../../grid-c105cad1.js";var p={info:{color:"kiwi",depth:50},warn:{color:"banana",depth:50},alert:{color:"cherry",depth:100},crisis:{color:"black",depth:0}},f={info:o.createElement(t,{svgIcon:n,color:r.kiwi900,hoverColor:r.kiwi900}),warn:o.createElement(t,{svgIcon:l,color:"black",hoverColor:"black"}),alert:o.createElement(t,{svgIcon:c,color:r.cherry500,hoverColor:r.cherry500}),alertLabel:o.createElement(t,{svgIcon:l,color:r.cherry500,hoverColor:r.cherry500}),crisis:o.createElement(t,{svgIcon:c,color:r.banana200,hoverColor:r.banana200})},d=o.forwardRef((function(r,t){var n,l,c=r.children,p=r.variant,d=void 0===p?"info":p,b=r.shadow,h=void 0!==b&&b,v=r.dismissable,u=void 0!==v&&v,_=r.onClick,I=r.label,j=r.fluid,g=void 0!==j&&j,w=r.size,C=r.className,E=r.testId;var k,y=!!I&&!c;return k=o.createElement("div",{ref:t,"data-testid":E,"data-analyticsid":i.NotificationPanel,className:a(s["notification-panel"],w&&s["notification-panel--"+w],s["notification-panel--"+d],(n={},e(n,s["notification-panel--shadow"],!g&&h),e(n,s["notification-panel--has-children"],!y),e(n,s["notification-panel--label-only"],y),e(n,s["notification-panel--dismissable"],!y&&u),n),C)},o.createElement("span",{className:s["notification-panel__icon"]},f["alert"===d&&I&&!c?"alertLabel":d]),o.createElement("section",{"aria-label":function(){if(c){var e="";return o.Children.map(c,(function(o){"string"==typeof o&&(e+=o)})),e}return""}(),className:a(s["notification-panel__content"],(l={},e(l,s["notification-panel__content--crisis"],"crisis"===d),e(l,s["notification-panel__content--alert"],"alert"===d),l))},I&&o.createElement("h1",{className:s["notification-panel__label"],dangerouslySetInnerHTML:{__html:I}}),c),!y&&u&&o.createElement("span",{className:s["notification-panel__close"]},o.createElement(m,{ariaLabel:r.ariaLabelCloseBtn,onClick:_}))),g?o.createElement("div",{className:a(s["fluid-wrapper"],s["fluid-wrapper--"+d],e({},s["fluid-wrapper--shadow"],h))},k):k}));export default d;export{p as variantToColorMap};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import t from"react";import{createPortal as e}from"react-dom";import{A as r}from"../../constants-
|
|
1
|
+
import t from"react";import{createPortal as e}from"react-dom";import{A as r}from"../../constants-075356e2.js";export default function(n){var a=n.children,o=n.parent,i=n.className,c=n.testId,d=t.useMemo((function(){return document.createElement("div")}),[]);return d.setAttribute("data-analyticsid",r.Portal),c&&d.setAttribute("data-testid",c),t.useEffect((function(){var t=o&&o.appendChild?o:document.body,e=["portal-container"];return i&&i.split(" ").forEach((function(t){return e.push(t)})),e.forEach((function(t){return d.classList.add(t)})),t.appendChild(d),function(){t.removeChild(d)}}),[d,o,i]),e(a,d)}
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{R as o}from"../../RadioButton-
|
|
1
|
+
import{R as o}from"../../RadioButton-b0da1997.js";export{R as RadioButton,R as default}from"../../RadioButton-b0da1997.js";import"../../_rollupPluginBabelHelpers-6b3099b0.js";import"react";import"../../index-9b84fabc.js";import"../../uuid-fe7442b7.js";import"./styles.module.scss";import"../../constants-075356e2.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{_ as e}from"../../_rollupPluginBabelHelpers-
|
|
1
|
+
import{_ as e}from"../../_rollupPluginBabelHelpers-6b3099b0.js";import t,{useState as n,useRef as r,useEffect as a}from"react";import{c as o}from"../../index-9b84fabc.js";import{T as i}from"../../Title-1d8708ea.js";import c from"./styles.module.scss";import{A as u}from"../../constants-075356e2.js";import"../Title/styles.module.scss";var s=function(e){return e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault(),!1},l=function(e){return m(e)?e.touches[0].pageX:e.pageX},d=function(e){var t=e?e.getBoundingClientRect():void 0;return t?t.right-t.left:0},m=function(e){return("touchcancel"===e.type||"touchend"===e.type||"touchenter"===e.type||"touchleave"===e.type||"touchmove"===e.type||"touchstart"===e.type)&&!(0===e.touches.length)},f=function(e,t,n){var r=e-e%t,a=Math.floor(n/t)*t;e>a&&(e>a+(n-a)/2&&(r=n));return Math.round(r)},v=t.forwardRef((function(m,v){var p=m.title,h=m.labelLeft,_=m.labelRight,g=m.disabled,E=void 0!==g&&g,y=m.step,b=void 0===y?1:y,w=m.onChange,k=m.testId,L=n(50),x=e(L,2),N=x[0],A=x[1],D=n(!1),M=e(D,2),R=M[0],j=M[1],T=n(0),B=e(T,2),C=B[0],P=B[1],I=n(0),S=e(I,2),X=S[0],H=S[1],K=n(0),U=e(K,2),q=U[0],z=U[1],F=n(0),G=e(F,2),J=G[0],O=G[1],Q=v||r(null),V=r(null),W=function(e){ne(e)},Y=function(e){te(e)},Z=function(e){ne(e)},$=function(e){te(e)};a((function(){var e=d(Q.current),t=d(V.current);z(function(e,t,n,r,a){return(t-n)/(a-r)*e}(N,e,t,0,100)),P(e),H(t)}),[]),a((function(){R&&(function(e,t){document.addEventListener("mousemove",e,!1),document.addEventListener("mouseup",t,!1)}(W,Y),function(e,t){document.addEventListener("touchmove",e,!1),document.addEventListener("touchend",t,!1)}(Z,$))}),[R]),a((function(){!E&&w&&w(N)}),[N]);var ee=function(e){var t;if(!E){var n=d(Q.current),r=d(V.current),a=l(e);!function(e,t,n,r){var a=t?t.getBoundingClientRect():void 0,o=a?a.left:0;r(o?e-(o+n/2):0)}(a,V.current,r,re),j(!0),O(a),P(n),H(r),null===(t=V.current)||void 0===t||t.focus(),s(e)}},te=function(e){E||(j(!1),function(e,t){document.removeEventListener("mousemove",e,!1),document.removeEventListener("mouseup",t,!1)}(W,Y),function(e,t){document.removeEventListener("touchmove",e,!1),document.removeEventListener("touchend",t,!1)}(Z,$),s(e))},ne=function(e){if(!E&&R){var t=l(e);re(t-J),s(e)}},re=function(e){if(0!==e){var t=function(e,t,n,r){var a=r+e;return a<0&&(a=0),a>t-n&&(a=t-n),a}(e,C,X,q);z(t),O(t+e),A(function(e,t,n,r,a,o){var i=(t-n)/(o-a),c=Math.round(e/i);return f(c,r,o)}(t,C,X,b,0,100))}};return t.createElement("div",{className:c.slider,"data-testid":k,"data-analyticsid":u.Slider},p&&t.createElement(i,{htmlMarkup:"h3",margin:1.5,appearance:"title3"},p),t.createElement("div",{ref:Q,className:o(c["slider__track-wrapper"],E?c["slider__track-wrapper--disabled"]:""),onMouseDown:ee,onTouchStart:ee,"data-testid":"tracker"},t.createElement("div",{className:o(c.slider__track,E?c["slider__track--disabled"]:"")}),t.createElement("div",{ref:V,className:o(c.slider__trigger,E?c["slider__trigger--disabled"]:""),style:{left:"".concat(q,"px")},onKeyDown:function(e){if(!E){var t=(C-X)/100;"ArrowRight"!==e.key&&"ArrowDown"!==e.key||re(b*t),"ArrowLeft"!==e.key&&"ArrowUp"!==e.key||re(-b*t)}},role:"slider","aria-valuenow":N,"aria-valuemin":0,"aria-valuemax":100,"aria-label":"".concat(p?p+" ":"").concat(h?h+" ":"").concat(_?_+" ":""),tabIndex:E?-1:0},t.createElement("div",{className:o(c["slider__trigger-inner"],E?c["slider__trigger-inner--disabled"]:"")}))),(h||_)&&t.createElement("span",{className:c.slider__options},t.createElement("p",{className:c.slider__text,"aria-hidden":!0},h),t.createElement("p",{className:c.slider__text,"aria-hidden":!0},_)))}));export default v;export{v as Slider};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as s}from"../../_rollupPluginBabelHelpers-
|
|
1
|
+
import{b as s}from"../../_rollupPluginBabelHelpers-6b3099b0.js";import a from"react";import{c as e}from"../../index-9b84fabc.js";import r from"./styles.module.scss";import{A as l}from"../../constants-075356e2.js";var c=a.forwardRef((function(c,p){var t,x=c.size,o=void 0===x?"s":x,m=c.className,i=c.testId,f=e(r.spacer,(s(t={},r["spacer--4xs"],"4xs"===o),s(t,r["spacer--3xs"],"3xs"===o),s(t,r["spacer--2xs"],"2xs"===o),s(t,r["spacer--xs"],"xs"===o),s(t,r["spacer--s"],"s"===o),s(t,r["spacer--m"],"m"===o),s(t,r["spacer--l"],"l"===o),s(t,r["spacer--xl"],"xl"===o),s(t,r["spacer--2xl"],"2xl"===o),s(t,r["spacer--3xl"],"3xl"===o),s(t,r["spacer--4xl"],"4xl"===o),s(t,r["spacer--5xl"],"5xl"===o),s(t,r["spacer--6xl"],"6xl"===o),t),m);return a.createElement("span",{className:f,ref:p,"data-testid":i,"data-analyticsid":l.Spacer})}));export default c;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{T as
|
|
1
|
+
import{T as s}from"../../Textarea-648063a9.js";export{T as default}from"../../Textarea-648063a9.js";import"../../_rollupPluginBabelHelpers-6b3099b0.js";import"../../_tslib-51c8a283.js";import"react";import"../../index-9b84fabc.js";import"./styles.module.scss";import"../../constants-075356e2.js";import"../../uuid-fe7442b7.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/components/Tile/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{_ as e,b as t}from"../../_rollupPluginBabelHelpers-
|
|
1
|
+
import{_ as e,b as t}from"../../_rollupPluginBabelHelpers-6b3099b0.js";import{_ as i}from"../../_tslib-51c8a283.js";import r,{useState as l}from"react";import{c as a}from"../../index-9b84fabc.js";import{A as o,I as n}from"../../constants-075356e2.js";import s from"./styles.module.scss";var c=r.forwardRef((function(e,i){var l,o=e.children,n=e.className,c=e.htmlMarkup,m=void 0===c?"span":c,d=e.highlighted,p=e.compact,f=a(s.tile__title,(t(l={},s["tile__title--highlighted"],d),t(l,s["tile__title--compact"],p),l),n),u=m;return r.createElement(u,{className:f,ref:i},o)})),m=r.forwardRef((function(c,m){var d,p=c.icon,f=c.title,u=c.className,h=void 0===u?"":u,g=c.description,_=c.fixed,b=void 0!==_&&_,v=c.highlighted,E=void 0!==v&&v,N=c.testId,x=i(c,["icon","title","className","description","fixed","highlighted","testId"]),j=l(!1),w=e(j,2),M=w[0],k=w[1],I=!g,y=a(s.tile,(t(d={},s["tile--fixed"],b),t(d,s["tile--compact"],I),t(d,s["tile--highlighted"],E),d),h),B=a(s["title-wrapper"],t({},s["title-wrapper--compact"],I));return r.createElement("a",Object.assign({ref:m,className:y,onMouseEnter:function(){return k(!0)},onMouseLeave:function(){return k(!1)},onFocus:function(){return k(!0)},onBlur:function(){return k(!1)},"data-testid":N,"data-analyticsid":o.Tile,rel:"_blank"===c.target?"noopener noreferrer":c.rel},x),r.createElement("div",{className:B},r.cloneElement(p,{size:n.Medium,isHovered:M,color:E?"white":"black"}),r.cloneElement(f,{highlighted:E,compact:I})),g?r.createElement("p",{className:s.tile__description},g):null)}));m.Title=c;export default m;export{m as Tile};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{T as s}from"../../Title-
|
|
1
|
+
import{T as s}from"../../Title-1d8708ea.js";export{T as default,i as instanceOfTitleMargin}from"../../Title-1d8708ea.js";import"../../_rollupPluginBabelHelpers-6b3099b0.js";import"react";import"../../index-9b84fabc.js";import"./styles.module.scss";import"../../constants-075356e2.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{V as s}from"../../Validation-
|
|
1
|
+
import{V as s}from"../../Validation-df81209c.js";export{V as Validation,V as default}from"../../Validation-df81209c.js";import"react";import"../../index-9b84fabc.js";import"../../FormGroup-fbf475ed.js";import"../../_rollupPluginBabelHelpers-6b3099b0.js";import"../FormGroup/styles.module.scss";import"../../Checkbox-8e590de0.js";import"../../uuid-fe7442b7.js";import"../Icons/Check.js";import"../Icons/Icon.js";import"../../_tslib-51c8a283.js";import"../../constants-075356e2.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../Checkbox/styles.module.scss";import"../../RadioButton-b0da1997.js";import"../RadioButton/styles.module.scss";import"../../Input-cd0319e0.js";import"../../useBreakpoint-3186b97e.js";import"../Input/styles.module.scss";import"../../Title-1d8708ea.js";import"../Title/styles.module.scss";import"./styles.module.scss";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var a,o,n,e,i;!function(a){a[a.XXSmall=24]="XXSmall",a[a.XSmall=38]="XSmall",a[a.Small=48]="Small",a[a.Medium=64]="Medium",a[a.Large=80]="Large",a[a.XLarge=130]="XLarge"}(a||(a={})),function(a){a[a.Modal=13e5]="Modal",a[a.ExpanderTrigger=1e4]="ExpanderTrigger"}(o||(o={})),function(a){a.onwhite="onwhite",a.ongrey="ongrey",a.onblueberry="onblueberry",a.ondark="ondark",a.oninvalid="oninvalid"}(n||(n={})),function(a){a.normal="normal",a.bigform="bigform"}(e||(e={})),function(a){a.AnchorLink="anchor-link",a.Avatar="avatar",a.Badge="badge",a.Button="button",a.Checkbox="checkbox",a.Close="close",a.Expander="expander",a.ExpanderList="expander-list",a.ExpanderListExpander="expander-list-expander",a.FormGroup="form-group",a.HighlightBox="highlight-box",a.Icon="icon",a.Input="input",a.Link="link",a.LinkList="link-list",a.List="list",a.Loader="loader",a.Logo="logo",a.Modal="modal",a.NotificationPanel="notification-panel",a.Portal="portal",a.RadioButton="radio-button",a.Slider="slider",a.Spacer="spacer",a.Textarea="textarea",a.Tile="tile",a.Title="title",a.Validation="validation"}(i||(i={}));export{i as A,n as F,a as I,o as Z,e as a};
|
|
2
|
+
//# sourceMappingURL=constants-075356e2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants-075356e2.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/constants.d.ts
CHANGED
package/constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"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"}
|
package/grid-c105cad1.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var x={xxs:0,xs:360,sm:564,md:768,lg:1088,xl:1450},t={xxs:"(min-width: ".concat(x.xxs,"px)"),xs:"(min-width: ".concat(x.xs,"px)"),sm:"(min-width: ".concat(x.sm,"px)"),md:"(min-width: ".concat(x.md,"px)"),lg:"(min-width: ".concat(x.lg,"px)"),xl:"(min-width: ".concat(x.xl,"px)")};export{x as b,t as s};
|
|
2
|
+
//# sourceMappingURL=grid-c105cad1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid-c105cad1.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hoc/withBreakpoint/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,cAAc,kBAAkB,CAAC;AACjC,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import r from"react";import{u as e}from"../../useBreakpoint-3186b97e.js";import"../../_rollupPluginBabelHelpers-6b3099b0.js";import"../../grid-c105cad1.js";function t(t){return r.forwardRef((function(o,a){var i=e();return r.createElement(t,Object.assign({ref:a},o,{breakpoint:i}))}))}export default t;export{t as withBreakpoint};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
File without changes
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Breakpoint } from '../../hooks/useBreakpoint';
|
|
3
|
+
export interface BreakpointProps {
|
|
4
|
+
breakpoint?: Breakpoint;
|
|
5
|
+
}
|
|
6
|
+
export declare function withBreakpoint<T extends React.ComponentClass<any>>(Component: T): React.ForwardRefExoticComponent<React.ComponentPropsWithoutRef<T> & {
|
|
7
|
+
ref?: React.Ref<InstanceType<T>>;
|
|
8
|
+
}>;
|
|
9
|
+
export declare function withBreakpoint<P extends {
|
|
10
|
+
ref?: React.Ref<any>;
|
|
11
|
+
}>(Component: React.ForwardRefExoticComponent<P>): React.ForwardRefExoticComponent<P>;
|
|
12
|
+
export declare function withBreakpoint<P>(Component: React.FunctionComponent<P>): React.ForwardRefExoticComponent<P>;
|
|
13
|
+
export default withBreakpoint;
|
|
14
|
+
//# sourceMappingURL=withBreakpoint.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"withBreakpoint.d.ts","sourceRoot":"","sources":["../../../src/hoc/withBreakpoint/withBreakpoint.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,UAAU,EAAiB,MAAM,2BAA2B,CAAC;AAEtE,MAAM,WAAW,eAAe;IAC9B,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB;AAGD,wBAAgB,cAAc,CAAC,CAAC,SAAS,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,EAChE,SAAS,EAAE,CAAC,GACX,KAAK,CAAC,yBAAyB,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAA;CAAE,CAAC,CAAC;AAE7G,wBAAgB,cAAc,CAAC,CAAC,SAAS;IAAE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;CAAE,EAC/D,SAAS,EAAE,KAAK,CAAC,yBAAyB,CAAC,CAAC,CAAC,GAC5C,KAAK,CAAC,yBAAyB,CAAC,CAAC,CAAC,CAAC;AAEtC,wBAAgB,cAAc,CAAC,CAAC,EAAE,SAAS,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,yBAAyB,CAAC,CAAC,CAAC,CAAC;AAS7G,eAAe,cAAc,CAAC"}
|
package/hooks/useBreakpoint.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useBreakpoint.d.ts","sourceRoot":"","sources":["../../src/hooks/useBreakpoint.ts"],"names":[],"mappings":"AAGA,oBAAY,UAAU;IACpB,EAAmB;IACnB,EAAmB;IACnB,EAAmB;IACnB,EAAmB;IACnB,EAAmB;CACpB;AAED;;;GAGG;AACH,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"useBreakpoint.d.ts","sourceRoot":"","sources":["../../src/hooks/useBreakpoint.ts"],"names":[],"mappings":"AAGA,oBAAY,UAAU;IACpB,GAAqB;IACrB,EAAmB;IACnB,EAAmB;IACnB,EAAmB;IACnB,EAAmB;IACnB,EAAmB;CACpB;AAED;;;GAGG;AACH,eAAO,MAAM,aAAa,8BA6CzB,CAAC"}
|
package/hooks/useHover.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { RefObject } from 'react';
|
|
|
5
5
|
*
|
|
6
6
|
* includeFocus: If focusing the ref should count as a hover or not. True by default.
|
|
7
7
|
*/
|
|
8
|
-
export declare const useHover: <T extends HTMLElement>(ref?: RefObject<T> | undefined, condition?: boolean | undefined, includeFocus?: boolean) => {
|
|
8
|
+
export declare const useHover: <T extends HTMLElement | SVGElement>(ref?: RefObject<T> | undefined, condition?: boolean | undefined, includeFocus?: boolean) => {
|
|
9
9
|
hoverRef: RefObject<T>;
|
|
10
10
|
isHovered: boolean;
|
|
11
11
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLayoutEvent.d.ts","sourceRoot":"","sources":["../../src/hooks/useLayoutEvent.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"useLayoutEvent.d.ts","sourceRoot":"","sources":["../../src/hooks/useLayoutEvent.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,wEAa1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWindowSize.d.ts","sourceRoot":"","sources":["../../src/hooks/useWindowSize.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useWindowSize.d.ts","sourceRoot":"","sources":["../../src/hooks/useWindowSize.ts"],"names":[],"mappings":"AAWA,wBAAgB,aAAa;;;EAU5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-d1c9177a.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{t as theme}from"./index-
|
|
1
|
+
export{t as theme}from"./index-d1c9177a.js";export{B as Breakpoint,u as useBreakpoint}from"./useBreakpoint-3186b97e.js";import{_ as e}from"./_rollupPluginBabelHelpers-6b3099b0.js";import{useState as n,useEffect as o}from"react";export{u as useFocusTrap,a as useIntersectionObserver,b as useIsVisible}from"./useIsVisible-f5d49913.js";export{u as useHover}from"./useHover-507fb85a.js";export{u as useLayoutEvent,a as useWindowSize}from"./useWindowSize-58f26dea.js";export{u as usePrevious}from"./usePrevious-ae293b10.js";export{u as useSticky}from"./useSticky-a572c326.js";export{A as AnalyticsId,F as FormMode,a as FormVariant,I as IconSize,Z as ZIndex}from"./constants-075356e2.js";import"./palette-f206f488.js";import"./grid-c105cad1.js";var r=['a[href]:not([tabindex^="-"])','area[href]:not([tabindex^="-"])','input:not([type="hidden"]):not([type="radio"]):not([disabled]):not([tabindex^="-"])','input[type="radio"]:not([disabled]):not([tabindex^="-"])','select:not([disabled]):not([tabindex^="-"])','textarea:not([disabled]):not([tabindex^="-"])','button:not([disabled]):not([tabindex^="-"])','iframe:not([tabindex^="-"])','audio[controls]:not([tabindex^="-"])','video[controls]:not([tabindex^="-"])','[contenteditable]:not([tabindex^="-"])','[tabindex]:not([tabindex^="-"])'].join(","),i=function(t,a){var i=n(),s=e(i,2),u=s[0],d=s[1];return o((function(){var e=function(){var e,n=null===(e=t.current)||void 0===e?void 0:e.querySelectorAll(r);d(n)},n=new MutationObserver(e);return(null==t?void 0:t.current)&&n.observe(t.current,{subtree:!0,childList:!0}),e(),function(){n.disconnect()}}),[t]),o((function(){a?null==u||u.forEach((function(e){var t=e.getAttribute("data-tabindex");t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")})):null==u||u.forEach((function(e){e.hasAttribute("tabindex")&&e.setAttribute("data-tabindex","".concat(e.tabIndex)),e.tabIndex=-1}))}),[a,u]),u},s=function(t){var r=n(),a=e(r,2),i=a[0],s=a[1];return o((function(){var e=new ResizeObserver((function(e){s(e[0].target.getBoundingClientRect())}));return(null==t?void 0:t.current)&&e.observe(null==t?void 0:t.current),e.disconnect}),[t]),i};export{i as useFocusToggle,s as useSize};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@helsenorge/designsystem-react",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "1.0.0-
|
|
4
|
+
"version": "1.0.0-beta109",
|
|
5
5
|
"description": "The official design system for Helsenorge built with React.",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "tfs",
|
|
@@ -64,6 +64,7 @@
|
|
|
64
64
|
"identity-obj-proxy": "^3.0.0",
|
|
65
65
|
"jest": "^26.0.1",
|
|
66
66
|
"jest-watch-typeahead": "^0.4.2",
|
|
67
|
+
"jest-when": "^3.5.1",
|
|
67
68
|
"node-sass": "^4.13.0",
|
|
68
69
|
"normalize.css": "8.0.1",
|
|
69
70
|
"npm-run-all": "^4.1.5",
|
package/scss/_breakpoints.scss
CHANGED
package/theme/grid.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const breakpoints: {
|
|
2
|
-
|
|
2
|
+
xxs: number;
|
|
3
3
|
xs: number;
|
|
4
4
|
sm: number;
|
|
5
5
|
md: number;
|
|
@@ -12,6 +12,7 @@ export declare const containerMaxWidths: {
|
|
|
12
12
|
lg: number;
|
|
13
13
|
};
|
|
14
14
|
export declare const screen: {
|
|
15
|
+
xxs: string;
|
|
15
16
|
xs: string;
|
|
16
17
|
sm: string;
|
|
17
18
|
md: string;
|
package/theme/grid.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid.d.ts","sourceRoot":"","sources":["../../src/theme/grid.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;CAOvB,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;CAI9B,CAAC;AAEF,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"grid.d.ts","sourceRoot":"","sources":["../../src/theme/grid.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;CAOvB,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;CAI9B,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;CAOlB,CAAC"}
|
package/theme/index.d.ts
CHANGED
|
@@ -81,6 +81,7 @@ export declare const theme: {
|
|
|
81
81
|
banana900: string;
|
|
82
82
|
};
|
|
83
83
|
screen: {
|
|
84
|
+
xxs: string;
|
|
84
85
|
xs: string;
|
|
85
86
|
sm: string;
|
|
86
87
|
md: string;
|
|
@@ -88,7 +89,7 @@ export declare const theme: {
|
|
|
88
89
|
xl: string;
|
|
89
90
|
};
|
|
90
91
|
breakpoints: {
|
|
91
|
-
|
|
92
|
+
xxs: number;
|
|
92
93
|
xs: number;
|
|
93
94
|
sm: number;
|
|
94
95
|
md: number;
|
package/theme/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/theme/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/theme/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMjB,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{_ as e}from"./_rollupPluginBabelHelpers-6b3099b0.js";import{useState as r,useEffect as n}from"react";import{b as s,s as t}from"./grid-c105cad1.js";var a;!function(e){e[e.xxs=s.xxs]="xxs",e[e.xs=s.xs]="xs",e[e.sm=s.sm]="sm",e[e.md=s.md]="md",e[e.lg=s.lg]="lg",e[e.xl=s.xl]="xl"}(a||(a={}));var i=function(){var s=r(),i=e(s,2),m=i[0],o=i[1];return n((function(){var r,n,s=function(e){switch(e.media){case t.xl:return void o(e.matches?a.xl:a.lg);case t.lg:return void o(e.matches?a.lg:a.md);case t.md:return void o(e.matches?a.md:a.sm);case t.sm:return void o(e.matches?a.sm:a.xs);case t.xs:return void o(e.matches?a.xs:a.xxs);default:return void o(a.xxs)}},i=Object.entries(t).reverse().map((function(r){var n=e(r,2),s=n[0],t=n[1];return{breakpoint:a[s],mediaQuery:window.matchMedia(t)}}));i.forEach((function(e){return e.mediaQuery.addEventListener("change",s)}));var m=null!==(n=null===(r=i.find((function(e){return e.mediaQuery.matches})))||void 0===r?void 0:r.breakpoint)&&void 0!==n?n:a.xs;return o(m),function(){i.forEach((function(e){return e.mediaQuery.removeEventListener("change",s)}))}}),[]),m};export{a as B,i as u};
|
|
2
|
+
//# sourceMappingURL=useBreakpoint-3186b97e.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useBreakpoint-3186b97e.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{_ as e}from"./_rollupPluginBabelHelpers-
|
|
2
|
-
//# sourceMappingURL=useHover-
|
|
1
|
+
import{_ as e}from"./_rollupPluginBabelHelpers-6b3099b0.js";import{useRef as r,useState as n,useEffect as t}from"react";var o=function(o,u){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],c=o||r(null),f=n(!1),a=e(f,2),v=a[0],s=a[1];return t((function(){var e=c.current,r=function(){return s(!0)},n=function(){return s(!1)},t=["mouseenter",i?"focusin":""];t.forEach((function(n){return e&&e.addEventListener(n,r)}));var o=["mouseleave",i?"focusout":""];return o.forEach((function(r){return e&&e.addEventListener(r,n)})),function(){[].concat(t,o).forEach((function(t){return e&&e.removeEventListener(t,r)&&e.removeEventListener(t,n)}))}}),[c,u]),{hoverRef:c,isHovered:v}};export{o as u};
|
|
2
|
+
//# sourceMappingURL=useHover-507fb85a.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useHover-507fb85a.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|