@helsenorge/designsystem-react 1.0.0-beta124 → 1.0.0-beta127
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-9f2ce63d.js → Button-438a02c1.js} +2 -2
- package/Button-438a02c1.js.map +1 -0
- package/{Checkbox-1e2c2047.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-5bb47387.js → Input-58069d29.js} +2 -2
- package/Input-58069d29.js.map +1 -0
- package/{Loader-670979af.js → Loader-79187de4.js} +2 -2
- package/Loader-79187de4.js.map +1 -0
- package/{Modal-10c837a4.js → Modal-4a92001a.js} +2 -2
- package/Modal-4a92001a.js.map +1 -0
- package/{Panel-3ada0789.js → Panel-f36456da.js} +2 -2
- package/Panel-f36456da.js.map +1 -0
- package/{RadioButton-71099f5c.js → RadioButton-692ed90a.js} +2 -2
- package/RadioButton-692ed90a.js.map +1 -0
- package/{Textarea-e1e649cf.js → Textarea-f2b34d54.js} +2 -2
- package/Textarea-f2b34d54.js.map +1 -0
- package/{Title-3a6d4597.js → Title-face7728.js} +2 -2
- package/Title-face7728.js.map +1 -0
- package/Validation-f34d539c.js +2 -0
- package/Validation-f34d539c.js.map +1 -0
- package/__mocks__/IntersectionObserver.js +1 -1
- package/__mocks__/ResizeObserver.js +1 -1
- package/__mocks__/useLayoutEvent.d.ts +1 -0
- package/__mocks__/useLayoutEvent.d.ts.map +1 -0
- package/__mocks__/useLayoutEvent.js +2 -0
- package/__mocks__/useLayoutEvent.js.map +1 -0
- 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/Button/styles.module.scss +26 -5
- package/components/ButtonWithModal/index.js +1 -1
- package/components/Checkbox/index.js +1 -1
- package/components/Close/index.js +1 -1
- package/components/Dropdown/Dropdown.d.ts +1 -1
- package/components/Dropdown/componentdata.json +2 -2
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/styles.module.scss +1 -0
- package/components/Expander/index.js +1 -1
- package/components/ExpanderList/ExpanderList.d.ts.map +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/Icon.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/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/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/Tag.d.ts +35 -0
- package/components/Tag/Tag.d.ts.map +1 -0
- package/components/Tag/componentdata.json +223 -0
- package/components/Tag/index.d.ts +4 -0
- package/components/Tag/index.d.ts.map +1 -0
- package/components/Tag/index.js +2 -0
- package/components/Tag/index.js.map +1 -0
- package/components/Tag/styles.module.scss +175 -0
- package/components/Tag/styles.module.scss.d.ts +24 -0
- package/components/TagList/TagList.d.ts +8 -0
- package/components/TagList/TagList.d.ts.map +1 -0
- package/components/TagList/componentdata.json +23 -0
- package/components/TagList/index.d.ts +4 -0
- package/components/TagList/index.d.ts.map +1 -0
- package/components/TagList/index.js +2 -0
- package/components/TagList/index.js.map +1 -0
- package/components/TagList/styles.module.scss +10 -0
- package/components/TagList/styles.module.scss.d.ts +9 -0
- 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-088e1d4a.js +2 -0
- package/constants-088e1d4a.js.map +1 -0
- package/constants.d.ts +2 -0
- package/constants.d.ts.map +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/scss/typography.module.scss +0 -7
- package/scss/typography.module.scss.d.ts +25 -25
- 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-fb86686d.js +2 -0
- 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-32ba89d5.js +0 -2
- package/Badge-32ba89d5.js.map +0 -1
- package/Button-9f2ce63d.js.map +0 -1
- package/Checkbox-1e2c2047.js.map +0 -1
- package/Close-f197bf98.js +0 -2
- package/Close-f197bf98.js.map +0 -1
- package/FormGroup-9c5e238e.js +0 -2
- package/FormGroup-9c5e238e.js.map +0 -1
- package/FormLayout-26368f0a.js +0 -2
- package/FormLayout-26368f0a.js.map +0 -1
- package/Input-5bb47387.js.map +0 -1
- package/Loader-670979af.js.map +0 -1
- package/Modal-10c837a4.js.map +0 -1
- package/Panel-3ada0789.js.map +0 -1
- package/RadioButton-71099f5c.js.map +0 -1
- package/Textarea-e1e649cf.js.map +0 -1
- package/Title-3a6d4597.js.map +0 -1
- package/Validation-e36cb0d8.js +0 -2
- package/Validation-e36cb0d8.js.map +0 -1
- package/_rollupPluginBabelHelpers-4f206abf.js +0 -2
- package/_rollupPluginBabelHelpers-4f206abf.js.map +0 -1
- package/constants-9528513d.js +0 -2
- package/constants-9528513d.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/useSticky-807e5dde.js.map +0 -1
- package/useUuid-1ecdf8e8.js +0 -2
- package/useUuid-1ecdf8e8.js.map +0 -1
- package/useWindowSize-5cc481da.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import c from"react";
|
|
1
|
+
import c from"react";var v=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};export{v as default};
|
|
2
2
|
//# sourceMappingURL=WordDocument.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import v from"react";
|
|
1
|
+
import v from"react";var h=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};export{h as default};
|
|
2
2
|
//# sourceMappingURL=WorkSuitcase.js.map
|
package/components/Icons/X.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"react";import{getIcon as t}from"./Icon.js";import"../../_tslib-51c8a283.js";import"../../constants-
|
|
1
|
+
import e from"react";import{getIcon as t}from"./Icon.js";import"../../_tslib-51c8a283.js";import"../../constants-088e1d4a.js";var l=function(l){var a=l.size,r=l.isHovered;return t(a,r,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"}))};export{l as default};
|
|
2
2
|
//# sourceMappingURL=X.js.map
|
|
@@ -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-
|
|
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{Icon as o}from"./Icon.js";export{Icon,Icon as default,getIcon}from"./Icon.js";export{I as IconSize}from"../../constants-
|
|
1
|
+
import{Icon as o}from"./Icon.js";export{Icon,Icon as default,getIcon}from"./Icon.js";export{I as IconSize}from"../../constants-088e1d4a.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-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-
|
|
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-
|
|
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-
|
|
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
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SvgIcon } from '../Icons';
|
|
3
|
+
import { PaletteNames } from '../../theme/palette';
|
|
4
|
+
export declare enum TagSize {
|
|
5
|
+
medium = "medium",
|
|
6
|
+
large = "large"
|
|
7
|
+
}
|
|
8
|
+
export declare enum TagAction {
|
|
9
|
+
remove = "remove",
|
|
10
|
+
undo = "undo"
|
|
11
|
+
}
|
|
12
|
+
export declare enum TagVariant {
|
|
13
|
+
normal = "normal",
|
|
14
|
+
oncolor = "oncolor",
|
|
15
|
+
emphasised = "emphasised"
|
|
16
|
+
}
|
|
17
|
+
export declare type TagColors = Extract<PaletteNames, 'blueberry' | 'neutral' | 'cherry' | 'banana' | 'kiwi' | 'plum'>;
|
|
18
|
+
interface TagProps {
|
|
19
|
+
/** Sets the text of the tag */
|
|
20
|
+
children: string;
|
|
21
|
+
/** Sets the size of the tag. Default: small */
|
|
22
|
+
size?: keyof typeof TagSize;
|
|
23
|
+
/** Sets the background of the tag. Not used if action is "undo". Default: blueberry */
|
|
24
|
+
color?: TagColors;
|
|
25
|
+
/** Adds an icon to the tag. Not shown if action is set. */
|
|
26
|
+
svgIcon?: SvgIcon;
|
|
27
|
+
variant?: keyof typeof TagVariant;
|
|
28
|
+
action?: keyof typeof TagAction;
|
|
29
|
+
onClick?: () => void;
|
|
30
|
+
/** Sets the data-testid attribute on the expander button. */
|
|
31
|
+
testId?: string;
|
|
32
|
+
}
|
|
33
|
+
declare const Tag: React.FC<TagProps>;
|
|
34
|
+
export default Tag;
|
|
35
|
+
//# sourceMappingURL=Tag.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/Tag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAa,EAAY,OAAO,EAAE,MAAM,UAAU,CAAC;AACnD,OAAO,EAAW,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAQ5D,oBAAY,OAAO;IACjB,MAAM,WAAW;IACjB,KAAK,UAAU;CAChB;AAED,oBAAY,SAAS;IACnB,MAAM,WAAW;IACjB,IAAI,SAAS;CACd;AAED,oBAAY,UAAU;IACpB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,UAAU,eAAe;CAC1B;AAED,oBAAY,SAAS,GAAG,OAAO,CAAC,YAAY,EAAE,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC,CAAC;AAE/G,UAAU,QAAQ;IAChB,+BAA+B;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,+CAA+C;IAC/C,IAAI,CAAC,EAAE,MAAM,OAAO,OAAO,CAAC;IAC5B,uFAAuF;IACvF,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,2DAA2D;IAC3D,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,OAAO,CAAC,EAAE,MAAM,OAAO,UAAU,CAAC;IAElC,MAAM,CAAC,EAAE,MAAM,OAAO,SAAS,CAAC;IAEhC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,6DAA6D;IAC7D,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAuCD,QAAA,MAAM,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,CAqB3B,CAAC;AAEF,eAAe,GAAG,CAAC"}
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
{
|
|
2
|
+
"props": {
|
|
3
|
+
"children": {
|
|
4
|
+
"defaultValue": null,
|
|
5
|
+
"description": "Sets the text of the tag",
|
|
6
|
+
"name": "children",
|
|
7
|
+
"parent": {
|
|
8
|
+
"fileName": "src/components/Tag/Tag.tsx",
|
|
9
|
+
"name": "TagProps"
|
|
10
|
+
},
|
|
11
|
+
"declarations": [
|
|
12
|
+
{
|
|
13
|
+
"fileName": "src/components/Tag/Tag.tsx",
|
|
14
|
+
"name": "TagProps"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"fileName": "designsystem/node_modules/@types/react/index.d.ts",
|
|
18
|
+
"name": "TypeLiteral"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"required": false,
|
|
22
|
+
"type": {
|
|
23
|
+
"name": "string | (string & {}) | (string & ReactElement<any, string | ((props: any) => ReactElement<any, any> | null) | (new (props: any) => Component<any, any, any>)>) | (string & ReactNodeArray) | (string & ReactPortal)"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"size": {
|
|
27
|
+
"defaultValue": null,
|
|
28
|
+
"description": "Sets the size of the tag. Default: small",
|
|
29
|
+
"name": "size",
|
|
30
|
+
"parent": {
|
|
31
|
+
"fileName": "src/components/Tag/Tag.tsx",
|
|
32
|
+
"name": "TagProps"
|
|
33
|
+
},
|
|
34
|
+
"declarations": [
|
|
35
|
+
{
|
|
36
|
+
"fileName": "src/components/Tag/Tag.tsx",
|
|
37
|
+
"name": "TagProps"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"required": false,
|
|
41
|
+
"type": {
|
|
42
|
+
"name": "enum",
|
|
43
|
+
"raw": "\"medium\" | \"large\" | undefined",
|
|
44
|
+
"value": [
|
|
45
|
+
{
|
|
46
|
+
"value": "undefined"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"value": "\"medium\""
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"value": "\"large\""
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"color": {
|
|
58
|
+
"defaultValue": null,
|
|
59
|
+
"description": "Sets the background of the tag. Not used if action is \"undo\". Default: blueberry",
|
|
60
|
+
"name": "color",
|
|
61
|
+
"parent": {
|
|
62
|
+
"fileName": "src/components/Tag/Tag.tsx",
|
|
63
|
+
"name": "TagProps"
|
|
64
|
+
},
|
|
65
|
+
"declarations": [
|
|
66
|
+
{
|
|
67
|
+
"fileName": "src/components/Tag/Tag.tsx",
|
|
68
|
+
"name": "TagProps"
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"required": false,
|
|
72
|
+
"type": {
|
|
73
|
+
"name": "enum",
|
|
74
|
+
"raw": "\"banana\" | \"blueberry\" | \"cherry\" | \"kiwi\" | \"neutral\" | \"plum\" | undefined",
|
|
75
|
+
"value": [
|
|
76
|
+
{
|
|
77
|
+
"value": "undefined"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"value": "\"banana\""
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"value": "\"blueberry\""
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"value": "\"cherry\""
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"value": "\"kiwi\""
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"value": "\"neutral\""
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"value": "\"plum\""
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"svgIcon": {
|
|
101
|
+
"defaultValue": null,
|
|
102
|
+
"description": "Adds an icon to the tag. Not shown if action is set.",
|
|
103
|
+
"name": "svgIcon",
|
|
104
|
+
"parent": {
|
|
105
|
+
"fileName": "src/components/Tag/Tag.tsx",
|
|
106
|
+
"name": "TagProps"
|
|
107
|
+
},
|
|
108
|
+
"declarations": [
|
|
109
|
+
{
|
|
110
|
+
"fileName": "src/components/Tag/Tag.tsx",
|
|
111
|
+
"name": "TagProps"
|
|
112
|
+
}
|
|
113
|
+
],
|
|
114
|
+
"required": false,
|
|
115
|
+
"type": {
|
|
116
|
+
"name": "FC<SvgPathProps>"
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"variant": {
|
|
120
|
+
"defaultValue": null,
|
|
121
|
+
"description": "",
|
|
122
|
+
"name": "variant",
|
|
123
|
+
"parent": {
|
|
124
|
+
"fileName": "src/components/Tag/Tag.tsx",
|
|
125
|
+
"name": "TagProps"
|
|
126
|
+
},
|
|
127
|
+
"declarations": [
|
|
128
|
+
{
|
|
129
|
+
"fileName": "src/components/Tag/Tag.tsx",
|
|
130
|
+
"name": "TagProps"
|
|
131
|
+
}
|
|
132
|
+
],
|
|
133
|
+
"required": false,
|
|
134
|
+
"type": {
|
|
135
|
+
"name": "enum",
|
|
136
|
+
"raw": "\"normal\" | \"oncolor\" | \"emphasised\" | undefined",
|
|
137
|
+
"value": [
|
|
138
|
+
{
|
|
139
|
+
"value": "undefined"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"value": "\"normal\""
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"value": "\"oncolor\""
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"value": "\"emphasised\""
|
|
149
|
+
}
|
|
150
|
+
]
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"action": {
|
|
154
|
+
"defaultValue": null,
|
|
155
|
+
"description": "",
|
|
156
|
+
"name": "action",
|
|
157
|
+
"parent": {
|
|
158
|
+
"fileName": "src/components/Tag/Tag.tsx",
|
|
159
|
+
"name": "TagProps"
|
|
160
|
+
},
|
|
161
|
+
"declarations": [
|
|
162
|
+
{
|
|
163
|
+
"fileName": "src/components/Tag/Tag.tsx",
|
|
164
|
+
"name": "TagProps"
|
|
165
|
+
}
|
|
166
|
+
],
|
|
167
|
+
"required": false,
|
|
168
|
+
"type": {
|
|
169
|
+
"name": "enum",
|
|
170
|
+
"raw": "\"remove\" | \"undo\" | undefined",
|
|
171
|
+
"value": [
|
|
172
|
+
{
|
|
173
|
+
"value": "undefined"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"value": "\"remove\""
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"value": "\"undo\""
|
|
180
|
+
}
|
|
181
|
+
]
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"onClick": {
|
|
185
|
+
"defaultValue": null,
|
|
186
|
+
"description": "",
|
|
187
|
+
"name": "onClick",
|
|
188
|
+
"parent": {
|
|
189
|
+
"fileName": "src/components/Tag/Tag.tsx",
|
|
190
|
+
"name": "TagProps"
|
|
191
|
+
},
|
|
192
|
+
"declarations": [
|
|
193
|
+
{
|
|
194
|
+
"fileName": "src/components/Tag/Tag.tsx",
|
|
195
|
+
"name": "TagProps"
|
|
196
|
+
}
|
|
197
|
+
],
|
|
198
|
+
"required": false,
|
|
199
|
+
"type": {
|
|
200
|
+
"name": "(() => void)"
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
"testId": {
|
|
204
|
+
"defaultValue": null,
|
|
205
|
+
"description": "Sets the data-testid attribute on the expander button.",
|
|
206
|
+
"name": "testId",
|
|
207
|
+
"parent": {
|
|
208
|
+
"fileName": "src/components/Tag/Tag.tsx",
|
|
209
|
+
"name": "TagProps"
|
|
210
|
+
},
|
|
211
|
+
"declarations": [
|
|
212
|
+
{
|
|
213
|
+
"fileName": "src/components/Tag/Tag.tsx",
|
|
214
|
+
"name": "TagProps"
|
|
215
|
+
}
|
|
216
|
+
],
|
|
217
|
+
"required": false,
|
|
218
|
+
"type": {
|
|
219
|
+
"name": "string"
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/index.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,OAAO,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,eAAe,GAAG,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
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
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|