@helsenorge/designsystem-react 1.0.0-beta103 → 1.0.0-beta107
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Button-7e82091f.js +2 -0
- package/Button-7e82091f.js.map +1 -0
- package/CHANGELOG.md +52 -52
- package/Checkbox-f2418dc5.js +2 -0
- package/Checkbox-f2418dc5.js.map +1 -0
- package/Close-d81081c8.js +2 -0
- package/Close-d81081c8.js.map +1 -0
- package/FormGroup-af33981a.js +2 -0
- package/FormGroup-af33981a.js.map +1 -0
- package/Input-31d7accc.js +2 -0
- package/Input-31d7accc.js.map +1 -0
- package/{Loader-fa16a352.js → Loader-bc13d060.js} +2 -2
- package/Loader-bc13d060.js.map +1 -0
- package/Modal-ff546be0.js +2 -0
- package/Modal-ff546be0.js.map +1 -0
- package/README.md +69 -69
- package/{RadioButton-fe4bbd36.js → RadioButton-c173d440.js} +2 -2
- package/RadioButton-c173d440.js.map +1 -0
- package/{Textarea-e1d1144c.js → Textarea-78e20c9a.js} +2 -2
- package/Textarea-78e20c9a.js.map +1 -0
- package/{Title-af53f589.js → Title-9df559dd.js} +2 -2
- package/Title-9df559dd.js.map +1 -0
- package/{Validation-fd3f7f58.js → Validation-4041c083.js} +2 -2
- package/Validation-4041c083.js.map +1 -0
- package/components/AnchorLink/AnchorLink.d.ts +18 -18
- package/components/AnchorLink/index.d.ts +3 -3
- package/components/AnchorLink/index.js +1 -1
- package/components/AnchorLink/styles.module.scss +63 -63
- package/components/AnchorLink/styles.module.scss.d.ts +10 -10
- package/components/Avatar/Avatar.d.ts +15 -15
- package/components/Avatar/index.d.ts +3 -3
- package/components/Avatar/index.js +1 -1
- package/components/Avatar/styles.module.scss +22 -22
- package/components/Avatar/styles.module.scss.d.ts +11 -11
- package/components/Badge/Badge.d.ts +16 -16
- package/components/Badge/index.d.ts +3 -3
- package/components/Badge/index.js +1 -1
- package/components/Badge/styles.module.scss +41 -41
- package/components/Badge/styles.module.scss.d.ts +17 -17
- package/components/Button/Button.d.ts +41 -39
- package/components/Button/Button.d.ts.map +1 -1
- package/components/Button/componentdata.json +19 -0
- package/components/Button/index.d.ts +3 -3
- package/components/Button/index.js +1 -1
- package/components/Button/styles.module.scss +434 -434
- package/components/Button/styles.module.scss.d.ts +34 -34
- package/components/ButtonWithModal/ButtonWithModal.d.ts +10 -10
- package/components/ButtonWithModal/index.d.ts +3 -3
- package/components/ButtonWithModal/index.js +1 -1
- package/components/Checkbox/Checkbox.d.ts +30 -30
- package/components/Checkbox/index.d.ts +3 -3
- package/components/Checkbox/index.js +1 -1
- package/components/Checkbox/styles.module.scss +204 -204
- package/components/Checkbox/styles.module.scss.d.ts +26 -26
- package/components/Close/Close.d.ts +11 -11
- package/components/Close/index.d.ts +3 -3
- package/components/Close/index.js +1 -1
- package/components/Close/styles.module.scss +32 -32
- package/components/Close/styles.module.scss.d.ts +9 -9
- package/components/Expander/Expander.d.ts +32 -32
- package/components/Expander/Expander.d.ts.map +1 -1
- package/components/Expander/index.d.ts +3 -3
- package/components/Expander/index.js +1 -1
- package/components/Expander/styles.module.scss +165 -165
- package/components/Expander/styles.module.scss.d.ts +42 -42
- package/components/ExpanderList/ExpanderList.d.ts +47 -45
- package/components/ExpanderList/ExpanderList.d.ts.map +1 -1
- package/components/ExpanderList/index.d.ts +3 -3
- package/components/ExpanderList/index.js +1 -1
- package/components/ExpanderList/styles.module.scss +160 -155
- package/components/ExpanderList/styles.module.scss.d.ts +28 -27
- package/components/FormExample/FormExample.d.ts +15 -15
- package/components/FormExample/index.d.ts +3 -3
- package/components/FormExample/index.js +1 -1
- package/components/FormExample/index.js.map +1 -1
- package/components/FormGroup/FormGroup.d.ts +24 -24
- package/components/FormGroup/index.d.ts +3 -3
- package/components/FormGroup/index.js +1 -1
- package/components/FormGroup/styles.module.scss +67 -67
- package/components/FormGroup/styles.module.scss.d.ts +16 -16
- package/components/HighlightBox/HighlightBox.d.ts +26 -23
- package/components/HighlightBox/HighlightBox.d.ts.map +1 -1
- package/components/HighlightBox/componentdata.json +19 -0
- package/components/HighlightBox/index.d.ts +3 -3
- package/components/HighlightBox/index.js +1 -1
- package/components/HighlightBox/styles.module.scss +174 -89
- package/components/Icons/ActiveMonitoring.d.ts +4 -4
- package/components/Icons/AcupunctureBack.d.ts +4 -4
- package/components/Icons/AcupunctureBack.js +1 -1
- package/components/Icons/AdditionalIconInformation.js +263 -263
- package/components/Icons/AdditionalIconInformation.js.map +1 -1
- package/components/Icons/AlarmClock.d.ts +4 -4
- package/components/Icons/AlertSignFill.d.ts +4 -4
- package/components/Icons/AlertSignStroke.d.ts +4 -4
- package/components/Icons/Amputation.d.ts +4 -4
- package/components/Icons/Anxiety.d.ts +4 -4
- package/components/Icons/Apple.d.ts +4 -4
- package/components/Icons/Archive.d.ts +4 -4
- package/components/Icons/ArmFlexing.d.ts +4 -4
- package/components/Icons/ArrowLeft.d.ts +4 -4
- package/components/Icons/ArrowRight.d.ts +4 -4
- package/components/Icons/ArrowUpRight.d.ts +4 -4
- package/components/Icons/Attachment.d.ts +4 -4
- package/components/Icons/Atv.d.ts +4 -4
- package/components/Icons/Avatar.d.ts +4 -4
- package/components/Icons/AwakePersonOnPillow.d.ts +4 -4
- package/components/Icons/Baby.d.ts +4 -4
- package/components/Icons/BandAid.d.ts +4 -4
- package/components/Icons/BeerAndPills.d.ts +4 -4
- package/components/Icons/Bell.d.ts +4 -4
- package/components/Icons/Bike.d.ts +4 -4
- package/components/Icons/BirthControl.d.ts +4 -4
- package/components/Icons/BirthdayCake.d.ts +4 -4
- package/components/Icons/Boat.d.ts +4 -4
- package/components/Icons/Body.d.ts +4 -4
- package/components/Icons/Brain.d.ts +4 -4
- package/components/Icons/BreastReconstruction.d.ts +4 -4
- package/components/Icons/BreastRemoval.d.ts +4 -4
- package/components/Icons/Breasts.d.ts +4 -4
- package/components/Icons/BrokenHeart.d.ts +4 -4
- package/components/Icons/BrokenPuzzle.d.ts +4 -4
- package/components/Icons/Bus.d.ts +4 -4
- package/components/Icons/Calendar.d.ts +4 -4
- package/components/Icons/CalendarChange.d.ts +4 -4
- package/components/Icons/CalendarCheck.d.ts +4 -4
- package/components/Icons/CalendarEvent.d.ts +4 -4
- package/components/Icons/CalendarSave.d.ts +4 -4
- package/components/Icons/Cancer.d.ts +4 -4
- package/components/Icons/Car.d.ts +4 -4
- package/components/Icons/Change.d.ts +4 -4
- package/components/Icons/Check.d.ts +4 -4
- package/components/Icons/CheckOutline.d.ts +4 -4
- package/components/Icons/Chest.d.ts +4 -4
- package/components/Icons/ChevronDown.d.ts +4 -4
- package/components/Icons/ChevronLeft.d.ts +4 -4
- package/components/Icons/ChevronRight.d.ts +4 -4
- package/components/Icons/ChevronUp.d.ts +4 -4
- package/components/Icons/ChevronsDown.d.ts +4 -4
- package/components/Icons/ChevronsUp.d.ts +4 -4
- package/components/Icons/ChildPlaying.d.ts +4 -4
- package/components/Icons/Cigarette.d.ts +4 -4
- package/components/Icons/Contacts.d.ts +4 -4
- package/components/Icons/Copy.d.ts +4 -4
- package/components/Icons/CoronaCertificate.d.ts +4 -4
- package/components/Icons/Coronavirus.d.ts +4 -4
- package/components/Icons/Cough.d.ts +4 -4
- package/components/Icons/CriticalHealthInfo.d.ts +4 -4
- package/components/Icons/Cross.d.ts +4 -4
- package/components/Icons/DataExchange.d.ts +4 -4
- package/components/Icons/DataReceived.d.ts +4 -4
- package/components/Icons/DataSent.d.ts +4 -4
- package/components/Icons/Depression.d.ts +4 -4
- package/components/Icons/DigestiveSystem.d.ts +4 -4
- package/components/Icons/Dizzy.d.ts +4 -4
- package/components/Icons/Documents.d.ts +4 -4
- package/components/Icons/Dog.d.ts +4 -4
- package/components/Icons/DonorCard.d.ts +4 -4
- package/components/Icons/Download.d.ts +4 -4
- package/components/Icons/Draft.d.ts +4 -4
- package/components/Icons/EChat.d.ts +4 -4
- package/components/Icons/EarNoseThroat.d.ts +4 -4
- package/components/Icons/ElderlyPerson.d.ts +4 -4
- package/components/Icons/Embolization.d.ts +4 -4
- package/components/Icons/EnterFullScreen.d.ts +4 -4
- package/components/Icons/Envelope.d.ts +4 -4
- package/components/Icons/Epilepsy.d.ts +4 -4
- package/components/Icons/Eraser.d.ts +4 -4
- package/components/Icons/ErrorSignFill.d.ts +4 -4
- package/components/Icons/ErrorSignStroke.d.ts +4 -4
- package/components/Icons/EuropeanHealthCard.d.ts +4 -4
- package/components/Icons/ExitFullScreen.d.ts +4 -4
- package/components/Icons/Eye.d.ts +4 -4
- package/components/Icons/Facebook.d.ts +4 -4
- package/components/Icons/Female.d.ts +4 -4
- package/components/Icons/FemaleDoctor.d.ts +4 -4
- package/components/Icons/Ferry.d.ts +4 -4
- package/components/Icons/FingerBleed.d.ts +4 -4
- package/components/Icons/FirstAidKit.d.ts +4 -4
- package/components/Icons/FloppyDisk.d.ts +4 -4
- package/components/Icons/Football.d.ts +4 -4
- package/components/Icons/Form.d.ts +4 -4
- package/components/Icons/Forward.d.ts +4 -4
- package/components/Icons/Gallery.d.ts +4 -4
- package/components/Icons/Garden.d.ts +4 -4
- package/components/Icons/GasCan.d.ts +4 -4
- package/components/Icons/GenderIdentity.d.ts +4 -4
- package/components/Icons/Globe.d.ts +4 -4
- package/components/Icons/HandWaving.d.ts +4 -4
- package/components/Icons/HandWithDisease.d.ts +4 -4
- package/components/Icons/HealthClinic.d.ts +4 -4
- package/components/Icons/HealthWarning.d.ts +4 -4
- package/components/Icons/Heart.d.ts +4 -4
- package/components/Icons/HelpSign.d.ts +4 -4
- package/components/Icons/HelpingHand.d.ts +4 -4
- package/components/Icons/Hemodialysis.d.ts +4 -4
- package/components/Icons/Hiker.d.ts +4 -4
- package/components/Icons/Hipprosthesis.d.ts +4 -4
- package/components/Icons/History.d.ts +4 -4
- package/components/Icons/HivAndAids.d.ts +4 -4
- package/components/Icons/Home.d.ts +4 -4
- package/components/Icons/Hormone.d.ts +4 -4
- package/components/Icons/Hospital.d.ts +4 -4
- package/components/Icons/Hourglass.d.ts +4 -4
- package/components/Icons/Icon.d.ts +22 -22
- package/components/Icons/Icon.js +1 -1
- package/components/Icons/ImgFile.d.ts +4 -4
- package/components/Icons/Inbox.d.ts +4 -4
- package/components/Icons/InfoSignFill.d.ts +4 -4
- package/components/Icons/InfoSignStroke.d.ts +4 -4
- package/components/Icons/Instagram.d.ts +4 -4
- package/components/Icons/Intravenous.d.ts +4 -4
- package/components/Icons/JointPain.d.ts +4 -4
- package/components/Icons/Journal.d.ts +4 -4
- package/components/Icons/JpgFile.d.ts +4 -4
- package/components/Icons/Kidney.d.ts +4 -4
- package/components/Icons/KitchenScale.d.ts +4 -4
- package/components/Icons/Kjernejournal.d.ts +4 -4
- package/components/Icons/Laboratory.d.ts +4 -4
- package/components/Icons/LaptopBlog.d.ts +4 -4
- package/components/Icons/LawBook.d.ts +4 -4
- package/components/Icons/LightBulb.d.ts +4 -4
- package/components/Icons/List.d.ts +4 -4
- package/components/Icons/Location.d.ts +4 -4
- package/components/Icons/Lock.d.ts +4 -4
- package/components/Icons/Lungs.d.ts +4 -4
- package/components/Icons/Makeup.d.ts +4 -4
- package/components/Icons/MaleDoctor.d.ts +4 -4
- package/components/Icons/MaleDoctorAndPerson.d.ts +4 -4
- package/components/Icons/MaleGenitalia.d.ts +4 -4
- package/components/Icons/Medicine.d.ts +4 -4
- package/components/Icons/MedicineWarning.d.ts +4 -4
- package/components/Icons/MentalHealthAdult.d.ts +4 -4
- package/components/Icons/MentalHealthChild.d.ts +4 -4
- package/components/Icons/Menu.d.ts +4 -4
- package/components/Icons/Microscope.d.ts +4 -4
- package/components/Icons/Minus.d.ts +4 -4
- package/components/Icons/Mirror.d.ts +4 -4
- package/components/Icons/MobilePhone.d.ts +4 -4
- package/components/Icons/MotherHoldingBaby.d.ts +4 -4
- package/components/Icons/MuscleBack.d.ts +4 -4
- package/components/Icons/MuscleLeg.d.ts +4 -4
- package/components/Icons/Mushroom.d.ts +4 -4
- package/components/Icons/Music.d.ts +4 -4
- package/components/Icons/MusselsAndSalt.d.ts +4 -4
- package/components/Icons/NoEye.d.ts +4 -4
- package/components/Icons/NoEye.js +1 -1
- package/components/Icons/NoFilter.d.ts +4 -4
- package/components/Icons/Notepad.d.ts +4 -4
- package/components/Icons/Osteotomy.d.ts +4 -4
- package/components/Icons/PaintRoller.d.ts +4 -4
- package/components/Icons/PaperPlane.d.ts +4 -4
- package/components/Icons/PatientAndPerson.d.ts +4 -4
- package/components/Icons/Pause.d.ts +4 -4
- package/components/Icons/PdfFile.d.ts +4 -4
- package/components/Icons/Pencil.d.ts +4 -4
- package/components/Icons/PeopleTalking.d.ts +4 -4
- package/components/Icons/Peritonealdialysis.d.ts +4 -4
- package/components/Icons/Person.d.ts +4 -4
- package/components/Icons/PersonAndPatient.d.ts +4 -4
- package/components/Icons/PersonInXRayMachine.d.ts +4 -4
- package/components/Icons/PersonOverweight.d.ts +4 -4
- package/components/Icons/PersonRelaxing.d.ts +4 -4
- package/components/Icons/PersonWithBrain.d.ts +4 -4
- package/components/Icons/PersonWithBrokenArm.d.ts +4 -4
- package/components/Icons/PersonWithCrutches.d.ts +4 -4
- package/components/Icons/PersonWithJaw.d.ts +4 -4
- package/components/Icons/PersonWithMagnifyingGlass.d.ts +4 -4
- package/components/Icons/PersonWithSenses.d.ts +4 -4
- package/components/Icons/PersonWorking.d.ts +4 -4
- package/components/Icons/PizzaSlice.d.ts +4 -4
- package/components/Icons/Plane.d.ts +4 -4
- package/components/Icons/Plant.d.ts +4 -4
- package/components/Icons/Play.d.ts +4 -4
- package/components/Icons/PlusLarge.d.ts +4 -4
- package/components/Icons/PlusSmall.d.ts +4 -4
- package/components/Icons/PngFile.d.ts +4 -4
- package/components/Icons/Podcast.d.ts +4 -4
- package/components/Icons/PoisonInformation.d.ts +4 -4
- package/components/Icons/Pregnant.d.ts +4 -4
- package/components/Icons/Printer.d.ts +4 -4
- package/components/Icons/Psychosis.d.ts +4 -4
- package/components/Icons/Publication.d.ts +4 -4
- package/components/Icons/Puzzle.d.ts +4 -4
- package/components/Icons/QrCode.d.ts +4 -4
- package/components/Icons/Quarrel.d.ts +4 -4
- package/components/Icons/RadioTherapy.d.ts +4 -4
- package/components/Icons/RadioactiveTreatment.d.ts +4 -4
- package/components/Icons/Radioiodine.d.ts +4 -4
- package/components/Icons/Receipt.d.ts +4 -4
- package/components/Icons/Receptionist.d.ts +4 -4
- package/components/Icons/Recovery.d.ts +4 -4
- package/components/Icons/Referral.d.ts +4 -4
- package/components/Icons/Refresh.d.ts +4 -4
- package/components/Icons/Refund.d.ts +4 -4
- package/components/Icons/Reply.d.ts +4 -4
- package/components/Icons/Rocket.d.ts +4 -4
- package/components/Icons/RtfFile.d.ts +4 -4
- package/components/Icons/STDs.d.ts +4 -4
- package/components/Icons/Save.d.ts +4 -4
- package/components/Icons/Scale.d.ts +4 -4
- package/components/Icons/Search.d.ts +4 -4
- package/components/Icons/SectionSign.d.ts +4 -4
- package/components/Icons/SectionSign.js +1 -1
- package/components/Icons/Settings.d.ts +4 -4
- package/components/Icons/Sexualorientation.d.ts +4 -4
- package/components/Icons/ShakingHand.d.ts +4 -4
- package/components/Icons/Share.d.ts +4 -4
- package/components/Icons/Shield.d.ts +4 -4
- package/components/Icons/ShuntOperation.d.ts +4 -4
- package/components/Icons/Skeleton.d.ts +4 -4
- package/components/Icons/Skin.d.ts +4 -4
- package/components/Icons/Snake.d.ts +4 -4
- package/components/Icons/Snapchat.d.ts +4 -4
- package/components/Icons/SpeechBubble.d.ts +4 -4
- package/components/Icons/SpeechBubble.js +1 -1
- package/components/Icons/Spray.d.ts +4 -4
- package/components/Icons/Stopwatch.d.ts +4 -4
- package/components/Icons/SupportingPerson.d.ts +4 -4
- package/components/Icons/SupportingPerson.js +1 -1
- package/components/Icons/Surgery.d.ts +4 -4
- package/components/Icons/Syringe.d.ts +4 -4
- package/components/Icons/Syringe.js +1 -1
- package/components/Icons/Taxi.d.ts +4 -4
- package/components/Icons/TeddyBear.d.ts +4 -4
- package/components/Icons/Teenagers.d.ts +4 -4
- package/components/Icons/ThinkingAboutBaby.d.ts +4 -4
- package/components/Icons/Ticket.d.ts +4 -4
- package/components/Icons/TimePassing.d.ts +4 -4
- package/components/Icons/Toolbox.d.ts +4 -4
- package/components/Icons/Tooth.d.ts +4 -4
- package/components/Icons/TotalKneeProsthesis.d.ts +4 -4
- package/components/Icons/Train.d.ts +4 -4
- package/components/Icons/Transplantation.d.ts +4 -4
- package/components/Icons/TrashCan.d.ts +4 -4
- package/components/Icons/Twitter.d.ts +4 -4
- package/components/Icons/Undo.d.ts +4 -4
- package/components/Icons/UniProsthesis.d.ts +4 -4
- package/components/Icons/Upload.d.ts +4 -4
- package/components/Icons/UserOrganization.d.ts +4 -4
- package/components/Icons/Vaccine.d.ts +4 -4
- package/components/Icons/VerticalDots.d.ts +4 -4
- package/components/Icons/VideoCamera.d.ts +4 -4
- package/components/Icons/VideoChat.d.ts +4 -4
- package/components/Icons/Wallet.d.ts +4 -4
- package/components/Icons/Watch.d.ts +4 -4
- package/components/Icons/Website.d.ts +4 -4
- package/components/Icons/Wheelchair.d.ts +4 -4
- package/components/Icons/WheelchairActive.d.ts +4 -4
- package/components/Icons/Window.d.ts +4 -4
- package/components/Icons/WordDocument.d.ts +4 -4
- package/components/Icons/WorkSuitcase.d.ts +4 -4
- package/components/Icons/X.d.ts +4 -4
- package/components/Icons/XOutline.d.ts +4 -4
- package/components/Icons/XmlFile.d.ts +4 -4
- package/components/Icons/YouTube.d.ts +4 -4
- package/components/Icons/Zoom.d.ts +4 -4
- package/components/Icons/index.d.ts +4 -4
- package/components/Icons/index.js +1 -1
- package/components/Input/Input.d.ts +54 -54
- package/components/Input/index.d.ts +3 -3
- package/components/Input/index.js +1 -1
- package/components/Input/styles.module.scss +59 -59
- package/components/Input/styles.module.scss.d.ts +23 -23
- package/components/LinkList/LinkList.d.ts +41 -41
- package/components/LinkList/index.d.ts +3 -3
- package/components/LinkList/index.js +1 -1
- package/components/LinkList/styles.module.scss +147 -147
- package/components/LinkList/styles.module.scss.d.ts +26 -26
- package/components/List/List.d.ts +9 -9
- package/components/List/index.d.ts +3 -3
- package/components/List/index.js +1 -1
- package/components/List/styles.module.scss +11 -11
- package/components/List/styles.module.scss.d.ts +10 -10
- package/components/Loader/Loader.d.ts +32 -32
- package/components/Loader/index.d.ts +3 -3
- package/components/Loader/index.js +1 -1
- package/components/Loader/styles.module.scss +194 -194
- package/components/Logo/Logo.d.ts +17 -17
- package/components/Logo/index.d.ts +3 -3
- package/components/Logo/index.js +1 -1
- package/components/Modal/Modal.d.ts +69 -69
- package/components/Modal/__mocks__/IntersectionObserver.d.ts +5 -5
- package/components/Modal/index.d.ts +3 -3
- package/components/Modal/index.js +1 -1
- package/components/Modal/styles.module.scss +243 -243
- package/components/Modal/styles.module.scss.d.ts +41 -41
- package/components/NotificationPanel/NotificationPanel.d.ts +47 -47
- package/components/NotificationPanel/NotificationPanel.d.ts.map +1 -1
- package/components/NotificationPanel/componentdata.json +1 -1
- package/components/NotificationPanel/index.d.ts +3 -3
- package/components/NotificationPanel/index.js +1 -1
- package/components/NotificationPanel/styles.module.scss +153 -138
- package/components/NotificationPanel/styles.module.scss.d.ts +33 -34
- package/components/Portal/index.d.ts +12 -12
- package/components/Portal/index.js +1 -1
- package/components/RadioButton/RadioButton.d.ts +30 -30
- package/components/RadioButton/index.d.ts +3 -3
- package/components/RadioButton/index.js +1 -1
- package/components/RadioButton/styles.module.scss +236 -236
- package/components/RadioButton/styles.module.scss.d.ts +23 -23
- package/components/Slider/Slider.d.ts +19 -19
- package/components/Slider/SliderUtils.d.ts +40 -40
- package/components/Slider/index.d.ts +3 -3
- package/components/Slider/index.js +1 -1
- package/components/Slider/styles.module.scss +85 -85
- package/components/Slider/styles.module.scss.d.ts +19 -19
- package/components/Spacer/Spacer.d.ts +12 -12
- package/components/Spacer/index.d.ts +3 -3
- package/components/Spacer/index.js +1 -1
- package/components/Spacer/styles.module.scss +47 -47
- package/components/Spacer/styles.module.scss.d.ts +22 -22
- package/components/Textarea/Textarea.d.ts +36 -36
- package/components/Textarea/index.d.ts +3 -3
- package/components/Textarea/index.js +1 -1
- package/components/Textarea/styles.module.scss +57 -57
- package/components/Textarea/styles.module.scss.d.ts +26 -26
- package/components/Tile/Tile.d.ts +33 -33
- package/components/Tile/index.d.ts +3 -3
- package/components/Tile/index.js +1 -1
- package/components/Tile/styles.module.scss +115 -115
- package/components/Tile/styles.module.scss.d.ts +18 -18
- package/components/Title/Title.d.ts +25 -25
- package/components/Title/index.d.ts +3 -3
- package/components/Title/index.js +1 -1
- package/components/Title/styles.module.scss +27 -27
- package/components/Title/styles.module.scss.d.ts +15 -15
- package/components/Validation/Validation.d.ts +16 -16
- package/components/Validation/index.d.ts +3 -3
- package/components/Validation/index.js +1 -1
- package/components/Validation/styles.module.scss +18 -18
- package/components/Validation/styles.module.scss.d.ts +10 -10
- package/constants-eb74321e.js +2 -0
- package/constants-eb74321e.js.map +1 -0
- package/constants.d.ts +91 -90
- package/constants.d.ts.map +1 -1
- package/hooks/focus-utils.d.ts +6 -6
- package/hooks/useBreakpoint.d.ts +12 -12
- package/hooks/useFocusToggle.d.ts +13 -13
- package/hooks/useFocusTrap.d.ts +3 -3
- package/hooks/useHover.d.ts +11 -11
- package/hooks/useIcons.d.ts +3 -3
- package/hooks/useIntersectionObserver.d.ts +10 -10
- package/hooks/useIsVisible.d.ts +9 -9
- package/hooks/useLayoutEvent.d.ts +8 -8
- package/hooks/usePrevious.d.ts +7 -0
- package/hooks/usePrevious.d.ts.map +1 -0
- package/hooks/useSize.d.ts +9 -0
- package/hooks/useSize.d.ts.map +1 -0
- package/hooks/useSticky.d.ts +20 -20
- package/hooks/useWindowSize.d.ts +4 -4
- package/index.d.ts +13 -11
- package/index.d.ts.map +1 -1
- package/index.js +1 -1
- package/package.json +2 -6
- 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 -175
- package/scss/_palette.scss +136 -136
- package/scss/_print.scss +176 -176
- package/scss/_reset.scss +13 -13
- package/scss/_spacers.scss +40 -40
- package/scss/_title.scss +59 -59
- package/scss/helsenorge.scss +8 -8
- package/scss/typography.module.scss +154 -154
- package/theme/currys/color.d.ts +3 -3
- package/theme/currys/index.d.ts +2 -2
- package/theme/currys/spacing.d.ts +3 -3
- package/theme/grid.d.ts +20 -20
- package/theme/index.d.ts +98 -98
- package/theme/palette.d.ts +67 -67
- package/theme/spacers.d.ts +18 -18
- package/usePrevious-ae293b10.js +2 -0
- package/usePrevious-ae293b10.js.map +1 -0
- package/useSticky-d61d1f0b.js +2 -0
- package/useSticky-d61d1f0b.js.map +1 -0
- package/utils/debounce.d.ts +7 -7
- package/utils/uuid.d.ts +2 -2
- package/utils/viewport.d.ts +1 -1
- package/AlertSignFill-e607ff43.js +0 -2
- package/AlertSignFill-e607ff43.js.map +0 -1
- package/Button-d5147e38.js +0 -2
- package/Button-d5147e38.js.map +0 -1
- package/Check-6291ad09.js +0 -2
- package/Check-6291ad09.js.map +0 -1
- package/Checkbox-798282e4.js +0 -2
- package/Checkbox-798282e4.js.map +0 -1
- package/ChevronUp-4b6797ef.js +0 -2
- package/ChevronUp-4b6797ef.js.map +0 -1
- package/Close-35ad7d35.js +0 -2
- package/Close-35ad7d35.js.map +0 -1
- package/FormGroup-0577b07f.js +0 -2
- package/FormGroup-0577b07f.js.map +0 -1
- package/Icon-89da8de4.js +0 -2
- package/Icon-89da8de4.js.map +0 -1
- package/Input-19650c24.js +0 -2
- package/Input-19650c24.js.map +0 -1
- package/Loader-fa16a352.js.map +0 -1
- package/Modal-ad02991b.js +0 -2
- package/Modal-ad02991b.js.map +0 -1
- package/RadioButton-fe4bbd36.js.map +0 -1
- package/Textarea-e1d1144c.js.map +0 -1
- package/Title-af53f589.js.map +0 -1
- package/Validation-fd3f7f58.js.map +0 -1
- package/constants-ad6c82db.js +0 -2
- package/constants-ad6c82db.js.map +0 -1
- package/useSticky-194f2b78.js +0 -2
- package/useSticky-194f2b78.js.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export type Styles = {
|
|
2
|
-
anchorlink: string;
|
|
3
|
-
anchorlink__icon: 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
|
+
anchorlink: string;
|
|
3
|
+
anchorlink__icon: string;
|
|
4
|
+
};
|
|
5
|
+
|
|
6
|
+
export type ClassNames = keyof Styles;
|
|
7
|
+
|
|
8
|
+
declare const styles: Styles;
|
|
9
|
+
|
|
10
|
+
export default styles;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface AvatarProps {
|
|
3
|
-
/** Name to display in the avatar. Will be truncated to the first two characters. */
|
|
4
|
-
children: string;
|
|
5
|
-
/** Displays a check icon to indicated the selected state. */
|
|
6
|
-
selected?: boolean;
|
|
7
|
-
/** background and color will be determined on variant. */
|
|
8
|
-
variant?: 'normal' | 'black';
|
|
9
|
-
/** Adds custom classes to the element. */
|
|
10
|
-
className?: string;
|
|
11
|
-
/** Sets the data-testid attribute. */
|
|
12
|
-
testId?: string;
|
|
13
|
-
}
|
|
14
|
-
declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLElement>>;
|
|
15
|
-
export default Avatar;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface AvatarProps {
|
|
3
|
+
/** Name to display in the avatar. Will be truncated to the first two characters. */
|
|
4
|
+
children: string;
|
|
5
|
+
/** Displays a check icon to indicated the selected state. */
|
|
6
|
+
selected?: boolean;
|
|
7
|
+
/** background and color will be determined on variant. */
|
|
8
|
+
variant?: 'normal' | 'black';
|
|
9
|
+
/** Adds custom classes to the element. */
|
|
10
|
+
className?: string;
|
|
11
|
+
/** Sets the data-testid attribute. */
|
|
12
|
+
testId?: string;
|
|
13
|
+
}
|
|
14
|
+
declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLElement>>;
|
|
15
|
+
export default Avatar;
|
|
16
16
|
//# sourceMappingURL=Avatar.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Avatar from './Avatar';
|
|
2
|
-
export * from './Avatar';
|
|
3
|
-
export default Avatar;
|
|
1
|
+
import Avatar from './Avatar';
|
|
2
|
+
export * from './Avatar';
|
|
3
|
+
export default Avatar;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import a from"react";import{
|
|
1
|
+
import a from"react";import{Icon as t}from"../Icons/Icon.js";import{A as e,I as r}from"../../constants-eb74321e.js";import s from"../Icons/Check.js";import{c as o}from"../../index-9b84fabc.js";import c from"./styles.module.scss";import{p as l}from"../../palette-f206f488.js";import"../../_tslib-51c8a283.js";var m=a.forwardRef((function(m,i){var n=m.children,d=m.className,f=void 0===d?"":d,p=m.selected,v=void 0!==p&&p,b=m.variant,u=void 0===b?"normal":b,j=m.testId,I=n.charAt(0).toLocaleUpperCase()+n.substring(1,2);return a.createElement("span",{className:o(c.avatar,v&&c["avatar--selected"],"black"===u&&c["avatar--black"],f),ref:i,"data-testid":j,"data-analyticsid":e.Avatar},v?a.createElement(t,{svgIcon:s,size:r.Small,color:"black"===u?l.neutral900:l.blueberry600}):I)}));export default m;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
@import '../../scss/_palette.scss';
|
|
2
|
-
|
|
3
|
-
.avatar {
|
|
4
|
-
display: flex;
|
|
5
|
-
justify-content: center;
|
|
6
|
-
align-items: center;
|
|
7
|
-
width: 3rem;
|
|
8
|
-
height: 3rem;
|
|
9
|
-
font-size: 1.5rem;
|
|
10
|
-
font-weight: 600;
|
|
11
|
-
background-color: $blueberry500;
|
|
12
|
-
color: $white;
|
|
13
|
-
&--selected {
|
|
14
|
-
background-color: transparent;
|
|
15
|
-
}
|
|
16
|
-
&--black {
|
|
17
|
-
background-color: $neutral900;
|
|
18
|
-
}
|
|
19
|
-
&--selected#{&}--black {
|
|
20
|
-
background-color: transparent;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
1
|
+
@import '../../scss/_palette.scss';
|
|
2
|
+
|
|
3
|
+
.avatar {
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
align-items: center;
|
|
7
|
+
width: 3rem;
|
|
8
|
+
height: 3rem;
|
|
9
|
+
font-size: 1.5rem;
|
|
10
|
+
font-weight: 600;
|
|
11
|
+
background-color: $blueberry500;
|
|
12
|
+
color: $white;
|
|
13
|
+
&--selected {
|
|
14
|
+
background-color: transparent;
|
|
15
|
+
}
|
|
16
|
+
&--black {
|
|
17
|
+
background-color: $neutral900;
|
|
18
|
+
}
|
|
19
|
+
&--selected#{&}--black {
|
|
20
|
+
background-color: transparent;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export type Styles = {
|
|
2
|
-
avatar: string;
|
|
3
|
-
'avatar--black': string;
|
|
4
|
-
'avatar--selected': string;
|
|
5
|
-
};
|
|
6
|
-
|
|
7
|
-
export type ClassNames = keyof Styles;
|
|
8
|
-
|
|
9
|
-
declare const styles: Styles;
|
|
10
|
-
|
|
11
|
-
export default styles;
|
|
1
|
+
export type Styles = {
|
|
2
|
+
avatar: string;
|
|
3
|
+
'avatar--black': string;
|
|
4
|
+
'avatar--selected': string;
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
export type ClassNames = keyof Styles;
|
|
8
|
+
|
|
9
|
+
declare const styles: Styles;
|
|
10
|
+
|
|
11
|
+
export default styles;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PaletteNames } from '../../theme/palette';
|
|
3
|
-
export declare type BadgeColors = PaletteNames;
|
|
4
|
-
export declare type BadgeChildren = string | number;
|
|
5
|
-
interface BadgeProps {
|
|
6
|
-
/** Sets the content of the badge. */
|
|
7
|
-
children: BadgeChildren;
|
|
8
|
-
/** Adds custom classes to the element. */
|
|
9
|
-
className?: string;
|
|
10
|
-
/** Changes the badge background color. */
|
|
11
|
-
color?: BadgeColors;
|
|
12
|
-
/** Sets the data-testid attribute. */
|
|
13
|
-
testId?: string;
|
|
14
|
-
}
|
|
15
|
-
declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLElement>>;
|
|
16
|
-
export default Badge;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PaletteNames } from '../../theme/palette';
|
|
3
|
+
export declare type BadgeColors = PaletteNames;
|
|
4
|
+
export declare type BadgeChildren = string | number;
|
|
5
|
+
interface BadgeProps {
|
|
6
|
+
/** Sets the content of the badge. */
|
|
7
|
+
children: BadgeChildren;
|
|
8
|
+
/** Adds custom classes to the element. */
|
|
9
|
+
className?: string;
|
|
10
|
+
/** Changes the badge background color. */
|
|
11
|
+
color?: BadgeColors;
|
|
12
|
+
/** Sets the data-testid attribute. */
|
|
13
|
+
testId?: string;
|
|
14
|
+
}
|
|
15
|
+
declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLElement>>;
|
|
16
|
+
export default Badge;
|
|
17
17
|
//# sourceMappingURL=Badge.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Badge from './Badge';
|
|
2
|
-
export * from './Badge';
|
|
3
|
-
export default Badge;
|
|
1
|
+
import Badge from './Badge';
|
|
2
|
+
export * from './Badge';
|
|
3
|
+
export default Badge;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as
|
|
1
|
+
import{b as e}from"../../_rollupPluginBabelHelpers-b8ef6dd9.js";import a from"react";import{c as r}from"../../index-9b84fabc.js";import t from"./styles.module.scss";import{A as d}from"../../constants-eb74321e.js";var b=a.forwardRef((function(b,l){var s,i=b.children,o=b.className,n=void 0===o?"":o,c=b.color,m=void 0===c?"black":c,g=b.testId,f=i.toString().length>2,u=r(t.badge,(e(s={},t["badge--oversized"],f),e(s,t["badge--black"],"black"===m),e(s,t["badge--white"],"white"===m),e(s,t["badge--blueberry"],"blueberry"===m),e(s,t["badge--banana"],"banana"===m),e(s,t["badge--cherry"],"cherry"===m),e(s,t["badge--kiwi"],"kiwi"===m),e(s,t["badge--neutral"],"neutral"===m),e(s,t["badge--plum"],"plum"===m),s),n);return a.createElement("span",{className:u,ref:l,"data-testid":g,"data-analyticsid":d.Badge},i)}));export default b;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
@import '../../scss/_palette.scss';
|
|
2
|
-
|
|
3
|
-
.badge {
|
|
4
|
-
display: flex;
|
|
5
|
-
justify-content: center;
|
|
6
|
-
align-items: center;
|
|
7
|
-
font-size: 0.875rem;
|
|
8
|
-
font-weight: 600;
|
|
9
|
-
min-width: 1.375rem;
|
|
10
|
-
height: 1.375rem;
|
|
11
|
-
border-radius: 1rem;
|
|
12
|
-
padding: 0;
|
|
13
|
-
color: $white;
|
|
14
|
-
background-color: $black;
|
|
15
|
-
|
|
16
|
-
&--oversized {
|
|
17
|
-
padding: 0 0.25rem;
|
|
18
|
-
}
|
|
19
|
-
&--white {
|
|
20
|
-
color: $black;
|
|
21
|
-
background-color: $white;
|
|
22
|
-
}
|
|
23
|
-
&--blueberry {
|
|
24
|
-
background-color: $blueberry500;
|
|
25
|
-
}
|
|
26
|
-
&--banana {
|
|
27
|
-
background-color: $banana500;
|
|
28
|
-
}
|
|
29
|
-
&--cherry {
|
|
30
|
-
background-color: $cherry500;
|
|
31
|
-
}
|
|
32
|
-
&--kiwi {
|
|
33
|
-
background-color: $kiwi500;
|
|
34
|
-
}
|
|
35
|
-
&--neutral {
|
|
36
|
-
background-color: $neutral500;
|
|
37
|
-
}
|
|
38
|
-
&--plum {
|
|
39
|
-
background-color: $plum500;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
1
|
+
@import '../../scss/_palette.scss';
|
|
2
|
+
|
|
3
|
+
.badge {
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
align-items: center;
|
|
7
|
+
font-size: 0.875rem;
|
|
8
|
+
font-weight: 600;
|
|
9
|
+
min-width: 1.375rem;
|
|
10
|
+
height: 1.375rem;
|
|
11
|
+
border-radius: 1rem;
|
|
12
|
+
padding: 0;
|
|
13
|
+
color: $white;
|
|
14
|
+
background-color: $black;
|
|
15
|
+
|
|
16
|
+
&--oversized {
|
|
17
|
+
padding: 0 0.25rem;
|
|
18
|
+
}
|
|
19
|
+
&--white {
|
|
20
|
+
color: $black;
|
|
21
|
+
background-color: $white;
|
|
22
|
+
}
|
|
23
|
+
&--blueberry {
|
|
24
|
+
background-color: $blueberry500;
|
|
25
|
+
}
|
|
26
|
+
&--banana {
|
|
27
|
+
background-color: $banana500;
|
|
28
|
+
}
|
|
29
|
+
&--cherry {
|
|
30
|
+
background-color: $cherry500;
|
|
31
|
+
}
|
|
32
|
+
&--kiwi {
|
|
33
|
+
background-color: $kiwi500;
|
|
34
|
+
}
|
|
35
|
+
&--neutral {
|
|
36
|
+
background-color: $neutral500;
|
|
37
|
+
}
|
|
38
|
+
&--plum {
|
|
39
|
+
background-color: $plum500;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export type Styles = {
|
|
2
|
-
badge: string;
|
|
3
|
-
'badge--banana': string;
|
|
4
|
-
'badge--blueberry': string;
|
|
5
|
-
'badge--cherry': string;
|
|
6
|
-
'badge--kiwi': string;
|
|
7
|
-
'badge--neutral': string;
|
|
8
|
-
'badge--oversized': string;
|
|
9
|
-
'badge--plum': string;
|
|
10
|
-
'badge--white': string;
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export type ClassNames = keyof Styles;
|
|
14
|
-
|
|
15
|
-
declare const styles: Styles;
|
|
16
|
-
|
|
17
|
-
export default styles;
|
|
1
|
+
export type Styles = {
|
|
2
|
+
badge: string;
|
|
3
|
+
'badge--banana': string;
|
|
4
|
+
'badge--blueberry': string;
|
|
5
|
+
'badge--cherry': string;
|
|
6
|
+
'badge--kiwi': string;
|
|
7
|
+
'badge--neutral': string;
|
|
8
|
+
'badge--oversized': string;
|
|
9
|
+
'badge--plum': string;
|
|
10
|
+
'badge--white': string;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export type ClassNames = keyof Styles;
|
|
14
|
+
|
|
15
|
+
declare const styles: Styles;
|
|
16
|
+
|
|
17
|
+
export default styles;
|
|
@@ -1,40 +1,42 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { HTMLButtonProps, HTMLAnchorProps } from '../../constants';
|
|
3
|
-
export declare type ButtonIntents = 'primary' | 'warning' | 'danger';
|
|
4
|
-
export declare type ButtonIntentsColors = 'blueberry' | 'banana' | 'cherry' | 'neutral' | 'white';
|
|
5
|
-
export declare type ButtonTags = 'button' | 'a';
|
|
6
|
-
export declare type ButtonVariants = 'fill' | 'outline' | 'borderless';
|
|
7
|
-
interface IntentToColor {
|
|
8
|
-
primary: ButtonIntentsColors;
|
|
9
|
-
warning: ButtonIntentsColors;
|
|
10
|
-
danger: ButtonIntentsColors;
|
|
11
|
-
}
|
|
12
|
-
export declare const intentToColor: IntentToColor;
|
|
13
|
-
export interface ButtonProps extends HTMLButtonProps, HTMLAnchorProps {
|
|
14
|
-
/**
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
|
|
22
|
-
/** Changes the
|
|
23
|
-
|
|
24
|
-
/** Changes the
|
|
25
|
-
|
|
26
|
-
/** Changes the
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { HTMLButtonProps, HTMLAnchorProps } from '../../constants';
|
|
3
|
+
export declare type ButtonIntents = 'primary' | 'warning' | 'danger';
|
|
4
|
+
export declare type ButtonIntentsColors = 'blueberry' | 'banana' | 'cherry' | 'neutral' | 'white';
|
|
5
|
+
export declare type ButtonTags = 'button' | 'a';
|
|
6
|
+
export declare type ButtonVariants = 'fill' | 'outline' | 'borderless';
|
|
7
|
+
interface IntentToColor {
|
|
8
|
+
primary: ButtonIntentsColors;
|
|
9
|
+
warning: ButtonIntentsColors;
|
|
10
|
+
danger: ButtonIntentsColors;
|
|
11
|
+
}
|
|
12
|
+
export declare const intentToColor: IntentToColor;
|
|
13
|
+
export interface ButtonProps extends HTMLButtonProps, HTMLAnchorProps {
|
|
14
|
+
/** Gives a unique id to the button */
|
|
15
|
+
id?: string;
|
|
16
|
+
/** Sets the content of the button. */
|
|
17
|
+
children: React.ReactNode;
|
|
18
|
+
/** Adds custom classes to the element. */
|
|
19
|
+
className?: string;
|
|
20
|
+
/** Makes the button scale to full width of its parent element. */
|
|
21
|
+
fluid?: boolean;
|
|
22
|
+
/** Changes the intent of the button. Mostly changes the color profile. */
|
|
23
|
+
intent?: ButtonIntents;
|
|
24
|
+
/** Changes the color presentation for different backgrounds. */
|
|
25
|
+
inverted?: boolean;
|
|
26
|
+
/** Changes the underlying element of the button. */
|
|
27
|
+
htmlMarkup?: ButtonTags;
|
|
28
|
+
/** Changes the size of the button to large. */
|
|
29
|
+
large?: boolean;
|
|
30
|
+
/** Sets the button into a loading state displaying <Loader /> as content. */
|
|
31
|
+
loading?: boolean;
|
|
32
|
+
onClick?: (e?: React.MouseEvent<HTMLElement, MouseEvent>) => void;
|
|
33
|
+
/** Changes the visual representation of the button. */
|
|
34
|
+
variant?: ButtonVariants;
|
|
35
|
+
/** Disables text wrapping and enables ellipsis. */
|
|
36
|
+
ellipsis?: boolean;
|
|
37
|
+
/** Sets the data-testid attribute. */
|
|
38
|
+
testId?: string;
|
|
39
|
+
}
|
|
40
|
+
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
41
|
+
export default Button;
|
|
40
42
|
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,eAAe,EAAE,eAAe,EAAe,MAAM,iBAAiB,CAAC;AAahF,oBAAY,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAC7D,oBAAY,mBAAmB,GAAG,WAAW,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAC;AAC1F,oBAAY,UAAU,GAAG,QAAQ,GAAG,GAAG,CAAC;AACxC,oBAAY,cAAc,GAAG,MAAM,GAAG,SAAS,GAAG,YAAY,CAAC;AAE/D,UAAU,aAAa;IACrB,OAAO,EAAE,mBAAmB,CAAC;IAC7B,OAAO,EAAE,mBAAmB,CAAC;IAC7B,MAAM,EAAE,mBAAmB,CAAC;CAC7B;AAED,eAAO,MAAM,aAAa,EAAE,aAI3B,CAAC;AAEF,MAAM,WAAW,WAAY,SAAQ,eAAe,EAAE,eAAe;IACnE,sCAAsC;IACtC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kEAAkE;IAClE,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,0EAA0E;IAC1E,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,gEAAgE;IAChE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oDAAoD;IACpD,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,+CAA+C;IAC/C,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,6EAA6E;IAC7E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,KAAK,IAAI,CAAC;IAClE,uDAAuD;IACvD,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,mDAAmD;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAeD,QAAA,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,eAAe,EAAE,eAAe,EAAe,MAAM,iBAAiB,CAAC;AAahF,oBAAY,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAC7D,oBAAY,mBAAmB,GAAG,WAAW,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAC;AAC1F,oBAAY,UAAU,GAAG,QAAQ,GAAG,GAAG,CAAC;AACxC,oBAAY,cAAc,GAAG,MAAM,GAAG,SAAS,GAAG,YAAY,CAAC;AAE/D,UAAU,aAAa;IACrB,OAAO,EAAE,mBAAmB,CAAC;IAC7B,OAAO,EAAE,mBAAmB,CAAC;IAC7B,MAAM,EAAE,mBAAmB,CAAC;CAC7B;AAED,eAAO,MAAM,aAAa,EAAE,aAI3B,CAAC;AAEF,MAAM,WAAW,WAAY,SAAQ,eAAe,EAAE,eAAe;IACnE,sCAAsC;IACtC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,sCAAsC;IACtC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kEAAkE;IAClE,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,0EAA0E;IAC1E,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,gEAAgE;IAChE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oDAAoD;IACpD,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,+CAA+C;IAC/C,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,6EAA6E;IAC7E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,KAAK,IAAI,CAAC;IAClE,uDAAuD;IACvD,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,mDAAmD;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAeD,QAAA,MAAM,MAAM,2GA6JV,CAAC;AAEH,eAAe,MAAM,CAAC"}
|
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"props": {
|
|
3
|
+
"id": {
|
|
4
|
+
"defaultValue": null,
|
|
5
|
+
"description": "Gives a unique id to the button",
|
|
6
|
+
"name": "id",
|
|
7
|
+
"parent": {
|
|
8
|
+
"fileName": "src/components/Button/Button.tsx",
|
|
9
|
+
"name": "ButtonProps"
|
|
10
|
+
},
|
|
11
|
+
"declarations": [
|
|
12
|
+
{
|
|
13
|
+
"fileName": "src/components/Button/Button.tsx",
|
|
14
|
+
"name": "ButtonProps"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"required": false,
|
|
18
|
+
"type": {
|
|
19
|
+
"name": "string"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
3
22
|
"children": {
|
|
4
23
|
"defaultValue": null,
|
|
5
24
|
"description": "Sets the content of the button.",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Button from './Button';
|
|
2
|
-
export * from './Button';
|
|
3
|
-
export default Button;
|
|
1
|
+
import Button from './Button';
|
|
2
|
+
export * from './Button';
|
|
3
|
+
export default Button;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{B as o}from"../../Button-
|
|
1
|
+
import{B as o}from"../../Button-7e82091f.js";export{B as default,i as intentToColor}from"../../Button-7e82091f.js";import"../../_rollupPluginBabelHelpers-b8ef6dd9.js";import"../../_tslib-51c8a283.js";import"react";import"../../constants-eb74321e.js";import"../../color-a10c7892.js";import"../../index-0e78dfa0.js";import"../../palette-f206f488.js";import"../../grid-11a70eb7.js";import"../../Loader-bc13d060.js";import"../../index-9b84fabc.js";import"../../uuid-fe7442b7.js";import"../Loader/styles.module.scss";import"../../useHover-9710204a.js";import"../../useWindowSize-750f9b68.js";import"./styles.module.scss";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|