@helsenorge/designsystem-react 1.0.0-beta104 → 1.0.0-beta108
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Button-7e82091f.js +2 -0
- package/Button-7e82091f.js.map +1 -0
- package/CHANGELOG.md +52 -52
- package/Checkbox-f2418dc5.js +2 -0
- package/Checkbox-f2418dc5.js.map +1 -0
- package/Close-d81081c8.js +2 -0
- package/Close-d81081c8.js.map +1 -0
- package/FormGroup-af33981a.js +2 -0
- package/FormGroup-af33981a.js.map +1 -0
- package/Input-31d7accc.js +2 -0
- package/Input-31d7accc.js.map +1 -0
- package/{Loader-fa16a352.js → Loader-bc13d060.js} +2 -2
- package/Loader-bc13d060.js.map +1 -0
- package/Modal-ff546be0.js +2 -0
- package/Modal-ff546be0.js.map +1 -0
- package/README.md +69 -69
- package/{RadioButton-fe4bbd36.js → RadioButton-c173d440.js} +2 -2
- package/RadioButton-c173d440.js.map +1 -0
- package/{Textarea-e1d1144c.js → Textarea-78e20c9a.js} +2 -2
- package/Textarea-78e20c9a.js.map +1 -0
- package/{Title-af53f589.js → Title-9df559dd.js} +2 -2
- package/Title-9df559dd.js.map +1 -0
- package/{Validation-fd3f7f58.js → Validation-4041c083.js} +2 -2
- package/Validation-4041c083.js.map +1 -0
- package/components/AnchorLink/AnchorLink.d.ts +18 -18
- package/components/AnchorLink/index.d.ts +3 -3
- package/components/AnchorLink/index.js +1 -1
- package/components/AnchorLink/styles.module.scss +63 -63
- package/components/AnchorLink/styles.module.scss.d.ts +10 -10
- package/components/Avatar/Avatar.d.ts +15 -15
- package/components/Avatar/index.d.ts +3 -3
- package/components/Avatar/index.js +1 -1
- package/components/Avatar/styles.module.scss +22 -22
- package/components/Avatar/styles.module.scss.d.ts +11 -11
- package/components/Badge/Badge.d.ts +16 -16
- package/components/Badge/index.d.ts +3 -3
- package/components/Badge/index.js +1 -1
- package/components/Badge/styles.module.scss +41 -41
- package/components/Badge/styles.module.scss.d.ts +17 -17
- package/components/Button/Button.d.ts +42 -39
- package/components/Button/Button.d.ts.map +1 -1
- package/components/Button/componentdata.json +21 -2
- package/components/Button/index.d.ts +3 -3
- package/components/Button/index.js +1 -1
- package/components/Button/styles.module.scss +434 -434
- package/components/Button/styles.module.scss.d.ts +34 -34
- package/components/ButtonWithModal/ButtonWithModal.d.ts +10 -10
- package/components/ButtonWithModal/index.d.ts +3 -3
- package/components/ButtonWithModal/index.js +1 -1
- package/components/Checkbox/Checkbox.d.ts +30 -30
- package/components/Checkbox/index.d.ts +3 -3
- package/components/Checkbox/index.js +1 -1
- package/components/Checkbox/styles.module.scss +204 -204
- package/components/Checkbox/styles.module.scss.d.ts +26 -26
- package/components/Close/Close.d.ts +11 -11
- package/components/Close/index.d.ts +3 -3
- package/components/Close/index.js +1 -1
- package/components/Close/styles.module.scss +32 -32
- package/components/Close/styles.module.scss.d.ts +9 -9
- package/components/Expander/Expander.d.ts +32 -32
- package/components/Expander/Expander.d.ts.map +1 -1
- package/components/Expander/index.d.ts +3 -3
- package/components/Expander/index.js +1 -1
- package/components/Expander/styles.module.scss +165 -165
- package/components/Expander/styles.module.scss.d.ts +42 -42
- package/components/ExpanderList/ExpanderList.d.ts +47 -45
- package/components/ExpanderList/ExpanderList.d.ts.map +1 -1
- package/components/ExpanderList/index.d.ts +3 -3
- package/components/ExpanderList/index.js +1 -1
- package/components/ExpanderList/styles.module.scss +160 -155
- package/components/ExpanderList/styles.module.scss.d.ts +28 -27
- package/components/FormExample/FormExample.d.ts +15 -15
- package/components/FormExample/index.d.ts +3 -3
- package/components/FormExample/index.js +1 -1
- package/components/FormExample/index.js.map +1 -1
- package/components/FormGroup/FormGroup.d.ts +24 -24
- package/components/FormGroup/index.d.ts +3 -3
- package/components/FormGroup/index.js +1 -1
- package/components/FormGroup/styles.module.scss +67 -67
- package/components/FormGroup/styles.module.scss.d.ts +16 -16
- package/components/HighlightBox/HighlightBox.d.ts +26 -23
- package/components/HighlightBox/HighlightBox.d.ts.map +1 -1
- package/components/HighlightBox/componentdata.json +19 -0
- package/components/HighlightBox/index.d.ts +3 -3
- package/components/HighlightBox/index.js +1 -1
- package/components/HighlightBox/styles.module.scss +174 -89
- package/components/Icons/ActiveMonitoring.d.ts +4 -4
- package/components/Icons/AcupunctureBack.d.ts +4 -4
- package/components/Icons/AcupunctureBack.js +1 -1
- package/components/Icons/AdditionalIconInformation.js +263 -263
- package/components/Icons/AdditionalIconInformation.js.map +1 -1
- package/components/Icons/AlarmClock.d.ts +4 -4
- package/components/Icons/AlertSignFill.d.ts +4 -4
- package/components/Icons/AlertSignStroke.d.ts +4 -4
- package/components/Icons/Amputation.d.ts +4 -4
- package/components/Icons/Anxiety.d.ts +4 -4
- package/components/Icons/Apple.d.ts +4 -4
- package/components/Icons/Archive.d.ts +4 -4
- package/components/Icons/ArmFlexing.d.ts +4 -4
- package/components/Icons/ArrowLeft.d.ts +4 -4
- package/components/Icons/ArrowRight.d.ts +4 -4
- package/components/Icons/ArrowUpRight.d.ts +4 -4
- package/components/Icons/Attachment.d.ts +4 -4
- package/components/Icons/Atv.d.ts +4 -4
- package/components/Icons/Avatar.d.ts +4 -4
- package/components/Icons/AwakePersonOnPillow.d.ts +4 -4
- package/components/Icons/Baby.d.ts +4 -4
- package/components/Icons/BandAid.d.ts +4 -4
- package/components/Icons/BeerAndPills.d.ts +4 -4
- package/components/Icons/Bell.d.ts +4 -4
- package/components/Icons/Bike.d.ts +4 -4
- package/components/Icons/BirthControl.d.ts +4 -4
- package/components/Icons/BirthdayCake.d.ts +4 -4
- package/components/Icons/Boat.d.ts +4 -4
- package/components/Icons/Body.d.ts +4 -4
- package/components/Icons/Brain.d.ts +4 -4
- package/components/Icons/BreastReconstruction.d.ts +4 -4
- package/components/Icons/BreastRemoval.d.ts +4 -4
- package/components/Icons/Breasts.d.ts +4 -4
- package/components/Icons/BrokenHeart.d.ts +4 -4
- package/components/Icons/BrokenPuzzle.d.ts +4 -4
- package/components/Icons/Bus.d.ts +4 -4
- package/components/Icons/Calendar.d.ts +4 -4
- package/components/Icons/CalendarChange.d.ts +4 -4
- package/components/Icons/CalendarCheck.d.ts +4 -4
- package/components/Icons/CalendarEvent.d.ts +4 -4
- package/components/Icons/CalendarSave.d.ts +4 -4
- package/components/Icons/Cancer.d.ts +4 -4
- package/components/Icons/Car.d.ts +4 -4
- package/components/Icons/Change.d.ts +4 -4
- package/components/Icons/Check.d.ts +4 -4
- package/components/Icons/CheckOutline.d.ts +4 -4
- package/components/Icons/Chest.d.ts +4 -4
- package/components/Icons/ChevronDown.d.ts +4 -4
- package/components/Icons/ChevronLeft.d.ts +4 -4
- package/components/Icons/ChevronRight.d.ts +4 -4
- package/components/Icons/ChevronUp.d.ts +4 -4
- package/components/Icons/ChevronsDown.d.ts +4 -4
- package/components/Icons/ChevronsUp.d.ts +4 -4
- package/components/Icons/ChildPlaying.d.ts +4 -4
- package/components/Icons/Cigarette.d.ts +4 -4
- package/components/Icons/Contacts.d.ts +4 -4
- package/components/Icons/Copy.d.ts +4 -4
- package/components/Icons/CoronaCertificate.d.ts +4 -4
- package/components/Icons/Coronavirus.d.ts +4 -4
- package/components/Icons/Cough.d.ts +4 -4
- package/components/Icons/CriticalHealthInfo.d.ts +4 -4
- package/components/Icons/Cross.d.ts +4 -4
- package/components/Icons/DataExchange.d.ts +4 -4
- package/components/Icons/DataReceived.d.ts +4 -4
- package/components/Icons/DataSent.d.ts +4 -4
- package/components/Icons/Depression.d.ts +4 -4
- package/components/Icons/DigestiveSystem.d.ts +4 -4
- package/components/Icons/Dizzy.d.ts +4 -4
- package/components/Icons/Documents.d.ts +4 -4
- package/components/Icons/Dog.d.ts +4 -4
- package/components/Icons/DonorCard.d.ts +4 -4
- package/components/Icons/Download.d.ts +4 -4
- package/components/Icons/Draft.d.ts +4 -4
- package/components/Icons/EChat.d.ts +4 -4
- package/components/Icons/EarNoseThroat.d.ts +4 -4
- package/components/Icons/ElderlyPerson.d.ts +4 -4
- package/components/Icons/Embolization.d.ts +4 -4
- package/components/Icons/EnterFullScreen.d.ts +4 -4
- package/components/Icons/Envelope.d.ts +4 -4
- package/components/Icons/Epilepsy.d.ts +4 -4
- package/components/Icons/Eraser.d.ts +4 -4
- package/components/Icons/ErrorSignFill.d.ts +4 -4
- package/components/Icons/ErrorSignStroke.d.ts +4 -4
- package/components/Icons/EuropeanHealthCard.d.ts +4 -4
- package/components/Icons/ExitFullScreen.d.ts +4 -4
- package/components/Icons/Eye.d.ts +4 -4
- package/components/Icons/Facebook.d.ts +4 -4
- package/components/Icons/Female.d.ts +4 -4
- package/components/Icons/FemaleDoctor.d.ts +4 -4
- package/components/Icons/Ferry.d.ts +4 -4
- package/components/Icons/FingerBleed.d.ts +4 -4
- package/components/Icons/FirstAidKit.d.ts +4 -4
- package/components/Icons/FloppyDisk.d.ts +4 -4
- package/components/Icons/Football.d.ts +4 -4
- package/components/Icons/Form.d.ts +4 -4
- package/components/Icons/Forward.d.ts +4 -4
- package/components/Icons/Gallery.d.ts +4 -4
- package/components/Icons/Garden.d.ts +4 -4
- package/components/Icons/GasCan.d.ts +4 -4
- package/components/Icons/GenderIdentity.d.ts +4 -4
- package/components/Icons/Globe.d.ts +4 -4
- package/components/Icons/HandWaving.d.ts +4 -4
- package/components/Icons/HandWithDisease.d.ts +4 -4
- package/components/Icons/HealthClinic.d.ts +4 -4
- package/components/Icons/HealthWarning.d.ts +4 -4
- package/components/Icons/Heart.d.ts +4 -4
- package/components/Icons/HelpSign.d.ts +4 -4
- package/components/Icons/HelpingHand.d.ts +4 -4
- package/components/Icons/Hemodialysis.d.ts +4 -4
- package/components/Icons/Hiker.d.ts +4 -4
- package/components/Icons/Hipprosthesis.d.ts +4 -4
- package/components/Icons/History.d.ts +4 -4
- package/components/Icons/HivAndAids.d.ts +4 -4
- package/components/Icons/Home.d.ts +4 -4
- package/components/Icons/Hormone.d.ts +4 -4
- package/components/Icons/Hospital.d.ts +4 -4
- package/components/Icons/Hourglass.d.ts +4 -4
- package/components/Icons/Icon.d.ts +22 -22
- package/components/Icons/Icon.js +1 -1
- package/components/Icons/ImgFile.d.ts +4 -4
- package/components/Icons/Inbox.d.ts +4 -4
- package/components/Icons/InfoSignFill.d.ts +4 -4
- package/components/Icons/InfoSignStroke.d.ts +4 -4
- package/components/Icons/Instagram.d.ts +4 -4
- package/components/Icons/Intravenous.d.ts +4 -4
- package/components/Icons/JointPain.d.ts +4 -4
- package/components/Icons/Journal.d.ts +4 -4
- package/components/Icons/JpgFile.d.ts +4 -4
- package/components/Icons/Kidney.d.ts +4 -4
- package/components/Icons/KitchenScale.d.ts +4 -4
- package/components/Icons/Kjernejournal.d.ts +4 -4
- package/components/Icons/Laboratory.d.ts +4 -4
- package/components/Icons/LaptopBlog.d.ts +4 -4
- package/components/Icons/LawBook.d.ts +4 -4
- package/components/Icons/LightBulb.d.ts +4 -4
- package/components/Icons/List.d.ts +4 -4
- package/components/Icons/Location.d.ts +4 -4
- package/components/Icons/Lock.d.ts +4 -4
- package/components/Icons/Lungs.d.ts +4 -4
- package/components/Icons/Makeup.d.ts +4 -4
- package/components/Icons/MaleDoctor.d.ts +4 -4
- package/components/Icons/MaleDoctorAndPerson.d.ts +4 -4
- package/components/Icons/MaleGenitalia.d.ts +4 -4
- package/components/Icons/Medicine.d.ts +4 -4
- package/components/Icons/MedicineWarning.d.ts +4 -4
- package/components/Icons/MentalHealthAdult.d.ts +4 -4
- package/components/Icons/MentalHealthChild.d.ts +4 -4
- package/components/Icons/Menu.d.ts +4 -4
- package/components/Icons/Microscope.d.ts +4 -4
- package/components/Icons/Minus.d.ts +4 -4
- package/components/Icons/Mirror.d.ts +4 -4
- package/components/Icons/MobilePhone.d.ts +4 -4
- package/components/Icons/MotherHoldingBaby.d.ts +4 -4
- package/components/Icons/MuscleBack.d.ts +4 -4
- package/components/Icons/MuscleLeg.d.ts +4 -4
- package/components/Icons/Mushroom.d.ts +4 -4
- package/components/Icons/Music.d.ts +4 -4
- package/components/Icons/MusselsAndSalt.d.ts +4 -4
- package/components/Icons/NoEye.d.ts +4 -4
- package/components/Icons/NoEye.js +1 -1
- package/components/Icons/NoFilter.d.ts +4 -4
- package/components/Icons/Notepad.d.ts +4 -4
- package/components/Icons/Osteotomy.d.ts +4 -4
- package/components/Icons/PaintRoller.d.ts +4 -4
- package/components/Icons/PaperPlane.d.ts +4 -4
- package/components/Icons/PatientAndPerson.d.ts +4 -4
- package/components/Icons/Pause.d.ts +4 -4
- package/components/Icons/PdfFile.d.ts +4 -4
- package/components/Icons/Pencil.d.ts +4 -4
- package/components/Icons/PeopleTalking.d.ts +4 -4
- package/components/Icons/Peritonealdialysis.d.ts +4 -4
- package/components/Icons/Person.d.ts +4 -4
- package/components/Icons/PersonAndPatient.d.ts +4 -4
- package/components/Icons/PersonInXRayMachine.d.ts +4 -4
- package/components/Icons/PersonOverweight.d.ts +4 -4
- package/components/Icons/PersonRelaxing.d.ts +4 -4
- package/components/Icons/PersonWithBrain.d.ts +4 -4
- package/components/Icons/PersonWithBrokenArm.d.ts +4 -4
- package/components/Icons/PersonWithCrutches.d.ts +4 -4
- package/components/Icons/PersonWithJaw.d.ts +4 -4
- package/components/Icons/PersonWithMagnifyingGlass.d.ts +4 -4
- package/components/Icons/PersonWithSenses.d.ts +4 -4
- package/components/Icons/PersonWorking.d.ts +4 -4
- package/components/Icons/PizzaSlice.d.ts +4 -4
- package/components/Icons/Plane.d.ts +4 -4
- package/components/Icons/Plant.d.ts +4 -4
- package/components/Icons/Play.d.ts +4 -4
- package/components/Icons/PlusLarge.d.ts +4 -4
- package/components/Icons/PlusSmall.d.ts +4 -4
- package/components/Icons/PngFile.d.ts +4 -4
- package/components/Icons/Podcast.d.ts +4 -4
- package/components/Icons/PoisonInformation.d.ts +4 -4
- package/components/Icons/Pregnant.d.ts +4 -4
- package/components/Icons/Printer.d.ts +4 -4
- package/components/Icons/Psychosis.d.ts +4 -4
- package/components/Icons/Publication.d.ts +4 -4
- package/components/Icons/Puzzle.d.ts +4 -4
- package/components/Icons/QrCode.d.ts +4 -4
- package/components/Icons/Quarrel.d.ts +4 -4
- package/components/Icons/RadioTherapy.d.ts +4 -4
- package/components/Icons/RadioactiveTreatment.d.ts +4 -4
- package/components/Icons/Radioiodine.d.ts +4 -4
- package/components/Icons/Receipt.d.ts +4 -4
- package/components/Icons/Receptionist.d.ts +4 -4
- package/components/Icons/Recovery.d.ts +4 -4
- package/components/Icons/Referral.d.ts +4 -4
- package/components/Icons/Refresh.d.ts +4 -4
- package/components/Icons/Refund.d.ts +4 -4
- package/components/Icons/Reply.d.ts +4 -4
- package/components/Icons/Rocket.d.ts +4 -4
- package/components/Icons/RtfFile.d.ts +4 -4
- package/components/Icons/STDs.d.ts +4 -4
- package/components/Icons/Save.d.ts +4 -4
- package/components/Icons/Scale.d.ts +4 -4
- package/components/Icons/Search.d.ts +4 -4
- package/components/Icons/SectionSign.d.ts +4 -4
- package/components/Icons/SectionSign.js +1 -1
- package/components/Icons/Settings.d.ts +4 -4
- package/components/Icons/Sexualorientation.d.ts +4 -4
- package/components/Icons/ShakingHand.d.ts +4 -4
- package/components/Icons/Share.d.ts +4 -4
- package/components/Icons/Shield.d.ts +4 -4
- package/components/Icons/ShuntOperation.d.ts +4 -4
- package/components/Icons/Skeleton.d.ts +4 -4
- package/components/Icons/Skin.d.ts +4 -4
- package/components/Icons/Snake.d.ts +4 -4
- package/components/Icons/Snapchat.d.ts +4 -4
- package/components/Icons/SpeechBubble.d.ts +4 -4
- package/components/Icons/SpeechBubble.js +1 -1
- package/components/Icons/Spray.d.ts +4 -4
- package/components/Icons/Stopwatch.d.ts +4 -4
- package/components/Icons/SupportingPerson.d.ts +4 -4
- package/components/Icons/SupportingPerson.js +1 -1
- package/components/Icons/Surgery.d.ts +4 -4
- package/components/Icons/Syringe.d.ts +4 -4
- package/components/Icons/Syringe.js +1 -1
- package/components/Icons/Taxi.d.ts +4 -4
- package/components/Icons/TeddyBear.d.ts +4 -4
- package/components/Icons/Teenagers.d.ts +4 -4
- package/components/Icons/ThinkingAboutBaby.d.ts +4 -4
- package/components/Icons/Ticket.d.ts +4 -4
- package/components/Icons/TimePassing.d.ts +4 -4
- package/components/Icons/Toolbox.d.ts +4 -4
- package/components/Icons/Tooth.d.ts +4 -4
- package/components/Icons/TotalKneeProsthesis.d.ts +4 -4
- package/components/Icons/Train.d.ts +4 -4
- package/components/Icons/Transplantation.d.ts +4 -4
- package/components/Icons/TrashCan.d.ts +4 -4
- package/components/Icons/Twitter.d.ts +4 -4
- package/components/Icons/Undo.d.ts +4 -4
- package/components/Icons/UniProsthesis.d.ts +4 -4
- package/components/Icons/Upload.d.ts +4 -4
- package/components/Icons/UserOrganization.d.ts +4 -4
- package/components/Icons/Vaccine.d.ts +4 -4
- package/components/Icons/VerticalDots.d.ts +4 -4
- package/components/Icons/VideoCamera.d.ts +4 -4
- package/components/Icons/VideoChat.d.ts +4 -4
- package/components/Icons/Wallet.d.ts +4 -4
- package/components/Icons/Watch.d.ts +4 -4
- package/components/Icons/Website.d.ts +4 -4
- package/components/Icons/Wheelchair.d.ts +4 -4
- package/components/Icons/WheelchairActive.d.ts +4 -4
- package/components/Icons/Window.d.ts +4 -4
- package/components/Icons/WordDocument.d.ts +4 -4
- package/components/Icons/WorkSuitcase.d.ts +4 -4
- package/components/Icons/X.d.ts +4 -4
- package/components/Icons/XOutline.d.ts +4 -4
- package/components/Icons/XmlFile.d.ts +4 -4
- package/components/Icons/YouTube.d.ts +4 -4
- package/components/Icons/Zoom.d.ts +4 -4
- package/components/Icons/index.d.ts +4 -4
- package/components/Icons/index.js +1 -1
- package/components/Input/Input.d.ts +54 -54
- package/components/Input/index.d.ts +3 -3
- package/components/Input/index.js +1 -1
- package/components/Input/styles.module.scss +59 -59
- package/components/Input/styles.module.scss.d.ts +23 -23
- package/components/LinkList/LinkList.d.ts +41 -41
- package/components/LinkList/index.d.ts +3 -3
- package/components/LinkList/index.js +1 -1
- package/components/LinkList/styles.module.scss +147 -147
- package/components/LinkList/styles.module.scss.d.ts +26 -26
- package/components/List/List.d.ts +9 -9
- package/components/List/index.d.ts +3 -3
- package/components/List/index.js +1 -1
- package/components/List/styles.module.scss +11 -11
- package/components/List/styles.module.scss.d.ts +10 -10
- package/components/Loader/Loader.d.ts +32 -32
- package/components/Loader/Loader.d.ts.map +1 -1
- package/components/Loader/index.d.ts +3 -3
- package/components/Loader/index.js +1 -1
- package/components/Loader/styles.module.scss +194 -194
- package/components/Logo/Logo.d.ts +17 -17
- package/components/Logo/index.d.ts +3 -3
- package/components/Logo/index.js +1 -1
- package/components/Modal/Modal.d.ts +69 -69
- package/components/Modal/__mocks__/IntersectionObserver.d.ts +5 -5
- package/components/Modal/index.d.ts +3 -3
- package/components/Modal/index.js +1 -1
- package/components/Modal/styles.module.scss +243 -243
- package/components/Modal/styles.module.scss.d.ts +41 -41
- package/components/NotificationPanel/NotificationPanel.d.ts +47 -47
- package/components/NotificationPanel/NotificationPanel.d.ts.map +1 -1
- package/components/NotificationPanel/componentdata.json +1 -1
- package/components/NotificationPanel/index.d.ts +3 -3
- package/components/NotificationPanel/index.js +1 -1
- package/components/NotificationPanel/styles.module.scss +153 -138
- package/components/NotificationPanel/styles.module.scss.d.ts +33 -34
- package/components/Portal/index.d.ts +12 -12
- package/components/Portal/index.js +1 -1
- package/components/RadioButton/RadioButton.d.ts +30 -30
- package/components/RadioButton/index.d.ts +3 -3
- package/components/RadioButton/index.js +1 -1
- package/components/RadioButton/styles.module.scss +236 -236
- package/components/RadioButton/styles.module.scss.d.ts +23 -23
- package/components/Slider/Slider.d.ts +19 -19
- package/components/Slider/SliderUtils.d.ts +40 -40
- package/components/Slider/index.d.ts +3 -3
- package/components/Slider/index.js +1 -1
- package/components/Slider/styles.module.scss +85 -85
- package/components/Slider/styles.module.scss.d.ts +19 -19
- package/components/Spacer/Spacer.d.ts +12 -12
- package/components/Spacer/index.d.ts +3 -3
- package/components/Spacer/index.js +1 -1
- package/components/Spacer/styles.module.scss +47 -47
- package/components/Spacer/styles.module.scss.d.ts +22 -22
- package/components/Textarea/Textarea.d.ts +36 -36
- package/components/Textarea/index.d.ts +3 -3
- package/components/Textarea/index.js +1 -1
- package/components/Textarea/styles.module.scss +57 -57
- package/components/Textarea/styles.module.scss.d.ts +26 -26
- package/components/Tile/Tile.d.ts +33 -33
- package/components/Tile/index.d.ts +3 -3
- package/components/Tile/index.js +1 -1
- package/components/Tile/styles.module.scss +115 -115
- package/components/Tile/styles.module.scss.d.ts +18 -18
- package/components/Title/Title.d.ts +25 -25
- package/components/Title/index.d.ts +3 -3
- package/components/Title/index.js +1 -1
- package/components/Title/styles.module.scss +27 -27
- package/components/Title/styles.module.scss.d.ts +15 -15
- package/components/Validation/Validation.d.ts +16 -16
- package/components/Validation/index.d.ts +3 -3
- package/components/Validation/index.js +1 -1
- package/components/Validation/styles.module.scss +18 -18
- package/components/Validation/styles.module.scss.d.ts +10 -10
- package/constants-eb74321e.js +2 -0
- package/constants-eb74321e.js.map +1 -0
- package/constants.d.ts +91 -90
- package/constants.d.ts.map +1 -1
- package/hooks/focus-utils.d.ts +6 -6
- package/hooks/useBreakpoint.d.ts +12 -12
- package/hooks/useFocusToggle.d.ts +13 -13
- package/hooks/useFocusTrap.d.ts +3 -3
- package/hooks/useHover.d.ts +11 -11
- package/hooks/useIcons.d.ts +3 -3
- package/hooks/useIntersectionObserver.d.ts +10 -10
- package/hooks/useIsVisible.d.ts +9 -9
- package/hooks/useLayoutEvent.d.ts +8 -8
- package/hooks/usePrevious.d.ts +7 -0
- package/hooks/usePrevious.d.ts.map +1 -0
- package/hooks/useSize.d.ts +9 -0
- package/hooks/useSize.d.ts.map +1 -0
- package/hooks/useSticky.d.ts +20 -20
- package/hooks/useWindowSize.d.ts +4 -4
- package/index.d.ts +13 -11
- package/index.d.ts.map +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/scss/_body.scss +11 -11
- package/scss/_breakpoints.scss +16 -16
- package/scss/_font-settings.scss +8 -8
- package/scss/_fonts.scss +112 -112
- package/scss/_grid.scss +1 -1
- package/scss/_input.scss +176 -176
- package/scss/_palette.scss +136 -136
- package/scss/_print.scss +176 -176
- package/scss/_reset.scss +13 -13
- package/scss/_spacers.scss +40 -40
- package/scss/_title.scss +59 -59
- package/scss/helsenorge.scss +8 -8
- package/scss/typography.module.scss +154 -154
- package/theme/currys/color.d.ts +3 -3
- package/theme/currys/index.d.ts +2 -2
- package/theme/currys/spacing.d.ts +3 -3
- package/theme/grid.d.ts +20 -20
- package/theme/index.d.ts +98 -98
- package/theme/palette.d.ts +67 -67
- package/theme/spacers.d.ts +18 -18
- package/usePrevious-ae293b10.js +2 -0
- package/usePrevious-ae293b10.js.map +1 -0
- package/useSticky-d61d1f0b.js +2 -0
- package/useSticky-d61d1f0b.js.map +1 -0
- package/utils/debounce.d.ts +7 -7
- package/utils/uuid.d.ts +2 -2
- package/utils/viewport.d.ts +1 -1
- package/AlertSignFill-e607ff43.js +0 -2
- package/AlertSignFill-e607ff43.js.map +0 -1
- package/Button-d5147e38.js +0 -2
- package/Button-d5147e38.js.map +0 -1
- package/Check-6291ad09.js +0 -2
- package/Check-6291ad09.js.map +0 -1
- package/Checkbox-798282e4.js +0 -2
- package/Checkbox-798282e4.js.map +0 -1
- package/ChevronUp-4b6797ef.js +0 -2
- package/ChevronUp-4b6797ef.js.map +0 -1
- package/Close-35ad7d35.js +0 -2
- package/Close-35ad7d35.js.map +0 -1
- package/FormGroup-0577b07f.js +0 -2
- package/FormGroup-0577b07f.js.map +0 -1
- package/Icon-89da8de4.js +0 -2
- package/Icon-89da8de4.js.map +0 -1
- package/Input-19650c24.js +0 -2
- package/Input-19650c24.js.map +0 -1
- package/Loader-fa16a352.js.map +0 -1
- package/Modal-ad02991b.js +0 -2
- package/Modal-ad02991b.js.map +0 -1
- package/RadioButton-fe4bbd36.js.map +0 -1
- package/Textarea-e1d1144c.js.map +0 -1
- package/Title-af53f589.js.map +0 -1
- package/Validation-fd3f7f58.js.map +0 -1
- package/constants-ad6c82db.js +0 -2
- package/constants-ad6c82db.js.map +0 -1
- package/useSticky-194f2b78.js +0 -2
- package/useSticky-194f2b78.js.map +0 -1
|
@@ -1,434 +1,434 @@
|
|
|
1
|
-
@import '../../scss/_spacers.scss';
|
|
2
|
-
@import '../../scss/_breakpoints.scss';
|
|
3
|
-
@import '../../scss/_palette.scss';
|
|
4
|
-
|
|
5
|
-
$primaryHoverColor: #08667c0d; //$blueberry700 + '0D';
|
|
6
|
-
$warningHoverColor: #ab7c000d; //$banana700 + '0D';
|
|
7
|
-
$dangerHoverColor: #a31f0e0d; //$cherry700 + '0D';
|
|
8
|
-
$invertedHoverColor: #ffffff0d; //$white + '0D';
|
|
9
|
-
|
|
10
|
-
.content-wrapper {
|
|
11
|
-
display: flex;
|
|
12
|
-
align-items: center;
|
|
13
|
-
justify-content: space-between;
|
|
14
|
-
width: inherit;
|
|
15
|
-
height: 100%;
|
|
16
|
-
&:focus {
|
|
17
|
-
border-bottom: 1px solid $white;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.button {
|
|
22
|
-
// Referanse for grandparent selection i underklassene lenger nede
|
|
23
|
-
$button: &;
|
|
24
|
-
|
|
25
|
-
padding: 0 1.5rem;
|
|
26
|
-
min-height: 2.5rem;
|
|
27
|
-
font-size: 1.125rem;
|
|
28
|
-
font-family: inherit;
|
|
29
|
-
font-weight: 600;
|
|
30
|
-
display: inline-block;
|
|
31
|
-
box-sizing: border-box;
|
|
32
|
-
text-decoration: none;
|
|
33
|
-
outline: none;
|
|
34
|
-
border: 0;
|
|
35
|
-
letter-spacing: unset;
|
|
36
|
-
cursor: pointer;
|
|
37
|
-
|
|
38
|
-
&:disabled {
|
|
39
|
-
pointer-events: none;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
@media (min-width: map-get($grid-breakpoints, md)) {
|
|
43
|
-
min-height: 3.125rem;
|
|
44
|
-
font-size: 1.25rem;
|
|
45
|
-
padding: 0 2.5rem;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&--fluid {
|
|
49
|
-
width: 100%;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
&--large {
|
|
53
|
-
min-height: 3.5rem;
|
|
54
|
-
font-size: 1.125rem;
|
|
55
|
-
|
|
56
|
-
@media (min-width: map-get($grid-breakpoints, md)) {
|
|
57
|
-
min-height: 4.5rem;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
&--fill {
|
|
62
|
-
border-width: 0.125rem;
|
|
63
|
-
border-style: solid;
|
|
64
|
-
background-color: $blueberry500;
|
|
65
|
-
border-color: $blueberry500;
|
|
66
|
-
color: $white;
|
|
67
|
-
|
|
68
|
-
&:hover,
|
|
69
|
-
&:active,
|
|
70
|
-
&:focus {
|
|
71
|
-
background-color: $blueberry700;
|
|
72
|
-
box-shadow: 0 0 0 0.25rem $blueberry700;
|
|
73
|
-
border-color: transparent;
|
|
74
|
-
}
|
|
75
|
-
&:disabled {
|
|
76
|
-
background-color: $neutral200;
|
|
77
|
-
border: 0.125rem solid $neutral200;
|
|
78
|
-
box-shadow: 0 0 0 0.25rem $neutral200;
|
|
79
|
-
color: $neutral600;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
&--fill#{&}--warning {
|
|
83
|
-
background-color: $banana500;
|
|
84
|
-
border-color: $banana500;
|
|
85
|
-
|
|
86
|
-
&:hover,
|
|
87
|
-
&:active,
|
|
88
|
-
&:focus {
|
|
89
|
-
background-color: $banana700;
|
|
90
|
-
border-color: $banana700;
|
|
91
|
-
box-shadow: 0 0 0 0.25rem $banana700;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
&--fill#{&}--danger {
|
|
95
|
-
background-color: $cherry500;
|
|
96
|
-
border-color: $cherry500;
|
|
97
|
-
|
|
98
|
-
&:hover,
|
|
99
|
-
&:active,
|
|
100
|
-
&:focus {
|
|
101
|
-
background-color: $cherry700;
|
|
102
|
-
border-color: $cherry700;
|
|
103
|
-
box-shadow: 0 0 0 0.25rem $cherry700;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
&--fill#{&}--inverted {
|
|
107
|
-
background-color: $white;
|
|
108
|
-
border-color: $white;
|
|
109
|
-
color: $blueberry500;
|
|
110
|
-
|
|
111
|
-
&:hover,
|
|
112
|
-
&:active,
|
|
113
|
-
&:focus {
|
|
114
|
-
background-color: $white;
|
|
115
|
-
border-color: $white;
|
|
116
|
-
box-shadow: 0 0 0 0.25rem $white;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
&--fill#{&}--warning#{&}--inverted {
|
|
120
|
-
color: $banana500;
|
|
121
|
-
}
|
|
122
|
-
&--fill#{&}--danger#{&}--inverted {
|
|
123
|
-
color: $cherry500;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
&--outline {
|
|
127
|
-
border-width: 0.125rem;
|
|
128
|
-
border-style: solid;
|
|
129
|
-
background-color: transparent;
|
|
130
|
-
border-color: $blueberry500;
|
|
131
|
-
color: $blueberry600;
|
|
132
|
-
position: relative;
|
|
133
|
-
|
|
134
|
-
&:before {
|
|
135
|
-
content: ' ';
|
|
136
|
-
position: absolute;
|
|
137
|
-
top: -0.25rem;
|
|
138
|
-
left: -0.25rem;
|
|
139
|
-
right: -0.25rem;
|
|
140
|
-
bottom: -0.25rem;
|
|
141
|
-
border: 0.125rem solid transparent;
|
|
142
|
-
}
|
|
143
|
-
&:after {
|
|
144
|
-
content: ' ';
|
|
145
|
-
position: absolute;
|
|
146
|
-
top: -0.375rem;
|
|
147
|
-
left: -0.375rem;
|
|
148
|
-
right: -0.375rem;
|
|
149
|
-
bottom: -0.375rem;
|
|
150
|
-
border: 0.125rem solid transparent;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
&:hover,
|
|
154
|
-
&:active,
|
|
155
|
-
&:focus {
|
|
156
|
-
background-color: $primaryHoverColor;
|
|
157
|
-
border-color: transparent;
|
|
158
|
-
&:before {
|
|
159
|
-
border: 0.125rem solid $primaryHoverColor;
|
|
160
|
-
}
|
|
161
|
-
&:after {
|
|
162
|
-
border: 0.125rem solid $blueberry700;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
&:disabled {
|
|
166
|
-
background-color: transparent;
|
|
167
|
-
border: 0.125rem solid $neutral200;
|
|
168
|
-
color: $neutral600;
|
|
169
|
-
|
|
170
|
-
&:before {
|
|
171
|
-
border: none;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
&:after {
|
|
175
|
-
border: none;
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
&--outline#{&}--warning {
|
|
180
|
-
border-color: $banana500;
|
|
181
|
-
color: $banana600;
|
|
182
|
-
|
|
183
|
-
&:hover,
|
|
184
|
-
&:active,
|
|
185
|
-
&:focus {
|
|
186
|
-
background-color: $warningHoverColor;
|
|
187
|
-
border-color: transparent;
|
|
188
|
-
|
|
189
|
-
&:before {
|
|
190
|
-
border-color: $warningHoverColor;
|
|
191
|
-
}
|
|
192
|
-
&:after {
|
|
193
|
-
border-color: $banana700;
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
&--outline#{&}--danger {
|
|
198
|
-
border-color: $cherry500;
|
|
199
|
-
color: $cherry600;
|
|
200
|
-
|
|
201
|
-
&:hover,
|
|
202
|
-
&:active,
|
|
203
|
-
&:focus {
|
|
204
|
-
background-color: $dangerHoverColor;
|
|
205
|
-
border-color: transparent;
|
|
206
|
-
|
|
207
|
-
&:before {
|
|
208
|
-
border-color: $dangerHoverColor;
|
|
209
|
-
}
|
|
210
|
-
&:after {
|
|
211
|
-
border-color: $cherry700;
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
&--outline#{&}--inverted {
|
|
216
|
-
border-color: $white;
|
|
217
|
-
color: $white;
|
|
218
|
-
|
|
219
|
-
&:hover,
|
|
220
|
-
&:active,
|
|
221
|
-
&:focus {
|
|
222
|
-
background-color: $invertedHoverColor;
|
|
223
|
-
border-color: transparent;
|
|
224
|
-
|
|
225
|
-
&:before {
|
|
226
|
-
border-color: $invertedHoverColor;
|
|
227
|
-
}
|
|
228
|
-
&:after {
|
|
229
|
-
border-color: $white;
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
&--borderless {
|
|
235
|
-
border-width: 0.125rem;
|
|
236
|
-
border-style: solid;
|
|
237
|
-
background-color: transparent;
|
|
238
|
-
border: 0;
|
|
239
|
-
color: $blueberry600;
|
|
240
|
-
position: relative;
|
|
241
|
-
padding: 0;
|
|
242
|
-
@media (min-width: map-get($grid-breakpoints, md)) {
|
|
243
|
-
padding: 0;
|
|
244
|
-
}
|
|
245
|
-
&:disabled {
|
|
246
|
-
color: $neutral600;
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
&--borderless#{&}--warning {
|
|
250
|
-
color: $banana600;
|
|
251
|
-
}
|
|
252
|
-
&--borderless#{&}--danger {
|
|
253
|
-
color: $cherry600;
|
|
254
|
-
}
|
|
255
|
-
&--borderless#{&}--inverted {
|
|
256
|
-
color: $white;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
&--with-icon {
|
|
260
|
-
padding: 0;
|
|
261
|
-
@media (min-width: map-get($grid-breakpoints, md)) {
|
|
262
|
-
padding: 0;
|
|
263
|
-
}
|
|
264
|
-
svg {
|
|
265
|
-
margin: 0 0.125rem;
|
|
266
|
-
@media (min-width: map-get($grid-breakpoints, md)) {
|
|
267
|
-
margin: 0 0.75rem;
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
&--large#{&}--with-icon {
|
|
272
|
-
svg {
|
|
273
|
-
margin: 0 0.5rem;
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
&--ellipsis#{&}--with-icon {
|
|
278
|
-
max-width: 100%;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
&--borderless#{&}--with-icon {
|
|
282
|
-
svg:first-child {
|
|
283
|
-
margin-left: 0;
|
|
284
|
-
margin-right: 0.125rem;
|
|
285
|
-
@media (min-width: map-get($grid-breakpoints, md)) {
|
|
286
|
-
margin-right: 0.75rem;
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
svg:last-child {
|
|
290
|
-
margin-left: 0.125rem;
|
|
291
|
-
@media (min-width: map-get($grid-breakpoints, md)) {
|
|
292
|
-
margin-left: 0.75rem;
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
&--large#{&}--borderless#{&}--with-icon {
|
|
297
|
-
svg:first-child {
|
|
298
|
-
margin-left: 0;
|
|
299
|
-
margin-right: 0.5rem;
|
|
300
|
-
@media (min-width: map-get($grid-breakpoints, md)) {
|
|
301
|
-
margin-right: 0.75rem;
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
svg:last-child {
|
|
305
|
-
margin-left: 0.5rem;
|
|
306
|
-
@media (min-width: map-get($grid-breakpoints, md)) {
|
|
307
|
-
margin-left: 0.75rem;
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
&__content {
|
|
313
|
-
margin-top: 0.5rem;
|
|
314
|
-
margin-bottom: 0.5rem;
|
|
315
|
-
white-space: normal;
|
|
316
|
-
|
|
317
|
-
&--fill {
|
|
318
|
-
#{$button}:focus & {
|
|
319
|
-
border-bottom: 1px solid $white;
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
&--fill#{&}--inverted {
|
|
324
|
-
#{$button}:focus & {
|
|
325
|
-
border-bottom-color: $blueberry700;
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
&--fill#{&}--warning#{&}--inverted {
|
|
329
|
-
#{$button}:focus & {
|
|
330
|
-
border-bottom-color: $banana700;
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
&--fill#{&}--danger#{&}--inverted {
|
|
334
|
-
#{$button}:focus & {
|
|
335
|
-
border-bottom-color: $cherry700;
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
&--borderless {
|
|
340
|
-
border-bottom: 1px solid transparent;
|
|
341
|
-
|
|
342
|
-
#{$button}:hover &,
|
|
343
|
-
#{$button}:active &,
|
|
344
|
-
#{$button}:focus & {
|
|
345
|
-
border-bottom-color: $blueberry700;
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
&--borderless#{&}--warning {
|
|
349
|
-
#{$button}:hover &,
|
|
350
|
-
#{$button}:active &,
|
|
351
|
-
#{$button}:focus & {
|
|
352
|
-
border-bottom-color: $banana700;
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
&--borderless#{&}--danger {
|
|
356
|
-
#{$button}:hover &,
|
|
357
|
-
#{$button}:active &,
|
|
358
|
-
#{$button}:focus & {
|
|
359
|
-
border-bottom-color: $cherry700;
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
&--borderless#{&}--inverted {
|
|
363
|
-
#{$button}:hover &,
|
|
364
|
-
#{$button}:active &,
|
|
365
|
-
#{$button}:focus & {
|
|
366
|
-
border-bottom-color: $white;
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
&--with-icon:first-child {
|
|
371
|
-
margin-left: 1.5rem;
|
|
372
|
-
}
|
|
373
|
-
&--with-icon:last-child {
|
|
374
|
-
margin-right: 1.5rem;
|
|
375
|
-
}
|
|
376
|
-
&--large#{&}--with-icon:first-child {
|
|
377
|
-
margin-left: 2.5rem;
|
|
378
|
-
}
|
|
379
|
-
&--large#{&}--with-icon:last-child {
|
|
380
|
-
margin-right: 2.5rem;
|
|
381
|
-
}
|
|
382
|
-
&--borderless#{&}--with-icon:first-child {
|
|
383
|
-
margin-left: 0;
|
|
384
|
-
}
|
|
385
|
-
&--borderless#{&}--with-icon:last-child {
|
|
386
|
-
margin-right: 0;
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
&--ellipsis#{&}--with-icon {
|
|
390
|
-
white-space: nowrap;
|
|
391
|
-
overflow: hidden;
|
|
392
|
-
text-overflow: ellipsis;
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
&--fluid#{&}--with-icon:last-child {
|
|
396
|
-
margin-right: 0;
|
|
397
|
-
@media (min-width: map-get($grid-breakpoints, md)) {
|
|
398
|
-
margin-right: 1.5rem;
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
&--large-fluid#{&}--with-icon:last-child {
|
|
402
|
-
@media (min-width: map-get($grid-breakpoints, md)) {
|
|
403
|
-
margin-right: 2.5rem;
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
#{$button}:disabled & {
|
|
408
|
-
border-bottom: none;
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
&__left-fluid-content {
|
|
413
|
-
display: flex;
|
|
414
|
-
align-items: center;
|
|
415
|
-
height: 100%;
|
|
416
|
-
width: 100%;
|
|
417
|
-
|
|
418
|
-
&--with-icon {
|
|
419
|
-
text-align: left;
|
|
420
|
-
}
|
|
421
|
-
&--with-icon:last-child {
|
|
422
|
-
margin-right: 1.5rem;
|
|
423
|
-
@media (min-width: map-get($grid-breakpoints, md)) {
|
|
424
|
-
margin-right: 0;
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
&--large#{&}--with-icon:last-child {
|
|
428
|
-
margin-right: 2.5rem;
|
|
429
|
-
@media (min-width: map-get($grid-breakpoints, md)) {
|
|
430
|
-
margin-right: 0;
|
|
431
|
-
}
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
}
|
|
1
|
+
@import '../../scss/_spacers.scss';
|
|
2
|
+
@import '../../scss/_breakpoints.scss';
|
|
3
|
+
@import '../../scss/_palette.scss';
|
|
4
|
+
|
|
5
|
+
$primaryHoverColor: #08667c0d; //$blueberry700 + '0D';
|
|
6
|
+
$warningHoverColor: #ab7c000d; //$banana700 + '0D';
|
|
7
|
+
$dangerHoverColor: #a31f0e0d; //$cherry700 + '0D';
|
|
8
|
+
$invertedHoverColor: #ffffff0d; //$white + '0D';
|
|
9
|
+
|
|
10
|
+
.content-wrapper {
|
|
11
|
+
display: flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
justify-content: space-between;
|
|
14
|
+
width: inherit;
|
|
15
|
+
height: 100%;
|
|
16
|
+
&:focus {
|
|
17
|
+
border-bottom: 1px solid $white;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.button {
|
|
22
|
+
// Referanse for grandparent selection i underklassene lenger nede
|
|
23
|
+
$button: &;
|
|
24
|
+
|
|
25
|
+
padding: 0 1.5rem;
|
|
26
|
+
min-height: 2.5rem;
|
|
27
|
+
font-size: 1.125rem;
|
|
28
|
+
font-family: inherit;
|
|
29
|
+
font-weight: 600;
|
|
30
|
+
display: inline-block;
|
|
31
|
+
box-sizing: border-box;
|
|
32
|
+
text-decoration: none;
|
|
33
|
+
outline: none;
|
|
34
|
+
border: 0;
|
|
35
|
+
letter-spacing: unset;
|
|
36
|
+
cursor: pointer;
|
|
37
|
+
|
|
38
|
+
&:disabled {
|
|
39
|
+
pointer-events: none;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@media (min-width: map-get($grid-breakpoints, md)) {
|
|
43
|
+
min-height: 3.125rem;
|
|
44
|
+
font-size: 1.25rem;
|
|
45
|
+
padding: 0 2.5rem;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&--fluid {
|
|
49
|
+
width: 100%;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&--large {
|
|
53
|
+
min-height: 3.5rem;
|
|
54
|
+
font-size: 1.125rem;
|
|
55
|
+
|
|
56
|
+
@media (min-width: map-get($grid-breakpoints, md)) {
|
|
57
|
+
min-height: 4.5rem;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&--fill {
|
|
62
|
+
border-width: 0.125rem;
|
|
63
|
+
border-style: solid;
|
|
64
|
+
background-color: $blueberry500;
|
|
65
|
+
border-color: $blueberry500;
|
|
66
|
+
color: $white;
|
|
67
|
+
|
|
68
|
+
&:hover,
|
|
69
|
+
&:active,
|
|
70
|
+
&:focus {
|
|
71
|
+
background-color: $blueberry700;
|
|
72
|
+
box-shadow: 0 0 0 0.25rem $blueberry700;
|
|
73
|
+
border-color: transparent;
|
|
74
|
+
}
|
|
75
|
+
&:disabled {
|
|
76
|
+
background-color: $neutral200;
|
|
77
|
+
border: 0.125rem solid $neutral200;
|
|
78
|
+
box-shadow: 0 0 0 0.25rem $neutral200;
|
|
79
|
+
color: $neutral600;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
&--fill#{&}--warning {
|
|
83
|
+
background-color: $banana500;
|
|
84
|
+
border-color: $banana500;
|
|
85
|
+
|
|
86
|
+
&:hover,
|
|
87
|
+
&:active,
|
|
88
|
+
&:focus {
|
|
89
|
+
background-color: $banana700;
|
|
90
|
+
border-color: $banana700;
|
|
91
|
+
box-shadow: 0 0 0 0.25rem $banana700;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
&--fill#{&}--danger {
|
|
95
|
+
background-color: $cherry500;
|
|
96
|
+
border-color: $cherry500;
|
|
97
|
+
|
|
98
|
+
&:hover,
|
|
99
|
+
&:active,
|
|
100
|
+
&:focus {
|
|
101
|
+
background-color: $cherry700;
|
|
102
|
+
border-color: $cherry700;
|
|
103
|
+
box-shadow: 0 0 0 0.25rem $cherry700;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
&--fill#{&}--inverted {
|
|
107
|
+
background-color: $white;
|
|
108
|
+
border-color: $white;
|
|
109
|
+
color: $blueberry500;
|
|
110
|
+
|
|
111
|
+
&:hover,
|
|
112
|
+
&:active,
|
|
113
|
+
&:focus {
|
|
114
|
+
background-color: $white;
|
|
115
|
+
border-color: $white;
|
|
116
|
+
box-shadow: 0 0 0 0.25rem $white;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
&--fill#{&}--warning#{&}--inverted {
|
|
120
|
+
color: $banana500;
|
|
121
|
+
}
|
|
122
|
+
&--fill#{&}--danger#{&}--inverted {
|
|
123
|
+
color: $cherry500;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&--outline {
|
|
127
|
+
border-width: 0.125rem;
|
|
128
|
+
border-style: solid;
|
|
129
|
+
background-color: transparent;
|
|
130
|
+
border-color: $blueberry500;
|
|
131
|
+
color: $blueberry600;
|
|
132
|
+
position: relative;
|
|
133
|
+
|
|
134
|
+
&:before {
|
|
135
|
+
content: ' ';
|
|
136
|
+
position: absolute;
|
|
137
|
+
top: -0.25rem;
|
|
138
|
+
left: -0.25rem;
|
|
139
|
+
right: -0.25rem;
|
|
140
|
+
bottom: -0.25rem;
|
|
141
|
+
border: 0.125rem solid transparent;
|
|
142
|
+
}
|
|
143
|
+
&:after {
|
|
144
|
+
content: ' ';
|
|
145
|
+
position: absolute;
|
|
146
|
+
top: -0.375rem;
|
|
147
|
+
left: -0.375rem;
|
|
148
|
+
right: -0.375rem;
|
|
149
|
+
bottom: -0.375rem;
|
|
150
|
+
border: 0.125rem solid transparent;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
&:hover,
|
|
154
|
+
&:active,
|
|
155
|
+
&:focus {
|
|
156
|
+
background-color: $primaryHoverColor;
|
|
157
|
+
border-color: transparent;
|
|
158
|
+
&:before {
|
|
159
|
+
border: 0.125rem solid $primaryHoverColor;
|
|
160
|
+
}
|
|
161
|
+
&:after {
|
|
162
|
+
border: 0.125rem solid $blueberry700;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
&:disabled {
|
|
166
|
+
background-color: transparent;
|
|
167
|
+
border: 0.125rem solid $neutral200;
|
|
168
|
+
color: $neutral600;
|
|
169
|
+
|
|
170
|
+
&:before {
|
|
171
|
+
border: none;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
&:after {
|
|
175
|
+
border: none;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
&--outline#{&}--warning {
|
|
180
|
+
border-color: $banana500;
|
|
181
|
+
color: $banana600;
|
|
182
|
+
|
|
183
|
+
&:hover,
|
|
184
|
+
&:active,
|
|
185
|
+
&:focus {
|
|
186
|
+
background-color: $warningHoverColor;
|
|
187
|
+
border-color: transparent;
|
|
188
|
+
|
|
189
|
+
&:before {
|
|
190
|
+
border-color: $warningHoverColor;
|
|
191
|
+
}
|
|
192
|
+
&:after {
|
|
193
|
+
border-color: $banana700;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
&--outline#{&}--danger {
|
|
198
|
+
border-color: $cherry500;
|
|
199
|
+
color: $cherry600;
|
|
200
|
+
|
|
201
|
+
&:hover,
|
|
202
|
+
&:active,
|
|
203
|
+
&:focus {
|
|
204
|
+
background-color: $dangerHoverColor;
|
|
205
|
+
border-color: transparent;
|
|
206
|
+
|
|
207
|
+
&:before {
|
|
208
|
+
border-color: $dangerHoverColor;
|
|
209
|
+
}
|
|
210
|
+
&:after {
|
|
211
|
+
border-color: $cherry700;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
&--outline#{&}--inverted {
|
|
216
|
+
border-color: $white;
|
|
217
|
+
color: $white;
|
|
218
|
+
|
|
219
|
+
&:hover,
|
|
220
|
+
&:active,
|
|
221
|
+
&:focus {
|
|
222
|
+
background-color: $invertedHoverColor;
|
|
223
|
+
border-color: transparent;
|
|
224
|
+
|
|
225
|
+
&:before {
|
|
226
|
+
border-color: $invertedHoverColor;
|
|
227
|
+
}
|
|
228
|
+
&:after {
|
|
229
|
+
border-color: $white;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
&--borderless {
|
|
235
|
+
border-width: 0.125rem;
|
|
236
|
+
border-style: solid;
|
|
237
|
+
background-color: transparent;
|
|
238
|
+
border: 0;
|
|
239
|
+
color: $blueberry600;
|
|
240
|
+
position: relative;
|
|
241
|
+
padding: 0;
|
|
242
|
+
@media (min-width: map-get($grid-breakpoints, md)) {
|
|
243
|
+
padding: 0;
|
|
244
|
+
}
|
|
245
|
+
&:disabled {
|
|
246
|
+
color: $neutral600;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
&--borderless#{&}--warning {
|
|
250
|
+
color: $banana600;
|
|
251
|
+
}
|
|
252
|
+
&--borderless#{&}--danger {
|
|
253
|
+
color: $cherry600;
|
|
254
|
+
}
|
|
255
|
+
&--borderless#{&}--inverted {
|
|
256
|
+
color: $white;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
&--with-icon {
|
|
260
|
+
padding: 0;
|
|
261
|
+
@media (min-width: map-get($grid-breakpoints, md)) {
|
|
262
|
+
padding: 0;
|
|
263
|
+
}
|
|
264
|
+
svg {
|
|
265
|
+
margin: 0 0.125rem;
|
|
266
|
+
@media (min-width: map-get($grid-breakpoints, md)) {
|
|
267
|
+
margin: 0 0.75rem;
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
&--large#{&}--with-icon {
|
|
272
|
+
svg {
|
|
273
|
+
margin: 0 0.5rem;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
&--ellipsis#{&}--with-icon {
|
|
278
|
+
max-width: 100%;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
&--borderless#{&}--with-icon {
|
|
282
|
+
svg:first-child {
|
|
283
|
+
margin-left: 0;
|
|
284
|
+
margin-right: 0.125rem;
|
|
285
|
+
@media (min-width: map-get($grid-breakpoints, md)) {
|
|
286
|
+
margin-right: 0.75rem;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
svg:last-child {
|
|
290
|
+
margin-left: 0.125rem;
|
|
291
|
+
@media (min-width: map-get($grid-breakpoints, md)) {
|
|
292
|
+
margin-left: 0.75rem;
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
&--large#{&}--borderless#{&}--with-icon {
|
|
297
|
+
svg:first-child {
|
|
298
|
+
margin-left: 0;
|
|
299
|
+
margin-right: 0.5rem;
|
|
300
|
+
@media (min-width: map-get($grid-breakpoints, md)) {
|
|
301
|
+
margin-right: 0.75rem;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
svg:last-child {
|
|
305
|
+
margin-left: 0.5rem;
|
|
306
|
+
@media (min-width: map-get($grid-breakpoints, md)) {
|
|
307
|
+
margin-left: 0.75rem;
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
&__content {
|
|
313
|
+
margin-top: 0.5rem;
|
|
314
|
+
margin-bottom: 0.5rem;
|
|
315
|
+
white-space: normal;
|
|
316
|
+
|
|
317
|
+
&--fill {
|
|
318
|
+
#{$button}:focus & {
|
|
319
|
+
border-bottom: 1px solid $white;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
&--fill#{&}--inverted {
|
|
324
|
+
#{$button}:focus & {
|
|
325
|
+
border-bottom-color: $blueberry700;
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
&--fill#{&}--warning#{&}--inverted {
|
|
329
|
+
#{$button}:focus & {
|
|
330
|
+
border-bottom-color: $banana700;
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
&--fill#{&}--danger#{&}--inverted {
|
|
334
|
+
#{$button}:focus & {
|
|
335
|
+
border-bottom-color: $cherry700;
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
&--borderless {
|
|
340
|
+
border-bottom: 1px solid transparent;
|
|
341
|
+
|
|
342
|
+
#{$button}:hover &,
|
|
343
|
+
#{$button}:active &,
|
|
344
|
+
#{$button}:focus & {
|
|
345
|
+
border-bottom-color: $blueberry700;
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
&--borderless#{&}--warning {
|
|
349
|
+
#{$button}:hover &,
|
|
350
|
+
#{$button}:active &,
|
|
351
|
+
#{$button}:focus & {
|
|
352
|
+
border-bottom-color: $banana700;
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
&--borderless#{&}--danger {
|
|
356
|
+
#{$button}:hover &,
|
|
357
|
+
#{$button}:active &,
|
|
358
|
+
#{$button}:focus & {
|
|
359
|
+
border-bottom-color: $cherry700;
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
&--borderless#{&}--inverted {
|
|
363
|
+
#{$button}:hover &,
|
|
364
|
+
#{$button}:active &,
|
|
365
|
+
#{$button}:focus & {
|
|
366
|
+
border-bottom-color: $white;
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
&--with-icon:first-child {
|
|
371
|
+
margin-left: 1.5rem;
|
|
372
|
+
}
|
|
373
|
+
&--with-icon:last-child {
|
|
374
|
+
margin-right: 1.5rem;
|
|
375
|
+
}
|
|
376
|
+
&--large#{&}--with-icon:first-child {
|
|
377
|
+
margin-left: 2.5rem;
|
|
378
|
+
}
|
|
379
|
+
&--large#{&}--with-icon:last-child {
|
|
380
|
+
margin-right: 2.5rem;
|
|
381
|
+
}
|
|
382
|
+
&--borderless#{&}--with-icon:first-child {
|
|
383
|
+
margin-left: 0;
|
|
384
|
+
}
|
|
385
|
+
&--borderless#{&}--with-icon:last-child {
|
|
386
|
+
margin-right: 0;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
&--ellipsis#{&}--with-icon {
|
|
390
|
+
white-space: nowrap;
|
|
391
|
+
overflow: hidden;
|
|
392
|
+
text-overflow: ellipsis;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
&--fluid#{&}--with-icon:last-child {
|
|
396
|
+
margin-right: 0;
|
|
397
|
+
@media (min-width: map-get($grid-breakpoints, md)) {
|
|
398
|
+
margin-right: 1.5rem;
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
&--large-fluid#{&}--with-icon:last-child {
|
|
402
|
+
@media (min-width: map-get($grid-breakpoints, md)) {
|
|
403
|
+
margin-right: 2.5rem;
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
#{$button}:disabled & {
|
|
408
|
+
border-bottom: none;
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
&__left-fluid-content {
|
|
413
|
+
display: flex;
|
|
414
|
+
align-items: center;
|
|
415
|
+
height: 100%;
|
|
416
|
+
width: 100%;
|
|
417
|
+
|
|
418
|
+
&--with-icon {
|
|
419
|
+
text-align: left;
|
|
420
|
+
}
|
|
421
|
+
&--with-icon:last-child {
|
|
422
|
+
margin-right: 1.5rem;
|
|
423
|
+
@media (min-width: map-get($grid-breakpoints, md)) {
|
|
424
|
+
margin-right: 0;
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
&--large#{&}--with-icon:last-child {
|
|
428
|
+
margin-right: 2.5rem;
|
|
429
|
+
@media (min-width: map-get($grid-breakpoints, md)) {
|
|
430
|
+
margin-right: 0;
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
}
|