@helsenorge/designsystem-react 1.0.0-beta105 → 1.0.0-beta109
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Button-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-403016b0.js +2 -0
- package/Close-403016b0.js.map +1 -0
- package/{FormGroup-0577b07f.js → FormGroup-fbf475ed.js} +2 -2
- package/FormGroup-fbf475ed.js.map +1 -0
- package/Input-cd0319e0.js +2 -0
- package/Input-cd0319e0.js.map +1 -0
- package/{Loader-fa16a352.js → Loader-bf89238f.js} +2 -2
- package/Loader-bf89238f.js.map +1 -0
- package/Modal-1776ded7.js +2 -0
- package/Modal-1776ded7.js.map +1 -0
- package/README.md +69 -69
- package/{RadioButton-fe4bbd36.js → RadioButton-b0da1997.js} +2 -2
- package/RadioButton-b0da1997.js.map +1 -0
- package/{Textarea-e1d1144c.js → Textarea-648063a9.js} +2 -2
- package/Textarea-648063a9.js.map +1 -0
- package/{Title-af53f589.js → Title-1d8708ea.js} +2 -2
- package/Title-1d8708ea.js.map +1 -0
- package/Validation-df81209c.js +2 -0
- package/Validation-df81209c.js.map +1 -0
- package/_rollupPluginBabelHelpers-6b3099b0.js +2 -0
- package/_rollupPluginBabelHelpers-6b3099b0.js.map +1 -0
- package/color-e7d082c1.js +2 -0
- package/color-e7d082c1.js.map +1 -0
- package/components/AnchorLink/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 -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/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/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-075356e2.js +2 -0
- package/constants-075356e2.js.map +1 -0
- package/constants.d.ts +92 -90
- 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 +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/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 -11
- 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-3186b97e.js +2 -0
- package/useBreakpoint-3186b97e.js.map +1 -0
- package/{useHover-9710204a.js → useHover-507fb85a.js} +2 -2
- package/useHover-507fb85a.js.map +1 -0
- package/{useIsVisible-a1f67a11.js → useIsVisible-f5d49913.js} +2 -2
- package/useIsVisible-f5d49913.js.map +1 -0
- package/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-f26a558e.js +0 -2
- package/Button-f26a558e.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.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-1bae215e.js +0 -2
- package/Modal-1bae215e.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 +0 -2
- package/Validation-fd3f7f58.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-ad6c82db.js +0 -2
- package/constants-ad6c82db.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-194f2b78.js +0 -2
- package/useSticky-194f2b78.js.map +0 -1
- package/useWindowSize-750f9b68.js +0 -2
- package/useWindowSize-750f9b68.js.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export type Styles = {
|
|
2
|
-
'form-group-wrapper--error-sibling': string;
|
|
3
|
-
validation__errors: string;
|
|
4
|
-
};
|
|
5
|
-
|
|
6
|
-
export type ClassNames = keyof Styles;
|
|
7
|
-
|
|
8
|
-
declare const styles: Styles;
|
|
9
|
-
|
|
10
|
-
export default styles;
|
|
1
|
+
export type Styles = {
|
|
2
|
+
'form-group-wrapper--error-sibling': string;
|
|
3
|
+
validation__errors: string;
|
|
4
|
+
};
|
|
5
|
+
|
|
6
|
+
export type ClassNames = keyof Styles;
|
|
7
|
+
|
|
8
|
+
declare const styles: Styles;
|
|
9
|
+
|
|
10
|
+
export default styles;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var a,o,n,e,i;!function(a){a[a.XXSmall=24]="XXSmall",a[a.XSmall=38]="XSmall",a[a.Small=48]="Small",a[a.Medium=64]="Medium",a[a.Large=80]="Large",a[a.XLarge=130]="XLarge"}(a||(a={})),function(a){a[a.Modal=13e5]="Modal",a[a.ExpanderTrigger=1e4]="ExpanderTrigger"}(o||(o={})),function(a){a.onwhite="onwhite",a.ongrey="ongrey",a.onblueberry="onblueberry",a.ondark="ondark",a.oninvalid="oninvalid"}(n||(n={})),function(a){a.normal="normal",a.bigform="bigform"}(e||(e={})),function(a){a.AnchorLink="anchor-link",a.Avatar="avatar",a.Badge="badge",a.Button="button",a.Checkbox="checkbox",a.Close="close",a.Expander="expander",a.ExpanderList="expander-list",a.ExpanderListExpander="expander-list-expander",a.FormGroup="form-group",a.HighlightBox="highlight-box",a.Icon="icon",a.Input="input",a.Link="link",a.LinkList="link-list",a.List="list",a.Loader="loader",a.Logo="logo",a.Modal="modal",a.NotificationPanel="notification-panel",a.Portal="portal",a.RadioButton="radio-button",a.Slider="slider",a.Spacer="spacer",a.Textarea="textarea",a.Tile="tile",a.Title="title",a.Validation="validation"}(i||(i={}));export{i as A,n as F,a as I,o as Z,e as a};
|
|
2
|
+
//# sourceMappingURL=constants-075356e2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants-075356e2.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/constants.d.ts
CHANGED
|
@@ -1,91 +1,93 @@
|
|
|
1
|
-
export declare enum IconSize {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
'
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
export declare
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
1
|
+
export declare enum IconSize {
|
|
2
|
+
XXSmall = 24,
|
|
3
|
+
XSmall = 38,
|
|
4
|
+
Small = 48,
|
|
5
|
+
Medium = 64,
|
|
6
|
+
Large = 80,
|
|
7
|
+
XLarge = 130
|
|
8
|
+
}
|
|
9
|
+
export declare enum ZIndex {
|
|
10
|
+
Modal = 1300000,
|
|
11
|
+
ExpanderTrigger = 10000
|
|
12
|
+
}
|
|
13
|
+
export interface HTMLButtonProps {
|
|
14
|
+
autoFocus?: boolean;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
form?: string;
|
|
17
|
+
formAction?: string;
|
|
18
|
+
formEncType?: string;
|
|
19
|
+
formMethod?: string;
|
|
20
|
+
formNoValidate?: boolean;
|
|
21
|
+
formTarget?: string;
|
|
22
|
+
name?: string;
|
|
23
|
+
type?: 'submit' | 'reset' | 'button' | string;
|
|
24
|
+
value?: string | string[] | number;
|
|
25
|
+
}
|
|
26
|
+
export interface HTMLTextareaProps {
|
|
27
|
+
autoFocus?: boolean;
|
|
28
|
+
disabled?: boolean;
|
|
29
|
+
form?: string;
|
|
30
|
+
formNoValidate?: boolean;
|
|
31
|
+
formTarget?: string;
|
|
32
|
+
name?: string;
|
|
33
|
+
id?: string;
|
|
34
|
+
autocomplete?: 'off' | 'on';
|
|
35
|
+
placeholder?: string;
|
|
36
|
+
readonly?: boolean;
|
|
37
|
+
required?: boolean;
|
|
38
|
+
spellcheck?: 'true' | 'default' | 'false';
|
|
39
|
+
'aria-invalid'?: boolean;
|
|
40
|
+
}
|
|
41
|
+
export interface HTMLAnchorProps {
|
|
42
|
+
download?: string;
|
|
43
|
+
href?: string;
|
|
44
|
+
hrefLang?: string;
|
|
45
|
+
media?: string;
|
|
46
|
+
ping?: string;
|
|
47
|
+
rel?: string;
|
|
48
|
+
target?: string;
|
|
49
|
+
referrerPolicy?: '' | 'same-origin' | 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url';
|
|
50
|
+
}
|
|
51
|
+
export declare type ButtonVariant = 'secondary' | 'tertiary' | string | undefined | null;
|
|
52
|
+
export declare enum FormMode {
|
|
53
|
+
onwhite = "onwhite",
|
|
54
|
+
ongrey = "ongrey",
|
|
55
|
+
onblueberry = "onblueberry",
|
|
56
|
+
ondark = "ondark",
|
|
57
|
+
oninvalid = "oninvalid"
|
|
58
|
+
}
|
|
59
|
+
export declare enum FormVariant {
|
|
60
|
+
normal = "normal",
|
|
61
|
+
bigform = "bigform"
|
|
62
|
+
}
|
|
63
|
+
export declare enum AnalyticsId {
|
|
64
|
+
AnchorLink = "anchor-link",
|
|
65
|
+
Avatar = "avatar",
|
|
66
|
+
Badge = "badge",
|
|
67
|
+
Button = "button",
|
|
68
|
+
Checkbox = "checkbox",
|
|
69
|
+
Close = "close",
|
|
70
|
+
Expander = "expander",
|
|
71
|
+
ExpanderList = "expander-list",
|
|
72
|
+
ExpanderListExpander = "expander-list-expander",
|
|
73
|
+
FormGroup = "form-group",
|
|
74
|
+
HighlightBox = "highlight-box",
|
|
75
|
+
Icon = "icon",
|
|
76
|
+
Input = "input",
|
|
77
|
+
Link = "link",
|
|
78
|
+
LinkList = "link-list",
|
|
79
|
+
List = "list",
|
|
80
|
+
Loader = "loader",
|
|
81
|
+
Logo = "logo",
|
|
82
|
+
Modal = "modal",
|
|
83
|
+
NotificationPanel = "notification-panel",
|
|
84
|
+
Portal = "portal",
|
|
85
|
+
RadioButton = "radio-button",
|
|
86
|
+
Slider = "slider",
|
|
87
|
+
Spacer = "spacer",
|
|
88
|
+
Textarea = "textarea",
|
|
89
|
+
Tile = "tile",
|
|
90
|
+
Title = "title",
|
|
91
|
+
Validation = "validation"
|
|
92
|
+
}
|
|
91
93
|
//# sourceMappingURL=constants.d.ts.map
|
package/constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"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"}
|
package/grid-c105cad1.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var x={xxs:0,xs:360,sm:564,md:768,lg:1088,xl:1450},t={xxs:"(min-width: ".concat(x.xxs,"px)"),xs:"(min-width: ".concat(x.xs,"px)"),sm:"(min-width: ".concat(x.sm,"px)"),md:"(min-width: ".concat(x.md,"px)"),lg:"(min-width: ".concat(x.lg,"px)"),xl:"(min-width: ".concat(x.xl,"px)")};export{x as b,t as s};
|
|
2
|
+
//# sourceMappingURL=grid-c105cad1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid-c105cad1.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hoc/withBreakpoint/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,cAAc,kBAAkB,CAAC;AACjC,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import r from"react";import{u as e}from"../../useBreakpoint-3186b97e.js";import"../../_rollupPluginBabelHelpers-6b3099b0.js";import"../../grid-c105cad1.js";function t(t){return r.forwardRef((function(o,a){var i=e();return r.createElement(t,Object.assign({ref:a},o,{breakpoint:i}))}))}export default t;export{t as withBreakpoint};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
File without changes
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Breakpoint } from '../../hooks/useBreakpoint';
|
|
3
|
+
export interface BreakpointProps {
|
|
4
|
+
breakpoint?: Breakpoint;
|
|
5
|
+
}
|
|
6
|
+
export declare function withBreakpoint<T extends React.ComponentClass<any>>(Component: T): React.ForwardRefExoticComponent<React.ComponentPropsWithoutRef<T> & {
|
|
7
|
+
ref?: React.Ref<InstanceType<T>>;
|
|
8
|
+
}>;
|
|
9
|
+
export declare function withBreakpoint<P extends {
|
|
10
|
+
ref?: React.Ref<any>;
|
|
11
|
+
}>(Component: React.ForwardRefExoticComponent<P>): React.ForwardRefExoticComponent<P>;
|
|
12
|
+
export declare function withBreakpoint<P>(Component: React.FunctionComponent<P>): React.ForwardRefExoticComponent<P>;
|
|
13
|
+
export default withBreakpoint;
|
|
14
|
+
//# sourceMappingURL=withBreakpoint.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"withBreakpoint.d.ts","sourceRoot":"","sources":["../../../src/hoc/withBreakpoint/withBreakpoint.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,UAAU,EAAiB,MAAM,2BAA2B,CAAC;AAEtE,MAAM,WAAW,eAAe;IAC9B,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB;AAGD,wBAAgB,cAAc,CAAC,CAAC,SAAS,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,EAChE,SAAS,EAAE,CAAC,GACX,KAAK,CAAC,yBAAyB,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAA;CAAE,CAAC,CAAC;AAE7G,wBAAgB,cAAc,CAAC,CAAC,SAAS;IAAE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;CAAE,EAC/D,SAAS,EAAE,KAAK,CAAC,yBAAyB,CAAC,CAAC,CAAC,GAC5C,KAAK,CAAC,yBAAyB,CAAC,CAAC,CAAC,CAAC;AAEtC,wBAAgB,cAAc,CAAC,CAAC,EAAE,SAAS,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,yBAAyB,CAAC,CAAC,CAAC,CAAC;AAS7G,eAAe,cAAc,CAAC"}
|
package/hooks/focus-utils.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Kopi fra core-frontend (focus-utils.tsx)
|
|
3
|
-
* Returnerer document.activeElement (element in focus), uavhengig av om den er i document-dom eller shadow-dom
|
|
4
|
-
* @param element HtmlElement som den skal søke i
|
|
5
|
-
*/
|
|
6
|
-
export declare const getDocumentActiveElement: (element: string | HTMLElement) => Element | null;
|
|
1
|
+
/**
|
|
2
|
+
* Kopi fra core-frontend (focus-utils.tsx)
|
|
3
|
+
* Returnerer document.activeElement (element in focus), uavhengig av om den er i document-dom eller shadow-dom
|
|
4
|
+
* @param element HtmlElement som den skal søke i
|
|
5
|
+
*/
|
|
6
|
+
export declare const getDocumentActiveElement: (element: string | HTMLElement) => Element | null;
|
|
7
7
|
//# sourceMappingURL=focus-utils.d.ts.map
|
package/hooks/useBreakpoint.d.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
export declare enum Breakpoint {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
*
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
export declare enum Breakpoint {
|
|
2
|
+
xxs,
|
|
3
|
+
xs,
|
|
4
|
+
sm,
|
|
5
|
+
md,
|
|
6
|
+
lg,
|
|
7
|
+
xl
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Lytt på endringer i breakpoint basert på media queries. Trigger re-render bare når breakpoint er endret.
|
|
11
|
+
* @returns Gjeldende breakpoint
|
|
12
|
+
*/
|
|
13
|
+
export declare const useBreakpoint: () => Breakpoint | undefined;
|
|
13
14
|
//# sourceMappingURL=useBreakpoint.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useBreakpoint.d.ts","sourceRoot":"","sources":["../../src/hooks/useBreakpoint.ts"],"names":[],"mappings":"AAGA,oBAAY,UAAU;IACpB,EAAmB;IACnB,EAAmB;IACnB,EAAmB;IACnB,EAAmB;IACnB,EAAmB;CACpB;AAED;;;GAGG;AACH,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"useBreakpoint.d.ts","sourceRoot":"","sources":["../../src/hooks/useBreakpoint.ts"],"names":[],"mappings":"AAGA,oBAAY,UAAU;IACpB,GAAqB;IACrB,EAAmB;IACnB,EAAmB;IACnB,EAAmB;IACnB,EAAmB;IACnB,EAAmB;CACpB;AAED;;;GAGG;AACH,eAAO,MAAM,aAAa,8BA6CzB,CAAC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const FOCUSABLE_SELECTORS: string;
|
|
3
|
-
/**
|
|
4
|
-
* Skru av og på fokus på fokuserbare elementer slik at de kan være en del av DOMen, men samtidig
|
|
5
|
-
* ikke kunne fokuseres/tabbes til med tastaturet.
|
|
6
|
-
*
|
|
7
|
-
* Bruker MutationObserver slik at eventuelle nye elementer som legges til også vil miste/få fokus.
|
|
8
|
-
*
|
|
9
|
-
* @param ref Alle barn av dette elementet vil sjekkes for om de er fokuserbare
|
|
10
|
-
* @param allowFocus Om elementene skal være fokuserbare eller ikke
|
|
11
|
-
* @returns Liste med potensielt fokuserbare elementer
|
|
12
|
-
*/
|
|
13
|
-
export declare const useFocusToggle: (ref: React.RefObject<HTMLElement>, allowFocus?: boolean | undefined) => NodeListOf<HTMLElement> | undefined;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const FOCUSABLE_SELECTORS: string;
|
|
3
|
+
/**
|
|
4
|
+
* Skru av og på fokus på fokuserbare elementer slik at de kan være en del av DOMen, men samtidig
|
|
5
|
+
* ikke kunne fokuseres/tabbes til med tastaturet.
|
|
6
|
+
*
|
|
7
|
+
* Bruker MutationObserver slik at eventuelle nye elementer som legges til også vil miste/få fokus.
|
|
8
|
+
*
|
|
9
|
+
* @param ref Alle barn av dette elementet vil sjekkes for om de er fokuserbare
|
|
10
|
+
* @param allowFocus Om elementene skal være fokuserbare eller ikke
|
|
11
|
+
* @returns Liste med potensielt fokuserbare elementer
|
|
12
|
+
*/
|
|
13
|
+
export declare const useFocusToggle: (ref: React.RefObject<HTMLElement>, allowFocus?: boolean | undefined) => NodeListOf<HTMLElement> | undefined;
|
|
14
14
|
//# sourceMappingURL=useFocusToggle.d.ts.map
|
package/hooks/useFocusTrap.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare function useFocusTrap(): React.MutableRefObject<HTMLDivElement | null>;
|
|
3
|
-
export default useFocusTrap;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare function useFocusTrap(): React.MutableRefObject<HTMLDivElement | null>;
|
|
3
|
+
export default useFocusTrap;
|
|
4
4
|
//# sourceMappingURL=useFocusTrap.d.ts.map
|
package/hooks/useHover.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { RefObject } from 'react';
|
|
2
|
-
/** ref: Reference object for the trigger of the hover state
|
|
3
|
-
*
|
|
4
|
-
* condition: Additional boolean condition to trigger the useEffect checking for hover.
|
|
5
|
-
*
|
|
6
|
-
* includeFocus: If focusing the ref should count as a hover or not. True by default.
|
|
7
|
-
*/
|
|
8
|
-
export declare const useHover: <T extends HTMLElement>(ref?: RefObject<T> | undefined, condition?: boolean | undefined, includeFocus?: boolean) => {
|
|
9
|
-
hoverRef: RefObject<T>;
|
|
10
|
-
isHovered: boolean;
|
|
11
|
-
};
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
/** ref: Reference object for the trigger of the hover state
|
|
3
|
+
*
|
|
4
|
+
* condition: Additional boolean condition to trigger the useEffect checking for hover.
|
|
5
|
+
*
|
|
6
|
+
* includeFocus: If focusing the ref should count as a hover or not. True by default.
|
|
7
|
+
*/
|
|
8
|
+
export declare const useHover: <T extends HTMLElement | SVGElement>(ref?: RefObject<T> | undefined, condition?: boolean | undefined, includeFocus?: boolean) => {
|
|
9
|
+
hoverRef: RefObject<T>;
|
|
10
|
+
isHovered: boolean;
|
|
11
|
+
};
|
|
12
12
|
//# sourceMappingURL=useHover.d.ts.map
|
package/hooks/useIcons.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IconProps } from '../components/Icons';
|
|
3
|
-
export declare const useIcons: (children: import("react").ReactNode[]) => (string | number | boolean | {} | import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)> | import("react").ReactNodeArray | import("react").ReactPortal | import("react").ReactElement<IconProps, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)> | null | undefined)[];
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IconProps } from '../components/Icons';
|
|
3
|
+
export declare const useIcons: (children: import("react").ReactNode[]) => (string | number | boolean | {} | import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)> | import("react").ReactNodeArray | import("react").ReactPortal | import("react").ReactElement<IconProps, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)> | null | undefined)[];
|
|
4
4
|
//# sourceMappingURL=useIcons.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/**
|
|
3
|
-
* Lytt på endringer i synligheten (intersection) til et HTML-element. F.eks. kan du bruke denne til å kalle en callback
|
|
4
|
-
* når elementet er i ferd med å forsvinne ut av vinduet.
|
|
5
|
-
*
|
|
6
|
-
* @param ref Element som skal observeres
|
|
7
|
-
* @param callback Kalles når en endring i intersection er observert
|
|
8
|
-
* @param options Objekt med options for IntersectionObserver, f.eks. threshold for å bestemme når callbacken skal fyres
|
|
9
|
-
*/
|
|
10
|
-
export declare const useIntersectionObserver: (ref: import("react").RefObject<HTMLElement>, callback: IntersectionObserverCallback, options?: IntersectionObserverInit | undefined) => void;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/**
|
|
3
|
+
* Lytt på endringer i synligheten (intersection) til et HTML-element. F.eks. kan du bruke denne til å kalle en callback
|
|
4
|
+
* når elementet er i ferd med å forsvinne ut av vinduet.
|
|
5
|
+
*
|
|
6
|
+
* @param ref Element som skal observeres
|
|
7
|
+
* @param callback Kalles når en endring i intersection er observert
|
|
8
|
+
* @param options Objekt med options for IntersectionObserver, f.eks. threshold for å bestemme når callbacken skal fyres
|
|
9
|
+
*/
|
|
10
|
+
export declare const useIntersectionObserver: (ref: import("react").RefObject<HTMLElement>, callback: IntersectionObserverCallback, options?: IntersectionObserverInit | undefined) => void;
|
|
11
11
|
//# sourceMappingURL=useIntersectionObserver.d.ts.map
|
package/hooks/useIsVisible.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/**
|
|
3
|
-
* Sjekk om et HTML-element er synlig i vinduet, eller ikke.
|
|
4
|
-
*
|
|
5
|
-
* @param ref Element som skal observeres
|
|
6
|
-
* @param threshold Hvor synlig må elementet være? Default = 1 (helt synlig)
|
|
7
|
-
* @returns true hvis objektet er synlig lik threshold eller mer, false hvis ikke
|
|
8
|
-
*/
|
|
9
|
-
export declare const useIsVisible: (ref: import("react").RefObject<HTMLElement>, threshold?: number) => boolean;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/**
|
|
3
|
+
* Sjekk om et HTML-element er synlig i vinduet, eller ikke.
|
|
4
|
+
*
|
|
5
|
+
* @param ref Element som skal observeres
|
|
6
|
+
* @param threshold Hvor synlig må elementet være? Default = 1 (helt synlig)
|
|
7
|
+
* @returns true hvis objektet er synlig lik threshold eller mer, false hvis ikke
|
|
8
|
+
*/
|
|
9
|
+
export declare const useIsVisible: (ref: import("react").RefObject<HTMLElement>, threshold?: number) => boolean;
|
|
10
10
|
//# sourceMappingURL=useIsVisible.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Lytt på ulike layout-events som har betydning for rendring og størrelse på elementer.
|
|
3
|
-
*
|
|
4
|
-
* @param callback Kalles for hver event
|
|
5
|
-
* @param events Liste med events som skal lyttes på
|
|
6
|
-
* @param debounceMs Begrens kall til callback til x antall ms
|
|
7
|
-
*/
|
|
8
|
-
export declare const useLayoutEvent: (callback: () => void, events?: string[], debounceMs?: number) => void;
|
|
1
|
+
/**
|
|
2
|
+
* Lytt på ulike layout-events som har betydning for rendring og størrelse på elementer.
|
|
3
|
+
*
|
|
4
|
+
* @param callback Kalles for hver event
|
|
5
|
+
* @param events Liste med events som skal lyttes på
|
|
6
|
+
* @param debounceMs Begrens kall til callback til x antall ms
|
|
7
|
+
*/
|
|
8
|
+
export declare const useLayoutEvent: (callback: () => void, events?: string[], debounceMs?: number) => void;
|
|
9
9
|
//# sourceMappingURL=useLayoutEvent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLayoutEvent.d.ts","sourceRoot":"","sources":["../../src/hooks/useLayoutEvent.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"useLayoutEvent.d.ts","sourceRoot":"","sources":["../../src/hooks/useLayoutEvent.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,wEAa1B,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Brukes f.eks. i forbindelse med useState for å kunne sammenlikne ny verdi med gammel.
|
|
3
|
+
* @param value Verdi du ønsker å ta vare på
|
|
4
|
+
* @returns Forrige verdi
|
|
5
|
+
*/
|
|
6
|
+
export declare const usePrevious: <T>(value: T) => T | undefined;
|
|
7
|
+
//# sourceMappingURL=usePrevious.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePrevious.d.ts","sourceRoot":"","sources":["../../src/hooks/usePrevious.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,WAAW,gCAQvB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/**
|
|
3
|
+
* Lytt på endringer i størrelse på et element
|
|
4
|
+
*
|
|
5
|
+
* @param ref Element som skal observeres.
|
|
6
|
+
* @returns Object med høyde, bredde, x og y til elementet
|
|
7
|
+
*/
|
|
8
|
+
export declare const useSize: (ref?: import("react").RefObject<HTMLElement> | undefined) => DOMRect | undefined;
|
|
9
|
+
//# sourceMappingURL=useSize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSize.d.ts","sourceRoot":"","sources":["../../src/hooks/useSize.ts"],"names":[],"mappings":";AAEA;;;;;GAKG;AACH,eAAO,MAAM,OAAO,mFAanB,CAAC"}
|
package/hooks/useSticky.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface UseStickReturnValues {
|
|
3
|
-
/** Toppen av elementet er utenfor vinduet */
|
|
4
|
-
isOutsideWindow: boolean;
|
|
5
|
-
/** Innholdet er på vei helt ut av vinduet */
|
|
6
|
-
isLeavingWindow: boolean;
|
|
7
|
-
/** Høyde på det sticky elementet i pixler */
|
|
8
|
-
offsetHeight: number | undefined;
|
|
9
|
-
/** Bredden til innholdet i pixler */
|
|
10
|
-
contentWidth: number | undefined;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Sett et element til sticky hvis et annet element er delvis utenfor vinduet
|
|
14
|
-
*
|
|
15
|
-
* @param contentRef Element som sjekkes om det er utenfor eller innenfor vinduet
|
|
16
|
-
* @param stickyRef Element som skal bli sticky
|
|
17
|
-
* @returns Properties som kan brukes til å sette elementet sticky eller absolute
|
|
18
|
-
*/
|
|
19
|
-
export declare const useSticky: (contentRef: React.RefObject<HTMLElement>, stickyRef: React.RefObject<HTMLElement>) => UseStickReturnValues;
|
|
20
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface UseStickReturnValues {
|
|
3
|
+
/** Toppen av elementet er utenfor vinduet */
|
|
4
|
+
isOutsideWindow: boolean;
|
|
5
|
+
/** Innholdet er på vei helt ut av vinduet */
|
|
6
|
+
isLeavingWindow: boolean;
|
|
7
|
+
/** Høyde på det sticky elementet i pixler */
|
|
8
|
+
offsetHeight: number | undefined;
|
|
9
|
+
/** Bredden til innholdet i pixler */
|
|
10
|
+
contentWidth: number | undefined;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Sett et element til sticky hvis et annet element er delvis utenfor vinduet
|
|
14
|
+
*
|
|
15
|
+
* @param contentRef Element som sjekkes om det er utenfor eller innenfor vinduet
|
|
16
|
+
* @param stickyRef Element som skal bli sticky
|
|
17
|
+
* @returns Properties som kan brukes til å sette elementet sticky eller absolute
|
|
18
|
+
*/
|
|
19
|
+
export declare const useSticky: (contentRef: React.RefObject<HTMLElement>, stickyRef: React.RefObject<HTMLElement>) => UseStickReturnValues;
|
|
20
|
+
export {};
|
|
21
21
|
//# sourceMappingURL=useSticky.d.ts.map
|
package/hooks/useWindowSize.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare function useWindowSize(): {
|
|
2
|
-
width: number | undefined;
|
|
3
|
-
height: number | undefined;
|
|
4
|
-
};
|
|
1
|
+
export declare function useWindowSize(): {
|
|
2
|
+
width: number | undefined;
|
|
3
|
+
height: number | undefined;
|
|
4
|
+
};
|
|
5
5
|
//# sourceMappingURL=useWindowSize.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWindowSize.d.ts","sourceRoot":"","sources":["../../src/hooks/useWindowSize.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useWindowSize.d.ts","sourceRoot":"","sources":["../../src/hooks/useWindowSize.ts"],"names":[],"mappings":"AAWA,wBAAgB,aAAa;;;EAU5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-d1c9177a.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/index.d.ts
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
export { theme } from './theme';
|
|
2
|
-
export { useBreakpoint, Breakpoint } from './hooks/useBreakpoint';
|
|
3
|
-
export { useFocusToggle } from './hooks/useFocusToggle';
|
|
4
|
-
export { useFocusTrap } from './hooks/useFocusTrap';
|
|
5
|
-
export { useHover } from './hooks/useHover';
|
|
6
|
-
export { useIntersectionObserver } from './hooks/useIntersectionObserver';
|
|
7
|
-
export { useIsVisible } from './hooks/useIsVisible';
|
|
8
|
-
export { useLayoutEvent } from './hooks/useLayoutEvent';
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export
|
|
1
|
+
export { theme } from './theme';
|
|
2
|
+
export { useBreakpoint, Breakpoint } from './hooks/useBreakpoint';
|
|
3
|
+
export { useFocusToggle } from './hooks/useFocusToggle';
|
|
4
|
+
export { useFocusTrap } from './hooks/useFocusTrap';
|
|
5
|
+
export { useHover } from './hooks/useHover';
|
|
6
|
+
export { useIntersectionObserver } from './hooks/useIntersectionObserver';
|
|
7
|
+
export { useIsVisible } from './hooks/useIsVisible';
|
|
8
|
+
export { useLayoutEvent } from './hooks/useLayoutEvent';
|
|
9
|
+
export { usePrevious } from './hooks/usePrevious';
|
|
10
|
+
export { useSticky } from './hooks/useSticky';
|
|
11
|
+
export { useWindowSize } from './hooks/useWindowSize';
|
|
12
|
+
export { useSize } from './hooks/useSize';
|
|
13
|
+
export * from './constants';
|
|
12
14
|
//# sourceMappingURL=index.d.ts.map
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,cAAc,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,cAAc,aAAa,CAAC"}
|
package/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{t as theme}from"./index-
|
|
1
|
+
export{t as theme}from"./index-d1c9177a.js";export{B as Breakpoint,u as useBreakpoint}from"./useBreakpoint-3186b97e.js";import{_ as e}from"./_rollupPluginBabelHelpers-6b3099b0.js";import{useState as n,useEffect as o}from"react";export{u as useFocusTrap,a as useIntersectionObserver,b as useIsVisible}from"./useIsVisible-f5d49913.js";export{u as useHover}from"./useHover-507fb85a.js";export{u as useLayoutEvent,a as useWindowSize}from"./useWindowSize-58f26dea.js";export{u as usePrevious}from"./usePrevious-ae293b10.js";export{u as useSticky}from"./useSticky-a572c326.js";export{A as AnalyticsId,F as FormMode,a as FormVariant,I as IconSize,Z as ZIndex}from"./constants-075356e2.js";import"./palette-f206f488.js";import"./grid-c105cad1.js";var r=['a[href]:not([tabindex^="-"])','area[href]:not([tabindex^="-"])','input:not([type="hidden"]):not([type="radio"]):not([disabled]):not([tabindex^="-"])','input[type="radio"]:not([disabled]):not([tabindex^="-"])','select:not([disabled]):not([tabindex^="-"])','textarea:not([disabled]):not([tabindex^="-"])','button:not([disabled]):not([tabindex^="-"])','iframe:not([tabindex^="-"])','audio[controls]:not([tabindex^="-"])','video[controls]:not([tabindex^="-"])','[contenteditable]:not([tabindex^="-"])','[tabindex]:not([tabindex^="-"])'].join(","),i=function(t,a){var i=n(),s=e(i,2),u=s[0],d=s[1];return o((function(){var e=function(){var e,n=null===(e=t.current)||void 0===e?void 0:e.querySelectorAll(r);d(n)},n=new MutationObserver(e);return(null==t?void 0:t.current)&&n.observe(t.current,{subtree:!0,childList:!0}),e(),function(){n.disconnect()}}),[t]),o((function(){a?null==u||u.forEach((function(e){var t=e.getAttribute("data-tabindex");t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")})):null==u||u.forEach((function(e){e.hasAttribute("tabindex")&&e.setAttribute("data-tabindex","".concat(e.tabIndex)),e.tabIndex=-1}))}),[a,u]),u},s=function(t){var r=n(),a=e(r,2),i=a[0],s=a[1];return o((function(){var e=new ResizeObserver((function(e){s(e[0].target.getBoundingClientRect())}));return(null==t?void 0:t.current)&&e.observe(null==t?void 0:t.current),e.disconnect}),[t]),i};export{i as useFocusToggle,s as useSize};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|