@helsenorge/designsystem-react 1.0.0-beta125 → 1.0.0-beta126
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/Badge-9dc33042.js +2 -0
- package/Badge-9dc33042.js.map +1 -0
- package/{Button-a7ae5afb.js → Button-438a02c1.js} +2 -2
- package/Button-438a02c1.js.map +1 -0
- package/{Checkbox-b0271e50.js → Checkbox-40365d70.js} +2 -2
- package/Checkbox-40365d70.js.map +1 -0
- package/Close-df5087c3.js +2 -0
- package/Close-df5087c3.js.map +1 -0
- package/FormGroup-97ca00ea.js +2 -0
- package/FormGroup-97ca00ea.js.map +1 -0
- package/FormLayout-d6b786db.js +2 -0
- package/FormLayout-d6b786db.js.map +1 -0
- package/{Input-b5f362b8.js → Input-58069d29.js} +2 -2
- package/Input-58069d29.js.map +1 -0
- package/{Loader-a7566e5f.js → Loader-79187de4.js} +2 -2
- package/Loader-79187de4.js.map +1 -0
- package/{Modal-3702a0b8.js → Modal-4a92001a.js} +2 -2
- package/Modal-4a92001a.js.map +1 -0
- package/{Panel-8a6a740c.js → Panel-f36456da.js} +2 -2
- package/Panel-f36456da.js.map +1 -0
- package/{RadioButton-403681d9.js → RadioButton-692ed90a.js} +2 -2
- package/RadioButton-692ed90a.js.map +1 -0
- package/{Textarea-47398150.js → Textarea-f2b34d54.js} +2 -2
- package/Textarea-f2b34d54.js.map +1 -0
- package/{Title-53c8b68d.js → Title-face7728.js} +2 -2
- package/Title-face7728.js.map +1 -0
- package/{Validation-0c27dd5b.js → Validation-f34d539c.js} +2 -2
- package/Validation-f34d539c.js.map +1 -0
- package/__mocks__/IntersectionObserver.js +1 -1
- package/__mocks__/ResizeObserver.js +1 -1
- package/_rollupPluginBabelHelpers-0f007973.js +2 -0
- package/_rollupPluginBabelHelpers-0f007973.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/Dropdown/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/FormExample/index.js.map +1 -1
- package/components/FormGroup/index.js +1 -1
- package/components/FormLayout/index.js +1 -1
- package/components/HighlightBox/index.js +1 -1
- package/components/Icons/ActiveMonitoring.js +1 -1
- package/components/Icons/AcupunctureBack.js +1 -1
- package/components/Icons/AdditionalIconInformation.js.map +1 -1
- package/components/Icons/AlarmClock.js +1 -1
- package/components/Icons/AlertSignFill.js +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.js +1 -1
- package/components/Icons/ArmFlexing.js +1 -1
- package/components/Icons/ArrowLeft.js +1 -1
- package/components/Icons/ArrowRight.js +1 -1
- package/components/Icons/ArrowUpRight.js +1 -1
- package/components/Icons/Attachment.js +1 -1
- package/components/Icons/Atv.js +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/BirthControl.js +1 -1
- package/components/Icons/BirthdayCake.js +1 -1
- package/components/Icons/Boat.js +1 -1
- package/components/Icons/Body.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.js +1 -1
- package/components/Icons/Calendar.js +1 -1
- package/components/Icons/CalendarChange.js +1 -1
- package/components/Icons/CalendarCheck.js +1 -1
- package/components/Icons/CalendarEvent.js +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.js +1 -1
- package/components/Icons/Check.js +1 -1
- package/components/Icons/CheckFill.js +1 -1
- package/components/Icons/CheckOutline.js +1 -1
- package/components/Icons/Chest.js +1 -1
- package/components/Icons/ChevronDown.js +1 -1
- package/components/Icons/ChevronLeft.js +1 -1
- package/components/Icons/ChevronRight.js +1 -1
- package/components/Icons/ChevronUp.js +1 -1
- package/components/Icons/ChevronsDown.js +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.js +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/DataExchange.js +1 -1
- package/components/Icons/DataReceived.js +1 -1
- package/components/Icons/DataSent.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.js +1 -1
- package/components/Icons/Draft.js +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.js +1 -1
- package/components/Icons/Envelope.js +1 -1
- package/components/Icons/Epilepsy.js +1 -1
- package/components/Icons/Eraser.js +1 -1
- package/components/Icons/ErrorSignFill.js +1 -1
- package/components/Icons/ErrorSignStroke.js +1 -1
- package/components/Icons/EuropeanHealthCard.js +1 -1
- package/components/Icons/ExitFullScreen.js +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/FloppyDisk.js +1 -1
- package/components/Icons/Football.js +1 -1
- package/components/Icons/Form.js +1 -1
- package/components/Icons/Forward.js +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/GenderIdentity.js +1 -1
- package/components/Icons/Globe.js +1 -1
- package/components/Icons/Group.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.js +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.js +1 -1
- package/components/Icons/HivAndAids.js +1 -1
- package/components/Icons/Home.js +1 -1
- package/components/Icons/Hormone.js +1 -1
- package/components/Icons/Hospital.js +1 -1
- package/components/Icons/Hourglass.js +1 -1
- package/components/Icons/ImgFile.js +1 -1
- package/components/Icons/Inbox.js +1 -1
- package/components/Icons/InfoSignFill.js +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.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.js +1 -1
- package/components/Icons/Location.js +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.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.js +1 -1
- package/components/Icons/Microscope.js +1 -1
- package/components/Icons/Minus.js +1 -1
- package/components/Icons/Mirror.js +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.js +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.js +1 -1
- package/components/Icons/PatientAndPerson.js +1 -1
- package/components/Icons/Pause.js +1 -1
- package/components/Icons/PdfFile.js +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.js +1 -1
- package/components/Icons/PlusLarge.js +1 -1
- package/components/Icons/PlusSmall.js +1 -1
- package/components/Icons/PngFile.js +1 -1
- package/components/Icons/Podcast.js +1 -1
- package/components/Icons/PoisonInformation.js +1 -1
- package/components/Icons/Pregnant.js +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.js +1 -1
- package/components/Icons/Quarrel.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.js +1 -1
- package/components/Icons/Recovery.js +1 -1
- package/components/Icons/Referral.js +1 -1
- package/components/Icons/Refresh.js +1 -1
- package/components/Icons/Refund.js +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/STDs.js +1 -1
- package/components/Icons/Save.js +1 -1
- package/components/Icons/Scale.js +1 -1
- package/components/Icons/Search.js +1 -1
- package/components/Icons/SectionSign.js +1 -1
- package/components/Icons/Settings.js +1 -1
- package/components/Icons/Sexualorientation.js +1 -1
- package/components/Icons/ShakingHand.js +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.js +1 -1
- package/components/Icons/Spray.js +1 -1
- package/components/Icons/Stopwatch.js +1 -1
- package/components/Icons/SupportingPerson.js +1 -1
- package/components/Icons/Surgery.js +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.js +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.js +1 -1
- package/components/Icons/Twitter.js +1 -1
- package/components/Icons/Undo.js +1 -1
- package/components/Icons/UniProsthesis.js +1 -1
- package/components/Icons/Upload.js +1 -1
- package/components/Icons/UserOrganization.js +1 -1
- package/components/Icons/Vaccine.js +1 -1
- package/components/Icons/VerticalDots.js +1 -1
- package/components/Icons/VideoCamera.js +1 -1
- package/components/Icons/VideoChat.js +1 -1
- package/components/Icons/Wallet.js +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.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.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/NotificationPanel/index.js +1 -1
- package/components/Panel/index.js +1 -1
- package/components/PanelList/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/StatusDot/index.js +1 -1
- package/components/Tag/index.js +1 -1
- package/components/Tag/styles.module.scss +2 -1
- package/components/TagList/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/hoc/withBreakpoint/index.js +1 -1
- package/index-b4162bbf.js +8 -0
- package/index-b4162bbf.js.map +1 -0
- package/index.js +1 -1
- package/package.json +7 -6
- package/{useBreakpoint-6eb418f7.js → useBreakpoint-a74f5af5.js} +2 -2
- package/useBreakpoint-a74f5af5.js.map +1 -0
- package/useHover-b995a0e6.js +2 -0
- package/useHover-b995a0e6.js.map +1 -0
- package/{useIsVisible-fad4d769.js → useIsVisible-bef05e5e.js} +2 -2
- package/useIsVisible-bef05e5e.js.map +1 -0
- package/{useOutsideEvent-342977b9.js → useOutsideEvent-fb86686d.js} +2 -2
- package/useOutsideEvent-fb86686d.js.map +1 -0
- package/{useSticky-807e5dde.js → useSticky-29a434c1.js} +2 -2
- package/useSticky-29a434c1.js.map +1 -0
- package/useUuid-3b1e73f2.js +2 -0
- package/useUuid-3b1e73f2.js.map +1 -0
- package/{useWindowSize-5cc481da.js → useWindowSize-030df49b.js} +2 -2
- package/useWindowSize-030df49b.js.map +1 -0
- package/Badge-f1986705.js +0 -2
- package/Badge-f1986705.js.map +0 -1
- package/Button-a7ae5afb.js.map +0 -1
- package/Checkbox-b0271e50.js.map +0 -1
- package/Close-58f848f6.js +0 -2
- package/Close-58f848f6.js.map +0 -1
- package/FormGroup-9d4dc1ed.js +0 -2
- package/FormGroup-9d4dc1ed.js.map +0 -1
- package/FormLayout-6bb303ac.js +0 -2
- package/FormLayout-6bb303ac.js.map +0 -1
- package/Input-b5f362b8.js.map +0 -1
- package/Loader-a7566e5f.js.map +0 -1
- package/Modal-3702a0b8.js.map +0 -1
- package/Panel-8a6a740c.js.map +0 -1
- package/RadioButton-403681d9.js.map +0 -1
- package/Textarea-47398150.js.map +0 -1
- package/Title-53c8b68d.js.map +0 -1
- package/Validation-0c27dd5b.js.map +0 -1
- package/_rollupPluginBabelHelpers-4f206abf.js +0 -2
- package/_rollupPluginBabelHelpers-4f206abf.js.map +0 -1
- package/index-9b84fabc.js +0 -8
- package/index-9b84fabc.js.map +0 -1
- package/useBreakpoint-6eb418f7.js.map +0 -1
- package/useHover-026f72c1.js +0 -2
- package/useHover-026f72c1.js.map +0 -1
- package/useIsVisible-fad4d769.js.map +0 -1
- package/useOutsideEvent-342977b9.js.map +0 -1
- package/useSticky-807e5dde.js.map +0 -1
- package/useUuid-24176312.js +0 -2
- package/useUuid-24176312.js.map +0 -1
- package/useWindowSize-5cc481da.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"react";
|
|
1
|
+
import e from"react";var l=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};export{l as default};
|
|
2
2
|
//# sourceMappingURL=XOutline.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import h from"react";
|
|
1
|
+
import h from"react";var l=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};export{l as default};
|
|
2
2
|
//# sourceMappingURL=XmlFile.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import a from"react";
|
|
1
|
+
import a from"react";var e=function(e){e.size;var t=e.isHovered,r=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"}):r};export{e as default};
|
|
2
2
|
//# sourceMappingURL=YouTube.js.map
|
package/components/Icons/Zoom.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"react";import{getIcon as a}from"./Icon.js";import"../../_tslib-51c8a283.js";import"../../constants-088e1d4a.js";
|
|
1
|
+
import e from"react";import{getIcon as a}from"./Icon.js";import"../../_tslib-51c8a283.js";import"../../constants-088e1d4a.js";var c=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"}))};export{c as default};
|
|
2
2
|
//# sourceMappingURL=Zoom.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{I as s}from"../../Input-
|
|
1
|
+
import{I as s}from"../../Input-58069d29.js";export{a as InputTypes,I as default}from"../../Input-58069d29.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"../../_tslib-51c8a283.js";import"react";import"../../index-b4162bbf.js";import"../../constants-088e1d4a.js";import"../../uuid-11037462.js";import"../Icons/Icon.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../../useBreakpoint-a74f5af5.js";import"./styles.module.scss";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{d as e}from"../../_rollupPluginBabelHelpers-
|
|
1
|
+
import{d as e}from"../../_rollupPluginBabelHelpers-0f007973.js";import{_ as r}from"../../_tslib-51c8a283.js";import i from"react";import{c as o}from"../../index-b4162bbf.js";import{Icon as s}from"../Icons/Icon.js";import{A as t,I as a}from"../../constants-088e1d4a.js";import l from"../Icons/ChevronRight.js";import{u as n,B as m}from"../../useBreakpoint-a74f5af5.js";import{u as c}from"../../useHover-b995a0e6.js";import d from"./styles.module.scss";import"../../grid-c105cad1.js";var f=i.forwardRef((function(f,v){var p,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,R=B.isHovered,x=n(),S="small"!==E&&!(!I&&!g);return i.createElement("li",{ref:v,"data-testid":L,"data-analyticsid":t.Link},i.createElement("a",Object.assign({className:o(d["link-list__anchor"],d["link-list__anchor--"+b],(p={},e(p,d["link-list__anchor--small"],"small"===E),e(p,d["link-list__anchor--medium"],"medium"===E),e(p,d["link-list__anchor--large"],"large"===E),p),h),ref:H,rel:"_blank"===z?"noopener noreferrer":void 0,target:z},y),S&&g&&i.createElement("span",{className:d["link-list__icon"]},i.cloneElement(g,{size:x===m.xs?a.XSmall:a.Small,isHovered:R})),i.createElement("span",{className:d["link-list__content"]},u),S&&I&&i.createElement("span",{className:d["link-list__chevron"]},i.createElement(s,{svgIcon:l,isHovered:R,size:a.XSmall}))))})),v=i.forwardRef((function(r,s){var a,l=r.children,n=r.className,m=void 0===n?"":n,c=r.chevron,v=void 0!==c&&c,p=r.size,u=void 0===p?"medium":p,_=r.color,h=r.topBorder,k=void 0===h||h,b=r.bottomBorder,g=void 0===b||b,j=r.testId;return i.createElement("ul",{ref:s,className:o(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":t.LinkList},i.Children.map(l,(function(e){if(e.type===f)return i.cloneElement(e,{color:_,size:u,chevron:v})})))}));v.Link=f,f.displayName="LinkList.Link";export{v as LinkList,v as default};
|
|
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-
|
|
1
|
+
import t from"react";import{c as e}from"../../index-b4162bbf.js";import s from"./styles.module.scss";import{A as a}from"../../constants-088e1d4a.js";function r(r){var i=r.children,m=r.className,l=r.testId;return t.createElement("ul",{className:e(s.list,m),"data-testid":l,"data-analyticsid":a.List},i.map((function(e,a){return t.createElement("li",{className:s.list__item,key:a},e)})))}export{r as default};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{L as s}from"../../Loader-
|
|
1
|
+
import{L as s}from"../../Loader-79187de4.js";export{O as Overlay,L as default}from"../../Loader-79187de4.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"react";import"../../index-b4162bbf.js";import"../../uuid-11037462.js";import"./styles.module.scss";import"../../constants-088e1d4a.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-088e1d4a.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"})))};
|
|
1
|
+
import{_ as e}from"../../_tslib-51c8a283.js";import t from"react";import{A as c}from"../../constants-088e1d4a.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"})))};function v(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))}export{v as default};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{M as s}from"../../Modal-
|
|
1
|
+
import{M as s}from"../../Modal-4a92001a.js";export{b as ModalSize,a as ModalVariants,M as default}from"../../Modal-4a92001a.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"react";import"../../index-b4162bbf.js";import"../../palette-f206f488.js";import"../../Button-438a02c1.js";import"../../_tslib-51c8a283.js";import"../../constants-088e1d4a.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../grid-c105cad1.js";import"../../Loader-79187de4.js";import"../../uuid-11037462.js";import"../Loader/styles.module.scss";import"../../useHover-b995a0e6.js";import"../../useWindowSize-030df49b.js";import"../Button/styles.module.scss";import"../Icons/Icon.js";import"./styles.module.scss";import"../Icons/AlertSignStroke.js";import"../Icons/AlertSignFill.js";import"../../useIsVisible-bef05e5e.js";import"../../Title-face7728.js";import"../Title/styles.module.scss";import"../../Close-df5087c3.js";import"../Icons/X.js";import"../Close/styles.module.scss";import"../../useBreakpoint-a74f5af5.js";import"../Icons/CheckOutline.js";import"../Portal/index.js";import"react-dom";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{d as e}from"../../_rollupPluginBabelHelpers-
|
|
1
|
+
import{d as e}from"../../_rollupPluginBabelHelpers-0f007973.js";import o from"react";import{c as a}from"../../index-b4162bbf.js";import{p as r}from"../../palette-f206f488.js";import{Icon as t}from"../Icons/Icon.js";import{A as i}from"../../constants-088e1d4a.js";import n from"../Icons/InfoSignStroke.js";import l from"../Icons/AlertSignStroke.js";import s from"../Icons/AlertSignFill.js";import c from"./styles.module.scss";import{C as m}from"../../Close-df5087c3.js";import"../../_tslib-51c8a283.js";import"../Icons/X.js";import"../Close/styles.module.scss";import"../../useBreakpoint-a74f5af5.js";import"../../grid-c105cad1.js";var f={info:{color:"kiwi",depth:50},warn:{color:"banana",depth:50},alert:{color:"cherry",depth:100},crisis:{color:"black",depth:0}},p={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:s,color:r.cherry500,hoverColor:r.cherry500}),alertLabel:o.createElement(t,{svgIcon:l,color:r.cherry500,hoverColor:r.cherry500}),crisis:o.createElement(t,{svgIcon:s,color:r.banana200,hoverColor:r.banana200})},d=o.forwardRef((function(r,t){var n,l,s=r.children,f=r.variant,d=void 0===f?"info":f,h=r.shadow,b=void 0!==h&&h,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&&!s;return k=o.createElement("div",{ref:t,"data-testid":E,"data-analyticsid":i.NotificationPanel,className:a(c["notification-panel"],w&&c["notification-panel--"+w],c["notification-panel--"+d],(n={},e(n,c["notification-panel--shadow"],!g&&b),e(n,c["notification-panel--has-children"],!y),e(n,c["notification-panel--label-only"],y),e(n,c["notification-panel--dismissable"],!y&&u),n),C)},o.createElement("span",{className:c["notification-panel__icon"]},p["alert"===d&&I&&!s?"alertLabel":d]),o.createElement("section",{"aria-label":function(){if(s){var e="";return o.Children.map(s,(function(o){"string"==typeof o&&(e+=o)})),e}return""}(),className:a(c["notification-panel__content"],(l={},e(l,c["notification-panel__content--crisis"],"crisis"===d),e(l,c["notification-panel__content--alert"],"alert"===d),l))},I&&o.createElement("h1",{className:c["notification-panel__label"],dangerouslySetInnerHTML:{__html:I}}),s),!y&&u&&o.createElement("span",{className:c["notification-panel__close"]},o.createElement(m,{ariaLabel:r.ariaLabelCloseBtn,onClick:_}))),g?o.createElement("div",{className:a(c["fluid-wrapper"],c["fluid-wrapper--"+d],e({},c["fluid-wrapper--shadow"],b))},k):k}));export{d as default,f as variantToColorMap};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{P as s}from"../../Panel-
|
|
1
|
+
import{P as s}from"../../Panel-f36456da.js";export{c as PanelLayout,a as PanelStatus,b as PanelVariant,P as default}from"../../Panel-f36456da.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"../../_tslib-51c8a283.js";import"react";import"../../index-b4162bbf.js";import"./styles.module.scss";import"../../Title-face7728.js";import"../Title/styles.module.scss";import"../../constants-088e1d4a.js";import"../../Button-438a02c1.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../../Loader-79187de4.js";import"../../uuid-11037462.js";import"../Loader/styles.module.scss";import"../../useHover-b995a0e6.js";import"../../useWindowSize-030df49b.js";import"../Button/styles.module.scss";import"../Icons/Icon.js";import"../Icons/ChevronDown.js";import"../Icons/ChevronUp.js";import"../Icons/ArrowRight.js";import"../Icons/AlertSignFill.js";import"../Icons/Pencil.js";import"../Icons/Calendar.js";import"../Icons/Watch.js";import"../../useBreakpoint-a74f5af5.js";import"../../Badge-9dc33042.js";import"../Badge/styles.module.scss";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import s from"react";import o from"./styles.module.scss";import{A as t}from"../../constants-088e1d4a.js";import{b as e,P as r}from"../../Panel-
|
|
1
|
+
import s from"react";import o from"./styles.module.scss";import{A as t}from"../../constants-088e1d4a.js";import{b as e,P as r}from"../../Panel-f36456da.js";import{c as i}from"../../index-b4162bbf.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"../../_tslib-51c8a283.js";import"../Panel/styles.module.scss";import"../../Title-face7728.js";import"../Title/styles.module.scss";import"../../Button-438a02c1.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../../Loader-79187de4.js";import"../../uuid-11037462.js";import"../Loader/styles.module.scss";import"../../useHover-b995a0e6.js";import"../../useWindowSize-030df49b.js";import"../Button/styles.module.scss";import"../Icons/Icon.js";import"../Icons/ChevronDown.js";import"../Icons/ChevronUp.js";import"../Icons/ArrowRight.js";import"../Icons/AlertSignFill.js";import"../Icons/Pencil.js";import"../Icons/Calendar.js";import"../Icons/Watch.js";import"../../useBreakpoint-a74f5af5.js";import"../../Badge-9dc33042.js";import"../Badge/styles.module.scss";var a=s.forwardRef((function(a,l){var m=a.testId,n=a.children,p=a.variant,c=void 0===p?e.fill:p;return s.createElement("div",{ref:l,"data-testid":m,className:o["panel-list"],"data-analyticsid":t.PanelList},s.Children.map(n,(function(t,a){return n=t,s.isValidElement(n)&&n.type===r?(l=t,m=0===a,s.cloneElement(l,{variant:c,noTopBorder:c===e.line&&!m,className:i(l.props.className,c!==e.line&&o["panel-list__panel"])})):t;var l,m,n})))}));export{a as default};
|
|
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-088e1d4a.js";
|
|
1
|
+
import t from"react";import{createPortal as e}from"react-dom";import{A as r}from"../../constants-088e1d4a.js";function n(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)}export{n as default};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{R as o}from"../../RadioButton-
|
|
1
|
+
import{R as o}from"../../RadioButton-692ed90a.js";export{R as RadioButton,R as default}from"../../RadioButton-692ed90a.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"react";import"../../index-b4162bbf.js";import"../../uuid-11037462.js";import"./styles.module.scss";import"../../constants-088e1d4a.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{_ as e}from"../../_rollupPluginBabelHelpers-
|
|
1
|
+
import{_ as e}from"../../_rollupPluginBabelHelpers-0f007973.js";import t,{useState as n,useRef as r,useEffect as a}from"react";import{c as o}from"../../index-b4162bbf.js";import{T as i}from"../../Title-face7728.js";import c from"./styles.module.scss";import{A as u}from"../../constants-088e1d4a.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),N=e(L,2),x=N[0],A=N[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}(x,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(x)}),[x]);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":x,"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{v as Slider,v as default};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{d as s}from"../../_rollupPluginBabelHelpers-
|
|
1
|
+
import{d as s}from"../../_rollupPluginBabelHelpers-0f007973.js";import a from"react";import{c as e}from"../../index-b4162bbf.js";import r from"./styles.module.scss";import{A as l}from"../../constants-088e1d4a.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,d=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:d,ref:p,"data-testid":i,"data-analyticsid":l.Spacer})}));export{c as default};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{d as t}from"../../_rollupPluginBabelHelpers-
|
|
1
|
+
import{d as t}from"../../_rollupPluginBabelHelpers-0f007973.js";import a from"react";import{c as e}from"../../index-b4162bbf.js";import r from"./styles.module.scss";import{I as s,A as o}from"../../constants-088e1d4a.js";import{Icon as n}from"../Icons/Icon.js";import c from"../Icons/Undo.js";import l from"../Icons/Group.js";import"../../_tslib-51c8a283.js";var i;!function(t){t.info="info",t.warning="warning",t.alert="alert",t.cancelled="cancelled",t.active="active",t.transparent="transparent",t.recurring="recurring",t.group="group"}(i||(i={}));var m=a.forwardRef((function(m,d){var u=m.variant,p=void 0===u?i.info:u,f=m.text,g=m.className,_=p===i.recurring||p===i.group,v=p===i.cancelled,b=e(r.statusdot,t({},r["statusdot--cancelled"],v),g),j=e(r.statusdot__dot,[_?r["statusdot__dot--icon"]:r["statusdot__dot--".concat(p)]]),I=e(r.statusdot__label,t({},r["statusdot__label--icon"],_)),E=null;return"recurring"===p?E=a.createElement(n,{size:s.XXSmall,svgIcon:c}):"group"===p&&(E=a.createElement(n,{size:s.XXSmall,svgIcon:l})),a.createElement("div",{className:b,"data-analyticsid":o.StatusDot},a.createElement("span",{className:j},E),a.createElement("span",{className:I},f))}));export{i as StatusDotVariant,m as default};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/components/Tag/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{d as o}from"../../_rollupPluginBabelHelpers-
|
|
1
|
+
import{d as o}from"../../_rollupPluginBabelHelpers-0f007973.js";import t from"react";import{c as a}from"../../index-b4162bbf.js";import{Icon as e}from"../Icons/Icon.js";import{A as r,I as n}from"../../constants-088e1d4a.js";import{p as c}from"../../palette-f206f488.js";import s from"./styles.module.scss";import{u as i}from"../../useHover-b995a0e6.js";import m from"../Icons/Undo.js";import l from"../Icons/X.js";import"../../_tslib-51c8a283.js";var d,u,f;!function(o){o.medium="medium",o.large="large"}(d||(d={})),function(o){o.remove="remove",o.undo="undo"}(u||(u={})),function(o){o.normal="normal",o.oncolor="oncolor",o.emphasised="emphasised"}(f||(f={}));var v=function(o){var d=o.children,u=o.size,f=o.color,v=o.variant,g=o.action,p=o.onClick,b=o.testId,I=i(),j=I.hoverRef,h=I.isHovered,y=a(s.tag,s["tag--".concat(u)],s["tag--".concat(g)],s["tag--has-action"],"remove"===g&&[s["tag--".concat(f)],s["tag--".concat(v)]]);return t.createElement("button",{className:y,onClick:p,ref:j,type:"button","data-testid":b,"data-analyticsid":r.Tag},d,t.createElement(e,{svgIcon:function(){switch(g){case"remove":return l;case"undo":return m}}(),size:n.XXSmall,color:c["".concat("undo"===g?"blueberry":f,"800")],isHovered:h}))},g=function(i){var m=i.children,l=i.size,u=void 0===l?d.medium:l,f=i.color,g=void 0===f?"blueberry":f,p=i.svgIcon,b=i.variant,I=void 0===b?"normal":b,j=i.action,h=i.onClick,y=i.testId,z=a(s.tag,s["tag--".concat(u)],s["tag--".concat(g)],s["tag--".concat(I)],o({},s["tag--has-icon"],p));return j&&h?t.createElement(v,{size:u,color:g,variant:I,action:j,onClick:h,testId:y},m):t.createElement("span",{className:z,"data-testid":y,"data-analyticsid":r.Tag},p&&t.createElement(e,{svgIcon:p,size:n.XXSmall,color:c["".concat(g,"800")],className:s.tag__icon}),m)};export{u as TagAction,d as TagSize,f as TagVariant,g as default};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
&#{$tag}--has-action {
|
|
69
69
|
&:hover {
|
|
70
70
|
background-color: map-get($palette-map, #{$color}100);
|
|
71
|
-
border-color:
|
|
71
|
+
border-color: map-get($palette-map, #{$color}100);
|
|
72
72
|
}
|
|
73
73
|
&:focus {
|
|
74
74
|
background-color: $white;
|
|
@@ -99,6 +99,7 @@
|
|
|
99
99
|
|
|
100
100
|
&--has-action[type='button'] {
|
|
101
101
|
cursor: pointer;
|
|
102
|
+
font-family: inherit;
|
|
102
103
|
&:focus {
|
|
103
104
|
outline: none;
|
|
104
105
|
border-color: $black;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import t from"react";import a from"./styles.module.scss";import{A as s}from"../../constants-088e1d4a.js";
|
|
1
|
+
import t from"react";import a from"./styles.module.scss";import{A as s}from"../../constants-088e1d4a.js";var e=function(e){var r=e.children,i=e.testId;return t.createElement("div",{className:a["tag-list"],"data-testid":i,"data-analyticsid":s.TagList},r)};export{e as default};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{T as s}from"../../Textarea-
|
|
1
|
+
import{T as s}from"../../Textarea-f2b34d54.js";export{T as default}from"../../Textarea-f2b34d54.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"../../_tslib-51c8a283.js";import"react";import"../../index-b4162bbf.js";import"./styles.module.scss";import"../../constants-088e1d4a.js";import"../../uuid-11037462.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/components/Tile/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d as e,_ as t}from"../../_rollupPluginBabelHelpers-0f007973.js";import{_ as i}from"../../_tslib-51c8a283.js";import r,{useState as l}from"react";import{c as a}from"../../index-b4162bbf.js";import{A as o,I as n}from"../../constants-088e1d4a.js";import s from"./styles.module.scss";var c=r.forwardRef((function(t,i){var l,o=t.children,n=t.className,c=t.htmlMarkup,d=void 0===c?"span":c,m=t.highlighted,f=t.compact,p=a(s.tile__title,(e(l={},s["tile__title--highlighted"],m),e(l,s["tile__title--compact"],f),l),n),u=d;return r.createElement(u,{className:p,ref:i},o)})),d=r.forwardRef((function(c,d){var m,f=c.icon,p=c.title,u=c.className,h=void 0===u?"":u,g=c.description,_=c.fixed,v=void 0!==_&&_,b=c.highlighted,E=void 0!==b&&b,N=c.testId,j=i(c,["icon","title","className","description","fixed","highlighted","testId"]),w=l(!1),x=t(w,2),M=x[0],k=x[1],I=!g,y=a(s.tile,(e(m={},s["tile--fixed"],v),e(m,s["tile--compact"],I),e(m,s["tile--highlighted"],E),m),h),B=a(s["title-wrapper"],e({},s["title-wrapper--compact"],I));return r.createElement("a",Object.assign({ref:d,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},j),r.createElement("div",{className:B},r.cloneElement(f,{size:n.Medium,isHovered:M,color:E?"white":"black"}),r.cloneElement(p,{highlighted:E,compact:I})),g?r.createElement("p",{className:s.tile__description},g):null)}));d.Title=c;export{d as Tile,d as default};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{T as s}from"../../Title-
|
|
1
|
+
import{T as s}from"../../Title-face7728.js";export{T as default,i as instanceOfTitleMargin}from"../../Title-face7728.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"react";import"../../index-b4162bbf.js";import"./styles.module.scss";import"../../constants-088e1d4a.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-f34d539c.js";export{V as Validation,V as default}from"../../Validation-f34d539c.js";import"react";import"../../index-b4162bbf.js";import"../../FormGroup-97ca00ea.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"../FormGroup/styles.module.scss";import"../../Checkbox-40365d70.js";import"../../uuid-11037462.js";import"../Icons/Check.js";import"../Icons/Icon.js";import"../../_tslib-51c8a283.js";import"../../constants-088e1d4a.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../Checkbox/styles.module.scss";import"../../RadioButton-692ed90a.js";import"../RadioButton/styles.module.scss";import"../../Input-58069d29.js";import"../../useBreakpoint-a74f5af5.js";import"../Input/styles.module.scss";import"../../Title-face7728.js";import"../Title/styles.module.scss";import"../../FormLayout-d6b786db.js";import"../FormLayout/styles.module.scss";import"./styles.module.scss";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import r from"react";import{u as e}from"../../useBreakpoint-
|
|
1
|
+
import r from"react";import{u as e}from"../../useBreakpoint-a74f5af5.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"../../grid-c105cad1.js";function t(t){return r.forwardRef((function(a,o){var f=e();return r.createElement(t,Object.assign({ref:o},a,{breakpoint:f}))}))}export{t as default,t as withBreakpoint};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
var r=function(r,t){return r(t={exports:{}},t.exports),t.exports}((function(r){
|
|
2
|
+
/*!
|
|
3
|
+
Copyright (c) 2018 Jed Watson.
|
|
4
|
+
Licensed under the MIT License (MIT), see
|
|
5
|
+
http://jedwatson.github.io/classnames
|
|
6
|
+
*/
|
|
7
|
+
!function(){var t={}.hasOwnProperty;function e(){for(var r=arguments,n=[],o=0;o<arguments.length;o++){var s=r[o];if(s){var i=typeof s;if("string"===i||"number"===i)n.push(s);else if(Array.isArray(s)){if(s.length){var a=e.apply(null,s);a&&n.push(a)}}else if("object"===i)if(s.toString===Object.prototype.toString)for(var p in s)t.call(s,p)&&s[p]&&n.push(p);else n.push(s.toString())}}return n.join(" ")}r.exports?(e.default=e,r.exports=e):window.classNames=e}()}));export{r as c};
|
|
8
|
+
//# sourceMappingURL=index-b4162bbf.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-b4162bbf.js","sources":["../node_modules/classnames/index.js"],"sourcesContent":["/*!\n Copyright (c) 2018 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames() {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tif (arg.length) {\n\t\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\t\tif (inner) {\n\t\t\t\t\t\tclasses.push(inner);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tif (arg.toString === Object.prototype.toString) {\n\t\t\t\t\tfor (var key in arg) {\n\t\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tclasses.push(arg.toString());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n"],"names":["hasOwn","hasOwnProperty","classNames","classes","i","arguments","length","arg","argType","push","Array","isArray","inner","apply","toString","Object","prototype","key","call","join","module","exports","default","window"],"mappings":";;;;;;CAOC,WAGA,IAAIA,EAAS,GAAGC,eAEhB,SAASC,IAGR,oBAFIC,EAAU,GAELC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CAC1C,IAAIG,EAAMF,EAAUD,GACpB,GAAKG,EAAL,CAEA,IAAIC,SAAiBD,EAErB,GAAgB,WAAZC,GAAoC,WAAZA,EAC3BL,EAAQM,KAAKF,QACP,GAAIG,MAAMC,QAAQJ,IACxB,GAAIA,EAAID,OAAQ,CACf,IAAIM,EAAQV,EAAWW,MAAM,KAAMN,GAC/BK,GACHT,EAAQM,KAAKG,SAGT,GAAgB,WAAZJ,EACV,GAAID,EAAIO,WAAaC,OAAOC,UAAUF,SACrC,IAAK,IAAIG,KAAOV,EACXP,EAAOkB,KAAKX,EAAKU,IAAQV,EAAIU,IAChCd,EAAQM,KAAKQ,QAIfd,EAAQM,KAAKF,EAAIO,aAKpB,OAAOX,EAAQgB,KAAK,KAGgBC,EAAOC,SAC3CnB,EAAWoB,QAAUpB,EACrBkB,EAAAC,QAAiBnB,GAOjBqB,OAAOrB,WAAaA,EAhDtB"}
|
package/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{t as theme}from"./index-d1c9177a.js";export{B as Breakpoint,u as useBreakpoint}from"./useBreakpoint-
|
|
1
|
+
export{t as theme}from"./index-d1c9177a.js";export{B as Breakpoint,u as useBreakpoint}from"./useBreakpoint-a74f5af5.js";export{u as useFocusToggle,a as useFocusTrap,b as useIntersectionObserver,c as useIsVisible}from"./useIsVisible-bef05e5e.js";export{u as useHover}from"./useHover-b995a0e6.js";import{u as e}from"./useWindowSize-030df49b.js";export{u as useLayoutEvent,a as useWindowSize}from"./useWindowSize-030df49b.js";export{u as usePrevious}from"./usePrevious-ae293b10.js";export{u as useSticky}from"./useSticky-29a434c1.js";import{_ as s}from"./_rollupPluginBabelHelpers-0f007973.js";import{useState as r}from"react";export{b as useKeyboardEvent,c as useOutsideEvent,u as useResizeObserver,a as useToggle}from"./useOutsideEvent-fb86686d.js";export{u as useUuid}from"./useUuid-3b1e73f2.js";export{u as uuid}from"./uuid-11037462.js";export{A as AnalyticsId,F as FormMode,a as FormVariant,I as IconSize,K as KeyboardEventKey,Z as ZIndex}from"./constants-088e1d4a.js";import"./palette-f206f488.js";import"./grid-c105cad1.js";var o=function(o){var u=r(),a=s(u,2),t=a[0],i=a[1];return e((function(){(null==o?void 0:o.current)&&i(o.current.getBoundingClientRect())})),t};export{o 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-beta126",
|
|
5
5
|
"description": "The official design system for Helsenorge built with React.",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "tfs",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"bootstrap": "4.6.1",
|
|
25
25
|
"normalize.css": "8.0.1",
|
|
26
|
-
"react": "
|
|
27
|
-
"react-dom": "
|
|
26
|
+
"react": "^16.0.0 | ^17.0.0",
|
|
27
|
+
"react-dom": "^16.0.0 | ^17.0.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"bootstrap": "4.6.1"
|
|
@@ -53,7 +53,8 @@
|
|
|
53
53
|
"@types/classnames": "^2.2.11",
|
|
54
54
|
"@types/jest": "^25.2.3",
|
|
55
55
|
"@types/prettier": "1.19.0",
|
|
56
|
-
"@types/react
|
|
56
|
+
"@types/react": "^16.0.0",
|
|
57
|
+
"@types/react-dom": "^16.0.0",
|
|
57
58
|
"@types/testing-library__react": "^10.0.5",
|
|
58
59
|
"async": "^3.1.0",
|
|
59
60
|
"babel-loader": "^8.0.6",
|
|
@@ -69,10 +70,10 @@
|
|
|
69
70
|
"normalize.css": "8.0.1",
|
|
70
71
|
"npm-run-all": "^4.1.5",
|
|
71
72
|
"prettier": "1.19.1",
|
|
72
|
-
"react": "16.
|
|
73
|
+
"react": "^16.0.0",
|
|
73
74
|
"react-docgen-typescript": "^1.22.0",
|
|
74
75
|
"react-docgen-typescript-loader": "^3.3.0",
|
|
75
|
-
"react-dom": "16.
|
|
76
|
+
"react-dom": "^16.0.0",
|
|
76
77
|
"react-hook-form": "^6.15.8",
|
|
77
78
|
"resolve-url-loader": "^3.1.1",
|
|
78
79
|
"rimraf": "^3.0.2",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{_ as e}from"./_rollupPluginBabelHelpers-
|
|
2
|
-
//# sourceMappingURL=useBreakpoint-
|
|
1
|
+
import{_ as e}from"./_rollupPluginBabelHelpers-0f007973.js";import{useState as r,useEffect as a}from"react";import{b as n,s as i}from"./grid-c105cad1.js";var s;!function(e){e[e.xxs=n.xxs]="xxs",e[e.xs=n.xs]="xs",e[e.sm=n.sm]="sm",e[e.md=n.md]="md",e[e.lg=n.lg]="lg",e[e.xl=n.xl]="xl"}(s||(s={}));var t=function(){var n=r(s.xxs),t=e(n,2),m=t[0],d=t[1];return a((function(){var r,a,n=function(e){switch(e.media){case i.xl:return void d(e.matches?s.xl:s.lg);case i.lg:return void d(e.matches?s.lg:s.md);case i.md:return void d(e.matches?s.md:s.sm);case i.sm:return void d(e.matches?s.sm:s.xs);case i.xs:return void d(e.matches?s.xs:s.xxs);default:return void d(s.xxs)}},t=Object.entries(i).reverse().map((function(r){var a=e(r,2),n=a[0],i=a[1];return{breakpoint:s[n],mediaQuery:window.matchMedia(i)}}));t.forEach((function(e){e.mediaQuery.addEventListener?e.mediaQuery.addEventListener("change",n):e.mediaQuery.addListener&&e.mediaQuery.addListener(n)}));var o=null!==(a=null===(r=t.find((function(e){return e.mediaQuery.matches})))||void 0===r?void 0:r.breakpoint)&&void 0!==a?a:m;return d(o),function(){t.forEach((function(e){e.mediaQuery.removeEventListener?e.mediaQuery.removeEventListener("change",n):e.mediaQuery.removeListener&&e.mediaQuery.removeListener(n)}))}}),[]),m};export{s as B,t as u};
|
|
2
|
+
//# sourceMappingURL=useBreakpoint-a74f5af5.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useBreakpoint-a74f5af5.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{_ as e}from"./_rollupPluginBabelHelpers-0f007973.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-b995a0e6.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useHover-b995a0e6.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{useState as t,useEffect as e,useRef as n}from"react";import{_ as r}from"./_rollupPluginBabelHelpers-
|
|
2
|
-
//# sourceMappingURL=useIsVisible-
|
|
1
|
+
import{useState as t,useEffect as e,useRef as n}from"react";import{_ as r}from"./_rollupPluginBabelHelpers-0f007973.js";var o=['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(n,i){var a=t(),u=r(a,2),c=u[0],d=u[1];return e((function(){var t=function(){var t,e=null===(t=n.current)||void 0===t?void 0:t.querySelectorAll(o);d(e)},e=new MutationObserver(t);return(null==n?void 0:n.current)&&e.observe(n.current,{subtree:!0,childList:!0}),t(),function(){e.disconnect()}}),[n]),e((function(){i?null==c||c.forEach((function(t){var e=t.getAttribute("data-tabindex");e?t.setAttribute("tabindex",e):t.removeAttribute("tabindex")})):null==c||c.forEach((function(t){t.hasAttribute("tabindex")&&t.setAttribute("data-tabindex","".concat(t.tabIndex)),t.tabIndex=-1}))}),[i,c]),c};function a(){var t=n(null);function r(e){var n=t.current,r="Tab"===e.key;if(n&&r){var i=function(t){try{return("string"==typeof t?document.querySelector(t):t).getRootNode().activeElement}catch(e){return console.error("Feil ved å ta tak i active element basert på angitt node: ",t,e),null}}(n),a=null==n?void 0:n.querySelectorAll(o),u=a[0],c=1===a.length?u:a[a.length-1];e.shiftKey?i===u&&(c.focus(),e.preventDefault()):i===c&&(u.focus(),e.preventDefault())}}function i(e){var n=t.current;if(n){var r=n.querySelectorAll('a[href], button, textarea, input[type="text"], input[type="radio"], input[type="checkbox"], select');1===r.length&&(r[0].focus(),e.preventDefault())}}return e((function(){var e=t.current;return e.addEventListener("keydown",r),e.addEventListener("click",i),function(){e.removeEventListener("keydown",r),e.removeEventListener("click",i)}}),[]),t}var u=function(t,n,r){e((function(){var e=new IntersectionObserver(n,r);return(null==t?void 0:t.current)&&e.observe(t.current),function(){(null==t?void 0:t.current)&&e.unobserve(t.current)}}),[t])},c=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,o=t(!1),i=r(o,2),a=i[0],c=i[1],d=function(t){c(t[0].intersectionRatio>=n)};return u(e,d,{threshold:n}),a};export{a,u as b,c,i as u};
|
|
2
|
+
//# sourceMappingURL=useIsVisible-bef05e5e.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useIsVisible-bef05e5e.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{_ as n}from"./_rollupPluginBabelHelpers-
|
|
2
|
-
//# sourceMappingURL=useOutsideEvent-
|
|
1
|
+
import{_ as n}from"./_rollupPluginBabelHelpers-0f007973.js";import{useState as r,useEffect as e}from"react";import{u as t}from"./usePrevious-ae293b10.js";var u=function(t){var u=r(),o=n(u,2),i=o[0],c=o[1];return e((function(){var n=new ResizeObserver((function(n){c(n[0].target.getBoundingClientRect())}));return(null==t?void 0:t.current)&&n.observe(null==t?void 0:t.current),n.disconnect}),[t]),i},o=function(u,o){var i=r(u),c=n(i,2),a=c[0],v=c[1],f=t(a);return e((function(){u!==a&&v(u)}),[u]),e((function(){o&&a!==!!f&&o(a)}),[a,o]),{value:a,toggleValue:function(){v(!a)}}},i=function(n,r,t,u){e((function(){var e,o=function(n){(n.key===t||Array.isArray(t)&&t.includes(n.key))&&u(n)};return null===(e=r.current)||void 0===e||e.addEventListener(n,o),function(){var e;null===(e=r.current)||void 0===e||e.removeEventListener(n,o)}}),[r,u])},c=function(n,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:["mousedown"],u=function(e){var t;(null===(t=n.current)||void 0===t?void 0:t.contains(e.target))||r()};e((function(){return t.forEach((function(n){return document.addEventListener(n,u)})),function(){t.forEach((function(n){return document.removeEventListener(n,u)}))}}))};export{o as a,i as b,c,u};
|
|
2
|
+
//# sourceMappingURL=useOutsideEvent-fb86686d.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useOutsideEvent-fb86686d.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{_ as i}from"./_rollupPluginBabelHelpers-
|
|
2
|
-
//# sourceMappingURL=useSticky-
|
|
1
|
+
import{_ as i}from"./_rollupPluginBabelHelpers-0f007973.js";import{useState as o}from"react";import{u as t}from"./useWindowSize-030df49b.js";var e=function(e,n){var r=o(!1),d=i(r,2),u=d[0],l=d[1],s=o(!1),v=i(s,2),a=v[0],c=v[1],f=o(),g=i(f,2),m=g[0],p=g[1],h=o(),w=i(h,2),W=w[0],b=w[1];return t((function(){var i,o,t,r=(null===(i=e.current)||void 0===i?void 0:i.getBoundingClientRect())||{},d=r.top,u=void 0===d?0:d,s=r.width,v=void 0===s?0:s,a=r.bottom,f=void 0===a?0:a,g=null!==(t=null===(o=n.current)||void 0===o?void 0:o.getBoundingClientRect().height)&&void 0!==t?t:0;l(u<=0),c(f<=g),b(v),p(g)}),["resize","scroll"]),{isOutsideWindow:u,isLeavingWindow:a,offsetHeight:m,contentWidth:W}};export{e as u};
|
|
2
|
+
//# sourceMappingURL=useSticky-29a434c1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSticky-29a434c1.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useUuid-3b1e73f2.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as n,_ as e}from"./_rollupPluginBabelHelpers-
|
|
2
|
-
//# sourceMappingURL=useWindowSize-
|
|
1
|
+
import{a as n,_ as e}from"./_rollupPluginBabelHelpers-0f007973.js";import{useEffect as i,useState as t}from"react";function o(n,e,i){var t;return function(){var o=this,r=arguments,u=function(){t=null,i||n.apply(o,r)},a=i&&!t;t&&clearTimeout(t),t=setTimeout(u,e),a&&n.apply(o,r)}}var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["layoutchange","resize","orientationchange"],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10;i((function(){if("object"===("undefined"==typeof window?"undefined":n(window))){var i=o(e,r);return t.forEach((function(n){return window.addEventListener(n,i)})),i(),function(){t.forEach((function(n){return window.removeEventListener(n,i)}))}}}),[])},u=function(){var e="object"===("undefined"==typeof window?"undefined":n(window));return{width:e?window.innerWidth:void 0,height:e?window.innerHeight:void 0}};function a(){var n=t(u()),i=e(n,2),o=i[0],a=i[1];return r((function(){a(u())}),["resize"]),o}export{a,r as u};
|
|
2
|
+
//# sourceMappingURL=useWindowSize-030df49b.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useWindowSize-030df49b.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Badge-f1986705.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{d as a}from"./_rollupPluginBabelHelpers-4f206abf.js";import e from"react";import{c as r}from"./index-9b84fabc.js";import t from"./components/Badge/styles.module.scss";import{A as d}from"./constants-088e1d4a.js";var s=e.forwardRef((function(s,o){var b,l=s.children,i=s.className,n=void 0===i?"":i,c=s.color,m=void 0===c?"black":c,g=s.testId,f=l.toString().length>2,p=r(t.badge,(a(b={},t["badge--oversized"],f),a(b,t["badge--black"],"black"===m),a(b,t["badge--white"],"white"===m),a(b,t["badge--blueberry"],"blueberry"===m),a(b,t["badge--banana"],"banana"===m),a(b,t["badge--cherry"],"cherry"===m),a(b,t["badge--kiwi"],"kiwi"===m),a(b,t["badge--neutral"],"neutral"===m),a(b,t["badge--plum"],"plum"===m),b),n);return e.createElement("span",{className:p,ref:o,"data-testid":g,"data-analyticsid":d.Badge},l)}));export{s as B};
|
|
2
|
-
//# sourceMappingURL=Badge-f1986705.js.map
|
package/Badge-f1986705.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Badge-f1986705.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Button-a7ae5afb.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Button-a7ae5afb.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Checkbox-b0271e50.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox-b0271e50.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Close-58f848f6.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import o from"react";import{p as t}from"./palette-f206f488.js";import{Icon as e}from"./components/Icons/Icon.js";import{A as s}from"./constants-088e1d4a.js";import r from"./components/Icons/X.js";import a from"./components/Close/styles.module.scss";import{u as n,B as m}from"./useBreakpoint-6eb418f7.js";var c=function(c){var l=n()===m.xs?38:48;return o.createElement("button",{"data-testid":c.testId,"data-analyticsid":s.Close,className:a.close,"aria-label":c.ariaLabel||"Lukk",onClick:c.onClick,role:"button"},o.createElement(e,{svgIcon:r,color:t.blueberry600,size:l}))};export{c as C};
|
|
2
|
-
//# sourceMappingURL=Close-58f848f6.js.map
|
package/Close-58f848f6.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Close-58f848f6.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/FormGroup-9d4dc1ed.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{d as e}from"./_rollupPluginBabelHelpers-4f206abf.js";import r from"react";import{c as a}from"./index-9b84fabc.js";import o from"./components/FormGroup/styles.module.scss";import{C as t}from"./Checkbox-b0271e50.js";import{F as m,a as n,A as l}from"./constants-088e1d4a.js";import{R as i}from"./RadioButton-403681d9.js";import{I as p}from"./Input-b5f362b8.js";import{T as s}from"./Title-53c8b68d.js";import{F as f}from"./FormLayout-6bb303ac.js";var d=r.forwardRef((function(d,u){var c,g,v,_=d.className,b=d.mode,w=void 0===b?m.onwhite:b,y=d.variant,E=void 0===y?n.normal:y,j=d.error,N=d.name,h=w===m.ondark,k=E===n.bigform,F=a(o["form-group-wrapper"],(e(c={},o["form-group-wrapper--on-dark"],h),e(c,o["form-group-wrapper--invalid"],j),c),_),x=a(o["form-group-wrapper__title"],(e(g={},o["form-group-wrapper__title--on-dark"],h&&!j),e(g,o["form-group-wrapper__title--bigform"],k),g)),B=a(o["form-group"],e({},o["form-group--invalid"],j)),C=a(o["form-group-wrapper__errors"],e({},o["form-group-wrapper__errors--bigform"],k)),I=a(o["field-set__legend"],(e(v={},o["field-set__legend--on-dark"],h&&!j),e(v,o["field-set__legend--bigform"],k),v));return r.createElement("div",{"data-testid":d.testId,"data-analyticsid":l.FormGroup,className:F},d.title&&r.createElement(s,{className:x,htmlMarkup:"h4",appearance:"title4",margin:{marginTop:0,marginBottom:2}},d.title),r.createElement("div",{className:B},j&&r.createElement("p",{className:C},j),r.createElement("fieldset",{name:d.title,className:o["field-set"]},d.legend&&r.createElement("legend",{className:I},d.legend),r.Children.map(d.children,(function e(a){if(a.type===f)return r.cloneElement(a,{variant:E,mapHelper:e});if(a.type===t){var o=a.type===t;return r.cloneElement(a,{name:null!=N?N:o.valueOf.name,mode:w,variant:E,error:!!j})}if(a.type===i){var m=a.type===i;return r.cloneElement(a,{name:null!=N?N:m.valueOf.name,mode:w,variant:E,error:!!j})}if(a.type===p){var n=a.type===p;return r.cloneElement(a,{name:null!=N?N:n.valueOf.name,mode:w,variant:E,error:!!j})}return a})))))}));export{d as F};
|
|
2
|
-
//# sourceMappingURL=FormGroup-9d4dc1ed.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormGroup-9d4dc1ed.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/FormLayout-6bb303ac.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{d as o}from"./_rollupPluginBabelHelpers-4f206abf.js";import t from"react";import{c as r}from"./index-9b84fabc.js";import a from"./components/FormLayout/styles.module.scss";import{a as e,A as i}from"./constants-088e1d4a.js";var m;!function(o){o.one="one",o.two="two",o.three="three",o.four="four",o.five="five"}(m||(m={}));var l=t.forwardRef((function(l,n){var f,s=l.maxColumns,c=void 0===s?m.one:s,d=l.colMinWidth,u=void 0===d?300:d,h=l.variant,p=l.className,v=l.mapHelper,y={"--min-col-width":"".concat(u,"px")},b=r(a["form-layout-container"],o({},a["form-layout-container--bigform"],h===e.bigform),p),w=r(a["form-layout-child"],(o(f={},a["form-layout-child--two"],c===m.two),o(f,a["form-layout-child--three"],c===m.three),o(f,a["form-layout-child--four"],c===m.four),o(f,a["form-layout-child--five"],c===m.five),f));return t.createElement("div",{"data-testid":l.testId,"data-analyticsid":i.FormLayout,style:y,className:b},t.Children.map(l.children,(function(o){return t.createElement("div",{className:w},v?v(o):o)})))}));export{l as F,m as a};
|
|
2
|
-
//# sourceMappingURL=FormLayout-6bb303ac.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormLayout-6bb303ac.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Input-b5f362b8.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Input-b5f362b8.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Loader-a7566e5f.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Loader-a7566e5f.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Modal-3702a0b8.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Modal-3702a0b8.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Panel-8a6a740c.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Panel-8a6a740c.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RadioButton-403681d9.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Textarea-47398150.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Textarea-47398150.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|