@helsenorge/designsystem-react 1.0.0-beta106 → 1.0.0-beta110
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-ed1c6e3f.js +2 -0
- package/Button-ed1c6e3f.js.map +1 -0
- package/CHANGELOG.md +52 -52
- package/Checkbox-8e590de0.js +2 -0
- package/Checkbox-8e590de0.js.map +1 -0
- package/Close-48d39d0e.js +2 -0
- package/Close-48d39d0e.js.map +1 -0
- package/{FormGroup-b2b6efe0.js → FormGroup-f10939e6.js} +2 -2
- package/FormGroup-f10939e6.js.map +1 -0
- package/Input-01c967ac.js +2 -0
- package/Input-01c967ac.js.map +1 -0
- package/{Loader-bc13d060.js → Loader-bf89238f.js} +2 -2
- package/Loader-bf89238f.js.map +1 -0
- package/Modal-240f0699.js +2 -0
- package/Modal-240f0699.js.map +1 -0
- package/README.md +69 -69
- package/{RadioButton-c173d440.js → RadioButton-b0da1997.js} +2 -2
- package/RadioButton-b0da1997.js.map +1 -0
- package/{Textarea-78e20c9a.js → Textarea-648063a9.js} +2 -2
- package/Textarea-648063a9.js.map +1 -0
- package/{Title-9df559dd.js → Title-1d8708ea.js} +2 -2
- package/Title-1d8708ea.js.map +1 -0
- package/Validation-c196f3f2.js +2 -0
- package/Validation-c196f3f2.js.map +1 -0
- package/_rollupPluginBabelHelpers-6b3099b0.js +2 -0
- package/_rollupPluginBabelHelpers-6b3099b0.js.map +1 -0
- package/color-e7d082c1.js +2 -0
- package/color-e7d082c1.js.map +1 -0
- package/components/AnchorLink/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 -41
- package/components/Button/Button.d.ts.map +1 -1
- package/components/Button/componentdata.json +2 -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 -160
- package/components/ExpanderList/styles.module.scss.d.ts +28 -28
- 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 -26
- package/components/HighlightBox/index.d.ts +3 -3
- package/components/HighlightBox/index.js +1 -1
- package/components/HighlightBox/styles.module.scss +174 -174
- package/components/Icons/ActiveMonitoring.d.ts +4 -4
- package/components/Icons/ActiveMonitoring.js +1 -1
- package/components/Icons/AcupunctureBack.d.ts +4 -4
- package/components/Icons/AcupunctureBack.d.ts.map +1 -1
- 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/AlarmClock.d.ts.map +1 -1
- package/components/Icons/AlarmClock.js +1 -1
- package/components/Icons/AlertSignFill.d.ts +4 -4
- package/components/Icons/AlertSignFill.d.ts.map +1 -1
- package/components/Icons/AlertSignFill.js +1 -1
- package/components/Icons/AlertSignStroke.d.ts +4 -4
- package/components/Icons/AlertSignStroke.d.ts.map +1 -1
- package/components/Icons/AlertSignStroke.js +1 -1
- package/components/Icons/Amputation.d.ts +4 -4
- package/components/Icons/Amputation.js +1 -1
- package/components/Icons/Anxiety.d.ts +4 -4
- package/components/Icons/Anxiety.js +1 -1
- package/components/Icons/Apple.d.ts +4 -4
- package/components/Icons/Apple.js +1 -1
- package/components/Icons/Archive.d.ts +4 -4
- package/components/Icons/Archive.d.ts.map +1 -1
- package/components/Icons/Archive.js +1 -1
- package/components/Icons/ArmFlexing.d.ts +4 -4
- package/components/Icons/ArmFlexing.js +1 -1
- package/components/Icons/ArrowLeft.d.ts +4 -4
- package/components/Icons/ArrowLeft.d.ts.map +1 -1
- package/components/Icons/ArrowLeft.js +1 -1
- package/components/Icons/ArrowRight.d.ts +4 -4
- package/components/Icons/ArrowRight.d.ts.map +1 -1
- package/components/Icons/ArrowRight.js +1 -1
- package/components/Icons/ArrowUpRight.d.ts +4 -4
- package/components/Icons/ArrowUpRight.d.ts.map +1 -1
- package/components/Icons/ArrowUpRight.js +1 -1
- package/components/Icons/Attachment.d.ts +4 -4
- package/components/Icons/Attachment.d.ts.map +1 -1
- package/components/Icons/Attachment.js +1 -1
- package/components/Icons/Atv.d.ts +4 -4
- package/components/Icons/Atv.js +1 -1
- package/components/Icons/Avatar.d.ts +4 -4
- package/components/Icons/Avatar.d.ts.map +1 -1
- package/components/Icons/Avatar.js +1 -1
- package/components/Icons/AwakePersonOnPillow.d.ts +4 -4
- package/components/Icons/AwakePersonOnPillow.js +1 -1
- package/components/Icons/Baby.d.ts +4 -4
- package/components/Icons/Baby.js +1 -1
- package/components/Icons/BandAid.d.ts +4 -4
- package/components/Icons/BandAid.js +1 -1
- package/components/Icons/BeerAndPills.d.ts +4 -4
- package/components/Icons/BeerAndPills.js +1 -1
- package/components/Icons/Bell.d.ts +4 -4
- package/components/Icons/Bell.js +1 -1
- package/components/Icons/Bike.d.ts +4 -4
- package/components/Icons/Bike.js +1 -1
- package/components/Icons/BirthControl.d.ts +4 -4
- package/components/Icons/BirthdayCake.d.ts +4 -4
- package/components/Icons/BirthdayCake.js +1 -1
- package/components/Icons/Boat.d.ts +4 -4
- package/components/Icons/Boat.js +1 -1
- package/components/Icons/Body.d.ts +4 -4
- package/components/Icons/Brain.d.ts +4 -4
- package/components/Icons/Brain.js +1 -1
- package/components/Icons/BreastReconstruction.d.ts +4 -4
- package/components/Icons/BreastReconstruction.js +1 -1
- package/components/Icons/BreastRemoval.d.ts +4 -4
- package/components/Icons/BreastRemoval.js +1 -1
- package/components/Icons/Breasts.d.ts +4 -4
- package/components/Icons/Breasts.js +1 -1
- package/components/Icons/BrokenHeart.d.ts +4 -4
- package/components/Icons/BrokenHeart.js +1 -1
- package/components/Icons/BrokenPuzzle.d.ts +4 -4
- package/components/Icons/BrokenPuzzle.js +1 -1
- package/components/Icons/Bus.d.ts +4 -4
- package/components/Icons/Bus.d.ts.map +1 -1
- package/components/Icons/Bus.js +1 -1
- package/components/Icons/Calendar.d.ts +4 -4
- package/components/Icons/Calendar.d.ts.map +1 -1
- package/components/Icons/Calendar.js +1 -1
- package/components/Icons/CalendarChange.d.ts +4 -4
- package/components/Icons/CalendarChange.d.ts.map +1 -1
- package/components/Icons/CalendarChange.js +1 -1
- package/components/Icons/CalendarCheck.d.ts +4 -4
- package/components/Icons/CalendarCheck.d.ts.map +1 -1
- package/components/Icons/CalendarCheck.js +1 -1
- package/components/Icons/CalendarEvent.d.ts +4 -4
- package/components/Icons/CalendarEvent.js +1 -1
- package/components/Icons/CalendarSave.d.ts +4 -4
- package/components/Icons/CalendarSave.d.ts.map +1 -1
- package/components/Icons/CalendarSave.js +1 -1
- package/components/Icons/Cancer.d.ts +4 -4
- package/components/Icons/Cancer.js +1 -1
- package/components/Icons/Car.d.ts +4 -4
- package/components/Icons/Car.js +1 -1
- package/components/Icons/Change.d.ts +4 -4
- package/components/Icons/Change.d.ts.map +1 -1
- package/components/Icons/Change.js +1 -1
- package/components/Icons/Check.d.ts +4 -4
- package/components/Icons/Check.d.ts.map +1 -1
- package/components/Icons/Check.js +1 -1
- package/components/Icons/CheckOutline.d.ts +4 -4
- package/components/Icons/CheckOutline.js +1 -1
- package/components/Icons/Chest.d.ts +4 -4
- package/components/Icons/Chest.js +1 -1
- package/components/Icons/ChevronDown.d.ts +4 -4
- package/components/Icons/ChevronDown.d.ts.map +1 -1
- package/components/Icons/ChevronDown.js +1 -1
- package/components/Icons/ChevronLeft.d.ts +4 -4
- package/components/Icons/ChevronLeft.d.ts.map +1 -1
- package/components/Icons/ChevronLeft.js +1 -1
- package/components/Icons/ChevronRight.d.ts +4 -4
- package/components/Icons/ChevronRight.d.ts.map +1 -1
- package/components/Icons/ChevronRight.js +1 -1
- package/components/Icons/ChevronUp.d.ts +4 -4
- package/components/Icons/ChevronUp.d.ts.map +1 -1
- package/components/Icons/ChevronUp.js +1 -1
- package/components/Icons/ChevronsDown.d.ts +4 -4
- package/components/Icons/ChevronsDown.d.ts.map +1 -1
- package/components/Icons/ChevronsDown.js +1 -1
- package/components/Icons/ChevronsUp.d.ts +4 -4
- package/components/Icons/ChevronsUp.d.ts.map +1 -1
- package/components/Icons/ChevronsUp.js +1 -1
- package/components/Icons/ChildPlaying.d.ts +4 -4
- package/components/Icons/ChildPlaying.js +1 -1
- package/components/Icons/Cigarette.d.ts +4 -4
- package/components/Icons/Cigarette.js +1 -1
- package/components/Icons/Contacts.d.ts +4 -4
- package/components/Icons/Contacts.d.ts.map +1 -1
- package/components/Icons/Contacts.js +1 -1
- package/components/Icons/Copy.d.ts +4 -4
- package/components/Icons/Copy.d.ts.map +1 -1
- package/components/Icons/Copy.js +1 -1
- package/components/Icons/CoronaCertificate.d.ts +4 -4
- package/components/Icons/CoronaCertificate.js +1 -1
- package/components/Icons/Coronavirus.d.ts +4 -4
- package/components/Icons/Coronavirus.js +1 -1
- package/components/Icons/Cough.d.ts +4 -4
- package/components/Icons/Cough.js +1 -1
- package/components/Icons/CriticalHealthInfo.d.ts +4 -4
- package/components/Icons/CriticalHealthInfo.js +1 -1
- package/components/Icons/Cross.d.ts +4 -4
- package/components/Icons/Cross.js +1 -1
- 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/Depression.js +1 -1
- package/components/Icons/DigestiveSystem.d.ts +4 -4
- package/components/Icons/DigestiveSystem.js +1 -1
- package/components/Icons/Dizzy.d.ts +4 -4
- package/components/Icons/Dizzy.js +1 -1
- package/components/Icons/Documents.d.ts +4 -4
- package/components/Icons/Documents.js +1 -1
- package/components/Icons/Dog.d.ts +4 -4
- package/components/Icons/Dog.js +1 -1
- package/components/Icons/DonorCard.d.ts +4 -4
- package/components/Icons/DonorCard.js +1 -1
- package/components/Icons/Download.d.ts +4 -4
- package/components/Icons/Download.d.ts.map +1 -1
- package/components/Icons/Download.js +1 -1
- package/components/Icons/Draft.d.ts +4 -4
- package/components/Icons/Draft.js +1 -1
- package/components/Icons/EChat.d.ts +4 -4
- package/components/Icons/EChat.d.ts.map +1 -1
- package/components/Icons/EChat.js +1 -1
- package/components/Icons/EarNoseThroat.d.ts +4 -4
- package/components/Icons/EarNoseThroat.js +1 -1
- package/components/Icons/ElderlyPerson.d.ts +4 -4
- package/components/Icons/ElderlyPerson.js +1 -1
- package/components/Icons/Embolization.d.ts +4 -4
- package/components/Icons/Embolization.js +1 -1
- package/components/Icons/EnterFullScreen.d.ts +4 -4
- package/components/Icons/EnterFullScreen.d.ts.map +1 -1
- package/components/Icons/EnterFullScreen.js +1 -1
- package/components/Icons/Envelope.d.ts +4 -4
- package/components/Icons/Envelope.d.ts.map +1 -1
- package/components/Icons/Envelope.js +1 -1
- package/components/Icons/Epilepsy.d.ts +4 -4
- package/components/Icons/Epilepsy.js +1 -1
- package/components/Icons/Eraser.d.ts +4 -4
- package/components/Icons/Eraser.d.ts.map +1 -1
- package/components/Icons/Eraser.js +1 -1
- package/components/Icons/ErrorSignFill.d.ts +4 -4
- package/components/Icons/ErrorSignFill.d.ts.map +1 -1
- package/components/Icons/ErrorSignFill.js +1 -1
- package/components/Icons/ErrorSignStroke.d.ts +4 -4
- package/components/Icons/ErrorSignStroke.d.ts.map +1 -1
- package/components/Icons/ErrorSignStroke.js +1 -1
- package/components/Icons/EuropeanHealthCard.d.ts +4 -4
- package/components/Icons/EuropeanHealthCard.js +1 -1
- package/components/Icons/ExitFullScreen.d.ts +4 -4
- package/components/Icons/ExitFullScreen.d.ts.map +1 -1
- package/components/Icons/ExitFullScreen.js +1 -1
- package/components/Icons/Eye.d.ts +4 -4
- package/components/Icons/Eye.d.ts.map +1 -1
- package/components/Icons/Eye.js +1 -1
- package/components/Icons/Facebook.d.ts +4 -4
- package/components/Icons/Facebook.js +1 -1
- package/components/Icons/Female.d.ts +4 -4
- package/components/Icons/Female.js +1 -1
- package/components/Icons/FemaleDoctor.d.ts +4 -4
- package/components/Icons/FemaleDoctor.js +1 -1
- package/components/Icons/Ferry.d.ts +4 -4
- package/components/Icons/Ferry.js +1 -1
- package/components/Icons/FingerBleed.d.ts +4 -4
- package/components/Icons/FingerBleed.js +1 -1
- package/components/Icons/FirstAidKit.d.ts +4 -4
- package/components/Icons/FirstAidKit.js +1 -1
- package/components/Icons/FloppyDisk.d.ts +4 -4
- package/components/Icons/Football.d.ts +4 -4
- package/components/Icons/Football.js +1 -1
- package/components/Icons/Form.d.ts +4 -4
- package/components/Icons/Form.d.ts.map +1 -1
- package/components/Icons/Form.js +1 -1
- package/components/Icons/Forward.d.ts +4 -4
- package/components/Icons/Forward.d.ts.map +1 -1
- package/components/Icons/Forward.js +1 -1
- package/components/Icons/Gallery.d.ts +4 -4
- package/components/Icons/Gallery.d.ts.map +1 -1
- package/components/Icons/Gallery.js +1 -1
- package/components/Icons/Garden.d.ts +4 -4
- package/components/Icons/Garden.js +1 -1
- package/components/Icons/GasCan.d.ts +4 -4
- package/components/Icons/GasCan.js +1 -1
- package/components/Icons/GenderIdentity.d.ts +4 -4
- package/components/Icons/Globe.d.ts +4 -4
- package/components/Icons/Globe.d.ts.map +1 -1
- package/components/Icons/Globe.js +1 -1
- package/components/Icons/HandWaving.d.ts +4 -4
- package/components/Icons/HandWaving.js +1 -1
- package/components/Icons/HandWithDisease.d.ts +4 -4
- package/components/Icons/HandWithDisease.js +1 -1
- package/components/Icons/HealthClinic.d.ts +4 -4
- package/components/Icons/HealthClinic.js +1 -1
- package/components/Icons/HealthWarning.d.ts +4 -4
- package/components/Icons/HealthWarning.js +1 -1
- package/components/Icons/Heart.d.ts +4 -4
- package/components/Icons/Heart.d.ts.map +1 -1
- package/components/Icons/Heart.js +1 -1
- package/components/Icons/HelpSign.d.ts +4 -4
- package/components/Icons/HelpSign.d.ts.map +1 -1
- package/components/Icons/HelpSign.js +1 -1
- package/components/Icons/HelpingHand.d.ts +4 -4
- package/components/Icons/HelpingHand.js +1 -1
- package/components/Icons/Hemodialysis.d.ts +4 -4
- package/components/Icons/Hemodialysis.js +1 -1
- package/components/Icons/Hiker.d.ts +4 -4
- package/components/Icons/Hiker.js +1 -1
- package/components/Icons/Hipprosthesis.d.ts +4 -4
- package/components/Icons/Hipprosthesis.js +1 -1
- package/components/Icons/History.d.ts +4 -4
- package/components/Icons/History.d.ts.map +1 -1
- package/components/Icons/History.js +1 -1
- package/components/Icons/HivAndAids.d.ts +4 -4
- package/components/Icons/HivAndAids.js +1 -1
- package/components/Icons/Home.d.ts +4 -4
- package/components/Icons/Home.d.ts.map +1 -1
- package/components/Icons/Home.js +1 -1
- package/components/Icons/Hormone.d.ts +4 -4
- package/components/Icons/Hormone.js +1 -1
- package/components/Icons/Hospital.d.ts +4 -4
- package/components/Icons/Hospital.d.ts.map +1 -1
- package/components/Icons/Hospital.js +1 -1
- package/components/Icons/Hourglass.d.ts +4 -4
- package/components/Icons/Hourglass.d.ts.map +1 -1
- package/components/Icons/Hourglass.js +1 -1
- package/components/Icons/Icon.d.ts +23 -22
- package/components/Icons/Icon.d.ts.map +1 -1
- package/components/Icons/Icon.js +1 -1
- package/components/Icons/ImgFile.d.ts +4 -4
- package/components/Icons/ImgFile.js +1 -1
- package/components/Icons/Inbox.d.ts +4 -4
- package/components/Icons/Inbox.js +1 -1
- package/components/Icons/InfoSignFill.d.ts +4 -4
- package/components/Icons/InfoSignFill.d.ts.map +1 -1
- package/components/Icons/InfoSignFill.js +1 -1
- package/components/Icons/InfoSignStroke.d.ts +4 -4
- package/components/Icons/InfoSignStroke.d.ts.map +1 -1
- package/components/Icons/InfoSignStroke.js +1 -1
- package/components/Icons/Instagram.d.ts +4 -4
- package/components/Icons/Instagram.js +1 -1
- package/components/Icons/Intravenous.d.ts +4 -4
- package/components/Icons/Intravenous.js +1 -1
- package/components/Icons/JointPain.d.ts +4 -4
- package/components/Icons/JointPain.js +1 -1
- package/components/Icons/Journal.d.ts +4 -4
- package/components/Icons/Journal.d.ts.map +1 -1
- package/components/Icons/Journal.js +1 -1
- package/components/Icons/JpgFile.d.ts +4 -4
- package/components/Icons/JpgFile.js +1 -1
- package/components/Icons/Kidney.d.ts +4 -4
- package/components/Icons/Kidney.js +1 -1
- package/components/Icons/KitchenScale.d.ts +4 -4
- package/components/Icons/KitchenScale.js +1 -1
- package/components/Icons/Kjernejournal.d.ts +4 -4
- package/components/Icons/Kjernejournal.js +1 -1
- package/components/Icons/Laboratory.d.ts +4 -4
- package/components/Icons/Laboratory.js +1 -1
- package/components/Icons/LaptopBlog.d.ts +4 -4
- package/components/Icons/LaptopBlog.js +1 -1
- package/components/Icons/LawBook.d.ts +4 -4
- package/components/Icons/LawBook.js +1 -1
- package/components/Icons/LightBulb.d.ts +4 -4
- package/components/Icons/LightBulb.js +1 -1
- package/components/Icons/List.d.ts +4 -4
- package/components/Icons/List.d.ts.map +1 -1
- package/components/Icons/List.js +1 -1
- package/components/Icons/Location.d.ts +4 -4
- package/components/Icons/Location.d.ts.map +1 -1
- package/components/Icons/Location.js +1 -1
- package/components/Icons/Lock.d.ts +4 -4
- package/components/Icons/Lock.d.ts.map +1 -1
- package/components/Icons/Lock.js +1 -1
- package/components/Icons/Lungs.d.ts +4 -4
- package/components/Icons/Lungs.js +1 -1
- package/components/Icons/Makeup.d.ts +4 -4
- package/components/Icons/Makeup.js +1 -1
- package/components/Icons/MaleDoctor.d.ts +4 -4
- package/components/Icons/MaleDoctor.js +1 -1
- package/components/Icons/MaleDoctorAndPerson.d.ts +4 -4
- package/components/Icons/MaleDoctorAndPerson.js +1 -1
- package/components/Icons/MaleGenitalia.d.ts +4 -4
- package/components/Icons/MaleGenitalia.js +1 -1
- package/components/Icons/Medicine.d.ts +4 -4
- package/components/Icons/Medicine.d.ts.map +1 -1
- package/components/Icons/Medicine.js +1 -1
- package/components/Icons/MedicineWarning.d.ts +4 -4
- package/components/Icons/MedicineWarning.js +1 -1
- package/components/Icons/MentalHealthAdult.d.ts +4 -4
- package/components/Icons/MentalHealthAdult.js +1 -1
- package/components/Icons/MentalHealthChild.d.ts +4 -4
- package/components/Icons/MentalHealthChild.js +1 -1
- package/components/Icons/Menu.d.ts +4 -4
- package/components/Icons/Menu.d.ts.map +1 -1
- package/components/Icons/Menu.js +1 -1
- package/components/Icons/Microscope.d.ts +4 -4
- package/components/Icons/Microscope.js +1 -1
- package/components/Icons/Minus.d.ts +4 -4
- package/components/Icons/Minus.d.ts.map +1 -1
- package/components/Icons/Minus.js +1 -1
- package/components/Icons/Mirror.d.ts +4 -4
- package/components/Icons/Mirror.js +1 -1
- package/components/Icons/MobilePhone.d.ts +4 -4
- package/components/Icons/MobilePhone.d.ts.map +1 -1
- package/components/Icons/MobilePhone.js +1 -1
- package/components/Icons/MotherHoldingBaby.d.ts +4 -4
- package/components/Icons/MotherHoldingBaby.js +1 -1
- package/components/Icons/MuscleBack.d.ts +4 -4
- package/components/Icons/MuscleBack.js +1 -1
- package/components/Icons/MuscleLeg.d.ts +4 -4
- package/components/Icons/MuscleLeg.js +1 -1
- package/components/Icons/Mushroom.d.ts +4 -4
- package/components/Icons/Mushroom.js +1 -1
- package/components/Icons/Music.d.ts +4 -4
- package/components/Icons/Music.js +1 -1
- package/components/Icons/MusselsAndSalt.d.ts +4 -4
- package/components/Icons/MusselsAndSalt.js +1 -1
- package/components/Icons/NoEye.d.ts +4 -4
- package/components/Icons/NoEye.d.ts.map +1 -1
- package/components/Icons/NoEye.js +1 -1
- package/components/Icons/NoFilter.d.ts +4 -4
- package/components/Icons/NoFilter.d.ts.map +1 -1
- package/components/Icons/NoFilter.js +1 -1
- package/components/Icons/Notepad.d.ts +4 -4
- package/components/Icons/Notepad.js +1 -1
- package/components/Icons/Osteotomy.d.ts +4 -4
- package/components/Icons/Osteotomy.js +1 -1
- package/components/Icons/PaintRoller.d.ts +4 -4
- package/components/Icons/PaintRoller.js +1 -1
- package/components/Icons/PaperPlane.d.ts +4 -4
- package/components/Icons/PaperPlane.d.ts.map +1 -1
- package/components/Icons/PaperPlane.js +1 -1
- package/components/Icons/PatientAndPerson.d.ts +4 -4
- package/components/Icons/PatientAndPerson.js +1 -1
- package/components/Icons/Pause.d.ts +4 -4
- package/components/Icons/Pause.d.ts.map +1 -1
- package/components/Icons/Pause.js +1 -1
- package/components/Icons/PdfFile.d.ts +4 -4
- package/components/Icons/PdfFile.js +1 -1
- package/components/Icons/Pencil.d.ts +4 -4
- package/components/Icons/Pencil.d.ts.map +1 -1
- package/components/Icons/Pencil.js +1 -1
- package/components/Icons/PeopleTalking.d.ts +4 -4
- package/components/Icons/PeopleTalking.js +1 -1
- package/components/Icons/Peritonealdialysis.d.ts +4 -4
- package/components/Icons/Peritonealdialysis.js +1 -1
- package/components/Icons/Person.d.ts +4 -4
- package/components/Icons/Person.js +1 -1
- package/components/Icons/PersonAndPatient.d.ts +4 -4
- package/components/Icons/PersonAndPatient.js +1 -1
- package/components/Icons/PersonInXRayMachine.d.ts +4 -4
- package/components/Icons/PersonInXRayMachine.js +1 -1
- package/components/Icons/PersonOverweight.d.ts +4 -4
- package/components/Icons/PersonOverweight.js +1 -1
- package/components/Icons/PersonRelaxing.d.ts +4 -4
- package/components/Icons/PersonRelaxing.js +1 -1
- package/components/Icons/PersonWithBrain.d.ts +4 -4
- package/components/Icons/PersonWithBrain.js +1 -1
- package/components/Icons/PersonWithBrokenArm.d.ts +4 -4
- package/components/Icons/PersonWithBrokenArm.js +1 -1
- package/components/Icons/PersonWithCrutches.d.ts +4 -4
- package/components/Icons/PersonWithCrutches.js +1 -1
- package/components/Icons/PersonWithJaw.d.ts +4 -4
- package/components/Icons/PersonWithJaw.js +1 -1
- package/components/Icons/PersonWithMagnifyingGlass.d.ts +4 -4
- package/components/Icons/PersonWithMagnifyingGlass.js +1 -1
- package/components/Icons/PersonWithSenses.d.ts +4 -4
- package/components/Icons/PersonWithSenses.js +1 -1
- package/components/Icons/PersonWorking.d.ts +4 -4
- package/components/Icons/PersonWorking.js +1 -1
- package/components/Icons/PizzaSlice.d.ts +4 -4
- package/components/Icons/PizzaSlice.js +1 -1
- package/components/Icons/Plane.d.ts +4 -4
- package/components/Icons/Plane.js +1 -1
- package/components/Icons/Plant.d.ts +4 -4
- package/components/Icons/Plant.js +1 -1
- package/components/Icons/Play.d.ts +4 -4
- package/components/Icons/Play.d.ts.map +1 -1
- package/components/Icons/Play.js +1 -1
- package/components/Icons/PlusLarge.d.ts +4 -4
- package/components/Icons/PlusLarge.d.ts.map +1 -1
- package/components/Icons/PlusLarge.js +1 -1
- package/components/Icons/PlusSmall.d.ts +4 -4
- package/components/Icons/PlusSmall.d.ts.map +1 -1
- package/components/Icons/PlusSmall.js +1 -1
- package/components/Icons/PngFile.d.ts +4 -4
- package/components/Icons/PngFile.js +1 -1
- package/components/Icons/Podcast.d.ts +4 -4
- package/components/Icons/PoisonInformation.d.ts +4 -4
- package/components/Icons/PoisonInformation.js +1 -1
- package/components/Icons/Pregnant.d.ts +4 -4
- package/components/Icons/Pregnant.js +1 -1
- package/components/Icons/Printer.d.ts +4 -4
- package/components/Icons/Printer.d.ts.map +1 -1
- package/components/Icons/Printer.js +1 -1
- package/components/Icons/Psychosis.d.ts +4 -4
- package/components/Icons/Psychosis.js +1 -1
- package/components/Icons/Publication.d.ts +4 -4
- package/components/Icons/Publication.js +1 -1
- package/components/Icons/Puzzle.d.ts +4 -4
- package/components/Icons/Puzzle.js +1 -1
- package/components/Icons/QrCode.d.ts +4 -4
- package/components/Icons/QrCode.d.ts.map +1 -1
- package/components/Icons/QrCode.js +1 -1
- package/components/Icons/Quarrel.d.ts +4 -4
- package/components/Icons/RadioTherapy.d.ts +4 -4
- package/components/Icons/RadioTherapy.js +1 -1
- package/components/Icons/RadioactiveTreatment.d.ts +4 -4
- package/components/Icons/RadioactiveTreatment.js +1 -1
- package/components/Icons/Radioiodine.d.ts +4 -4
- package/components/Icons/Radioiodine.js +1 -1
- package/components/Icons/Receipt.d.ts +4 -4
- package/components/Icons/Receipt.js +1 -1
- package/components/Icons/Receptionist.d.ts +4 -4
- package/components/Icons/Receptionist.d.ts.map +1 -1
- package/components/Icons/Receptionist.js +1 -1
- package/components/Icons/Recovery.d.ts +4 -4
- package/components/Icons/Recovery.js +1 -1
- package/components/Icons/Referral.d.ts +4 -4
- package/components/Icons/Referral.d.ts.map +1 -1
- package/components/Icons/Referral.js +1 -1
- package/components/Icons/Refresh.d.ts +4 -4
- package/components/Icons/Refresh.d.ts.map +1 -1
- package/components/Icons/Refresh.js +1 -1
- package/components/Icons/Refund.d.ts +4 -4
- package/components/Icons/Refund.js +1 -1
- package/components/Icons/Reply.d.ts +4 -4
- package/components/Icons/Reply.d.ts.map +1 -1
- package/components/Icons/Reply.js +1 -1
- package/components/Icons/Rocket.d.ts +4 -4
- package/components/Icons/Rocket.js +1 -1
- package/components/Icons/RtfFile.d.ts +4 -4
- package/components/Icons/RtfFile.js +1 -1
- package/components/Icons/STDs.d.ts +4 -4
- package/components/Icons/Save.d.ts +4 -4
- package/components/Icons/Save.d.ts.map +1 -1
- package/components/Icons/Save.js +1 -1
- package/components/Icons/Scale.d.ts +4 -4
- package/components/Icons/Scale.js +1 -1
- package/components/Icons/Search.d.ts +4 -4
- package/components/Icons/Search.d.ts.map +1 -1
- package/components/Icons/Search.js +1 -1
- package/components/Icons/SectionSign.d.ts +4 -4
- package/components/Icons/SectionSign.d.ts.map +1 -1
- package/components/Icons/SectionSign.js +1 -1
- package/components/Icons/Settings.d.ts +4 -4
- package/components/Icons/Settings.d.ts.map +1 -1
- package/components/Icons/Settings.js +1 -1
- package/components/Icons/Sexualorientation.d.ts +4 -4
- package/components/Icons/ShakingHand.d.ts +4 -4
- package/components/Icons/ShakingHand.js +1 -1
- package/components/Icons/Share.d.ts +4 -4
- package/components/Icons/Share.d.ts.map +1 -1
- package/components/Icons/Share.js +1 -1
- package/components/Icons/Shield.d.ts +4 -4
- package/components/Icons/Shield.js +1 -1
- package/components/Icons/ShuntOperation.d.ts +4 -4
- package/components/Icons/ShuntOperation.js +1 -1
- package/components/Icons/Skeleton.d.ts +4 -4
- package/components/Icons/Skeleton.js +1 -1
- package/components/Icons/Skin.d.ts +4 -4
- package/components/Icons/Skin.js +1 -1
- package/components/Icons/Snake.d.ts +4 -4
- package/components/Icons/Snake.js +1 -1
- package/components/Icons/Snapchat.d.ts +4 -4
- package/components/Icons/Snapchat.js +1 -1
- package/components/Icons/SpeechBubble.d.ts +4 -4
- package/components/Icons/SpeechBubble.d.ts.map +1 -1
- package/components/Icons/SpeechBubble.js +1 -1
- package/components/Icons/Spray.d.ts +4 -4
- package/components/Icons/Spray.js +1 -1
- package/components/Icons/Stopwatch.d.ts +4 -4
- package/components/Icons/Stopwatch.d.ts.map +1 -1
- package/components/Icons/Stopwatch.js +1 -1
- package/components/Icons/SupportingPerson.d.ts +4 -4
- package/components/Icons/SupportingPerson.d.ts.map +1 -1
- package/components/Icons/SupportingPerson.js +1 -1
- package/components/Icons/Surgery.d.ts +4 -4
- package/components/Icons/Surgery.js +1 -1
- package/components/Icons/Syringe.d.ts +4 -4
- package/components/Icons/Syringe.d.ts.map +1 -1
- package/components/Icons/Syringe.js +1 -1
- package/components/Icons/Taxi.d.ts +4 -4
- package/components/Icons/Taxi.js +1 -1
- package/components/Icons/TeddyBear.d.ts +4 -4
- package/components/Icons/TeddyBear.js +1 -1
- package/components/Icons/Teenagers.d.ts +4 -4
- package/components/Icons/Teenagers.js +1 -1
- package/components/Icons/ThinkingAboutBaby.d.ts +4 -4
- package/components/Icons/ThinkingAboutBaby.js +1 -1
- package/components/Icons/Ticket.d.ts +4 -4
- package/components/Icons/Ticket.js +1 -1
- package/components/Icons/TimePassing.d.ts +4 -4
- package/components/Icons/TimePassing.d.ts.map +1 -1
- package/components/Icons/TimePassing.js +1 -1
- package/components/Icons/Toolbox.d.ts +4 -4
- package/components/Icons/Toolbox.d.ts.map +1 -1
- package/components/Icons/Toolbox.js +1 -1
- package/components/Icons/Tooth.d.ts +4 -4
- package/components/Icons/Tooth.js +1 -1
- package/components/Icons/TotalKneeProsthesis.d.ts +4 -4
- package/components/Icons/TotalKneeProsthesis.js +1 -1
- package/components/Icons/Train.d.ts +4 -4
- package/components/Icons/Train.js +1 -1
- package/components/Icons/Transplantation.d.ts +4 -4
- package/components/Icons/Transplantation.js +1 -1
- package/components/Icons/TrashCan.d.ts +4 -4
- package/components/Icons/TrashCan.d.ts.map +1 -1
- package/components/Icons/TrashCan.js +1 -1
- package/components/Icons/Twitter.d.ts +4 -4
- package/components/Icons/Twitter.js +1 -1
- package/components/Icons/Undo.d.ts +4 -4
- package/components/Icons/Undo.d.ts.map +1 -1
- package/components/Icons/Undo.js +1 -1
- package/components/Icons/UniProsthesis.d.ts +4 -4
- package/components/Icons/UniProsthesis.js +1 -1
- package/components/Icons/Upload.d.ts +4 -4
- package/components/Icons/Upload.d.ts.map +1 -1
- package/components/Icons/Upload.js +1 -1
- package/components/Icons/UserOrganization.d.ts +4 -4
- package/components/Icons/UserOrganization.js +1 -1
- package/components/Icons/Vaccine.d.ts +4 -4
- package/components/Icons/Vaccine.d.ts.map +1 -1
- package/components/Icons/Vaccine.js +1 -1
- package/components/Icons/VerticalDots.d.ts +4 -4
- package/components/Icons/VerticalDots.d.ts.map +1 -1
- package/components/Icons/VerticalDots.js +1 -1
- package/components/Icons/VideoCamera.d.ts +4 -4
- package/components/Icons/VideoCamera.d.ts.map +1 -1
- package/components/Icons/VideoCamera.js +1 -1
- package/components/Icons/VideoChat.d.ts +4 -4
- package/components/Icons/VideoChat.d.ts.map +1 -1
- package/components/Icons/VideoChat.js +1 -1
- package/components/Icons/Wallet.d.ts +4 -4
- package/components/Icons/Wallet.d.ts.map +1 -1
- package/components/Icons/Wallet.js +1 -1
- package/components/Icons/Watch.d.ts +4 -4
- package/components/Icons/Watch.d.ts.map +1 -1
- package/components/Icons/Watch.js +1 -1
- package/components/Icons/Website.d.ts +4 -4
- package/components/Icons/Website.js +1 -1
- package/components/Icons/Wheelchair.d.ts +4 -4
- package/components/Icons/Wheelchair.js +1 -1
- package/components/Icons/WheelchairActive.d.ts +4 -4
- package/components/Icons/WheelchairActive.js +1 -1
- package/components/Icons/Window.d.ts +4 -4
- package/components/Icons/Window.js +1 -1
- package/components/Icons/WordDocument.d.ts +4 -4
- package/components/Icons/WordDocument.js +1 -1
- package/components/Icons/WorkSuitcase.d.ts +4 -4
- package/components/Icons/WorkSuitcase.js +1 -1
- package/components/Icons/X.d.ts +4 -4
- package/components/Icons/X.d.ts.map +1 -1
- package/components/Icons/X.js +1 -1
- package/components/Icons/XOutline.d.ts +4 -4
- package/components/Icons/XOutline.js +1 -1
- package/components/Icons/XmlFile.d.ts +4 -4
- package/components/Icons/XmlFile.js +1 -1
- package/components/Icons/YouTube.d.ts +4 -4
- package/components/Icons/YouTube.js +1 -1
- package/components/Icons/Zoom.d.ts +4 -4
- package/components/Icons/Zoom.d.ts.map +1 -1
- package/components/Icons/Zoom.js +1 -1
- 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/index.d.ts +3 -3
- package/components/Modal/index.js +1 -1
- package/components/Modal/styles.module.scss +245 -243
- package/components/Modal/styles.module.scss.d.ts +41 -41
- package/components/NotificationPanel/NotificationPanel.d.ts +47 -47
- package/components/NotificationPanel/index.d.ts +3 -3
- package/components/NotificationPanel/index.js +1 -1
- package/components/NotificationPanel/styles.module.scss +153 -153
- package/components/NotificationPanel/styles.module.scss.d.ts +33 -33
- 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-075356e2.js +2 -0
- package/constants-075356e2.js.map +1 -0
- package/constants.d.ts +92 -91
- package/constants.d.ts.map +1 -1
- package/grid-c105cad1.js +2 -0
- package/grid-c105cad1.js.map +1 -0
- package/hoc/withBreakpoint/index.d.ts +4 -0
- package/hoc/withBreakpoint/index.d.ts.map +1 -0
- package/hoc/withBreakpoint/index.js +2 -0
- package/{components/__mocks__ → hoc/withBreakpoint}/index.js.map +0 -0
- package/hoc/withBreakpoint/withBreakpoint.d.ts +14 -0
- package/hoc/withBreakpoint/withBreakpoint.d.ts.map +1 -0
- package/hooks/focus-utils.d.ts +6 -6
- package/hooks/useBreakpoint.d.ts +13 -12
- package/hooks/useBreakpoint.d.ts.map +1 -1
- 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/useLayoutEvent.d.ts.map +1 -1
- package/hooks/usePrevious.d.ts +7 -0
- package/hooks/usePrevious.d.ts.map +1 -0
- package/hooks/useSize.d.ts +8 -8
- package/hooks/useSticky.d.ts +20 -20
- package/hooks/useWindowSize.d.ts +4 -4
- package/hooks/useWindowSize.d.ts.map +1 -1
- package/index-d1c9177a.js +2 -0
- package/index-d1c9177a.js.map +1 -0
- package/index.d.ts +13 -12
- package/index.d.ts.map +1 -1
- package/index.js +1 -1
- package/package.json +2 -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 +21 -20
- package/theme/grid.d.ts.map +1 -1
- package/theme/index.d.ts +99 -98
- package/theme/index.d.ts.map +1 -1
- package/theme/palette.d.ts +67 -67
- package/theme/spacers.d.ts +18 -18
- package/useBreakpoint-8209ae3c.js +2 -0
- package/useBreakpoint-8209ae3c.js.map +1 -0
- package/{useHover-9710204a.js → useHover-507fb85a.js} +2 -2
- package/useHover-507fb85a.js.map +1 -0
- package/{useIsVisible-a1f67a11.js → useIsVisible-f5d49913.js} +2 -2
- package/useIsVisible-f5d49913.js.map +1 -0
- package/usePrevious-ae293b10.js +2 -0
- package/usePrevious-ae293b10.js.map +1 -0
- package/useSticky-a572c326.js +2 -0
- package/useSticky-a572c326.js.map +1 -0
- package/useWindowSize-58f26dea.js +2 -0
- package/useWindowSize-58f26dea.js.map +1 -0
- package/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-397ff5a8.js +0 -2
- package/Button-397ff5a8.js.map +0 -1
- package/Check-6291ad09.js +0 -2
- package/Check-6291ad09.js.map +0 -1
- package/Checkbox-acd12b0c.js +0 -2
- package/Checkbox-acd12b0c.js.map +0 -1
- package/ChevronUp-4b6797ef.js +0 -2
- package/ChevronUp-4b6797ef.js.map +0 -1
- package/Close-060173de.js +0 -2
- package/Close-060173de.js.map +0 -1
- package/FormGroup-b2b6efe0.js.map +0 -1
- package/Icon-537c6b21.js +0 -2
- package/Icon-537c6b21.js.map +0 -1
- package/Input-59ca2467.js +0 -2
- package/Input-59ca2467.js.map +0 -1
- package/Loader-bc13d060.js.map +0 -1
- package/Modal-3c7f9f93.js +0 -2
- package/Modal-3c7f9f93.js.map +0 -1
- package/RadioButton-c173d440.js.map +0 -1
- package/Textarea-78e20c9a.js.map +0 -1
- package/Title-9df559dd.js.map +0 -1
- package/Validation-16a8bdcd.js +0 -2
- package/Validation-16a8bdcd.js.map +0 -1
- package/_rollupPluginBabelHelpers-b8ef6dd9.js +0 -2
- package/_rollupPluginBabelHelpers-b8ef6dd9.js.map +0 -1
- package/color-a10c7892.js +0 -2
- package/color-a10c7892.js.map +0 -1
- package/components/Modal/__mocks__/IntersectionObserver.d.ts +0 -6
- package/components/Modal/__mocks__/IntersectionObserver.d.ts.map +0 -1
- package/components/__mocks__/index.js +0 -2
- package/constants-eb74321e.js +0 -2
- package/constants-eb74321e.js.map +0 -1
- package/grid-11a70eb7.js +0 -2
- package/grid-11a70eb7.js.map +0 -1
- package/index-0e78dfa0.js +0 -2
- package/index-0e78dfa0.js.map +0 -1
- package/useBreakpoint-552af2b9.js +0 -2
- package/useBreakpoint-552af2b9.js.map +0 -1
- package/useHover-9710204a.js.map +0 -1
- package/useIsVisible-a1f67a11.js.map +0 -1
- package/useSticky-d61d1f0b.js +0 -2
- package/useSticky-d61d1f0b.js.map +0 -1
- package/useWindowSize-750f9b68.js +0 -2
- package/useWindowSize-750f9b68.js.map +0 -1
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
export type Styles = {
|
|
2
|
-
'content-wrapper': string;
|
|
3
|
-
'content-wrapper__input': string;
|
|
4
|
-
'content-wrapper__input--disabled': string;
|
|
5
|
-
'content-wrapper--bigform': string;
|
|
6
|
-
'content-wrapper--disabled': string;
|
|
7
|
-
'content-wrapper--invalid': string;
|
|
8
|
-
'content-wrapper--on-blueberry': string;
|
|
9
|
-
'content-wrapper--on-dark': string;
|
|
10
|
-
'content-wrapper--transparent': string;
|
|
11
|
-
textarea: string;
|
|
12
|
-
'textarea__after-label-children': string;
|
|
13
|
-
'textarea__counter-wrapper': string;
|
|
14
|
-
'textarea__counter-wrapper--invalid': string;
|
|
15
|
-
'textarea__counter-wrapper--on-dark': string;
|
|
16
|
-
'textarea__error-text': string;
|
|
17
|
-
'textarea__label-wrapper': string;
|
|
18
|
-
'textarea__label-wrapper--on-dark': string;
|
|
19
|
-
'textarea--gutterBottom': string;
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
export type ClassNames = keyof Styles;
|
|
23
|
-
|
|
24
|
-
declare const styles: Styles;
|
|
25
|
-
|
|
26
|
-
export default styles;
|
|
1
|
+
export type Styles = {
|
|
2
|
+
'content-wrapper': string;
|
|
3
|
+
'content-wrapper__input': string;
|
|
4
|
+
'content-wrapper__input--disabled': string;
|
|
5
|
+
'content-wrapper--bigform': string;
|
|
6
|
+
'content-wrapper--disabled': string;
|
|
7
|
+
'content-wrapper--invalid': string;
|
|
8
|
+
'content-wrapper--on-blueberry': string;
|
|
9
|
+
'content-wrapper--on-dark': string;
|
|
10
|
+
'content-wrapper--transparent': string;
|
|
11
|
+
textarea: string;
|
|
12
|
+
'textarea__after-label-children': string;
|
|
13
|
+
'textarea__counter-wrapper': string;
|
|
14
|
+
'textarea__counter-wrapper--invalid': string;
|
|
15
|
+
'textarea__counter-wrapper--on-dark': string;
|
|
16
|
+
'textarea__error-text': string;
|
|
17
|
+
'textarea__label-wrapper': string;
|
|
18
|
+
'textarea__label-wrapper--on-dark': string;
|
|
19
|
+
'textarea--gutterBottom': string;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export type ClassNames = keyof Styles;
|
|
23
|
+
|
|
24
|
+
declare const styles: Styles;
|
|
25
|
+
|
|
26
|
+
export default styles;
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { HTMLAnchorProps } from '../../constants';
|
|
3
|
-
import { TitleTags } from './../Title/Title';
|
|
4
|
-
interface TileProps extends HTMLAnchorProps {
|
|
5
|
-
/** Adds custom classes to the element. */
|
|
6
|
-
className?: string;
|
|
7
|
-
/** Sets the icon to be displayed inside the tile. */
|
|
8
|
-
icon: React.ReactElement;
|
|
9
|
-
/** Sets the title to be displayed inside the tile. */
|
|
10
|
-
title: React.ReactElement;
|
|
11
|
-
/** Toggles the highlighted style of the tile. */
|
|
12
|
-
highlighted?: boolean;
|
|
13
|
-
/** Sets the description to be displayed inside the tile. */
|
|
14
|
-
description?: string;
|
|
15
|
-
/** Sets a fixed max and min width for the tile. */
|
|
16
|
-
fixed?: boolean;
|
|
17
|
-
/** Called when the tile is clicked on. */
|
|
18
|
-
onClick?: (e?: React.MouseEvent<HTMLElement, MouseEvent>) => void;
|
|
19
|
-
/** Sets the data-testid attribute. */
|
|
20
|
-
testId?: string;
|
|
21
|
-
}
|
|
22
|
-
interface TileTitleProps {
|
|
23
|
-
children: React.ReactNode;
|
|
24
|
-
className?: string;
|
|
25
|
-
htmlMarkup?: TitleTags;
|
|
26
|
-
highlighted?: boolean;
|
|
27
|
-
compact?: boolean;
|
|
28
|
-
}
|
|
29
|
-
export interface TileCompound extends React.ForwardRefExoticComponent<TileProps & React.RefAttributes<HTMLAnchorElement>> {
|
|
30
|
-
Title: React.ForwardRefExoticComponent<TileTitleProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
31
|
-
}
|
|
32
|
-
export declare const Tile: TileCompound;
|
|
33
|
-
export default Tile;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { HTMLAnchorProps } from '../../constants';
|
|
3
|
+
import { TitleTags } from './../Title/Title';
|
|
4
|
+
interface TileProps extends HTMLAnchorProps {
|
|
5
|
+
/** Adds custom classes to the element. */
|
|
6
|
+
className?: string;
|
|
7
|
+
/** Sets the icon to be displayed inside the tile. */
|
|
8
|
+
icon: React.ReactElement;
|
|
9
|
+
/** Sets the title to be displayed inside the tile. */
|
|
10
|
+
title: React.ReactElement;
|
|
11
|
+
/** Toggles the highlighted style of the tile. */
|
|
12
|
+
highlighted?: boolean;
|
|
13
|
+
/** Sets the description to be displayed inside the tile. */
|
|
14
|
+
description?: string;
|
|
15
|
+
/** Sets a fixed max and min width for the tile. */
|
|
16
|
+
fixed?: boolean;
|
|
17
|
+
/** Called when the tile is clicked on. */
|
|
18
|
+
onClick?: (e?: React.MouseEvent<HTMLElement, MouseEvent>) => void;
|
|
19
|
+
/** Sets the data-testid attribute. */
|
|
20
|
+
testId?: string;
|
|
21
|
+
}
|
|
22
|
+
interface TileTitleProps {
|
|
23
|
+
children: React.ReactNode;
|
|
24
|
+
className?: string;
|
|
25
|
+
htmlMarkup?: TitleTags;
|
|
26
|
+
highlighted?: boolean;
|
|
27
|
+
compact?: boolean;
|
|
28
|
+
}
|
|
29
|
+
export interface TileCompound extends React.ForwardRefExoticComponent<TileProps & React.RefAttributes<HTMLAnchorElement>> {
|
|
30
|
+
Title: React.ForwardRefExoticComponent<TileTitleProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
31
|
+
}
|
|
32
|
+
export declare const Tile: TileCompound;
|
|
33
|
+
export default Tile;
|
|
34
34
|
//# sourceMappingURL=Tile.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Tile from './Tile';
|
|
2
|
-
export * from './Tile';
|
|
3
|
-
export default Tile;
|
|
1
|
+
import Tile from './Tile';
|
|
2
|
+
export * from './Tile';
|
|
3
|
+
export default Tile;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
package/components/Tile/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{_ as e,b as t}from"../../_rollupPluginBabelHelpers-
|
|
1
|
+
import{_ as e,b as t}from"../../_rollupPluginBabelHelpers-6b3099b0.js";import{_ as i}from"../../_tslib-51c8a283.js";import r,{useState as l}from"react";import{c as a}from"../../index-9b84fabc.js";import{A as o,I as n}from"../../constants-075356e2.js";import s from"./styles.module.scss";var c=r.forwardRef((function(e,i){var l,o=e.children,n=e.className,c=e.htmlMarkup,m=void 0===c?"span":c,d=e.highlighted,p=e.compact,f=a(s.tile__title,(t(l={},s["tile__title--highlighted"],d),t(l,s["tile__title--compact"],p),l),n),u=m;return r.createElement(u,{className:f,ref:i},o)})),m=r.forwardRef((function(c,m){var d,p=c.icon,f=c.title,u=c.className,h=void 0===u?"":u,g=c.description,_=c.fixed,b=void 0!==_&&_,v=c.highlighted,E=void 0!==v&&v,N=c.testId,x=i(c,["icon","title","className","description","fixed","highlighted","testId"]),j=l(!1),w=e(j,2),M=w[0],k=w[1],I=!g,y=a(s.tile,(t(d={},s["tile--fixed"],b),t(d,s["tile--compact"],I),t(d,s["tile--highlighted"],E),d),h),B=a(s["title-wrapper"],t({},s["title-wrapper--compact"],I));return r.createElement("a",Object.assign({ref:m,className:y,onMouseEnter:function(){return k(!0)},onMouseLeave:function(){return k(!1)},onFocus:function(){return k(!0)},onBlur:function(){return k(!1)},"data-testid":N,"data-analyticsid":o.Tile,rel:"_blank"===c.target?"noopener noreferrer":c.rel},x),r.createElement("div",{className:B},r.cloneElement(p,{size:n.Medium,isHovered:M,color:E?"white":"black"}),r.cloneElement(f,{highlighted:E,compact:I})),g?r.createElement("p",{className:s.tile__description},g):null)}));m.Title=c;export default m;export{m as Tile};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,115 +1,115 @@
|
|
|
1
|
-
@import '../../scss/_palette.scss';
|
|
2
|
-
@import '../../scss/_spacers.scss';
|
|
3
|
-
@import '../../scss/_breakpoints.scss';
|
|
4
|
-
|
|
5
|
-
@mixin tile-title {
|
|
6
|
-
overflow-wrap: break-word;
|
|
7
|
-
word-wrap: break-word;
|
|
8
|
-
word-break: break-word;
|
|
9
|
-
font-size: 1.5rem;
|
|
10
|
-
text-align: left;
|
|
11
|
-
line-height: 1.75rem;
|
|
12
|
-
font-weight: 600;
|
|
13
|
-
margin: 0;
|
|
14
|
-
margin-left: 0.5rem;
|
|
15
|
-
|
|
16
|
-
@media (min-width: map-get($grid-breakpoints, sm)) {
|
|
17
|
-
font-size: 1.25rem;
|
|
18
|
-
margin-top: 1rem;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.tile {
|
|
23
|
-
// Referanse for grandparent selection i underklassene lenger nede
|
|
24
|
-
$tile: &;
|
|
25
|
-
|
|
26
|
-
display: flex;
|
|
27
|
-
width: 'inherit';
|
|
28
|
-
padding: 1.5rem 2rem 2rem 1rem;
|
|
29
|
-
flex-direction: column;
|
|
30
|
-
justify-content: flex-start;
|
|
31
|
-
background-color: $white;
|
|
32
|
-
color: $black;
|
|
33
|
-
text-decoration: none;
|
|
34
|
-
cursor: pointer;
|
|
35
|
-
outline: none;
|
|
36
|
-
|
|
37
|
-
&--fixed {
|
|
38
|
-
min-width: 15rem;
|
|
39
|
-
max-width: 20rem;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&--compact {
|
|
43
|
-
padding: 1.5rem 1rem 1.5rem 1rem;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
svg {
|
|
47
|
-
flex-shrink: 0;
|
|
48
|
-
}
|
|
49
|
-
&:hover,
|
|
50
|
-
&:active,
|
|
51
|
-
&:focus {
|
|
52
|
-
background-color: $neutral100;
|
|
53
|
-
}
|
|
54
|
-
&:focus {
|
|
55
|
-
box-shadow: 0 0 0 6px $neutral600;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&--highlighted {
|
|
59
|
-
background-color: $blueberry500;
|
|
60
|
-
color: $white;
|
|
61
|
-
&:hover,
|
|
62
|
-
&:active,
|
|
63
|
-
&:focus {
|
|
64
|
-
background-color: $blueberry700;
|
|
65
|
-
}
|
|
66
|
-
&:focus {
|
|
67
|
-
box-shadow: 0 0 0 6px $blueberry700;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&__title {
|
|
72
|
-
@include tile-title;
|
|
73
|
-
|
|
74
|
-
&--compact {
|
|
75
|
-
margin: 0 0 0 1.5rem;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
#{$tile}:focus & {
|
|
80
|
-
&__title {
|
|
81
|
-
&--highlighted {
|
|
82
|
-
text-decoration: underline;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
&__description {
|
|
88
|
-
font-size: 1.125rem;
|
|
89
|
-
line-height: 1.75rem;
|
|
90
|
-
margin: 0 0 0 0.5rem;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.title-wrapper {
|
|
95
|
-
display: flex;
|
|
96
|
-
flex-direction: row;
|
|
97
|
-
align-items: center;
|
|
98
|
-
padding-bottom: 0.5rem;
|
|
99
|
-
|
|
100
|
-
@media (min-width: map-get($grid-breakpoints, sm)) {
|
|
101
|
-
flex-direction: column;
|
|
102
|
-
align-items: start;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
&--compact {
|
|
106
|
-
flex-direction: row;
|
|
107
|
-
align-items: center;
|
|
108
|
-
padding-right: 1rem;
|
|
109
|
-
padding-bottom: 0;
|
|
110
|
-
|
|
111
|
-
svg {
|
|
112
|
-
flex-shrink: 0;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
}
|
|
1
|
+
@import '../../scss/_palette.scss';
|
|
2
|
+
@import '../../scss/_spacers.scss';
|
|
3
|
+
@import '../../scss/_breakpoints.scss';
|
|
4
|
+
|
|
5
|
+
@mixin tile-title {
|
|
6
|
+
overflow-wrap: break-word;
|
|
7
|
+
word-wrap: break-word;
|
|
8
|
+
word-break: break-word;
|
|
9
|
+
font-size: 1.5rem;
|
|
10
|
+
text-align: left;
|
|
11
|
+
line-height: 1.75rem;
|
|
12
|
+
font-weight: 600;
|
|
13
|
+
margin: 0;
|
|
14
|
+
margin-left: 0.5rem;
|
|
15
|
+
|
|
16
|
+
@media (min-width: map-get($grid-breakpoints, sm)) {
|
|
17
|
+
font-size: 1.25rem;
|
|
18
|
+
margin-top: 1rem;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.tile {
|
|
23
|
+
// Referanse for grandparent selection i underklassene lenger nede
|
|
24
|
+
$tile: &;
|
|
25
|
+
|
|
26
|
+
display: flex;
|
|
27
|
+
width: 'inherit';
|
|
28
|
+
padding: 1.5rem 2rem 2rem 1rem;
|
|
29
|
+
flex-direction: column;
|
|
30
|
+
justify-content: flex-start;
|
|
31
|
+
background-color: $white;
|
|
32
|
+
color: $black;
|
|
33
|
+
text-decoration: none;
|
|
34
|
+
cursor: pointer;
|
|
35
|
+
outline: none;
|
|
36
|
+
|
|
37
|
+
&--fixed {
|
|
38
|
+
min-width: 15rem;
|
|
39
|
+
max-width: 20rem;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&--compact {
|
|
43
|
+
padding: 1.5rem 1rem 1.5rem 1rem;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
svg {
|
|
47
|
+
flex-shrink: 0;
|
|
48
|
+
}
|
|
49
|
+
&:hover,
|
|
50
|
+
&:active,
|
|
51
|
+
&:focus {
|
|
52
|
+
background-color: $neutral100;
|
|
53
|
+
}
|
|
54
|
+
&:focus {
|
|
55
|
+
box-shadow: 0 0 0 6px $neutral600;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&--highlighted {
|
|
59
|
+
background-color: $blueberry500;
|
|
60
|
+
color: $white;
|
|
61
|
+
&:hover,
|
|
62
|
+
&:active,
|
|
63
|
+
&:focus {
|
|
64
|
+
background-color: $blueberry700;
|
|
65
|
+
}
|
|
66
|
+
&:focus {
|
|
67
|
+
box-shadow: 0 0 0 6px $blueberry700;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&__title {
|
|
72
|
+
@include tile-title;
|
|
73
|
+
|
|
74
|
+
&--compact {
|
|
75
|
+
margin: 0 0 0 1.5rem;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
#{$tile}:focus & {
|
|
80
|
+
&__title {
|
|
81
|
+
&--highlighted {
|
|
82
|
+
text-decoration: underline;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&__description {
|
|
88
|
+
font-size: 1.125rem;
|
|
89
|
+
line-height: 1.75rem;
|
|
90
|
+
margin: 0 0 0 0.5rem;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.title-wrapper {
|
|
95
|
+
display: flex;
|
|
96
|
+
flex-direction: row;
|
|
97
|
+
align-items: center;
|
|
98
|
+
padding-bottom: 0.5rem;
|
|
99
|
+
|
|
100
|
+
@media (min-width: map-get($grid-breakpoints, sm)) {
|
|
101
|
+
flex-direction: column;
|
|
102
|
+
align-items: start;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&--compact {
|
|
106
|
+
flex-direction: row;
|
|
107
|
+
align-items: center;
|
|
108
|
+
padding-right: 1rem;
|
|
109
|
+
padding-bottom: 0;
|
|
110
|
+
|
|
111
|
+
svg {
|
|
112
|
+
flex-shrink: 0;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export type Styles = {
|
|
2
|
-
tile: string;
|
|
3
|
-
tile__description: string;
|
|
4
|
-
tile__title: string;
|
|
5
|
-
'tile__title--compact': string;
|
|
6
|
-
'tile__title--highlighted': string;
|
|
7
|
-
'tile--compact': string;
|
|
8
|
-
'tile--fixed': string;
|
|
9
|
-
'tile--highlighted': string;
|
|
10
|
-
'title-wrapper': string;
|
|
11
|
-
'title-wrapper--compact': string;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export type ClassNames = keyof Styles;
|
|
15
|
-
|
|
16
|
-
declare const styles: Styles;
|
|
17
|
-
|
|
18
|
-
export default styles;
|
|
1
|
+
export type Styles = {
|
|
2
|
+
tile: string;
|
|
3
|
+
tile__description: string;
|
|
4
|
+
tile__title: string;
|
|
5
|
+
'tile__title--compact': string;
|
|
6
|
+
'tile__title--highlighted': string;
|
|
7
|
+
'tile--compact': string;
|
|
8
|
+
'tile--fixed': string;
|
|
9
|
+
'tile--highlighted': string;
|
|
10
|
+
'title-wrapper': string;
|
|
11
|
+
'title-wrapper--compact': string;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export type ClassNames = keyof Styles;
|
|
15
|
+
|
|
16
|
+
declare const styles: Styles;
|
|
17
|
+
|
|
18
|
+
export default styles;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare type TitleTags = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'span';
|
|
3
|
-
export declare type TitleAppearances = 'titleFeature' | 'title1' | 'title2' | 'title3' | 'title4' | 'title5';
|
|
4
|
-
interface TitleProps {
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
/** Gives a unique id to the title */
|
|
7
|
-
id?: string;
|
|
8
|
-
/** Adds custom classes to the element. */
|
|
9
|
-
className?: string;
|
|
10
|
-
/** Adds top and bottom margin in rem. */
|
|
11
|
-
margin?: number | TitleMargin;
|
|
12
|
-
/** Changes the underlying element of the title. */
|
|
13
|
-
htmlMarkup?: TitleTags;
|
|
14
|
-
/** Changes the appearance of the title. */
|
|
15
|
-
appearance?: TitleAppearances;
|
|
16
|
-
/** Sets the data-testid attribute. */
|
|
17
|
-
testId?: string;
|
|
18
|
-
}
|
|
19
|
-
export interface TitleMargin {
|
|
20
|
-
marginTop: number;
|
|
21
|
-
marginBottom: number;
|
|
22
|
-
}
|
|
23
|
-
export declare const instanceOfTitleMargin: (margin: any) => margin is TitleMargin;
|
|
24
|
-
declare const Title: React.ForwardRefExoticComponent<TitleProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
25
|
-
export default Title;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare type TitleTags = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'span';
|
|
3
|
+
export declare type TitleAppearances = 'titleFeature' | 'title1' | 'title2' | 'title3' | 'title4' | 'title5';
|
|
4
|
+
interface TitleProps {
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
/** Gives a unique id to the title */
|
|
7
|
+
id?: string;
|
|
8
|
+
/** Adds custom classes to the element. */
|
|
9
|
+
className?: string;
|
|
10
|
+
/** Adds top and bottom margin in rem. */
|
|
11
|
+
margin?: number | TitleMargin;
|
|
12
|
+
/** Changes the underlying element of the title. */
|
|
13
|
+
htmlMarkup?: TitleTags;
|
|
14
|
+
/** Changes the appearance of the title. */
|
|
15
|
+
appearance?: TitleAppearances;
|
|
16
|
+
/** Sets the data-testid attribute. */
|
|
17
|
+
testId?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface TitleMargin {
|
|
20
|
+
marginTop: number;
|
|
21
|
+
marginBottom: number;
|
|
22
|
+
}
|
|
23
|
+
export declare const instanceOfTitleMargin: (margin: any) => margin is TitleMargin;
|
|
24
|
+
declare const Title: React.ForwardRefExoticComponent<TitleProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
25
|
+
export default Title;
|
|
26
26
|
//# sourceMappingURL=Title.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Title from './Title';
|
|
2
|
-
export * from './Title';
|
|
3
|
-
export default Title;
|
|
1
|
+
import Title from './Title';
|
|
2
|
+
export * from './Title';
|
|
3
|
+
export default Title;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{T as s}from"../../Title-
|
|
1
|
+
import{T as s}from"../../Title-1d8708ea.js";export{T as default,i as instanceOfTitleMargin}from"../../Title-1d8708ea.js";import"../../_rollupPluginBabelHelpers-6b3099b0.js";import"react";import"../../index-9b84fabc.js";import"./styles.module.scss";import"../../constants-075356e2.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
@import '../../scss/title';
|
|
2
|
-
|
|
3
|
-
.title {
|
|
4
|
-
overflow-wrap: break-word;
|
|
5
|
-
word-wrap: break-word;
|
|
6
|
-
margin-left: 0;
|
|
7
|
-
margin-right: 0;
|
|
8
|
-
|
|
9
|
-
&--feature {
|
|
10
|
-
@include title-feature;
|
|
11
|
-
}
|
|
12
|
-
&--title1 {
|
|
13
|
-
@include title1;
|
|
14
|
-
}
|
|
15
|
-
&--title2 {
|
|
16
|
-
@include title2;
|
|
17
|
-
}
|
|
18
|
-
&--title3 {
|
|
19
|
-
@include title3;
|
|
20
|
-
}
|
|
21
|
-
&--title4 {
|
|
22
|
-
@include title4;
|
|
23
|
-
}
|
|
24
|
-
&--title5 {
|
|
25
|
-
@include title5;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
1
|
+
@import '../../scss/title';
|
|
2
|
+
|
|
3
|
+
.title {
|
|
4
|
+
overflow-wrap: break-word;
|
|
5
|
+
word-wrap: break-word;
|
|
6
|
+
margin-left: 0;
|
|
7
|
+
margin-right: 0;
|
|
8
|
+
|
|
9
|
+
&--feature {
|
|
10
|
+
@include title-feature;
|
|
11
|
+
}
|
|
12
|
+
&--title1 {
|
|
13
|
+
@include title1;
|
|
14
|
+
}
|
|
15
|
+
&--title2 {
|
|
16
|
+
@include title2;
|
|
17
|
+
}
|
|
18
|
+
&--title3 {
|
|
19
|
+
@include title3;
|
|
20
|
+
}
|
|
21
|
+
&--title4 {
|
|
22
|
+
@include title4;
|
|
23
|
+
}
|
|
24
|
+
&--title5 {
|
|
25
|
+
@include title5;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export type Styles = {
|
|
2
|
-
title: string;
|
|
3
|
-
'title--feature': string;
|
|
4
|
-
'title--title1': string;
|
|
5
|
-
'title--title2': string;
|
|
6
|
-
'title--title3': string;
|
|
7
|
-
'title--title4': string;
|
|
8
|
-
'title--title5': string;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
export type ClassNames = keyof Styles;
|
|
12
|
-
|
|
13
|
-
declare const styles: Styles;
|
|
14
|
-
|
|
15
|
-
export default styles;
|
|
1
|
+
export type Styles = {
|
|
2
|
+
title: string;
|
|
3
|
+
'title--feature': string;
|
|
4
|
+
'title--title1': string;
|
|
5
|
+
'title--title2': string;
|
|
6
|
+
'title--title3': string;
|
|
7
|
+
'title--title4': string;
|
|
8
|
+
'title--title5': string;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export type ClassNames = keyof Styles;
|
|
12
|
+
|
|
13
|
+
declare const styles: Styles;
|
|
14
|
+
|
|
15
|
+
export default styles;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { FormVariant } from '../../constants';
|
|
3
|
-
interface ValidationProps {
|
|
4
|
-
/** text placed in the legend tag of the fieldset */
|
|
5
|
-
errorSummary?: string;
|
|
6
|
-
/** Items in the Validation compontent */
|
|
7
|
-
children?: React.ReactNode;
|
|
8
|
-
/** Adds custom classes to the element. */
|
|
9
|
-
className?: string;
|
|
10
|
-
/** Changes the visuals of the formgroup */
|
|
11
|
-
variant?: keyof typeof FormVariant;
|
|
12
|
-
/** Sets the data-testid attribute. */
|
|
13
|
-
testId?: string;
|
|
14
|
-
}
|
|
15
|
-
export declare const Validation: React.ForwardRefExoticComponent<ValidationProps & React.RefAttributes<HTMLElement>>;
|
|
16
|
-
export default Validation;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { FormVariant } from '../../constants';
|
|
3
|
+
interface ValidationProps {
|
|
4
|
+
/** text placed in the legend tag of the fieldset */
|
|
5
|
+
errorSummary?: string;
|
|
6
|
+
/** Items in the Validation compontent */
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
/** Adds custom classes to the element. */
|
|
9
|
+
className?: string;
|
|
10
|
+
/** Changes the visuals of the formgroup */
|
|
11
|
+
variant?: keyof typeof FormVariant;
|
|
12
|
+
/** Sets the data-testid attribute. */
|
|
13
|
+
testId?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const Validation: React.ForwardRefExoticComponent<ValidationProps & React.RefAttributes<HTMLElement>>;
|
|
16
|
+
export default Validation;
|
|
17
17
|
//# sourceMappingURL=Validation.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Validation from './Validation';
|
|
2
|
-
export * from './Validation';
|
|
3
|
-
export default Validation;
|
|
1
|
+
import Validation from './Validation';
|
|
2
|
+
export * from './Validation';
|
|
3
|
+
export default Validation;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{V as s}from"../../Validation-
|
|
1
|
+
import{V as s}from"../../Validation-c196f3f2.js";export{V as Validation,V as default}from"../../Validation-c196f3f2.js";import"react";import"../../index-9b84fabc.js";import"../../FormGroup-f10939e6.js";import"../../_rollupPluginBabelHelpers-6b3099b0.js";import"../FormGroup/styles.module.scss";import"../../Checkbox-8e590de0.js";import"../../uuid-fe7442b7.js";import"../Icons/Check.js";import"../Icons/Icon.js";import"../../_tslib-51c8a283.js";import"../../constants-075356e2.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../Checkbox/styles.module.scss";import"../../RadioButton-b0da1997.js";import"../RadioButton/styles.module.scss";import"../../Input-01c967ac.js";import"../../useBreakpoint-8209ae3c.js";import"../Input/styles.module.scss";import"../../Title-1d8708ea.js";import"../Title/styles.module.scss";import"./styles.module.scss";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
@import '../../scss/_spacers.scss';
|
|
2
|
-
@import '../../scss/_palette.scss';
|
|
3
|
-
@import '../../scss/font-settings.scss';
|
|
4
|
-
|
|
5
|
-
.validation {
|
|
6
|
-
&__errors {
|
|
7
|
-
font-size: $font-size-sm;
|
|
8
|
-
font-weight: 600;
|
|
9
|
-
color: $cherry500;
|
|
10
|
-
margin: getSpacer(l) 0 getSpacer(s);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.form-group-wrapper {
|
|
15
|
-
&--error-sibling {
|
|
16
|
-
padding-bottom: 0 !important;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
1
|
+
@import '../../scss/_spacers.scss';
|
|
2
|
+
@import '../../scss/_palette.scss';
|
|
3
|
+
@import '../../scss/font-settings.scss';
|
|
4
|
+
|
|
5
|
+
.validation {
|
|
6
|
+
&__errors {
|
|
7
|
+
font-size: $font-size-sm;
|
|
8
|
+
font-weight: 600;
|
|
9
|
+
color: $cherry500;
|
|
10
|
+
margin: getSpacer(l) 0 getSpacer(s);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.form-group-wrapper {
|
|
15
|
+
&--error-sibling {
|
|
16
|
+
padding-bottom: 0 !important;
|
|
17
|
+
}
|
|
18
|
+
}
|