@helsenorge/designsystem-react 9.4.0 → 9.4.3
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/AnchorLink.js +47 -42
- package/AnchorLink.js.map +1 -1
- package/Avatar.js +31 -26
- package/Avatar.js.map +1 -1
- package/Badge.js +28 -24
- package/Badge.js.map +1 -1
- package/Button.js +158 -113
- package/Button.js.map +1 -1
- package/CHANGELOG.md +29 -0
- package/Checkbox.js +130 -106
- package/Checkbox.js.map +1 -1
- package/Close.js +26 -22
- package/Close.js.map +1 -1
- package/ErrorBoundary.js +22 -16
- package/ErrorBoundary.js.map +1 -1
- package/ErrorWrapper.js +9 -9
- package/ErrorWrapper.js.map +1 -1
- package/Expander.js +110 -91
- package/Expander.js.map +1 -1
- package/FormGroup.js +121 -108
- package/FormGroup.js.map +1 -1
- package/FormLayout.js +38 -26
- package/FormLayout.js.map +1 -1
- package/HelpBubble.js +64 -54
- package/HelpBubble.js.map +1 -1
- package/HighlightPanel.js +86 -60
- package/HighlightPanel.js.map +1 -1
- package/HorizontalScroll.js +39 -29
- package/HorizontalScroll.js.map +1 -1
- package/Icon.js +62 -50
- package/Icon.js.map +1 -1
- package/Illustration.js +40 -32
- package/Illustration.js.map +1 -1
- package/Input.js +187 -129
- package/Input.js.map +1 -1
- package/Label.js +117 -97
- package/Label.js.map +1 -1
- package/LazyIcon.js +21 -18
- package/LazyIcon.js.map +1 -1
- package/LazyIllustration.js +26 -22
- package/LazyIllustration.js.map +1 -1
- package/LinkList.js +54 -49
- package/LinkList.js.map +1 -1
- package/List.js +11 -9
- package/List.js.map +1 -1
- package/ListHeader.js +109 -76
- package/ListHeader.js.map +1 -1
- package/ListHeaderText.js +31 -27
- package/ListHeaderText.js.map +1 -1
- package/MaxCharacters.js +13 -11
- package/MaxCharacters.js.map +1 -1
- package/NotificationBadge.js +47 -47
- package/NotificationBadge.js.map +1 -1
- package/Panel.js +285 -215
- package/Panel.js.map +1 -1
- package/PopOver.js +187 -71
- package/PopOver.js.map +1 -1
- package/RadioButton.js +104 -87
- package/RadioButton.js.map +1 -1
- package/Select.js +87 -70
- package/Select.js.map +1 -1
- package/Slider.js +252 -165
- package/Slider.js.map +1 -1
- package/Spacer.js +25 -24
- package/Spacer.js.map +1 -1
- package/StatusDot.js +58 -25
- package/StatusDot.js.map +1 -1
- package/StepButtons.js +28 -24
- package/StepButtons.js.map +1 -1
- package/TabList.js +102 -69
- package/TabList.js.map +1 -1
- package/TabPanel.js +12 -14
- package/TabPanel.js.map +1 -1
- package/Table.js +139 -72
- package/Table.js.map +1 -1
- package/TableBody.js +9 -9
- package/TableBody.js.map +1 -1
- package/TableCell.js +29 -24
- package/TableCell.js.map +1 -1
- package/TableExpandedRow.js +32 -30
- package/TableExpandedRow.js.map +1 -1
- package/TableExpanderCell.js +25 -24
- package/TableExpanderCell.js.map +1 -1
- package/TableHead.js +22 -17
- package/TableHead.js.map +1 -1
- package/TableHeadCell.js +40 -32
- package/TableHeadCell.js.map +1 -1
- package/TableRow.js +48 -47
- package/TableRow.js.map +1 -1
- package/Textarea.js +133 -96
- package/Textarea.js.map +1 -1
- package/Title.js +26 -20
- package/Title.js.map +1 -1
- package/TooltipWord.js +20 -20
- package/TooltipWord.js.map +1 -1
- package/Trigger.js +76 -59
- package/Trigger.js.map +1 -1
- package/__mocks__/IntersectionObserver.js +3 -3
- package/__mocks__/IntersectionObserver.js.map +1 -1
- package/__mocks__/MutationObserver.js +3 -3
- package/__mocks__/MutationObserver.js.map +1 -1
- package/__mocks__/ResizeObserver.js +3 -3
- package/__mocks__/ResizeObserver.js.map +1 -1
- package/__mocks__/matchMedia.d.ts +1 -1
- package/__mocks__/matchMedia.js +9 -9
- package/__mocks__/matchMedia.js.map +1 -1
- package/__mocks__/useHover.js +3 -1
- package/__mocks__/useHover.js.map +1 -1
- package/__mocks__/usePseudoClasses.js +3 -1
- package/__mocks__/usePseudoClasses.js.map +1 -1
- package/__mocks__/useSize.js.map +1 -1
- package/__mocks__/uuid.js +6 -3
- package/__mocks__/uuid.js.map +1 -1
- package/components/AnchorLink/AnchorLink.d.ts +1 -1
- package/components/AnchorLink/index.d.ts +1 -1
- package/components/AnchorLink/index.js +2 -2
- package/components/Avatar/Avatar.d.ts +1 -1
- package/components/Avatar/index.d.ts +1 -1
- package/components/Avatar/index.js +4 -4
- package/components/Badge/Badge.d.ts +1 -1
- package/components/Badge/NotificationBadge.d.ts +1 -1
- package/components/Badge/index.d.ts +1 -1
- package/components/Badge/index.js +2 -2
- package/components/Button/Button.d.ts +1 -1
- package/components/Button/index.d.ts +1 -1
- package/components/Button/index.js +2 -2
- package/components/Checkbox/Checkbox.d.ts +1 -1
- package/components/Checkbox/index.d.ts +1 -1
- package/components/Checkbox/index.js +3 -3
- package/components/Chip/Chip.d.ts +1 -1
- package/components/Chip/index.d.ts +1 -1
- package/components/Chip/index.js +42 -24
- package/components/Chip/index.js.map +1 -1
- package/components/Close/Close.d.ts +1 -1
- package/components/Close/index.d.ts +1 -1
- package/components/Close/index.js +2 -2
- package/components/DictionaryTrigger/DictionaryTrigger.d.ts +1 -1
- package/components/DictionaryTrigger/index.d.ts +1 -1
- package/components/DictionaryTrigger/index.js +18 -18
- package/components/DictionaryTrigger/index.js.map +1 -1
- package/components/Dropdown/Dropdown.d.ts +1 -1
- package/components/Dropdown/Dropdown.test.d.ts +0 -1
- package/components/Dropdown/index.d.ts +1 -1
- package/components/Dropdown/index.js +134 -97
- package/components/Dropdown/index.js.map +1 -1
- package/components/Duolist/Duolist.d.ts +1 -1
- package/components/Duolist/index.d.ts +1 -1
- package/components/Duolist/index.js +77 -58
- package/components/Duolist/index.js.map +1 -1
- package/components/EmptyState/EmptyState.d.ts +1 -1
- package/components/EmptyState/index.d.ts +1 -1
- package/components/EmptyState/index.js +30 -29
- package/components/EmptyState/index.js.map +1 -1
- package/components/ErrorWrapper/ErrorWrapper.d.ts +1 -1
- package/components/ErrorWrapper/index.d.ts +1 -1
- package/components/ErrorWrapper/index.js +3 -3
- package/components/Expander/Expander.d.ts +1 -1
- package/components/Expander/index.d.ts +1 -1
- package/components/Expander/index.js +4 -4
- package/components/Expander/styles.module.scss +11 -2
- package/components/Expander/styles.module.scss.d.ts +2 -1
- package/components/ExpanderHierarchy/Expander.d.ts +1 -1
- package/components/ExpanderHierarchy/ExpanderButton.d.ts +1 -1
- package/components/ExpanderHierarchy/ExpanderHierarchy.d.ts +1 -1
- package/components/ExpanderHierarchy/index.d.ts +1 -1
- package/components/ExpanderHierarchy/index.js +82 -73
- package/components/ExpanderHierarchy/index.js.map +1 -1
- package/components/ExpanderList/ExpanderList.d.ts +1 -1
- package/components/ExpanderList/ExpanderList.test.d.ts +0 -1
- package/components/ExpanderList/index.d.ts +1 -1
- package/components/ExpanderList/index.js +143 -113
- package/components/ExpanderList/index.js.map +1 -1
- package/components/EyebrowHeader/EyebrowHeader.d.ts +2 -2
- package/components/EyebrowHeader/index.d.ts +1 -1
- package/components/EyebrowHeader/index.js +12 -9
- package/components/EyebrowHeader/index.js.map +1 -1
- package/components/FormGroup/FormGroup.d.ts +1 -1
- package/components/FormGroup/index.d.ts +1 -1
- package/components/FormGroup/index.js +3 -3
- package/components/FormLayout/FormLayout.d.ts +1 -1
- package/components/FormLayout/index.d.ts +1 -1
- package/components/FormLayout/index.js +5 -5
- package/components/HelpBubble/HelpBubble.d.ts +1 -1
- package/components/HelpBubble/index.d.ts +1 -1
- package/components/HelpBubble/index.js +4 -4
- package/components/HelpPanel/HelpPanel.d.ts +1 -1
- package/components/HelpPanel/index.d.ts +1 -1
- package/components/HelpPanel/index.js +20 -18
- package/components/HelpPanel/index.js.map +1 -1
- package/components/HelpQuestion/HelpQuestion.d.ts +1 -1
- package/components/HelpQuestion/index.d.ts +1 -1
- package/components/HelpQuestion/index.js +23 -22
- package/components/HelpQuestion/index.js.map +1 -1
- package/components/HighlightPanel/HighlightPanel.d.ts +1 -1
- package/components/HighlightPanel/index.d.ts +1 -1
- package/components/HighlightPanel/index.js +4 -4
- package/components/HorizontalScroll/HorizontalScroll.d.ts +1 -1
- package/components/HorizontalScroll/index.d.ts +1 -1
- package/components/HorizontalScroll/index.js +3 -3
- package/components/Icon/Icon.d.ts +1 -1
- package/components/Icon/index.d.ts +1 -1
- package/components/Icon/index.js +7 -7
- package/components/Icons/ActiveMonitoring.d.ts +1 -1
- package/components/Icons/ActiveMonitoring.js +19 -15
- package/components/Icons/ActiveMonitoring.js.map +1 -1
- package/components/Icons/AcupunctureBack.d.ts +1 -1
- package/components/Icons/AcupunctureBack.js +9 -8
- package/components/Icons/AcupunctureBack.js.map +1 -1
- package/components/Icons/AdditionalIconInformation.js +2 -2
- package/components/Icons/AdditionalIconInformation.js.map +1 -1
- package/components/Icons/AlarmClock.d.ts +1 -1
- package/components/Icons/AlarmClock.js +32 -26
- package/components/Icons/AlarmClock.js.map +1 -1
- package/components/Icons/AlertSignFill.d.ts +1 -1
- package/components/Icons/AlertSignFill.js +10 -4
- package/components/Icons/AlertSignFill.js.map +1 -1
- package/components/Icons/AlertSignStroke.d.ts +1 -1
- package/components/Icons/AlertSignStroke.js +10 -4
- package/components/Icons/AlertSignStroke.js.map +1 -1
- package/components/Icons/Amputation.d.ts +1 -1
- package/components/Icons/Amputation.js +7 -3
- package/components/Icons/Amputation.js.map +1 -1
- package/components/Icons/Anxiety.d.ts +1 -1
- package/components/Icons/Anxiety.js +7 -3
- package/components/Icons/Anxiety.js.map +1 -1
- package/components/Icons/Apple.d.ts +1 -1
- package/components/Icons/Apple.js +7 -3
- package/components/Icons/Apple.js.map +1 -1
- package/components/Icons/Archive.d.ts +1 -1
- package/components/Icons/Archive.js +34 -28
- package/components/Icons/Archive.js.map +1 -1
- package/components/Icons/ArmFlexing.d.ts +1 -1
- package/components/Icons/ArmFlexing.js +7 -3
- package/components/Icons/ArmFlexing.js.map +1 -1
- package/components/Icons/ArrowDown.d.ts +1 -1
- package/components/Icons/ArrowDown.js +34 -28
- package/components/Icons/ArrowDown.js.map +1 -1
- package/components/Icons/ArrowLeft.d.ts +1 -1
- package/components/Icons/ArrowLeft.js +10 -4
- package/components/Icons/ArrowLeft.js.map +1 -1
- package/components/Icons/ArrowRight.d.ts +1 -1
- package/components/Icons/ArrowRight.js +10 -4
- package/components/Icons/ArrowRight.js.map +1 -1
- package/components/Icons/ArrowUp.d.ts +1 -1
- package/components/Icons/ArrowUp.js +34 -28
- package/components/Icons/ArrowUp.js.map +1 -1
- package/components/Icons/ArrowUpRight.d.ts +1 -1
- package/components/Icons/ArrowUpRight.js +10 -4
- package/components/Icons/ArrowUpRight.js.map +1 -1
- package/components/Icons/Attachment.d.ts +1 -1
- package/components/Icons/Attachment.js +12 -4
- package/components/Icons/Attachment.js.map +1 -1
- package/components/Icons/Atv.d.ts +1 -1
- package/components/Icons/Atv.js +7 -3
- package/components/Icons/Atv.js.map +1 -1
- package/components/Icons/Avatar.d.ts +1 -1
- package/components/Icons/Avatar.js +10 -4
- package/components/Icons/Avatar.js.map +1 -1
- package/components/Icons/AwakePersonOnPillow.d.ts +1 -1
- package/components/Icons/AwakePersonOnPillow.js +7 -3
- package/components/Icons/AwakePersonOnPillow.js.map +1 -1
- package/components/Icons/Baby.d.ts +1 -1
- package/components/Icons/Baby.js +7 -3
- package/components/Icons/Baby.js.map +1 -1
- package/components/Icons/BandAid.d.ts +1 -1
- package/components/Icons/BandAid.js +7 -3
- package/components/Icons/BandAid.js.map +1 -1
- package/components/Icons/BeerAndPills.d.ts +1 -1
- package/components/Icons/BeerAndPills.js +19 -15
- package/components/Icons/BeerAndPills.js.map +1 -1
- package/components/Icons/Bell.d.ts +1 -1
- package/components/Icons/Bell.js +7 -3
- package/components/Icons/Bell.js.map +1 -1
- package/components/Icons/Bike.d.ts +1 -1
- package/components/Icons/Bike.js +7 -3
- package/components/Icons/Bike.js.map +1 -1
- package/components/Icons/BirthControl.d.ts +1 -1
- package/components/Icons/BirthControl.js +19 -15
- package/components/Icons/BirthControl.js.map +1 -1
- package/components/Icons/BirthdayCake.d.ts +1 -1
- package/components/Icons/BirthdayCake.js +7 -3
- package/components/Icons/BirthdayCake.js.map +1 -1
- package/components/Icons/Boat.d.ts +1 -1
- package/components/Icons/Boat.js +7 -3
- package/components/Icons/Boat.js.map +1 -1
- package/components/Icons/Body.d.ts +1 -1
- package/components/Icons/Body.js +19 -15
- package/components/Icons/Body.js.map +1 -1
- package/components/Icons/Braille.d.ts +1 -1
- package/components/Icons/Braille.js +8 -4
- package/components/Icons/Braille.js.map +1 -1
- package/components/Icons/Brain.d.ts +1 -1
- package/components/Icons/Brain.js +7 -3
- package/components/Icons/Brain.js.map +1 -1
- package/components/Icons/BreastReconstruction.d.ts +1 -1
- package/components/Icons/BreastReconstruction.js +19 -15
- package/components/Icons/BreastReconstruction.js.map +1 -1
- package/components/Icons/BreastRemoval.d.ts +1 -1
- package/components/Icons/BreastRemoval.js +19 -15
- package/components/Icons/BreastRemoval.js.map +1 -1
- package/components/Icons/Breasts.d.ts +1 -1
- package/components/Icons/Breasts.js +7 -3
- package/components/Icons/Breasts.js.map +1 -1
- package/components/Icons/BrokenHeart.d.ts +1 -1
- package/components/Icons/BrokenHeart.js +7 -3
- package/components/Icons/BrokenHeart.js.map +1 -1
- package/components/Icons/BrokenPuzzle.d.ts +1 -1
- package/components/Icons/BrokenPuzzle.js +7 -3
- package/components/Icons/BrokenPuzzle.js.map +1 -1
- package/components/Icons/Bus.d.ts +1 -1
- package/components/Icons/Bus.js +29 -23
- package/components/Icons/Bus.js.map +1 -1
- package/components/Icons/Calendar.d.ts +1 -1
- package/components/Icons/Calendar.js +34 -28
- package/components/Icons/Calendar.js.map +1 -1
- package/components/Icons/CalendarChange.d.ts +1 -1
- package/components/Icons/CalendarChange.js +34 -28
- package/components/Icons/CalendarChange.js.map +1 -1
- package/components/Icons/CalendarCheck.d.ts +1 -1
- package/components/Icons/CalendarCheck.js +34 -28
- package/components/Icons/CalendarCheck.js.map +1 -1
- package/components/Icons/CalendarEvent.d.ts +1 -1
- package/components/Icons/CalendarEvent.js +7 -3
- package/components/Icons/CalendarEvent.js.map +1 -1
- package/components/Icons/CalendarSave.d.ts +1 -1
- package/components/Icons/CalendarSave.js +10 -4
- package/components/Icons/CalendarSave.js.map +1 -1
- package/components/Icons/Cancer.d.ts +1 -1
- package/components/Icons/Cancer.js +21 -17
- package/components/Icons/Cancer.js.map +1 -1
- package/components/Icons/Candle.d.ts +1 -1
- package/components/Icons/Candle.js +20 -16
- package/components/Icons/Candle.js.map +1 -1
- package/components/Icons/Car.d.ts +1 -1
- package/components/Icons/Car.js +7 -3
- package/components/Icons/Car.js.map +1 -1
- package/components/Icons/Carton.d.ts +1 -1
- package/components/Icons/Carton.js +39 -35
- package/components/Icons/Carton.js.map +1 -1
- package/components/Icons/Change.d.ts +1 -1
- package/components/Icons/Change.js +42 -34
- package/components/Icons/Change.js.map +1 -1
- package/components/Icons/Check.d.ts +1 -1
- package/components/Icons/Check.js +10 -4
- package/components/Icons/Check.js.map +1 -1
- package/components/Icons/CheckFill.d.ts +1 -1
- package/components/Icons/CheckFill.js +34 -28
- package/components/Icons/CheckFill.js.map +1 -1
- package/components/Icons/CheckOutline.d.ts +1 -1
- package/components/Icons/CheckOutline.js +19 -15
- package/components/Icons/CheckOutline.js.map +1 -1
- package/components/Icons/Chest.d.ts +1 -1
- package/components/Icons/Chest.js +7 -3
- package/components/Icons/Chest.js.map +1 -1
- package/components/Icons/ChevronDown.d.ts +1 -1
- package/components/Icons/ChevronDown.js +10 -4
- package/components/Icons/ChevronDown.js.map +1 -1
- package/components/Icons/ChevronLeft.d.ts +1 -1
- package/components/Icons/ChevronLeft.js +10 -4
- package/components/Icons/ChevronLeft.js.map +1 -1
- package/components/Icons/ChevronRight.d.ts +1 -1
- package/components/Icons/ChevronRight.js +10 -4
- package/components/Icons/ChevronRight.js.map +1 -1
- package/components/Icons/ChevronUp.d.ts +1 -1
- package/components/Icons/ChevronUp.js +10 -4
- package/components/Icons/ChevronUp.js.map +1 -1
- package/components/Icons/ChevronsDown.d.ts +1 -1
- package/components/Icons/ChevronsDown.js +34 -28
- package/components/Icons/ChevronsDown.js.map +1 -1
- package/components/Icons/ChevronsUp.d.ts +1 -1
- package/components/Icons/ChevronsUp.js +34 -28
- package/components/Icons/ChevronsUp.js.map +1 -1
- package/components/Icons/ChildPlaying.d.ts +1 -1
- package/components/Icons/ChildPlaying.js +13 -9
- package/components/Icons/ChildPlaying.js.map +1 -1
- package/components/Icons/Cigarette.d.ts +1 -1
- package/components/Icons/Cigarette.js +7 -3
- package/components/Icons/Cigarette.js.map +1 -1
- package/components/Icons/Coins.d.ts +1 -1
- package/components/Icons/Coins.js +19 -15
- package/components/Icons/Coins.js.map +1 -1
- package/components/Icons/Contacts.d.ts +1 -1
- package/components/Icons/Contacts.js +10 -4
- package/components/Icons/Contacts.js.map +1 -1
- package/components/Icons/Copy.d.ts +1 -1
- package/components/Icons/Copy.js +21 -15
- package/components/Icons/Copy.js.map +1 -1
- package/components/Icons/CoronaCertificate.d.ts +1 -1
- package/components/Icons/CoronaCertificate.js +19 -15
- package/components/Icons/CoronaCertificate.js.map +1 -1
- package/components/Icons/Coronavirus.d.ts +1 -1
- package/components/Icons/Coronavirus.js +7 -3
- package/components/Icons/Coronavirus.js.map +1 -1
- package/components/Icons/Cough.d.ts +1 -1
- package/components/Icons/Cough.js +7 -3
- package/components/Icons/Cough.js.map +1 -1
- package/components/Icons/CreditCard.d.ts +1 -1
- package/components/Icons/CreditCard.js +45 -41
- package/components/Icons/CreditCard.js.map +1 -1
- package/components/Icons/CriticalHealthInfo.d.ts +1 -1
- package/components/Icons/CriticalHealthInfo.js +7 -3
- package/components/Icons/CriticalHealthInfo.js.map +1 -1
- package/components/Icons/Cross.d.ts +1 -1
- package/components/Icons/Cross.js +7 -3
- package/components/Icons/Cross.js.map +1 -1
- package/components/Icons/DataExchange.d.ts +1 -1
- package/components/Icons/DataExchange.js +19 -15
- package/components/Icons/DataExchange.js.map +1 -1
- package/components/Icons/DataReceived.d.ts +1 -1
- package/components/Icons/DataReceived.js +19 -15
- package/components/Icons/DataReceived.js.map +1 -1
- package/components/Icons/DataSent.d.ts +1 -1
- package/components/Icons/DataSent.js +19 -15
- package/components/Icons/DataSent.js.map +1 -1
- package/components/Icons/Depression.d.ts +1 -1
- package/components/Icons/Depression.js +7 -3
- package/components/Icons/Depression.js.map +1 -1
- package/components/Icons/DigestiveSystem.d.ts +1 -1
- package/components/Icons/DigestiveSystem.js +13 -9
- package/components/Icons/DigestiveSystem.js.map +1 -1
- package/components/Icons/Dizzy.d.ts +1 -1
- package/components/Icons/Dizzy.js +7 -3
- package/components/Icons/Dizzy.js.map +1 -1
- package/components/Icons/Documents.d.ts +1 -1
- package/components/Icons/Documents.js +7 -3
- package/components/Icons/Documents.js.map +1 -1
- package/components/Icons/Dog.d.ts +1 -1
- package/components/Icons/Dog.js +7 -3
- package/components/Icons/Dog.js.map +1 -1
- package/components/Icons/DonorCard.d.ts +1 -1
- package/components/Icons/DonorCard.js +7 -3
- package/components/Icons/DonorCard.js.map +1 -1
- package/components/Icons/Download.d.ts +1 -1
- package/components/Icons/Download.js +34 -28
- package/components/Icons/Download.js.map +1 -1
- package/components/Icons/Draft.d.ts +1 -1
- package/components/Icons/Draft.js +7 -3
- package/components/Icons/Draft.js.map +1 -1
- package/components/Icons/EChat.d.ts +1 -1
- package/components/Icons/EChat.js +10 -4
- package/components/Icons/EChat.js.map +1 -1
- package/components/Icons/Ear.d.ts +1 -1
- package/components/Icons/Ear.js +14 -10
- package/components/Icons/Ear.js.map +1 -1
- package/components/Icons/EarDeaf.d.ts +1 -1
- package/components/Icons/EarDeaf.js +8 -4
- package/components/Icons/EarDeaf.js.map +1 -1
- package/components/Icons/EarHearingAid.d.ts +1 -1
- package/components/Icons/EarHearingAid.js +11 -7
- package/components/Icons/EarHearingAid.js.map +1 -1
- package/components/Icons/EarNoseThroat.d.ts +1 -1
- package/components/Icons/EarNoseThroat.js +15 -11
- package/components/Icons/EarNoseThroat.js.map +1 -1
- package/components/Icons/EarVolume.d.ts +1 -1
- package/components/Icons/EarVolume.js +23 -19
- package/components/Icons/EarVolume.js.map +1 -1
- package/components/Icons/ElderlyPerson.d.ts +1 -1
- package/components/Icons/ElderlyPerson.js +7 -3
- package/components/Icons/ElderlyPerson.js.map +1 -1
- package/components/Icons/Embolization.d.ts +1 -1
- package/components/Icons/Embolization.js +19 -15
- package/components/Icons/Embolization.js.map +1 -1
- package/components/Icons/EmergencyCall.d.ts +1 -1
- package/components/Icons/EmergencyCall.js +22 -18
- package/components/Icons/EmergencyCall.js.map +1 -1
- package/components/Icons/EmoticonAnnoyed.d.ts +1 -1
- package/components/Icons/EmoticonAnnoyed.js +21 -17
- package/components/Icons/EmoticonAnnoyed.js.map +1 -1
- package/components/Icons/EmoticonDelighted.d.ts +1 -1
- package/components/Icons/EmoticonDelighted.js +14 -10
- package/components/Icons/EmoticonDelighted.js.map +1 -1
- package/components/Icons/EmoticonDisappointed.d.ts +1 -1
- package/components/Icons/EmoticonDisappointed.js +14 -10
- package/components/Icons/EmoticonDisappointed.js.map +1 -1
- package/components/Icons/EmoticonHappy.d.ts +1 -1
- package/components/Icons/EmoticonHappy.js +14 -10
- package/components/Icons/EmoticonHappy.js.map +1 -1
- package/components/Icons/EmoticonMeh.d.ts +1 -1
- package/components/Icons/EmoticonMeh.js +14 -10
- package/components/Icons/EmoticonMeh.js.map +1 -1
- package/components/Icons/EnterFullScreen.d.ts +1 -1
- package/components/Icons/EnterFullScreen.js +19 -13
- package/components/Icons/EnterFullScreen.js.map +1 -1
- package/components/Icons/Envelope.d.ts +1 -1
- package/components/Icons/Envelope.js +10 -4
- package/components/Icons/Envelope.js.map +1 -1
- package/components/Icons/Epilepsy.d.ts +1 -1
- package/components/Icons/Epilepsy.js +7 -3
- package/components/Icons/Epilepsy.js.map +1 -1
- package/components/Icons/Eraser.d.ts +1 -1
- package/components/Icons/Eraser.js +16 -10
- package/components/Icons/Eraser.js.map +1 -1
- package/components/Icons/ErrorSignFill.d.ts +1 -1
- package/components/Icons/ErrorSignFill.js +10 -4
- package/components/Icons/ErrorSignFill.js.map +1 -1
- package/components/Icons/ErrorSignStroke.d.ts +1 -1
- package/components/Icons/ErrorSignStroke.js +10 -4
- package/components/Icons/ErrorSignStroke.js.map +1 -1
- package/components/Icons/EuropeanHealthCard.d.ts +1 -1
- package/components/Icons/EuropeanHealthCard.js +10 -6
- package/components/Icons/EuropeanHealthCard.js.map +1 -1
- package/components/Icons/ExitFullScreen.d.ts +1 -1
- package/components/Icons/ExitFullScreen.js +19 -13
- package/components/Icons/ExitFullScreen.js.map +1 -1
- package/components/Icons/Eye.d.ts +1 -1
- package/components/Icons/Eye.js +34 -26
- package/components/Icons/Eye.js.map +1 -1
- package/components/Icons/Facebook.d.ts +1 -1
- package/components/Icons/Facebook.js +7 -3
- package/components/Icons/Facebook.js.map +1 -1
- package/components/Icons/FallingLeaf.d.ts +1 -1
- package/components/Icons/FallingLeaf.js +28 -24
- package/components/Icons/FallingLeaf.js.map +1 -1
- package/components/Icons/Female.d.ts +1 -1
- package/components/Icons/Female.js +7 -3
- package/components/Icons/Female.js.map +1 -1
- package/components/Icons/FemaleDoctor.d.ts +1 -1
- package/components/Icons/FemaleDoctor.js +7 -3
- package/components/Icons/FemaleDoctor.js.map +1 -1
- package/components/Icons/Ferry.d.ts +1 -1
- package/components/Icons/Ferry.js +7 -3
- package/components/Icons/Ferry.js.map +1 -1
- package/components/Icons/File.d.ts +1 -1
- package/components/Icons/File.js +34 -28
- package/components/Icons/File.js.map +1 -1
- package/components/Icons/Filter.d.ts +1 -1
- package/components/Icons/Filter.js +29 -23
- package/components/Icons/Filter.js.map +1 -1
- package/components/Icons/FingerBleed.d.ts +1 -1
- package/components/Icons/FingerBleed.js +7 -3
- package/components/Icons/FingerBleed.js.map +1 -1
- package/components/Icons/FirstAidKit.d.ts +1 -1
- package/components/Icons/FirstAidKit.js +7 -3
- package/components/Icons/FirstAidKit.js.map +1 -1
- package/components/Icons/Fish.d.ts +1 -1
- package/components/Icons/Fish.js +41 -37
- package/components/Icons/Fish.js.map +1 -1
- package/components/Icons/FloppyDisk.d.ts +1 -1
- package/components/Icons/FloppyDisk.js +19 -15
- package/components/Icons/FloppyDisk.js.map +1 -1
- package/components/Icons/Football.d.ts +1 -1
- package/components/Icons/Football.js +7 -3
- package/components/Icons/Football.js.map +1 -1
- package/components/Icons/Form.d.ts +1 -1
- package/components/Icons/Form.js +10 -4
- package/components/Icons/Form.js.map +1 -1
- package/components/Icons/Forward.d.ts +1 -1
- package/components/Icons/Forward.js +16 -10
- package/components/Icons/Forward.js.map +1 -1
- package/components/Icons/Gallery.d.ts +1 -1
- package/components/Icons/Gallery.js +34 -28
- package/components/Icons/Gallery.js.map +1 -1
- package/components/Icons/Garden.d.ts +1 -1
- package/components/Icons/Garden.js +7 -3
- package/components/Icons/Garden.js.map +1 -1
- package/components/Icons/GasCan.d.ts +1 -1
- package/components/Icons/GasCan.js +7 -3
- package/components/Icons/GasCan.js.map +1 -1
- package/components/Icons/GenderIdentity.d.ts +1 -1
- package/components/Icons/GenderIdentity.js +19 -15
- package/components/Icons/GenderIdentity.js.map +1 -1
- package/components/Icons/GlassWater.d.ts +1 -1
- package/components/Icons/GlassWater.js +19 -15
- package/components/Icons/GlassWater.js.map +1 -1
- package/components/Icons/Glasses.d.ts +1 -1
- package/components/Icons/Glasses.js +22 -18
- package/components/Icons/Glasses.js.map +1 -1
- package/components/Icons/Globe.d.ts +1 -1
- package/components/Icons/Globe.js +10 -4
- package/components/Icons/Globe.js.map +1 -1
- package/components/Icons/Grain.d.ts +1 -1
- package/components/Icons/Grain.js +19 -15
- package/components/Icons/Grain.js.map +1 -1
- package/components/Icons/Graph.d.ts +1 -1
- package/components/Icons/Graph.js +26 -22
- package/components/Icons/Graph.js.map +1 -1
- package/components/Icons/Group.d.ts +1 -1
- package/components/Icons/Group.js +10 -8
- package/components/Icons/Group.js.map +1 -1
- package/components/Icons/GroupTwins.d.ts +1 -1
- package/components/Icons/GroupTwins.js +77 -71
- package/components/Icons/GroupTwins.js.map +1 -1
- package/components/Icons/HTMLFile.d.ts +1 -1
- package/components/Icons/HTMLFile.js +14 -10
- package/components/Icons/HTMLFile.js.map +1 -1
- package/components/Icons/HandWaving.d.ts +1 -1
- package/components/Icons/HandWaving.js +7 -3
- package/components/Icons/HandWaving.js.map +1 -1
- package/components/Icons/HandWithDisease.d.ts +1 -1
- package/components/Icons/HandWithDisease.js +7 -3
- package/components/Icons/HandWithDisease.js.map +1 -1
- package/components/Icons/HandsAndHeart.d.ts +1 -1
- package/components/Icons/HandsAndHeart.js +20 -16
- package/components/Icons/HandsAndHeart.js.map +1 -1
- package/components/Icons/HealthClinic.d.ts +1 -1
- package/components/Icons/HealthClinic.js +19 -15
- package/components/Icons/HealthClinic.js.map +1 -1
- package/components/Icons/HealthWarning.d.ts +1 -1
- package/components/Icons/HealthWarning.js +19 -15
- package/components/Icons/HealthWarning.js.map +1 -1
- package/components/Icons/HealthcarePerson.d.ts +1 -1
- package/components/Icons/HealthcarePerson.js +74 -68
- package/components/Icons/HealthcarePerson.js.map +1 -1
- package/components/Icons/HealthcarePersonell.d.ts +1 -1
- package/components/Icons/HealthcarePersonell.js +97 -91
- package/components/Icons/HealthcarePersonell.js.map +1 -1
- package/components/Icons/HearingProtection.d.ts +1 -1
- package/components/Icons/HearingProtection.js +28 -24
- package/components/Icons/HearingProtection.js.map +1 -1
- package/components/Icons/Heart.d.ts +1 -1
- package/components/Icons/Heart.js +10 -4
- package/components/Icons/Heart.js.map +1 -1
- package/components/Icons/HeartHands.d.ts +1 -1
- package/components/Icons/HeartHands.js +73 -69
- package/components/Icons/HeartHands.js.map +1 -1
- package/components/Icons/HelpSign.d.ts +1 -1
- package/components/Icons/HelpSign.js +10 -4
- package/components/Icons/HelpSign.js.map +1 -1
- package/components/Icons/HelpingHand.d.ts +1 -1
- package/components/Icons/HelpingHand.js +19 -15
- package/components/Icons/HelpingHand.js.map +1 -1
- package/components/Icons/Hemodialysis.d.ts +1 -1
- package/components/Icons/Hemodialysis.js +19 -15
- package/components/Icons/Hemodialysis.js.map +1 -1
- package/components/Icons/Hiker.d.ts +1 -1
- package/components/Icons/Hiker.js +7 -3
- package/components/Icons/Hiker.js.map +1 -1
- package/components/Icons/Hipprosthesis.d.ts +1 -1
- package/components/Icons/Hipprosthesis.js +19 -15
- package/components/Icons/Hipprosthesis.js.map +1 -1
- package/components/Icons/History.d.ts +1 -1
- package/components/Icons/History.js +10 -4
- package/components/Icons/History.js.map +1 -1
- package/components/Icons/HivAndAids.d.ts +1 -1
- package/components/Icons/HivAndAids.js +7 -3
- package/components/Icons/HivAndAids.js.map +1 -1
- package/components/Icons/Home.d.ts +1 -1
- package/components/Icons/Home.js +34 -28
- package/components/Icons/Home.js.map +1 -1
- package/components/Icons/HomeFill.d.ts +1 -1
- package/components/Icons/HomeFill.js +38 -32
- package/components/Icons/HomeFill.js.map +1 -1
- package/components/Icons/Hormone.d.ts +1 -1
- package/components/Icons/Hormone.js +7 -3
- package/components/Icons/Hormone.js.map +1 -1
- package/components/Icons/Hospital.d.ts +1 -1
- package/components/Icons/Hospital.js +34 -28
- package/components/Icons/Hospital.js.map +1 -1
- package/components/Icons/Hourglass.d.ts +1 -1
- package/components/Icons/Hourglass.js +34 -28
- package/components/Icons/Hourglass.js.map +1 -1
- package/components/Icons/IconNames.js +2 -2
- package/components/Icons/IconNames.js.map +1 -1
- package/components/Icons/ImgFile.d.ts +1 -1
- package/components/Icons/ImgFile.js +19 -15
- package/components/Icons/ImgFile.js.map +1 -1
- package/components/Icons/Inbox.d.ts +1 -1
- package/components/Icons/Inbox.js +16 -12
- package/components/Icons/Inbox.js.map +1 -1
- package/components/Icons/InfoSignFill.d.ts +1 -1
- package/components/Icons/InfoSignFill.js +10 -4
- package/components/Icons/InfoSignFill.js.map +1 -1
- package/components/Icons/InfoSignStroke.d.ts +1 -1
- package/components/Icons/InfoSignStroke.js +10 -4
- package/components/Icons/InfoSignStroke.js.map +1 -1
- package/components/Icons/Instagram.d.ts +1 -1
- package/components/Icons/Instagram.js +14 -10
- package/components/Icons/Instagram.js.map +1 -1
- package/components/Icons/Intravenous.d.ts +1 -1
- package/components/Icons/Intravenous.js +19 -15
- package/components/Icons/Intravenous.js.map +1 -1
- package/components/Icons/JointPain.d.ts +1 -1
- package/components/Icons/JointPain.js +7 -3
- package/components/Icons/JointPain.js.map +1 -1
- package/components/Icons/Journal.d.ts +1 -1
- package/components/Icons/Journal.js +10 -4
- package/components/Icons/Journal.js.map +1 -1
- package/components/Icons/JpgFile.d.ts +1 -1
- package/components/Icons/JpgFile.js +19 -15
- package/components/Icons/JpgFile.js.map +1 -1
- package/components/Icons/Kidney.d.ts +1 -1
- package/components/Icons/Kidney.js +7 -3
- package/components/Icons/Kidney.js.map +1 -1
- package/components/Icons/KitchenScale.d.ts +1 -1
- package/components/Icons/KitchenScale.js +19 -15
- package/components/Icons/KitchenScale.js.map +1 -1
- package/components/Icons/Kjernejournal.d.ts +1 -1
- package/components/Icons/Kjernejournal.js +7 -3
- package/components/Icons/Kjernejournal.js.map +1 -1
- package/components/Icons/Laboratory.d.ts +1 -1
- package/components/Icons/Laboratory.js +19 -15
- package/components/Icons/Laboratory.js.map +1 -1
- package/components/Icons/LaptopBlog.d.ts +1 -1
- package/components/Icons/LaptopBlog.js +7 -3
- package/components/Icons/LaptopBlog.js.map +1 -1
- package/components/Icons/LawBook.d.ts +1 -1
- package/components/Icons/LawBook.js +10 -6
- package/components/Icons/LawBook.js.map +1 -1
- package/components/Icons/LegalDocument.d.ts +1 -1
- package/components/Icons/LegalDocument.js +32 -28
- package/components/Icons/LegalDocument.js.map +1 -1
- package/components/Icons/LightBulb.d.ts +1 -1
- package/components/Icons/LightBulb.js +7 -3
- package/components/Icons/LightBulb.js.map +1 -1
- package/components/Icons/List.d.ts +1 -1
- package/components/Icons/List.js +34 -28
- package/components/Icons/List.js.map +1 -1
- package/components/Icons/Location.d.ts +1 -1
- package/components/Icons/Location.js +13 -7
- package/components/Icons/Location.js.map +1 -1
- package/components/Icons/LocationFill.d.ts +1 -1
- package/components/Icons/LocationFill.js +38 -32
- package/components/Icons/LocationFill.js.map +1 -1
- package/components/Icons/Lock.d.ts +1 -1
- package/components/Icons/Lock.js +22 -16
- package/components/Icons/Lock.js.map +1 -1
- package/components/Icons/Login.d.ts +1 -1
- package/components/Icons/Login.js +50 -44
- package/components/Icons/Login.js.map +1 -1
- package/components/Icons/Logout.d.ts +1 -1
- package/components/Icons/Logout.js +50 -44
- package/components/Icons/Logout.js.map +1 -1
- package/components/Icons/Lungs.d.ts +1 -1
- package/components/Icons/Lungs.js +7 -3
- package/components/Icons/Lungs.js.map +1 -1
- package/components/Icons/Makeup.d.ts +1 -1
- package/components/Icons/Makeup.js +7 -3
- package/components/Icons/Makeup.js.map +1 -1
- package/components/Icons/MaleDoctor.d.ts +1 -1
- package/components/Icons/MaleDoctor.js +7 -3
- package/components/Icons/MaleDoctor.js.map +1 -1
- package/components/Icons/MaleDoctorAndPerson.d.ts +1 -1
- package/components/Icons/MaleDoctorAndPerson.js +15 -11
- package/components/Icons/MaleDoctorAndPerson.js.map +1 -1
- package/components/Icons/MaleDoctorCompact.d.ts +1 -1
- package/components/Icons/MaleDoctorCompact.js +52 -45
- package/components/Icons/MaleDoctorCompact.js.map +1 -1
- package/components/Icons/MaleDoctorCompactFill.d.ts +1 -1
- package/components/Icons/MaleDoctorCompactFill.js +23 -37
- package/components/Icons/MaleDoctorCompactFill.js.map +1 -1
- package/components/Icons/MaleGenitalia.d.ts +1 -1
- package/components/Icons/MaleGenitalia.js +7 -3
- package/components/Icons/MaleGenitalia.js.map +1 -1
- package/components/Icons/Medicine.d.ts +1 -1
- package/components/Icons/Medicine.js +34 -28
- package/components/Icons/Medicine.js.map +1 -1
- package/components/Icons/MedicineWarning.d.ts +1 -1
- package/components/Icons/MedicineWarning.js +19 -15
- package/components/Icons/MedicineWarning.js.map +1 -1
- package/components/Icons/MentalHealthAdult.d.ts +1 -1
- package/components/Icons/MentalHealthAdult.js +13 -9
- package/components/Icons/MentalHealthAdult.js.map +1 -1
- package/components/Icons/MentalHealthChild.d.ts +1 -1
- package/components/Icons/MentalHealthChild.js +13 -9
- package/components/Icons/MentalHealthChild.js.map +1 -1
- package/components/Icons/Menu.d.ts +1 -1
- package/components/Icons/Menu.js +10 -4
- package/components/Icons/Menu.js.map +1 -1
- package/components/Icons/Microscope.d.ts +1 -1
- package/components/Icons/Microscope.js +19 -15
- package/components/Icons/Microscope.js.map +1 -1
- package/components/Icons/Minus.d.ts +1 -1
- package/components/Icons/Minus.js +10 -4
- package/components/Icons/Minus.js.map +1 -1
- package/components/Icons/Mirror.d.ts +1 -1
- package/components/Icons/Mirror.js +7 -3
- package/components/Icons/Mirror.js.map +1 -1
- package/components/Icons/MobilePhone.d.ts +1 -1
- package/components/Icons/MobilePhone.js +10 -4
- package/components/Icons/MobilePhone.js.map +1 -1
- package/components/Icons/MotherHoldingBaby.d.ts +1 -1
- package/components/Icons/MotherHoldingBaby.js +7 -3
- package/components/Icons/MotherHoldingBaby.js.map +1 -1
- package/components/Icons/MuscleBack.d.ts +1 -1
- package/components/Icons/MuscleBack.js +15 -11
- package/components/Icons/MuscleBack.js.map +1 -1
- package/components/Icons/MuscleLeg.d.ts +1 -1
- package/components/Icons/MuscleLeg.js +13 -9
- package/components/Icons/MuscleLeg.js.map +1 -1
- package/components/Icons/Mushroom.d.ts +1 -1
- package/components/Icons/Mushroom.js +7 -3
- package/components/Icons/Mushroom.js.map +1 -1
- package/components/Icons/Music.d.ts +1 -1
- package/components/Icons/Music.js +19 -15
- package/components/Icons/Music.js.map +1 -1
- package/components/Icons/MusselsAndSalt.d.ts +1 -1
- package/components/Icons/MusselsAndSalt.js +7 -3
- package/components/Icons/MusselsAndSalt.js.map +1 -1
- package/components/Icons/NoAccess.d.ts +1 -1
- package/components/Icons/NoAccess.js +17 -13
- package/components/Icons/NoAccess.js.map +1 -1
- package/components/Icons/NoEye.d.ts +1 -1
- package/components/Icons/NoEye.js +50 -42
- package/components/Icons/NoEye.js.map +1 -1
- package/components/Icons/NoFilter.d.ts +1 -1
- package/components/Icons/NoFilter.js +16 -10
- package/components/Icons/NoFilter.js.map +1 -1
- package/components/Icons/Notepad.d.ts +1 -1
- package/components/Icons/Notepad.js +7 -3
- package/components/Icons/Notepad.js.map +1 -1
- package/components/Icons/Osteotomy.d.ts +1 -1
- package/components/Icons/Osteotomy.js +19 -15
- package/components/Icons/Osteotomy.js.map +1 -1
- package/components/Icons/PaintRoller.d.ts +1 -1
- package/components/Icons/PaintRoller.js +7 -3
- package/components/Icons/PaintRoller.js.map +1 -1
- package/components/Icons/PaperPlane.d.ts +1 -1
- package/components/Icons/PaperPlane.js +10 -4
- package/components/Icons/PaperPlane.js.map +1 -1
- package/components/Icons/PatientAndPerson.d.ts +1 -1
- package/components/Icons/PatientAndPerson.js +7 -3
- package/components/Icons/PatientAndPerson.js.map +1 -1
- package/components/Icons/Pause.d.ts +1 -1
- package/components/Icons/Pause.js +10 -4
- package/components/Icons/Pause.js.map +1 -1
- package/components/Icons/PdfFile.d.ts +1 -1
- package/components/Icons/PdfFile.js +19 -15
- package/components/Icons/PdfFile.js.map +1 -1
- package/components/Icons/Pencil.d.ts +1 -1
- package/components/Icons/Pencil.js +10 -4
- package/components/Icons/Pencil.js.map +1 -1
- package/components/Icons/PeopleTalking.d.ts +1 -1
- package/components/Icons/PeopleTalking.js +19 -15
- package/components/Icons/PeopleTalking.js.map +1 -1
- package/components/Icons/Peritonealdialysis.d.ts +1 -1
- package/components/Icons/Peritonealdialysis.js +19 -15
- package/components/Icons/Peritonealdialysis.js.map +1 -1
- package/components/Icons/Person.d.ts +1 -1
- package/components/Icons/Person.js +7 -3
- package/components/Icons/Person.js.map +1 -1
- package/components/Icons/PersonAndPatient.d.ts +1 -1
- package/components/Icons/PersonAndPatient.js +7 -3
- package/components/Icons/PersonAndPatient.js.map +1 -1
- package/components/Icons/PersonCancel.d.ts +1 -1
- package/components/Icons/PersonCancel.js +66 -60
- package/components/Icons/PersonCancel.js.map +1 -1
- package/components/Icons/PersonInXRayMachine.d.ts +1 -1
- package/components/Icons/PersonInXRayMachine.js +19 -15
- package/components/Icons/PersonInXRayMachine.js.map +1 -1
- package/components/Icons/PersonOverweight.d.ts +1 -1
- package/components/Icons/PersonOverweight.js +7 -3
- package/components/Icons/PersonOverweight.js.map +1 -1
- package/components/Icons/PersonRelaxing.d.ts +1 -1
- package/components/Icons/PersonRelaxing.js +13 -9
- package/components/Icons/PersonRelaxing.js.map +1 -1
- package/components/Icons/PersonWithBrain.d.ts +1 -1
- package/components/Icons/PersonWithBrain.js +10 -6
- package/components/Icons/PersonWithBrain.js.map +1 -1
- package/components/Icons/PersonWithBrokenArm.d.ts +1 -1
- package/components/Icons/PersonWithBrokenArm.js +7 -3
- package/components/Icons/PersonWithBrokenArm.js.map +1 -1
- package/components/Icons/PersonWithCrutches.d.ts +1 -1
- package/components/Icons/PersonWithCrutches.js +7 -3
- package/components/Icons/PersonWithCrutches.js.map +1 -1
- package/components/Icons/PersonWithJaw.d.ts +1 -1
- package/components/Icons/PersonWithJaw.js +13 -9
- package/components/Icons/PersonWithJaw.js.map +1 -1
- package/components/Icons/PersonWithMagnifyingGlass.d.ts +1 -1
- package/components/Icons/PersonWithMagnifyingGlass.js +13 -9
- package/components/Icons/PersonWithMagnifyingGlass.js.map +1 -1
- package/components/Icons/PersonWithSenses.d.ts +1 -1
- package/components/Icons/PersonWithSenses.js +19 -15
- package/components/Icons/PersonWithSenses.js.map +1 -1
- package/components/Icons/PersonWorking.d.ts +1 -1
- package/components/Icons/PersonWorking.js +13 -9
- package/components/Icons/PersonWorking.js.map +1 -1
- package/components/Icons/PersonalPlan.d.ts +1 -1
- package/components/Icons/PersonalPlan.js +38 -34
- package/components/Icons/PersonalPlan.js.map +1 -1
- package/components/Icons/PizzaSlice.d.ts +1 -1
- package/components/Icons/PizzaSlice.js +13 -9
- package/components/Icons/PizzaSlice.js.map +1 -1
- package/components/Icons/Plane.d.ts +1 -1
- package/components/Icons/Plane.js +7 -3
- package/components/Icons/Plane.js.map +1 -1
- package/components/Icons/Plant.d.ts +1 -1
- package/components/Icons/Plant.js +7 -3
- package/components/Icons/Plant.js.map +1 -1
- package/components/Icons/PlateKnifeFork.d.ts +1 -1
- package/components/Icons/PlateKnifeFork.js +37 -33
- package/components/Icons/PlateKnifeFork.js.map +1 -1
- package/components/Icons/Play.d.ts +1 -1
- package/components/Icons/Play.js +10 -4
- package/components/Icons/Play.js.map +1 -1
- package/components/Icons/PlusLarge.d.ts +1 -1
- package/components/Icons/PlusLarge.js +10 -4
- package/components/Icons/PlusLarge.js.map +1 -1
- package/components/Icons/PlusSmall.d.ts +1 -1
- package/components/Icons/PlusSmall.js +10 -4
- package/components/Icons/PlusSmall.js.map +1 -1
- package/components/Icons/PngFile.d.ts +1 -1
- package/components/Icons/PngFile.js +19 -15
- package/components/Icons/PngFile.js.map +1 -1
- package/components/Icons/Podcast.d.ts +1 -1
- package/components/Icons/Podcast.js +19 -15
- package/components/Icons/Podcast.js.map +1 -1
- package/components/Icons/PoisonInformation.d.ts +1 -1
- package/components/Icons/PoisonInformation.js +13 -9
- package/components/Icons/PoisonInformation.js.map +1 -1
- package/components/Icons/Pregnant.d.ts +1 -1
- package/components/Icons/Pregnant.js +7 -3
- package/components/Icons/Pregnant.js.map +1 -1
- package/components/Icons/Printer.d.ts +1 -1
- package/components/Icons/Printer.js +34 -28
- package/components/Icons/Printer.js.map +1 -1
- package/components/Icons/Psychosis.d.ts +1 -1
- package/components/Icons/Psychosis.js +7 -3
- package/components/Icons/Psychosis.js.map +1 -1
- package/components/Icons/Publication.d.ts +1 -1
- package/components/Icons/Publication.js +19 -15
- package/components/Icons/Publication.js.map +1 -1
- package/components/Icons/Puzzle.d.ts +1 -1
- package/components/Icons/Puzzle.js +10 -6
- package/components/Icons/Puzzle.js.map +1 -1
- package/components/Icons/QrCode.d.ts +1 -1
- package/components/Icons/QrCode.js +34 -28
- package/components/Icons/QrCode.js.map +1 -1
- package/components/Icons/Quarrel.d.ts +1 -1
- package/components/Icons/Quarrel.js +19 -15
- package/components/Icons/Quarrel.js.map +1 -1
- package/components/Icons/RadioTherapy.d.ts +1 -1
- package/components/Icons/RadioTherapy.js +19 -15
- package/components/Icons/RadioTherapy.js.map +1 -1
- package/components/Icons/RadioactiveTreatment.d.ts +1 -1
- package/components/Icons/RadioactiveTreatment.js +19 -15
- package/components/Icons/RadioactiveTreatment.js.map +1 -1
- package/components/Icons/Radioiodine.d.ts +1 -1
- package/components/Icons/Radioiodine.js +19 -15
- package/components/Icons/Radioiodine.js.map +1 -1
- package/components/Icons/Receipt.d.ts +1 -1
- package/components/Icons/Receipt.js +7 -3
- package/components/Icons/Receipt.js.map +1 -1
- package/components/Icons/Receptionist.d.ts +1 -1
- package/components/Icons/Receptionist.js +10 -4
- package/components/Icons/Receptionist.js.map +1 -1
- package/components/Icons/Recovery.d.ts +1 -1
- package/components/Icons/Recovery.js +19 -15
- package/components/Icons/Recovery.js.map +1 -1
- package/components/Icons/Referral.d.ts +1 -1
- package/components/Icons/Referral.js +10 -4
- package/components/Icons/Referral.js.map +1 -1
- package/components/Icons/Refresh.d.ts +1 -1
- package/components/Icons/Refresh.js +10 -4
- package/components/Icons/Refresh.js.map +1 -1
- package/components/Icons/Refund.d.ts +1 -1
- package/components/Icons/Refund.js +7 -3
- package/components/Icons/Refund.js.map +1 -1
- package/components/Icons/Reminder.d.ts +1 -1
- package/components/Icons/Reminder.js +27 -23
- package/components/Icons/Reminder.js.map +1 -1
- package/components/Icons/Reply.d.ts +1 -1
- package/components/Icons/Reply.js +16 -10
- package/components/Icons/Reply.js.map +1 -1
- package/components/Icons/Rocket.d.ts +1 -1
- package/components/Icons/Rocket.js +7 -3
- package/components/Icons/Rocket.js.map +1 -1
- package/components/Icons/RtfFile.d.ts +1 -1
- package/components/Icons/RtfFile.js +19 -15
- package/components/Icons/RtfFile.js.map +1 -1
- package/components/Icons/STDs.d.ts +1 -1
- package/components/Icons/STDs.js +19 -15
- package/components/Icons/STDs.js.map +1 -1
- package/components/Icons/Save.d.ts +1 -1
- package/components/Icons/Save.js +18 -12
- package/components/Icons/Save.js.map +1 -1
- package/components/Icons/Scale.d.ts +1 -1
- package/components/Icons/Scale.js +7 -3
- package/components/Icons/Scale.js.map +1 -1
- package/components/Icons/ScreenReader.d.ts +1 -1
- package/components/Icons/ScreenReader.js +46 -42
- package/components/Icons/ScreenReader.js.map +1 -1
- package/components/Icons/Search.d.ts +1 -1
- package/components/Icons/Search.js +10 -4
- package/components/Icons/Search.js.map +1 -1
- package/components/Icons/SectionSign.d.ts +1 -1
- package/components/Icons/SectionSign.js +34 -28
- package/components/Icons/SectionSign.js.map +1 -1
- package/components/Icons/Settings.d.ts +1 -1
- package/components/Icons/Settings.js +38 -32
- package/components/Icons/Settings.js.map +1 -1
- package/components/Icons/SettingsFill.d.ts +1 -1
- package/components/Icons/SettingsFill.js +38 -32
- package/components/Icons/SettingsFill.js.map +1 -1
- package/components/Icons/Sexualorientation.d.ts +1 -1
- package/components/Icons/Sexualorientation.js +19 -15
- package/components/Icons/Sexualorientation.js.map +1 -1
- package/components/Icons/ShakingHand.d.ts +1 -1
- package/components/Icons/ShakingHand.js +13 -9
- package/components/Icons/ShakingHand.js.map +1 -1
- package/components/Icons/Share.d.ts +1 -1
- package/components/Icons/Share.js +16 -10
- package/components/Icons/Share.js.map +1 -1
- package/components/Icons/Shield.d.ts +1 -1
- package/components/Icons/Shield.js +19 -15
- package/components/Icons/Shield.js.map +1 -1
- package/components/Icons/ShuntOperation.d.ts +1 -1
- package/components/Icons/ShuntOperation.js +19 -15
- package/components/Icons/ShuntOperation.js.map +1 -1
- package/components/Icons/Skeleton.d.ts +1 -1
- package/components/Icons/Skeleton.js +7 -3
- package/components/Icons/Skeleton.js.map +1 -1
- package/components/Icons/Skin.d.ts +1 -1
- package/components/Icons/Skin.js +7 -3
- package/components/Icons/Skin.js.map +1 -1
- package/components/Icons/Snake.d.ts +1 -1
- package/components/Icons/Snake.js +7 -3
- package/components/Icons/Snake.js.map +1 -1
- package/components/Icons/Snapchat.d.ts +1 -1
- package/components/Icons/Snapchat.js +10 -6
- package/components/Icons/Snapchat.js.map +1 -1
- package/components/Icons/SortDown.d.ts +1 -1
- package/components/Icons/SortDown.js +27 -19
- package/components/Icons/SortDown.js.map +1 -1
- package/components/Icons/SortUp.d.ts +1 -1
- package/components/Icons/SortUp.js +27 -19
- package/components/Icons/SortUp.js.map +1 -1
- package/components/Icons/SpeechBubble.d.ts +1 -1
- package/components/Icons/SpeechBubble.js +34 -28
- package/components/Icons/SpeechBubble.js.map +1 -1
- package/components/Icons/Spray.d.ts +1 -1
- package/components/Icons/Spray.js +7 -3
- package/components/Icons/Spray.js.map +1 -1
- package/components/Icons/Stopwatch.d.ts +1 -1
- package/components/Icons/Stopwatch.js +34 -28
- package/components/Icons/Stopwatch.js.map +1 -1
- package/components/Icons/Sun.d.ts +1 -1
- package/components/Icons/Sun.js +30 -26
- package/components/Icons/Sun.js.map +1 -1
- package/components/Icons/SupportingPerson.d.ts +1 -1
- package/components/Icons/SupportingPerson.js +41 -35
- package/components/Icons/SupportingPerson.js.map +1 -1
- package/components/Icons/Surgery.d.ts +1 -1
- package/components/Icons/Surgery.js +19 -15
- package/components/Icons/Surgery.js.map +1 -1
- package/components/Icons/Sweets.d.ts +1 -1
- package/components/Icons/Sweets.js +39 -35
- package/components/Icons/Sweets.js.map +1 -1
- package/components/Icons/Syringe.d.ts +1 -1
- package/components/Icons/Syringe.js +9 -8
- package/components/Icons/Syringe.js.map +1 -1
- package/components/Icons/Taxi.d.ts +1 -1
- package/components/Icons/Taxi.js +7 -3
- package/components/Icons/Taxi.js.map +1 -1
- package/components/Icons/TeddyBear.d.ts +1 -1
- package/components/Icons/TeddyBear.js +7 -3
- package/components/Icons/TeddyBear.js.map +1 -1
- package/components/Icons/Teenagers.d.ts +1 -1
- package/components/Icons/Teenagers.js +19 -15
- package/components/Icons/Teenagers.js.map +1 -1
- package/components/Icons/ThinkingAboutBaby.d.ts +1 -1
- package/components/Icons/ThinkingAboutBaby.js +7 -3
- package/components/Icons/ThinkingAboutBaby.js.map +1 -1
- package/components/Icons/Ticket.d.ts +1 -1
- package/components/Icons/Ticket.js +7 -3
- package/components/Icons/Ticket.js.map +1 -1
- package/components/Icons/TimePassing.d.ts +1 -1
- package/components/Icons/TimePassing.js +34 -28
- package/components/Icons/TimePassing.js.map +1 -1
- package/components/Icons/Tombstone.d.ts +1 -1
- package/components/Icons/Tombstone.js +26 -22
- package/components/Icons/Tombstone.js.map +1 -1
- package/components/Icons/Toolbox.d.ts +1 -1
- package/components/Icons/Toolbox.js +44 -38
- package/components/Icons/Toolbox.js.map +1 -1
- package/components/Icons/Tooth.d.ts +1 -1
- package/components/Icons/Tooth.js +7 -3
- package/components/Icons/Tooth.js.map +1 -1
- package/components/Icons/TotalKneeProsthesis.d.ts +1 -1
- package/components/Icons/TotalKneeProsthesis.js +19 -15
- package/components/Icons/TotalKneeProsthesis.js.map +1 -1
- package/components/Icons/Train.d.ts +1 -1
- package/components/Icons/Train.js +7 -3
- package/components/Icons/Train.js.map +1 -1
- package/components/Icons/Transplantation.d.ts +1 -1
- package/components/Icons/Transplantation.js +19 -15
- package/components/Icons/Transplantation.js.map +1 -1
- package/components/Icons/TrashCan.d.ts +1 -1
- package/components/Icons/TrashCan.js +34 -28
- package/components/Icons/TrashCan.js.map +1 -1
- package/components/Icons/TravelRoute.d.ts +1 -1
- package/components/Icons/TravelRoute.js +57 -53
- package/components/Icons/TravelRoute.js.map +1 -1
- package/components/Icons/TriangleX.d.ts +1 -1
- package/components/Icons/TriangleX.js +38 -32
- package/components/Icons/TriangleX.js.map +1 -1
- package/components/Icons/Twitter.d.ts +1 -1
- package/components/Icons/Twitter.js +7 -3
- package/components/Icons/Twitter.js.map +1 -1
- package/components/Icons/Undo.d.ts +1 -1
- package/components/Icons/Undo.js +48 -40
- package/components/Icons/Undo.js.map +1 -1
- package/components/Icons/UniProsthesis.d.ts +1 -1
- package/components/Icons/UniProsthesis.js +19 -15
- package/components/Icons/UniProsthesis.js.map +1 -1
- package/components/Icons/Upload.d.ts +1 -1
- package/components/Icons/Upload.js +16 -10
- package/components/Icons/Upload.js.map +1 -1
- package/components/Icons/UserOrganization.d.ts +1 -1
- package/components/Icons/UserOrganization.js +7 -3
- package/components/Icons/UserOrganization.js.map +1 -1
- package/components/Icons/Vaccine.d.ts +1 -1
- package/components/Icons/Vaccine.js +34 -28
- package/components/Icons/Vaccine.js.map +1 -1
- package/components/Icons/VerticalDots.d.ts +1 -1
- package/components/Icons/VerticalDots.js +10 -4
- package/components/Icons/VerticalDots.js.map +1 -1
- package/components/Icons/VideoCamera.d.ts +1 -1
- package/components/Icons/VideoCamera.js +34 -28
- package/components/Icons/VideoCamera.js.map +1 -1
- package/components/Icons/VideoChat.d.ts +1 -1
- package/components/Icons/VideoChat.js +10 -4
- package/components/Icons/VideoChat.js.map +1 -1
- package/components/Icons/Wallet.d.ts +1 -1
- package/components/Icons/Wallet.js +10 -4
- package/components/Icons/Wallet.js.map +1 -1
- package/components/Icons/Watch.d.ts +1 -1
- package/components/Icons/Watch.js +34 -28
- package/components/Icons/Watch.js.map +1 -1
- package/components/Icons/Website.d.ts +1 -1
- package/components/Icons/Website.js +19 -15
- package/components/Icons/Website.js.map +1 -1
- package/components/Icons/Wheelchair.d.ts +1 -1
- package/components/Icons/Wheelchair.js +19 -15
- package/components/Icons/Wheelchair.js.map +1 -1
- package/components/Icons/WheelchairActive.d.ts +1 -1
- package/components/Icons/WheelchairActive.js +19 -15
- package/components/Icons/WheelchairActive.js.map +1 -1
- package/components/Icons/Window.d.ts +1 -1
- package/components/Icons/Window.js +7 -3
- package/components/Icons/Window.js.map +1 -1
- package/components/Icons/WordDocument.d.ts +1 -1
- package/components/Icons/WordDocument.js +13 -9
- package/components/Icons/WordDocument.js.map +1 -1
- package/components/Icons/WorkSuitcase.d.ts +1 -1
- package/components/Icons/WorkSuitcase.js +13 -9
- package/components/Icons/WorkSuitcase.js.map +1 -1
- package/components/Icons/X.d.ts +1 -1
- package/components/Icons/X.js +12 -4
- package/components/Icons/X.js.map +1 -1
- package/components/Icons/XOutline.d.ts +1 -1
- package/components/Icons/XOutline.js +19 -15
- package/components/Icons/XOutline.js.map +1 -1
- package/components/Icons/XmlFile.d.ts +1 -1
- package/components/Icons/XmlFile.js +19 -15
- package/components/Icons/XmlFile.js.map +1 -1
- package/components/Icons/YouTube.d.ts +1 -1
- package/components/Icons/YouTube.js +7 -3
- package/components/Icons/YouTube.js.map +1 -1
- package/components/Icons/Zoom.d.ts +1 -1
- package/components/Icons/Zoom.js +34 -28
- package/components/Icons/Zoom.js.map +1 -1
- package/components/Illustration/Illustration.d.ts +1 -1
- package/components/Illustration/index.d.ts +1 -1
- package/components/Illustration/index.js +5 -5
- package/components/Illustrations/Doctor.d.ts +1 -1
- package/components/Illustrations/Doctor.js +9 -8
- package/components/Illustrations/Doctor.js.map +1 -1
- package/components/Illustrations/DoctorMedium.d.ts +1 -1
- package/components/Illustrations/DoctorMedium.js +15 -15
- package/components/Illustrations/DoctorMedium.js.map +1 -1
- package/components/Illustrations/DoctorSmall.d.ts +1 -1
- package/components/Illustrations/DoctorSmall.js +16 -16
- package/components/Illustrations/DoctorSmall.js.map +1 -1
- package/components/Illustrations/FacialRecognitionFingerprint.d.ts +1 -1
- package/components/Illustrations/FacialRecognitionFingerprint.js +7 -7
- package/components/Illustrations/FacialRecognitionFingerprint.js.map +1 -1
- package/components/Illustrations/FacialRecognitionFingerprintMedium.d.ts +1 -1
- package/components/Illustrations/FacialRecognitionFingerprintMedium.js +52 -52
- package/components/Illustrations/FacialRecognitionFingerprintMedium.js.map +1 -1
- package/components/Illustrations/HealthcarePersonnel.d.ts +1 -1
- package/components/Illustrations/HealthcarePersonnel.js +9 -8
- package/components/Illustrations/HealthcarePersonnel.js.map +1 -1
- package/components/Illustrations/HealthcarePersonnelMedium.d.ts +1 -1
- package/components/Illustrations/HealthcarePersonnelMedium.js +40 -40
- package/components/Illustrations/HealthcarePersonnelMedium.js.map +1 -1
- package/components/Illustrations/HealthcarePersonnelSmall.d.ts +1 -1
- package/components/Illustrations/HealthcarePersonnelSmall.js +33 -33
- package/components/Illustrations/HealthcarePersonnelSmall.js.map +1 -1
- package/components/Illustrations/IllustrationNames.js +4 -3
- package/components/Illustrations/IllustrationNames.js.map +1 -1
- package/components/Input/Input.d.ts +1 -1
- package/components/Input/index.d.ts +1 -1
- package/components/Input/index.js +4 -4
- package/components/Label/Label.d.ts +1 -1
- package/components/Label/SubLabel.d.ts +1 -1
- package/components/Label/index.d.ts +1 -1
- package/components/Label/index.js +7 -7
- package/components/LazyIcon/ErrorBoundary.d.ts +1 -1
- package/components/LazyIcon/LazyIcon.d.ts +1 -1
- package/components/LazyIcon/index.d.ts +1 -1
- package/components/LazyIcon/index.js +5 -5
- package/components/LazyIllustration/LazyIllustration.d.ts +1 -1
- package/components/LazyIllustration/index.d.ts +1 -1
- package/components/LazyIllustration/index.js +5 -5
- package/components/LinkList/LinkList.d.ts +1 -1
- package/components/LinkList/index.d.ts +1 -1
- package/components/LinkList/index.js +3 -3
- package/components/List/List.d.ts +1 -1
- package/components/List/index.d.ts +1 -1
- package/components/List/index.js +2 -2
- package/components/ListHeader/ListHeader.d.ts +1 -1
- package/components/ListHeader/ListHeaderText/ListHeaderText.d.ts +1 -1
- package/components/ListHeader/ListHeaderText/index.d.ts +1 -1
- package/components/ListHeader/ListHeaderText/index.js +3 -3
- package/components/ListHeader/index.js +8 -8
- package/components/Loader/Loader.d.ts +1 -1
- package/components/Loader/index.d.ts +1 -1
- package/components/Loader/index.js +83 -56
- package/components/Loader/index.js.map +1 -1
- package/components/Logo/Logo.d.ts +1 -1
- package/components/Logo/index.d.ts +1 -1
- package/components/Logo/index.js +34 -31
- package/components/Logo/index.js.map +1 -1
- package/components/MaxCharacters/MaxCharacters.d.ts +1 -1
- package/components/Modal/Modal.d.ts +1 -1
- package/components/Modal/index.d.ts +1 -1
- package/components/Modal/index.js +166 -109
- package/components/Modal/index.js.map +1 -1
- package/components/NotificationPanel/NotificationPanel.d.ts +1 -1
- package/components/NotificationPanel/index.d.ts +1 -1
- package/components/NotificationPanel/index.js +90 -79
- package/components/NotificationPanel/index.js.map +1 -1
- package/components/Panel/Panel.d.ts +1 -1
- package/components/Panel/index.d.ts +1 -1
- package/components/Panel/index.js +6 -6
- package/components/PanelList/PanelList.d.ts +1 -1
- package/components/PanelList/index.d.ts +1 -1
- package/components/PanelList/index.js +15 -13
- package/components/PanelList/index.js.map +1 -1
- package/components/PopMenu/PopMenu.d.ts +1 -1
- package/components/PopMenu/PopMenu.test.d.ts +0 -1
- package/components/PopMenu/index.d.ts +1 -1
- package/components/PopMenu/index.js +104 -75
- package/components/PopMenu/index.js.map +1 -1
- package/components/PopOver/PopOver.d.ts +1 -1
- package/components/PopOver/index.d.ts +1 -1
- package/components/PopOver/index.js +4 -4
- package/components/Portal/index.d.ts +1 -1
- package/components/Portal/index.js +20 -11
- package/components/Portal/index.js.map +1 -1
- package/components/Progressbar/Progressbar.d.ts +1 -1
- package/components/Progressbar/index.d.ts +1 -1
- package/components/Progressbar/index.js +95 -59
- package/components/Progressbar/index.js.map +1 -1
- package/components/PromoPanel/PromoPanel.d.ts +1 -1
- package/components/PromoPanel/index.d.ts +1 -1
- package/components/PromoPanel/index.js +65 -46
- package/components/PromoPanel/index.js.map +1 -1
- package/components/RadioButton/RadioButton.d.ts +1 -1
- package/components/RadioButton/index.d.ts +1 -1
- package/components/RadioButton/index.js +5 -5
- package/components/Select/Select.d.ts +1 -1
- package/components/Select/index.d.ts +1 -1
- package/components/Select/index.js +3 -3
- package/components/ServiceMessage/ServiceMessage.d.ts +1 -1
- package/components/ServiceMessage/index.d.ts +1 -1
- package/components/ServiceMessage/index.js +101 -87
- package/components/ServiceMessage/index.js.map +1 -1
- package/components/SharingStatus/SharingStatus.d.ts +1 -1
- package/components/SharingStatus/index.d.ts +1 -1
- package/components/SharingStatus/index.js +16 -13
- package/components/SharingStatus/index.js.map +1 -1
- package/components/Slider/Slider.d.ts +1 -1
- package/components/Slider/index.d.ts +1 -1
- package/components/Slider/index.js +3 -3
- package/components/Spacer/Spacer.d.ts +1 -1
- package/components/Spacer/index.d.ts +1 -1
- package/components/Spacer/index.js +2 -2
- package/components/StatusDot/StatusDot.d.ts +1 -1
- package/components/StatusDot/index.d.ts +1 -1
- package/components/StatusDot/index.js +5 -5
- package/components/Step/Step.d.ts +1 -1
- package/components/Step/index.d.ts +1 -1
- package/components/Step/index.js +25 -25
- package/components/Step/index.js.map +1 -1
- package/components/StepButtons/StepButtons.d.ts +1 -1
- package/components/StepButtons/index.d.ts +1 -1
- package/components/StepButtons/index.js +3 -3
- package/components/Stepper/Dot.d.ts +1 -1
- package/components/Stepper/DotList.d.ts +1 -1
- package/components/Stepper/Stepper.d.ts +1 -1
- package/components/Stepper/index.d.ts +1 -1
- package/components/Stepper/index.js +71 -37
- package/components/Stepper/index.js.map +1 -1
- package/components/Table/Table.d.ts +1 -1
- package/components/Table/TableBody/TableBody.d.ts +1 -1
- package/components/Table/TableBody/index.d.ts +1 -1
- package/components/Table/TableBody/index.js +3 -3
- package/components/Table/TableCell/TableCell.d.ts +1 -1
- package/components/Table/TableCell/index.d.ts +1 -1
- package/components/Table/TableCell/index.js +5 -5
- package/components/Table/TableExpandedRow/TableExpandedRow.d.ts +1 -1
- package/components/Table/TableExpandedRow/index.d.ts +1 -1
- package/components/Table/TableExpandedRow/index.js +3 -3
- package/components/Table/TableExpanderCell/TableExpanderCell.d.ts +1 -1
- package/components/Table/TableExpanderCell/TableExpanderCellMobile.d.ts +1 -1
- package/components/Table/TableExpanderCell/index.d.ts +1 -1
- package/components/Table/TableExpanderCell/index.js +3 -3
- package/components/Table/TableHead/TableHead.d.ts +1 -1
- package/components/Table/TableHead/index.d.ts +1 -1
- package/components/Table/TableHead/index.js +5 -5
- package/components/Table/TableHeadCell/TableHeadCell.d.ts +1 -1
- package/components/Table/TableHeadCell/index.d.ts +1 -1
- package/components/Table/TableHeadCell/index.js +5 -5
- package/components/Table/TableRow/TableRow.d.ts +1 -1
- package/components/Table/TableRow/index.d.ts +1 -1
- package/components/Table/TableRow/index.js +3 -3
- package/components/Table/index.js +24 -24
- package/components/Table/utils.d.ts +1 -1
- package/components/Tabs/Tab.d.ts +1 -1
- package/components/Tabs/TabList/TabItem.d.ts +1 -1
- package/components/Tabs/TabList/TabList.d.ts +1 -1
- package/components/Tabs/TabList/index.d.ts +1 -1
- package/components/Tabs/TabList/index.js +2 -2
- package/components/Tabs/TabPanel/TabPanel.d.ts +1 -3
- package/components/Tabs/TabPanel/index.d.ts +1 -1
- package/components/Tabs/TabPanel/index.js +2 -2
- package/components/Tabs/TabPanel/styles.module.scss +0 -28
- package/components/Tabs/TabPanel/styles.module.scss.d.ts +0 -4
- package/components/Tabs/Tabs.d.ts +2 -2
- package/components/Tabs/index.d.ts +1 -1
- package/components/Tabs/index.js +45 -72
- package/components/Tabs/index.js.map +1 -1
- package/components/Tag/Tag.d.ts +1 -1
- package/components/Tag/index.d.ts +1 -1
- package/components/Tag/index.js +29 -18
- package/components/Tag/index.js.map +1 -1
- package/components/TagList/TagList.d.ts +1 -1
- package/components/TagList/index.d.ts +1 -1
- package/components/TagList/index.js +8 -6
- package/components/TagList/index.js.map +1 -1
- package/components/Textarea/Textarea.d.ts +1 -1
- package/components/Textarea/index.d.ts +1 -1
- package/components/Textarea/index.js +2 -2
- package/components/Tile/Tile.d.ts +1 -1
- package/components/Tile/index.d.ts +1 -1
- package/components/Tile/index.js +64 -55
- package/components/Tile/index.js.map +1 -1
- package/components/Tile/styles.module.scss +28 -23
- package/components/Tile/styles.module.scss.d.ts +1 -0
- package/components/Title/Title.d.ts +1 -1
- package/components/Title/index.d.ts +1 -1
- package/components/Title/index.js +5 -5
- package/components/Toggle/Toggle.d.ts +1 -2
- package/components/Toggle/index.d.ts +1 -1
- package/components/Toggle/index.js +3161 -1786
- package/components/Toggle/index.js.map +1 -1
- package/components/Tooltip/Tooltip.d.ts +1 -1
- package/components/Tooltip/TooltipWord/TooltipWord.d.ts +1 -1
- package/components/Tooltip/TooltipWord/index.d.ts +1 -1
- package/components/Tooltip/TooltipWord/index.js +2 -2
- package/components/Tooltip/index.d.ts +1 -1
- package/components/Tooltip/index.js +79 -46
- package/components/Tooltip/index.js.map +1 -1
- package/components/Trigger/HelpSign.d.ts +1 -1
- package/components/Trigger/InfoSignStroke.d.ts +1 -1
- package/components/Trigger/Trigger.d.ts +1 -1
- package/components/Trigger/index.d.ts +1 -1
- package/components/Trigger/index.js +2 -2
- package/components/Validation/ErrorList.d.ts +1 -1
- package/components/Validation/ErrorListItem.d.ts +1 -1
- package/components/Validation/Validation.d.ts +1 -1
- package/components/Validation/ValidationSummary.d.ts +1 -1
- package/components/Validation/index.d.ts +1 -1
- package/components/Validation/index.js +65 -41
- package/components/Validation/index.js.map +1 -1
- package/constants.js +113 -10
- package/constants.js.map +1 -1
- package/docs/ButtonWithModal/ButtonWithModal.d.ts +1 -1
- package/docs/ButtonWithModal/index.d.ts +1 -1
- package/docs/FormExample/index.d.ts +1 -1
- package/docs/GridExample/GridExample.d.ts +1 -1
- package/docs/GridExample/index.d.ts +1 -1
- package/docs/HelpBubbleExample/HelpBubbleExample.d.ts +1 -1
- package/docs/HelpBubbleExample/index.d.ts +1 -1
- package/docs/TooltipExample/TooltipExample.d.ts +1 -1
- package/docs/TooltipExample/index.d.ts +1 -1
- package/hoc/withBreakpoint/index.d.ts +1 -1
- package/hoc/withBreakpoint/index.js +3 -3
- package/hoc/withBreakpoint/withBreakpoint.d.ts +1 -1
- package/hoc/withBreakpoint/withBreakpoint.js +9 -9
- package/hoc/withBreakpoint/withBreakpoint.js.map +1 -1
- package/hooks/useBreakpoint.js +51 -30
- package/hooks/useBreakpoint.js.map +1 -1
- package/hooks/useDelayedState.js +18 -10
- package/hooks/useDelayedState.js.map +1 -1
- package/hooks/useElementList.js +19 -13
- package/hooks/useElementList.js.map +1 -1
- package/hooks/useEventListenerState.d.ts +1 -1
- package/hooks/useEventListenerState.js +10 -7
- package/hooks/useEventListenerState.js.map +1 -1
- package/hooks/useExpand.js +17 -10
- package/hooks/useExpand.js.map +1 -1
- package/hooks/useFocusToggle.d.ts +1 -1
- package/hooks/useFocusToggle.js +27 -15
- package/hooks/useFocusToggle.js.map +1 -1
- package/hooks/useFocusTrap.d.ts +1 -1
- package/hooks/useFocusTrap.js +26 -16
- package/hooks/useFocusTrap.js.map +1 -1
- package/hooks/useFocusableElements.js +6 -5
- package/hooks/useFocusableElements.js.map +1 -1
- package/hooks/useHover.js +5 -5
- package/hooks/useHover.js.map +1 -1
- package/hooks/useIcons.js +19 -12
- package/hooks/useIcons.js.map +1 -1
- package/hooks/useIntersectionObserver.js +15 -8
- package/hooks/useIntersectionObserver.js.map +1 -1
- package/hooks/useInterval.js +7 -7
- package/hooks/useInterval.js.map +1 -1
- package/hooks/useIsServerSide.js +8 -7
- package/hooks/useIsServerSide.js.map +1 -1
- package/hooks/useIsVisible.js +10 -8
- package/hooks/useIsVisible.js.map +1 -1
- package/hooks/useKeyboardEvent.js +17 -14
- package/hooks/useKeyboardEvent.js.map +1 -1
- package/hooks/useLayoutEvent.js +12 -9
- package/hooks/useLayoutEvent.js.map +1 -1
- package/hooks/useOutsideEvent.js +13 -8
- package/hooks/useOutsideEvent.js.map +1 -1
- package/hooks/usePrevious.js +8 -7
- package/hooks/usePrevious.js.map +1 -1
- package/hooks/usePseudoClasses.js +38 -11
- package/hooks/usePseudoClasses.js.map +1 -1
- package/hooks/useResizeObserver.js +25 -12
- package/hooks/useResizeObserver.js.map +1 -1
- package/hooks/useRovingFocus.js +51 -21
- package/hooks/useRovingFocus.js.map +1 -1
- package/hooks/useSize.js +39 -20
- package/hooks/useSize.js.map +1 -1
- package/hooks/useToggle.js +19 -11
- package/hooks/useToggle.js.map +1 -1
- package/hooks/useUuid.js +6 -6
- package/hooks/useUuid.js.map +1 -1
- package/hooks/usestopPropagation.js +14 -11
- package/hooks/usestopPropagation.js.map +1 -1
- package/index.d.ts +0 -1
- package/index.js +43 -45
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/style.css +181 -1
- package/theme/currys/color.js +13 -4
- package/theme/currys/color.js.map +1 -1
- package/theme/currys/index.js +6 -6
- package/theme/currys/spacing.js +24 -20
- package/theme/currys/spacing.js.map +1 -1
- package/theme/grid.js +14 -12
- package/theme/grid.js.map +1 -1
- package/theme/index.js +10 -10
- package/theme/index.js.map +1 -1
- package/theme/palette.js +20 -14
- package/theme/palette.js.map +1 -1
- package/theme/spacers.js +17 -16
- package/theme/spacers.js.map +1 -1
- package/utils/accessibility.js +25 -18
- package/utils/accessibility.js.map +1 -1
- package/utils/component.d.ts +1 -1
- package/utils/component.js +12 -7
- package/utils/component.js.map +1 -1
- package/utils/debounce.js +15 -10
- package/utils/debounce.js.map +1 -1
- package/utils/device.js +4 -2
- package/utils/device.js.map +1 -1
- package/utils/environment.js +9 -8
- package/utils/environment.js.map +1 -1
- package/utils/focus.js +8 -5
- package/utils/focus.js.map +1 -1
- package/utils/loremtext.js +7 -5
- package/utils/loremtext.js.map +1 -1
- package/utils/mobile.js +13 -7
- package/utils/mobile.js.map +1 -1
- package/utils/refs.js +16 -7
- package/utils/refs.js.map +1 -1
- package/utils/tests/setup-test.d.ts +0 -8
- package/utils/uuid.js +3 -3
- package/utils/viewport.js +4 -4
- package/utils/viewport.js.map +1 -1
- package/utils.js +10 -2
- package/utils.js.map +1 -1
- package/uuid.js +15 -9
- package/uuid.js.map +1 -1
- package/hooks/useSticky.d.ts +0 -21
- package/hooks/useSticky.js +0 -18
- package/hooks/useSticky.js.map +0 -1
package/Title.js
CHANGED
|
@@ -1,25 +1,31 @@
|
|
|
1
|
-
import { jsx
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { AnalyticsId
|
|
5
|
-
import
|
|
6
|
-
const
|
|
7
|
-
const { id
|
|
8
|
-
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import classNames from "classnames";
|
|
4
|
+
import { AnalyticsId } from "./constants.js";
|
|
5
|
+
import titleStyles from "./components/Title/styles.module.scss";
|
|
6
|
+
const Title = React.forwardRef(function TitleForwardedRef(props, ref) {
|
|
7
|
+
const { id, children, className, htmlMarkup = "h1", appearance = "title1", margin = 0, testId } = props;
|
|
8
|
+
const titleClasses = classNames(
|
|
9
|
+
titleStyles.title,
|
|
9
10
|
{
|
|
10
|
-
[
|
|
11
|
-
[
|
|
12
|
-
[
|
|
13
|
-
[
|
|
14
|
-
[
|
|
15
|
-
[
|
|
11
|
+
[titleStyles["title--feature"]]: appearance === "titleFeature",
|
|
12
|
+
[titleStyles["title--title1"]]: appearance === "title1",
|
|
13
|
+
[titleStyles["title--title2"]]: appearance === "title2",
|
|
14
|
+
[titleStyles["title--title3"]]: appearance === "title3",
|
|
15
|
+
[titleStyles["title--title4"]]: appearance === "title4",
|
|
16
|
+
[titleStyles["title--title5"]]: appearance === "title5"
|
|
16
17
|
},
|
|
17
|
-
|
|
18
|
-
)
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
className
|
|
19
|
+
);
|
|
20
|
+
const CustomTag = htmlMarkup;
|
|
21
|
+
const inlineStyle = instanceOfTitleMargin(margin) ? { marginTop: `${margin.marginTop}rem`, marginBottom: `${margin.marginBottom}rem` } : { marginTop: `${margin}rem`, marginBottom: `${margin}rem` };
|
|
22
|
+
return /* @__PURE__ */ jsx(CustomTag, { id, className: titleClasses, style: inlineStyle, ref, "data-testid": testId, "data-analyticsid": AnalyticsId.Title, children });
|
|
23
|
+
});
|
|
24
|
+
const instanceOfTitleMargin = (margin) => {
|
|
25
|
+
return Object.prototype.hasOwnProperty.call(margin, "marginTop") && Object.prototype.hasOwnProperty.call(margin, "marginBottom");
|
|
26
|
+
};
|
|
21
27
|
export {
|
|
22
|
-
|
|
23
|
-
|
|
28
|
+
Title as T,
|
|
29
|
+
instanceOfTitleMargin as i
|
|
24
30
|
};
|
|
25
31
|
//# sourceMappingURL=Title.js.map
|
package/Title.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Title.js","sources":["../src/components/Title/Title.tsx"],"sourcesContent":["import React from 'react';\n\nimport classNames from 'classnames';\n\nimport { AnalyticsId } from '../../constants';\n\nimport titleStyles from './styles.module.scss';\n\nexport type TitleTags = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'span';\nexport type TitleAppearances = 'titleFeature' | 'title1' | 'title2' | 'title3' | 'title4' | 'title5';\n\nexport interface TitleProps {\n children: React.ReactNode;\n /** Gives a unique id to the title */\n id?: string;\n /** Adds custom classes to the element. */\n className?: string;\n /** Adds top and bottom margin in rem. */\n margin?: number | TitleMargin;\n /** Changes the underlying element of the title. */\n htmlMarkup?: TitleTags;\n /** Changes the appearance of the title. */\n appearance?: TitleAppearances;\n /** Sets the data-testid attribute. */\n testId?: string;\n}\n\nexport const Title = React.forwardRef(function TitleForwardedRef(props: TitleProps, ref: React.ForwardedRef<HTMLHeadingElement>) {\n const { id, children, className, htmlMarkup = 'h1', appearance = 'title1', margin = 0, testId } = props;\n const titleClasses = classNames(\n titleStyles.title,\n {\n [titleStyles['title--feature']]: appearance === 'titleFeature',\n [titleStyles['title--title1']]: appearance === 'title1',\n [titleStyles['title--title2']]: appearance === 'title2',\n [titleStyles['title--title3']]: appearance === 'title3',\n [titleStyles['title--title4']]: appearance === 'title4',\n [titleStyles['title--title5']]: appearance === 'title5',\n },\n className\n );\n const CustomTag = htmlMarkup;\n\n const inlineStyle = instanceOfTitleMargin(margin)\n ? { marginTop: `${margin.marginTop}rem`, marginBottom: `${margin.marginBottom}rem` }\n : { marginTop: `${margin}rem`, marginBottom: `${margin}rem` };\n\n return (\n <CustomTag id={id} className={titleClasses} style={inlineStyle} ref={ref} data-testid={testId} data-analyticsid={AnalyticsId.Title}>\n {children}\n </CustomTag>\n );\n});\n\nexport interface TitleMargin {\n marginTop: number;\n marginBottom: number;\n}\n\nexport const instanceOfTitleMargin = (margin: unknown): margin is TitleMargin => {\n return Object.prototype.hasOwnProperty.call(margin, 'marginTop') && Object.prototype.hasOwnProperty.call(margin, 'marginBottom');\n};\n\nexport default Title;\n"],"names":[
|
|
1
|
+
{"version":3,"file":"Title.js","sources":["../src/components/Title/Title.tsx"],"sourcesContent":["import React from 'react';\n\nimport classNames from 'classnames';\n\nimport { AnalyticsId } from '../../constants';\n\nimport titleStyles from './styles.module.scss';\n\nexport type TitleTags = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'span';\nexport type TitleAppearances = 'titleFeature' | 'title1' | 'title2' | 'title3' | 'title4' | 'title5';\n\nexport interface TitleProps {\n children: React.ReactNode;\n /** Gives a unique id to the title */\n id?: string;\n /** Adds custom classes to the element. */\n className?: string;\n /** Adds top and bottom margin in rem. */\n margin?: number | TitleMargin;\n /** Changes the underlying element of the title. */\n htmlMarkup?: TitleTags;\n /** Changes the appearance of the title. */\n appearance?: TitleAppearances;\n /** Sets the data-testid attribute. */\n testId?: string;\n}\n\nexport const Title = React.forwardRef(function TitleForwardedRef(props: TitleProps, ref: React.ForwardedRef<HTMLHeadingElement>) {\n const { id, children, className, htmlMarkup = 'h1', appearance = 'title1', margin = 0, testId } = props;\n const titleClasses = classNames(\n titleStyles.title,\n {\n [titleStyles['title--feature']]: appearance === 'titleFeature',\n [titleStyles['title--title1']]: appearance === 'title1',\n [titleStyles['title--title2']]: appearance === 'title2',\n [titleStyles['title--title3']]: appearance === 'title3',\n [titleStyles['title--title4']]: appearance === 'title4',\n [titleStyles['title--title5']]: appearance === 'title5',\n },\n className\n );\n const CustomTag = htmlMarkup;\n\n const inlineStyle = instanceOfTitleMargin(margin)\n ? { marginTop: `${margin.marginTop}rem`, marginBottom: `${margin.marginBottom}rem` }\n : { marginTop: `${margin}rem`, marginBottom: `${margin}rem` };\n\n return (\n <CustomTag id={id} className={titleClasses} style={inlineStyle} ref={ref} data-testid={testId} data-analyticsid={AnalyticsId.Title}>\n {children}\n </CustomTag>\n );\n});\n\nexport interface TitleMargin {\n marginTop: number;\n marginBottom: number;\n}\n\nexport const instanceOfTitleMargin = (margin: unknown): margin is TitleMargin => {\n return Object.prototype.hasOwnProperty.call(margin, 'marginTop') && Object.prototype.hasOwnProperty.call(margin, 'marginBottom');\n};\n\nexport default Title;\n"],"names":[],"mappings":";;;;;AA2BO,MAAM,QAAQ,MAAM,WAAW,SAAS,kBAAkB,OAAmB,KAA6C;AACzH,QAAA,EAAE,IAAI,UAAU,WAAW,aAAa,MAAM,aAAa,UAAU,SAAS,GAAG,OAAW,IAAA;AAClG,QAAM,eAAe;AAAA,IACnB,YAAY;AAAA,IACZ;AAAA,MACE,CAAC,YAAY,gBAAgB,CAAC,GAAG,eAAe;AAAA,MAChD,CAAC,YAAY,eAAe,CAAC,GAAG,eAAe;AAAA,MAC/C,CAAC,YAAY,eAAe,CAAC,GAAG,eAAe;AAAA,MAC/C,CAAC,YAAY,eAAe,CAAC,GAAG,eAAe;AAAA,MAC/C,CAAC,YAAY,eAAe,CAAC,GAAG,eAAe;AAAA,MAC/C,CAAC,YAAY,eAAe,CAAC,GAAG,eAAe;AAAA,IACjD;AAAA,IACA;AAAA,EACF;AACA,QAAM,YAAY;AAEZ,QAAA,cAAc,sBAAsB,MAAM,IAC5C,EAAE,WAAW,GAAG,OAAO,SAAS,OAAO,cAAc,GAAG,OAAO,YAAY,MAAA,IAC3E,EAAE,WAAW,GAAG,MAAM,OAAO,cAAc,GAAG,MAAM,MAAM;AAE9D,SACG,oBAAA,WAAA,EAAU,IAAQ,WAAW,cAAc,OAAO,aAAa,KAAU,eAAa,QAAQ,oBAAkB,YAAY,OAC1H,UACH;AAEJ,CAAC;AAOY,MAAA,wBAAwB,CAAC,WAA2C;AAC/E,SAAO,OAAO,UAAU,eAAe,KAAK,QAAQ,WAAW,KAAK,OAAO,UAAU,eAAe,KAAK,QAAQ,cAAc;AACjI;"}
|
package/TooltipWord.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { jsx
|
|
2
|
-
import
|
|
3
|
-
import { AnalyticsId
|
|
4
|
-
import
|
|
5
|
-
const
|
|
6
|
-
({ children
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { AnalyticsId } from "./constants.js";
|
|
4
|
+
import styles from "./components/Tooltip/TooltipWord/styles.module.scss";
|
|
5
|
+
const TooltipWord = React.forwardRef(
|
|
6
|
+
({ children, onClick, onFocus, onBlur, onKeyDown, testId, ariaDescribedById }, ref) => /* @__PURE__ */ jsx(
|
|
7
7
|
"button",
|
|
8
8
|
{
|
|
9
|
-
className:
|
|
10
|
-
ref
|
|
11
|
-
onClick
|
|
12
|
-
onMouseEnter:
|
|
13
|
-
onMouseLeave:
|
|
14
|
-
onFocus
|
|
15
|
-
onBlur
|
|
16
|
-
onKeyDown
|
|
17
|
-
"aria-describedby":
|
|
18
|
-
"data-testid":
|
|
19
|
-
"data-analyticsid":
|
|
20
|
-
children
|
|
9
|
+
className: styles.word,
|
|
10
|
+
ref,
|
|
11
|
+
onClick,
|
|
12
|
+
onMouseEnter: onFocus,
|
|
13
|
+
onMouseLeave: onBlur,
|
|
14
|
+
onFocus,
|
|
15
|
+
onBlur,
|
|
16
|
+
onKeyDown,
|
|
17
|
+
"aria-describedby": ariaDescribedById,
|
|
18
|
+
"data-testid": testId,
|
|
19
|
+
"data-analyticsid": AnalyticsId.Tooltip,
|
|
20
|
+
children
|
|
21
21
|
}
|
|
22
22
|
)
|
|
23
23
|
);
|
|
24
|
-
|
|
24
|
+
TooltipWord.displayName = "TooltipWord";
|
|
25
25
|
export {
|
|
26
|
-
|
|
26
|
+
TooltipWord as T
|
|
27
27
|
};
|
|
28
28
|
//# sourceMappingURL=TooltipWord.js.map
|
package/TooltipWord.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TooltipWord.js","sources":["../src/components/Tooltip/TooltipWord/TooltipWord.tsx"],"sourcesContent":["import React from 'react';\n\nimport { AnalyticsId } from '../../../constants';\n\nimport styles from './styles.module.scss';\n\nexport interface TooltipWordProps {\n /** Ordet som skal ha en tilhørende tooltip */\n children: string;\n /** Callback når ordet klikkes på */\n onClick: () => void;\n /** Callback når ordet får fokus eller hovres over */\n onFocus: () => void;\n /** Callback når ordet mister fokus eller hover forsvinner */\n onBlur: () => void;\n /** Callback når det skrives på tastaturet */\n onKeyDown: (e: React.KeyboardEvent<HTMLSpanElement>) => void;\n /** ID til element som beskriver ordet */\n ariaDescribedById: string;\n /** Valgfri test-id */\n testId?: string;\n}\n\nconst TooltipWord = React.forwardRef<HTMLButtonElement, TooltipWordProps>(\n ({ children, onClick, onFocus, onBlur, onKeyDown, testId, ariaDescribedById }, ref) => (\n <button\n className={styles.word}\n ref={ref}\n onClick={onClick}\n onMouseEnter={onFocus}\n onMouseLeave={onBlur}\n onFocus={onFocus}\n onBlur={onBlur}\n onKeyDown={onKeyDown}\n aria-describedby={ariaDescribedById}\n data-testid={testId}\n data-analyticsid={AnalyticsId.Tooltip}\n >\n {children}\n </button>\n )\n);\n\nTooltipWord.displayName = 'TooltipWord';\n\nexport default TooltipWord;\n"],"names":[
|
|
1
|
+
{"version":3,"file":"TooltipWord.js","sources":["../src/components/Tooltip/TooltipWord/TooltipWord.tsx"],"sourcesContent":["import React from 'react';\n\nimport { AnalyticsId } from '../../../constants';\n\nimport styles from './styles.module.scss';\n\nexport interface TooltipWordProps {\n /** Ordet som skal ha en tilhørende tooltip */\n children: string;\n /** Callback når ordet klikkes på */\n onClick: () => void;\n /** Callback når ordet får fokus eller hovres over */\n onFocus: () => void;\n /** Callback når ordet mister fokus eller hover forsvinner */\n onBlur: () => void;\n /** Callback når det skrives på tastaturet */\n onKeyDown: (e: React.KeyboardEvent<HTMLSpanElement>) => void;\n /** ID til element som beskriver ordet */\n ariaDescribedById: string;\n /** Valgfri test-id */\n testId?: string;\n}\n\nconst TooltipWord = React.forwardRef<HTMLButtonElement, TooltipWordProps>(\n ({ children, onClick, onFocus, onBlur, onKeyDown, testId, ariaDescribedById }, ref) => (\n <button\n className={styles.word}\n ref={ref}\n onClick={onClick}\n onMouseEnter={onFocus}\n onMouseLeave={onBlur}\n onFocus={onFocus}\n onBlur={onBlur}\n onKeyDown={onKeyDown}\n aria-describedby={ariaDescribedById}\n data-testid={testId}\n data-analyticsid={AnalyticsId.Tooltip}\n >\n {children}\n </button>\n )\n);\n\nTooltipWord.displayName = 'TooltipWord';\n\nexport default TooltipWord;\n"],"names":[],"mappings":";;;;AAuBA,MAAM,cAAc,MAAM;AAAA,EACxB,CAAC,EAAE,UAAU,SAAS,SAAS,QAAQ,WAAW,QAAQ,qBAAqB,QAC7E;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW,OAAO;AAAA,MAClB;AAAA,MACA;AAAA,MACA,cAAc;AAAA,MACd,cAAc;AAAA,MACd;AAAA,MACA;AAAA,MACA;AAAA,MACA,oBAAkB;AAAA,MAClB,eAAa;AAAA,MACb,oBAAkB,YAAY;AAAA,MAE7B;AAAA,IAAA;AAAA,EAAA;AAGP;AAEA,YAAY,cAAc;"}
|
package/Trigger.js
CHANGED
|
@@ -1,73 +1,90 @@
|
|
|
1
|
-
import { jsx
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { g as
|
|
5
|
-
import { IconSize
|
|
6
|
-
import { useHover
|
|
7
|
-
import { getColor
|
|
8
|
-
import { getAriaLabelAttributes
|
|
9
|
-
import { mergeRefs
|
|
10
|
-
import
|
|
11
|
-
const
|
|
12
|
-
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import classNames from "classnames";
|
|
4
|
+
import { g as getIcon, I as Icon } from "./Icon.js";
|
|
5
|
+
import { IconSize, AnalyticsId } from "./constants.js";
|
|
6
|
+
import { useHover } from "./hooks/useHover.js";
|
|
7
|
+
import { getColor } from "./theme/currys/color.js";
|
|
8
|
+
import { getAriaLabelAttributes } from "./utils/accessibility.js";
|
|
9
|
+
import { mergeRefs } from "./utils/refs.js";
|
|
10
|
+
import styles from "./components/Trigger/styles.module.scss";
|
|
11
|
+
const HelpSign = ({ size, isHovered }) => {
|
|
12
|
+
const normal = /* @__PURE__ */ jsx("path", { d: "M18.854 19.678c0-2.268 1.701-4.74 5.126-4.74 3.358 0 5.172 2.222 5.172 4.536 0 1.793-.952 3.064-2.268 3.992l-.976.682c-.749.521-1.134 1.27-1.134 2.154 0 .047 0 .16.023.296h-2.269a46.85 46.85 0 0 0-.01-.139 8.554 8.554 0 0 1-.036-.724c0-1.36.522-2.471 1.84-3.424l1.042-.75c.75-.544 1.066-1.201 1.066-1.974 0-1.178-.793-2.29-2.45-2.29-1.679 0-2.563 1.293-2.563 2.585 0 .34.045.772.136 1.022l-2.564-.181a3.903 3.903 0 0 1-.135-1.044Zm3.176 10.186c0-.908.726-1.678 1.656-1.678.908 0 1.656.77 1.656 1.678 0 .907-.748 1.657-1.656 1.657-.93 0-1.656-.75-1.656-1.657Z" });
|
|
13
|
+
const normalHover = /* @__PURE__ */ jsx("path", { d: "M18.854 18.178c0-2.268 1.701-4.74 5.126-4.74 3.358 0 5.172 2.223 5.172 4.536 0 1.793-.952 3.064-2.268 3.992l-.976.682c-.749.521-1.134 1.27-1.134 2.154 0 .047 0 .16.023.296h-2.269a46.85 46.85 0 0 0-.01-.139 8.554 8.554 0 0 1-.036-.724c0-1.36.522-2.471 1.838-3.424l1.044-.75c.75-.544 1.066-1.201 1.066-1.974 0-1.178-.793-2.29-2.45-2.29-1.679 0-2.563 1.293-2.563 2.585 0 .34.045.772.135 1.022l-2.563-.181a3.903 3.903 0 0 1-.135-1.044Zm3.176 11.686c0-.908.725-1.678 1.655-1.678.908 0 1.657.77 1.657 1.678 0 .907-.749 1.657-1.657 1.657-.93 0-1.655-.75-1.655-1.657Z" });
|
|
14
|
+
const xSmall = /* @__PURE__ */ jsx("path", { d: "M23.98 14.937c-3.425 0-5.127 2.473-5.127 4.741 0 .363.047.726.137 1.044l2.563.182c-.09-.25-.136-.681-.136-1.022 0-1.292.885-2.586 2.563-2.586 1.658 0 2.45 1.112 2.45 2.291 0 .772-.317 1.43-1.065 1.974l-1.043.749c-1.317.953-1.84 2.065-1.84 3.425 0 .319.024.567.047.862h2.267c-.021-.135-.021-.25-.021-.295 0-.884.385-1.633 1.133-2.154l.976-.681c1.317-.93 2.27-2.2 2.27-3.993 0-2.314-1.816-4.537-5.174-4.537m-.294 13.248c-.93 0-1.656.773-1.656 1.678a1.65 1.65 0 0 0 1.656 1.657c.907 0 1.656-.748 1.656-1.657 0-.905-.749-1.678-1.656-1.678" });
|
|
15
|
+
const xSmallHover = /* @__PURE__ */ jsx("path", { d: "M18.853 18.289c0-2.268 1.701-4.742 5.127-4.742 3.357 0 5.173 2.223 5.173 4.537 0 1.794-.953 3.065-2.27 3.994l-.976.681c-.747.52-1.133 1.27-1.133 2.154 0 .046 0 .16.022.295h-2.267a39.324 39.324 0 0 0-.01-.125 8.468 8.468 0 0 1-.037-.737c0-1.36.523-2.472 1.839-3.425l1.043-.75c.748-.543 1.065-1.201 1.065-1.973 0-1.18-.792-2.29-2.45-2.29-1.678 0-2.562 1.293-2.562 2.585 0 .341.045.772.135 1.022l-2.563-.183a3.914 3.914 0 0 1-.136-1.043Zm3.176 11.575c0-.907.726-1.679 1.656-1.679.908 0 1.657.772 1.657 1.68 0 .907-.749 1.656-1.657 1.656-.93 0-1.656-.749-1.656-1.657Z" });
|
|
16
|
+
return getIcon({ size, isHovered, normal, normalHover, xSmall, xSmallHover });
|
|
17
|
+
};
|
|
18
|
+
const iconMap = {
|
|
19
|
+
help: HelpSign
|
|
13
20
|
//info: InfoSignStroke, // @todo Support variant='info' in later version
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
21
|
+
};
|
|
22
|
+
const iconSizeMap = {
|
|
23
|
+
medium: IconSize.XSmall,
|
|
24
|
+
large: IconSize.Small
|
|
25
|
+
};
|
|
26
|
+
const getIconColor = (onColor, variant, isActive) => {
|
|
27
|
+
if (onColor === "ondark") {
|
|
19
28
|
return "white";
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
29
|
+
}
|
|
30
|
+
const depth = isActive ? 800 : 600;
|
|
31
|
+
if (variant === "help") {
|
|
32
|
+
return getColor("plum", depth);
|
|
33
|
+
}
|
|
34
|
+
if (variant === "info") {
|
|
35
|
+
return getColor("blueberry", depth);
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
const Trigger = React.forwardRef(
|
|
26
39
|
({
|
|
27
|
-
ariaLabel
|
|
28
|
-
ariaLabelledById
|
|
29
|
-
variant
|
|
30
|
-
onColor
|
|
31
|
-
size
|
|
32
|
-
selected
|
|
33
|
-
isHovered
|
|
34
|
-
htmlMarkup
|
|
35
|
-
className
|
|
36
|
-
testId
|
|
37
|
-
...
|
|
38
|
-
},
|
|
39
|
-
const { isHovered:
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
ariaLabel,
|
|
41
|
+
ariaLabelledById,
|
|
42
|
+
variant = "help",
|
|
43
|
+
onColor = "onlight",
|
|
44
|
+
size = "medium",
|
|
45
|
+
selected = false,
|
|
46
|
+
isHovered,
|
|
47
|
+
htmlMarkup = "button",
|
|
48
|
+
className,
|
|
49
|
+
testId,
|
|
50
|
+
...rest
|
|
51
|
+
}, ref) => {
|
|
52
|
+
const { isHovered: buttonIsHovered, hoverRef } = useHover();
|
|
53
|
+
const triggerClasses = classNames(
|
|
54
|
+
styles.trigger,
|
|
55
|
+
onColor === "onlight" && styles[`trigger--${variant}`],
|
|
42
56
|
// variants look the same when onColor=ondark
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
)
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
57
|
+
onColor === "ondark" && styles[`trigger--${onColor}`],
|
|
58
|
+
styles[`trigger--${size}`],
|
|
59
|
+
isHovered && styles[`trigger--hovered`],
|
|
60
|
+
selected && styles[`trigger--selected`],
|
|
61
|
+
className
|
|
62
|
+
);
|
|
63
|
+
const iconColor = getIconColor(onColor, variant, isHovered || buttonIsHovered || selected);
|
|
64
|
+
const icon = /* @__PURE__ */ jsx(Icon, { svgIcon: iconMap[variant], size: iconSizeMap[size], color: iconColor, isHovered: isHovered || buttonIsHovered });
|
|
65
|
+
if (htmlMarkup === "span") {
|
|
66
|
+
return /* @__PURE__ */ jsx("span", { "data-testid": testId, "data-analyticsid": AnalyticsId.Trigger, className: triggerClasses, children: icon });
|
|
67
|
+
}
|
|
68
|
+
const ariaLabelAttributes = getAriaLabelAttributes({ label: ariaLabel, id: ariaLabelledById });
|
|
69
|
+
return /* @__PURE__ */ jsx(
|
|
53
70
|
"button",
|
|
54
71
|
{
|
|
55
|
-
"aria-label":
|
|
72
|
+
"aria-label": ariaLabel,
|
|
56
73
|
type: "button",
|
|
57
|
-
"data-testid":
|
|
58
|
-
"data-analyticsid":
|
|
59
|
-
className:
|
|
60
|
-
ref:
|
|
61
|
-
"aria-expanded":
|
|
62
|
-
...
|
|
63
|
-
...
|
|
64
|
-
children:
|
|
74
|
+
"data-testid": testId,
|
|
75
|
+
"data-analyticsid": AnalyticsId.Trigger,
|
|
76
|
+
className: triggerClasses,
|
|
77
|
+
ref: mergeRefs([ref, hoverRef]),
|
|
78
|
+
"aria-expanded": selected,
|
|
79
|
+
...ariaLabelAttributes,
|
|
80
|
+
...rest,
|
|
81
|
+
children: icon
|
|
65
82
|
}
|
|
66
83
|
);
|
|
67
84
|
}
|
|
68
85
|
);
|
|
69
|
-
|
|
86
|
+
Trigger.displayName = "Trigger";
|
|
70
87
|
export {
|
|
71
|
-
|
|
88
|
+
Trigger as T
|
|
72
89
|
};
|
|
73
90
|
//# sourceMappingURL=Trigger.js.map
|
package/Trigger.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Trigger.js","sources":["../src/components/Trigger/HelpSign.tsx","../src/components/Trigger/Trigger.tsx"],"sourcesContent":["import React from 'react';\n\nimport { getIcon, SvgPathProps } from '../Icon';\n\nconst HelpSign: React.FC<SvgPathProps> = ({ size, isHovered }: SvgPathProps): React.ReactElement => {\n const normal = (\n <path d=\"M18.854 19.678c0-2.268 1.701-4.74 5.126-4.74 3.358 0 5.172 2.222 5.172 4.536 0 1.793-.952 3.064-2.268 3.992l-.976.682c-.749.521-1.134 1.27-1.134 2.154 0 .047 0 .16.023.296h-2.269a46.85 46.85 0 0 0-.01-.139 8.554 8.554 0 0 1-.036-.724c0-1.36.522-2.471 1.84-3.424l1.042-.75c.75-.544 1.066-1.201 1.066-1.974 0-1.178-.793-2.29-2.45-2.29-1.679 0-2.563 1.293-2.563 2.585 0 .34.045.772.136 1.022l-2.564-.181a3.903 3.903 0 0 1-.135-1.044Zm3.176 10.186c0-.908.726-1.678 1.656-1.678.908 0 1.656.77 1.656 1.678 0 .907-.748 1.657-1.656 1.657-.93 0-1.656-.75-1.656-1.657Z\" />\n );\n\n const normalHover = (\n <path d=\"M18.854 18.178c0-2.268 1.701-4.74 5.126-4.74 3.358 0 5.172 2.223 5.172 4.536 0 1.793-.952 3.064-2.268 3.992l-.976.682c-.749.521-1.134 1.27-1.134 2.154 0 .047 0 .16.023.296h-2.269a46.85 46.85 0 0 0-.01-.139 8.554 8.554 0 0 1-.036-.724c0-1.36.522-2.471 1.838-3.424l1.044-.75c.75-.544 1.066-1.201 1.066-1.974 0-1.178-.793-2.29-2.45-2.29-1.679 0-2.563 1.293-2.563 2.585 0 .34.045.772.135 1.022l-2.563-.181a3.903 3.903 0 0 1-.135-1.044Zm3.176 11.686c0-.908.725-1.678 1.655-1.678.908 0 1.657.77 1.657 1.678 0 .907-.749 1.657-1.657 1.657-.93 0-1.655-.75-1.655-1.657Z\" />\n );\n\n const xSmall = (\n <path d=\"M23.98 14.937c-3.425 0-5.127 2.473-5.127 4.741 0 .363.047.726.137 1.044l2.563.182c-.09-.25-.136-.681-.136-1.022 0-1.292.885-2.586 2.563-2.586 1.658 0 2.45 1.112 2.45 2.291 0 .772-.317 1.43-1.065 1.974l-1.043.749c-1.317.953-1.84 2.065-1.84 3.425 0 .319.024.567.047.862h2.267c-.021-.135-.021-.25-.021-.295 0-.884.385-1.633 1.133-2.154l.976-.681c1.317-.93 2.27-2.2 2.27-3.993 0-2.314-1.816-4.537-5.174-4.537m-.294 13.248c-.93 0-1.656.773-1.656 1.678a1.65 1.65 0 0 0 1.656 1.657c.907 0 1.656-.748 1.656-1.657 0-.905-.749-1.678-1.656-1.678\" />\n );\n\n const xSmallHover = (\n <path d=\"M18.853 18.289c0-2.268 1.701-4.742 5.127-4.742 3.357 0 5.173 2.223 5.173 4.537 0 1.794-.953 3.065-2.27 3.994l-.976.681c-.747.52-1.133 1.27-1.133 2.154 0 .046 0 .16.022.295h-2.267a39.324 39.324 0 0 0-.01-.125 8.468 8.468 0 0 1-.037-.737c0-1.36.523-2.472 1.839-3.425l1.043-.75c.748-.543 1.065-1.201 1.065-1.973 0-1.18-.792-2.29-2.45-2.29-1.678 0-2.562 1.293-2.562 2.585 0 .341.045.772.135 1.022l-2.563-.183a3.914 3.914 0 0 1-.136-1.043Zm3.176 11.575c0-.907.726-1.679 1.656-1.679.908 0 1.657.772 1.657 1.68 0 .907-.749 1.656-1.657 1.656-.93 0-1.656-.749-1.656-1.657Z\" />\n );\n\n return getIcon({ size, isHovered, normal, normalHover, xSmall, xSmallHover });\n};\n\nexport default HelpSign;\n","import React from 'react';\n\nimport classNames from 'classnames';\n\nimport HelpSign from './HelpSign';\nimport { AnalyticsId, IconSize } from '../../constants';\nimport { useHover } from '../../hooks/useHover';\nimport { getColor } from '../../theme/currys';\nimport { getAriaLabelAttributes } from '../../utils/accessibility';\nimport { mergeRefs } from '../../utils/refs';\nimport Icon, { SvgIcon } from '../Icon';\n\nimport styles from './styles.module.scss';\n\nexport type TriggerTags = 'button' | 'span';\n\nexport type TriggerVariant = 'help'; // @todo Support variant='info' in later version\n\nexport type TriggerSize = 'medium' | 'large';\n\nexport type TriggerOnColor = 'onlight' | 'ondark';\n\nexport interface TriggerProps extends Pick<React.InputHTMLAttributes<HTMLButtonElement>, 'onClick' | 'aria-haspopup' | 'aria-controls'> {\n /**\n * Sets aria-label of the trigger. ariaLabel or ariaLabelledById MUST be set!\n */\n ariaLabel?: string;\n /**\n * Sets aria-labelledby of the trigger. ariaLabel or ariaLabelledById MUST be set!\n */\n ariaLabelledById?: string;\n /**\n * Controls the icon and color. Default: help.\n */\n variant?: TriggerVariant;\n /**\n * Changes the design based on the background the trigger is placed on. Default: onlight.\n */\n onColor?: TriggerOnColor;\n /**\n * Size of the trigger. Default: medium.\n */\n size?: TriggerSize;\n /**\n * Indicates that the trigger is in use.\n */\n selected?: boolean;\n /**\n * Indicates that the trigger is hovered. Used in combination with htmlMarkup=span to force visual hover state.\n */\n isHovered?: boolean;\n /**\n * Changes the underlying element of the trigger. If set to span, the trigger will be a non-interactive icon. Default: button\n */\n htmlMarkup?: TriggerTags;\n /**\n * Classname will be applied to the button element.\n */\n className?: string;\n /**\n * Optional test id.\n */\n testId?: string;\n}\n\nconst iconMap: Record<TriggerVariant, SvgIcon> = {\n help: HelpSign,\n //info: InfoSignStroke, // @todo Support variant='info' in later version\n};\n\nconst iconSizeMap: Record<TriggerSize, IconSize> = {\n medium: IconSize.XSmall,\n large: IconSize.Small,\n};\n\nconst getIconColor = (onColor: TriggerOnColor, variant: TriggerVariant, isActive: boolean): string | undefined => {\n if (onColor === 'ondark') {\n return 'white';\n }\n\n const depth = isActive ? 800 : 600;\n\n if (variant === 'help') {\n return getColor('plum', depth);\n }\n\n if (variant === 'info') {\n return getColor('blueberry', depth);\n }\n};\n\nconst Trigger = React.forwardRef<HTMLButtonElement, TriggerProps>(\n (\n {\n ariaLabel,\n ariaLabelledById,\n variant = 'help',\n onColor = 'onlight',\n size = 'medium',\n selected = false,\n isHovered,\n htmlMarkup = 'button',\n className,\n testId,\n ...rest\n },\n ref\n ) => {\n const { isHovered: buttonIsHovered, hoverRef } = useHover<HTMLButtonElement>();\n\n const triggerClasses = classNames(\n styles.trigger,\n onColor === 'onlight' && styles[`trigger--${variant}`], // variants look the same when onColor=ondark\n onColor === 'ondark' && styles[`trigger--${onColor}`],\n styles[`trigger--${size}`],\n isHovered && styles[`trigger--hovered`],\n selected && styles[`trigger--selected`],\n className\n );\n\n const iconColor = getIconColor(onColor, variant, isHovered || buttonIsHovered || selected);\n\n const icon = <Icon svgIcon={iconMap[variant]} size={iconSizeMap[size]} color={iconColor} isHovered={isHovered || buttonIsHovered} />;\n\n if (htmlMarkup === 'span') {\n return (\n <span data-testid={testId} data-analyticsid={AnalyticsId.Trigger} className={triggerClasses}>\n {icon}\n </span>\n );\n }\n\n const ariaLabelAttributes = getAriaLabelAttributes({ label: ariaLabel, id: ariaLabelledById });\n\n return (\n <button\n aria-label={ariaLabel}\n type=\"button\"\n data-testid={testId}\n data-analyticsid={AnalyticsId.Trigger}\n className={triggerClasses}\n ref={mergeRefs([ref, hoverRef])}\n aria-expanded={selected}\n {...ariaLabelAttributes}\n {...rest}\n >\n {icon}\n </button>\n );\n }\n);\n\nTrigger.displayName = 'Trigger';\n\nexport default Trigger;\n"],"names":[
|
|
1
|
+
{"version":3,"file":"Trigger.js","sources":["../src/components/Trigger/HelpSign.tsx","../src/components/Trigger/Trigger.tsx"],"sourcesContent":["import React from 'react';\n\nimport { getIcon, SvgPathProps } from '../Icon';\n\nconst HelpSign: React.FC<SvgPathProps> = ({ size, isHovered }: SvgPathProps): React.ReactElement => {\n const normal = (\n <path d=\"M18.854 19.678c0-2.268 1.701-4.74 5.126-4.74 3.358 0 5.172 2.222 5.172 4.536 0 1.793-.952 3.064-2.268 3.992l-.976.682c-.749.521-1.134 1.27-1.134 2.154 0 .047 0 .16.023.296h-2.269a46.85 46.85 0 0 0-.01-.139 8.554 8.554 0 0 1-.036-.724c0-1.36.522-2.471 1.84-3.424l1.042-.75c.75-.544 1.066-1.201 1.066-1.974 0-1.178-.793-2.29-2.45-2.29-1.679 0-2.563 1.293-2.563 2.585 0 .34.045.772.136 1.022l-2.564-.181a3.903 3.903 0 0 1-.135-1.044Zm3.176 10.186c0-.908.726-1.678 1.656-1.678.908 0 1.656.77 1.656 1.678 0 .907-.748 1.657-1.656 1.657-.93 0-1.656-.75-1.656-1.657Z\" />\n );\n\n const normalHover = (\n <path d=\"M18.854 18.178c0-2.268 1.701-4.74 5.126-4.74 3.358 0 5.172 2.223 5.172 4.536 0 1.793-.952 3.064-2.268 3.992l-.976.682c-.749.521-1.134 1.27-1.134 2.154 0 .047 0 .16.023.296h-2.269a46.85 46.85 0 0 0-.01-.139 8.554 8.554 0 0 1-.036-.724c0-1.36.522-2.471 1.838-3.424l1.044-.75c.75-.544 1.066-1.201 1.066-1.974 0-1.178-.793-2.29-2.45-2.29-1.679 0-2.563 1.293-2.563 2.585 0 .34.045.772.135 1.022l-2.563-.181a3.903 3.903 0 0 1-.135-1.044Zm3.176 11.686c0-.908.725-1.678 1.655-1.678.908 0 1.657.77 1.657 1.678 0 .907-.749 1.657-1.657 1.657-.93 0-1.655-.75-1.655-1.657Z\" />\n );\n\n const xSmall = (\n <path d=\"M23.98 14.937c-3.425 0-5.127 2.473-5.127 4.741 0 .363.047.726.137 1.044l2.563.182c-.09-.25-.136-.681-.136-1.022 0-1.292.885-2.586 2.563-2.586 1.658 0 2.45 1.112 2.45 2.291 0 .772-.317 1.43-1.065 1.974l-1.043.749c-1.317.953-1.84 2.065-1.84 3.425 0 .319.024.567.047.862h2.267c-.021-.135-.021-.25-.021-.295 0-.884.385-1.633 1.133-2.154l.976-.681c1.317-.93 2.27-2.2 2.27-3.993 0-2.314-1.816-4.537-5.174-4.537m-.294 13.248c-.93 0-1.656.773-1.656 1.678a1.65 1.65 0 0 0 1.656 1.657c.907 0 1.656-.748 1.656-1.657 0-.905-.749-1.678-1.656-1.678\" />\n );\n\n const xSmallHover = (\n <path d=\"M18.853 18.289c0-2.268 1.701-4.742 5.127-4.742 3.357 0 5.173 2.223 5.173 4.537 0 1.794-.953 3.065-2.27 3.994l-.976.681c-.747.52-1.133 1.27-1.133 2.154 0 .046 0 .16.022.295h-2.267a39.324 39.324 0 0 0-.01-.125 8.468 8.468 0 0 1-.037-.737c0-1.36.523-2.472 1.839-3.425l1.043-.75c.748-.543 1.065-1.201 1.065-1.973 0-1.18-.792-2.29-2.45-2.29-1.678 0-2.562 1.293-2.562 2.585 0 .341.045.772.135 1.022l-2.563-.183a3.914 3.914 0 0 1-.136-1.043Zm3.176 11.575c0-.907.726-1.679 1.656-1.679.908 0 1.657.772 1.657 1.68 0 .907-.749 1.656-1.657 1.656-.93 0-1.656-.749-1.656-1.657Z\" />\n );\n\n return getIcon({ size, isHovered, normal, normalHover, xSmall, xSmallHover });\n};\n\nexport default HelpSign;\n","import React from 'react';\n\nimport classNames from 'classnames';\n\nimport HelpSign from './HelpSign';\nimport { AnalyticsId, IconSize } from '../../constants';\nimport { useHover } from '../../hooks/useHover';\nimport { getColor } from '../../theme/currys';\nimport { getAriaLabelAttributes } from '../../utils/accessibility';\nimport { mergeRefs } from '../../utils/refs';\nimport Icon, { SvgIcon } from '../Icon';\n\nimport styles from './styles.module.scss';\n\nexport type TriggerTags = 'button' | 'span';\n\nexport type TriggerVariant = 'help'; // @todo Support variant='info' in later version\n\nexport type TriggerSize = 'medium' | 'large';\n\nexport type TriggerOnColor = 'onlight' | 'ondark';\n\nexport interface TriggerProps extends Pick<React.InputHTMLAttributes<HTMLButtonElement>, 'onClick' | 'aria-haspopup' | 'aria-controls'> {\n /**\n * Sets aria-label of the trigger. ariaLabel or ariaLabelledById MUST be set!\n */\n ariaLabel?: string;\n /**\n * Sets aria-labelledby of the trigger. ariaLabel or ariaLabelledById MUST be set!\n */\n ariaLabelledById?: string;\n /**\n * Controls the icon and color. Default: help.\n */\n variant?: TriggerVariant;\n /**\n * Changes the design based on the background the trigger is placed on. Default: onlight.\n */\n onColor?: TriggerOnColor;\n /**\n * Size of the trigger. Default: medium.\n */\n size?: TriggerSize;\n /**\n * Indicates that the trigger is in use.\n */\n selected?: boolean;\n /**\n * Indicates that the trigger is hovered. Used in combination with htmlMarkup=span to force visual hover state.\n */\n isHovered?: boolean;\n /**\n * Changes the underlying element of the trigger. If set to span, the trigger will be a non-interactive icon. Default: button\n */\n htmlMarkup?: TriggerTags;\n /**\n * Classname will be applied to the button element.\n */\n className?: string;\n /**\n * Optional test id.\n */\n testId?: string;\n}\n\nconst iconMap: Record<TriggerVariant, SvgIcon> = {\n help: HelpSign,\n //info: InfoSignStroke, // @todo Support variant='info' in later version\n};\n\nconst iconSizeMap: Record<TriggerSize, IconSize> = {\n medium: IconSize.XSmall,\n large: IconSize.Small,\n};\n\nconst getIconColor = (onColor: TriggerOnColor, variant: TriggerVariant, isActive: boolean): string | undefined => {\n if (onColor === 'ondark') {\n return 'white';\n }\n\n const depth = isActive ? 800 : 600;\n\n if (variant === 'help') {\n return getColor('plum', depth);\n }\n\n if (variant === 'info') {\n return getColor('blueberry', depth);\n }\n};\n\nconst Trigger = React.forwardRef<HTMLButtonElement, TriggerProps>(\n (\n {\n ariaLabel,\n ariaLabelledById,\n variant = 'help',\n onColor = 'onlight',\n size = 'medium',\n selected = false,\n isHovered,\n htmlMarkup = 'button',\n className,\n testId,\n ...rest\n },\n ref\n ) => {\n const { isHovered: buttonIsHovered, hoverRef } = useHover<HTMLButtonElement>();\n\n const triggerClasses = classNames(\n styles.trigger,\n onColor === 'onlight' && styles[`trigger--${variant}`], // variants look the same when onColor=ondark\n onColor === 'ondark' && styles[`trigger--${onColor}`],\n styles[`trigger--${size}`],\n isHovered && styles[`trigger--hovered`],\n selected && styles[`trigger--selected`],\n className\n );\n\n const iconColor = getIconColor(onColor, variant, isHovered || buttonIsHovered || selected);\n\n const icon = <Icon svgIcon={iconMap[variant]} size={iconSizeMap[size]} color={iconColor} isHovered={isHovered || buttonIsHovered} />;\n\n if (htmlMarkup === 'span') {\n return (\n <span data-testid={testId} data-analyticsid={AnalyticsId.Trigger} className={triggerClasses}>\n {icon}\n </span>\n );\n }\n\n const ariaLabelAttributes = getAriaLabelAttributes({ label: ariaLabel, id: ariaLabelledById });\n\n return (\n <button\n aria-label={ariaLabel}\n type=\"button\"\n data-testid={testId}\n data-analyticsid={AnalyticsId.Trigger}\n className={triggerClasses}\n ref={mergeRefs([ref, hoverRef])}\n aria-expanded={selected}\n {...ariaLabelAttributes}\n {...rest}\n >\n {icon}\n </button>\n );\n }\n);\n\nTrigger.displayName = 'Trigger';\n\nexport default Trigger;\n"],"names":[],"mappings":";;;;;;;;;;AAIA,MAAM,WAAmC,CAAC,EAAE,MAAM,gBAAkD;AAClG,QAAM,SACJ,oBAAC,QAAK,EAAA,GAAE,ijBAAijB,CAAA;AAG3jB,QAAM,cACJ,oBAAC,QAAK,EAAA,GAAE,kjBAAkjB,CAAA;AAG5jB,QAAM,SACJ,oBAAC,QAAK,EAAA,GAAE,yhBAAyhB,CAAA;AAGniB,QAAM,cACJ,oBAAC,QAAK,EAAA,GAAE,sjBAAsjB,CAAA;AAGzjB,SAAA,QAAQ,EAAE,MAAM,WAAW,QAAQ,aAAa,QAAQ,aAAa;AAC9E;AC2CA,MAAM,UAA2C;AAAA,EAC/C,MAAM;AAAA;AAER;AAEA,MAAM,cAA6C;AAAA,EACjD,QAAQ,SAAS;AAAA,EACjB,OAAO,SAAS;AAClB;AAEA,MAAM,eAAe,CAAC,SAAyB,SAAyB,aAA0C;AAChH,MAAI,YAAY,UAAU;AACjB,WAAA;AAAA,EAAA;AAGH,QAAA,QAAQ,WAAW,MAAM;AAE/B,MAAI,YAAY,QAAQ;AACf,WAAA,SAAS,QAAQ,KAAK;AAAA,EAAA;AAG/B,MAAI,YAAY,QAAQ;AACf,WAAA,SAAS,aAAa,KAAK;AAAA,EAAA;AAEtC;AAEA,MAAM,UAAU,MAAM;AAAA,EACpB,CACE;AAAA,IACE;AAAA,IACA;AAAA,IACA,UAAU;AAAA,IACV,UAAU;AAAA,IACV,OAAO;AAAA,IACP,WAAW;AAAA,IACX;AAAA,IACA,aAAa;AAAA,IACb;AAAA,IACA;AAAA,IACA,GAAG;AAAA,KAEL,QACG;AACH,UAAM,EAAE,WAAW,iBAAiB,SAAA,IAAa,SAA4B;AAE7E,UAAM,iBAAiB;AAAA,MACrB,OAAO;AAAA,MACP,YAAY,aAAa,OAAO,YAAY,OAAO,EAAE;AAAA;AAAA,MACrD,YAAY,YAAY,OAAO,YAAY,OAAO,EAAE;AAAA,MACpD,OAAO,YAAY,IAAI,EAAE;AAAA,MACzB,aAAa,OAAO,kBAAkB;AAAA,MACtC,YAAY,OAAO,mBAAmB;AAAA,MACtC;AAAA,IACF;AAEA,UAAM,YAAY,aAAa,SAAS,SAAS,aAAa,mBAAmB,QAAQ;AAEzF,UAAM,OAAO,oBAAC,MAAK,EAAA,SAAS,QAAQ,OAAO,GAAG,MAAM,YAAY,IAAI,GAAG,OAAO,WAAW,WAAW,aAAa,iBAAiB;AAElI,QAAI,eAAe,QAAQ;AAEvB,aAAA,oBAAC,UAAK,eAAa,QAAQ,oBAAkB,YAAY,SAAS,WAAW,gBAC1E,UACH,KAAA,CAAA;AAAA,IAAA;AAIJ,UAAM,sBAAsB,uBAAuB,EAAE,OAAO,WAAW,IAAI,kBAAkB;AAG3F,WAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,cAAY;AAAA,QACZ,MAAK;AAAA,QACL,eAAa;AAAA,QACb,oBAAkB,YAAY;AAAA,QAC9B,WAAW;AAAA,QACX,KAAK,UAAU,CAAC,KAAK,QAAQ,CAAC;AAAA,QAC9B,iBAAe;AAAA,QACd,GAAG;AAAA,QACH,GAAG;AAAA,QAEH,UAAA;AAAA,MAAA;AAAA,IACH;AAAA,EAAA;AAGN;AAEA,QAAQ,cAAc;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
class
|
|
1
|
+
class IntersectionObserver {
|
|
2
2
|
observe() {
|
|
3
3
|
}
|
|
4
4
|
unobserve() {
|
|
@@ -7,9 +7,9 @@ class e {
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
Object.defineProperty(window, "IntersectionObserver", {
|
|
10
|
-
value:
|
|
10
|
+
value: IntersectionObserver
|
|
11
11
|
});
|
|
12
12
|
export {
|
|
13
|
-
|
|
13
|
+
IntersectionObserver as default
|
|
14
14
|
};
|
|
15
15
|
//# sourceMappingURL=IntersectionObserver.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IntersectionObserver.js","sources":["../../src/__mocks__/IntersectionObserver.ts"],"sourcesContent":["class IntersectionObserver {\n observe(): void {\n // do nothing\n }\n unobserve(): void {\n // do nothing\n }\n disconnect(): void {\n // do nothing\n }\n}\n\nObject.defineProperty(window, 'IntersectionObserver', {\n value: IntersectionObserver,\n});\n\nexport default IntersectionObserver;\n"],"names":[
|
|
1
|
+
{"version":3,"file":"IntersectionObserver.js","sources":["../../src/__mocks__/IntersectionObserver.ts"],"sourcesContent":["class IntersectionObserver {\n observe(): void {\n // do nothing\n }\n unobserve(): void {\n // do nothing\n }\n disconnect(): void {\n // do nothing\n }\n}\n\nObject.defineProperty(window, 'IntersectionObserver', {\n value: IntersectionObserver,\n});\n\nexport default IntersectionObserver;\n"],"names":[],"mappings":"AAAA,MAAM,qBAAqB;AAAA,EACzB,UAAgB;AAAA,EAAA;AAAA,EAGhB,YAAkB;AAAA,EAAA;AAAA,EAGlB,aAAmB;AAAA,EAAA;AAGrB;AAEA,OAAO,eAAe,QAAQ,wBAAwB;AAAA,EACpD,OAAO;AACT,CAAC;"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
class
|
|
1
|
+
class MutationObserver {
|
|
2
2
|
observe() {
|
|
3
3
|
}
|
|
4
4
|
disconnect() {
|
|
5
5
|
}
|
|
6
6
|
}
|
|
7
7
|
Object.defineProperty(window, "MutationObserver", {
|
|
8
|
-
value:
|
|
8
|
+
value: MutationObserver
|
|
9
9
|
});
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
MutationObserver as default
|
|
12
12
|
};
|
|
13
13
|
//# sourceMappingURL=MutationObserver.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MutationObserver.js","sources":["../../src/__mocks__/MutationObserver.ts"],"sourcesContent":["class MutationObserver {\n observe(): void {\n // do nothing\n }\n disconnect(): void {\n // do nothing\n }\n}\n\nObject.defineProperty(window, 'MutationObserver', {\n value: MutationObserver,\n});\n\nexport default MutationObserver;\n"],"names":[
|
|
1
|
+
{"version":3,"file":"MutationObserver.js","sources":["../../src/__mocks__/MutationObserver.ts"],"sourcesContent":["class MutationObserver {\n observe(): void {\n // do nothing\n }\n disconnect(): void {\n // do nothing\n }\n}\n\nObject.defineProperty(window, 'MutationObserver', {\n value: MutationObserver,\n});\n\nexport default MutationObserver;\n"],"names":[],"mappings":"AAAA,MAAM,iBAAiB;AAAA,EACrB,UAAgB;AAAA,EAAA;AAAA,EAGhB,aAAmB;AAAA,EAAA;AAGrB;AAEA,OAAO,eAAe,QAAQ,oBAAoB;AAAA,EAChD,OAAO;AACT,CAAC;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
class
|
|
1
|
+
class ResizeObserver {
|
|
2
2
|
observe() {
|
|
3
3
|
}
|
|
4
4
|
unobserve() {
|
|
@@ -7,9 +7,9 @@ class e {
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
Object.defineProperty(window, "ResizeObserver", {
|
|
10
|
-
value:
|
|
10
|
+
value: ResizeObserver
|
|
11
11
|
});
|
|
12
12
|
export {
|
|
13
|
-
|
|
13
|
+
ResizeObserver as default
|
|
14
14
|
};
|
|
15
15
|
//# sourceMappingURL=ResizeObserver.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResizeObserver.js","sources":["../../src/__mocks__/ResizeObserver.ts"],"sourcesContent":["class ResizeObserver {\n observe() {\n // do nothing\n }\n unobserve() {\n // do nothing\n }\n disconnect() {\n // do nothing\n }\n}\n\nObject.defineProperty(window, 'ResizeObserver', {\n value: ResizeObserver,\n});\n\nexport default ResizeObserver;\n"],"names":[
|
|
1
|
+
{"version":3,"file":"ResizeObserver.js","sources":["../../src/__mocks__/ResizeObserver.ts"],"sourcesContent":["class ResizeObserver {\n observe() {\n // do nothing\n }\n unobserve() {\n // do nothing\n }\n disconnect() {\n // do nothing\n }\n}\n\nObject.defineProperty(window, 'ResizeObserver', {\n value: ResizeObserver,\n});\n\nexport default ResizeObserver;\n"],"names":[],"mappings":"AAAA,MAAM,eAAe;AAAA,EACnB,UAAU;AAAA,EAAA;AAAA,EAGV,YAAY;AAAA,EAAA;AAAA,EAGZ,aAAa;AAAA,EAAA;AAGf;AAEA,OAAO,eAAe,QAAQ,kBAAkB;AAAA,EAC9C,OAAO;AACT,CAAC;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const mockWindowMatchMedia: import(
|
|
1
|
+
export declare const mockWindowMatchMedia: import('vitest').Mock<(...args: any[]) => any>;
|
package/__mocks__/matchMedia.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { vi
|
|
2
|
-
const
|
|
3
|
-
matches:
|
|
4
|
-
addListener:
|
|
5
|
-
addEventListener:
|
|
6
|
-
removeEventListener:
|
|
1
|
+
import { vi } from "vitest";
|
|
2
|
+
const mockWindowMatchMedia = vi.fn().mockImplementation(() => ({
|
|
3
|
+
matches: true,
|
|
4
|
+
addListener: vi.fn(),
|
|
5
|
+
addEventListener: vi.fn(),
|
|
6
|
+
removeEventListener: vi.fn()
|
|
7
7
|
}));
|
|
8
8
|
Object.defineProperty(window, "matchMedia", {
|
|
9
|
-
writable:
|
|
10
|
-
value:
|
|
9
|
+
writable: true,
|
|
10
|
+
value: mockWindowMatchMedia
|
|
11
11
|
});
|
|
12
12
|
export {
|
|
13
|
-
|
|
13
|
+
mockWindowMatchMedia
|
|
14
14
|
};
|
|
15
15
|
//# sourceMappingURL=matchMedia.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"matchMedia.js","sources":["../../src/__mocks__/matchMedia.ts"],"sourcesContent":["import { vi } from 'vitest';\n\nexport const mockWindowMatchMedia = vi.fn().mockImplementation(() => ({\n matches: true,\n addListener: vi.fn(),\n addEventListener: vi.fn(),\n removeEventListener: vi.fn(),\n}));\n\nObject.defineProperty(window, 'matchMedia', {\n writable: true,\n value: mockWindowMatchMedia,\n});\n"],"names":[
|
|
1
|
+
{"version":3,"file":"matchMedia.js","sources":["../../src/__mocks__/matchMedia.ts"],"sourcesContent":["import { vi } from 'vitest';\n\nexport const mockWindowMatchMedia = vi.fn().mockImplementation(() => ({\n matches: true,\n addListener: vi.fn(),\n addEventListener: vi.fn(),\n removeEventListener: vi.fn(),\n}));\n\nObject.defineProperty(window, 'matchMedia', {\n writable: true,\n value: mockWindowMatchMedia,\n});\n"],"names":[],"mappings":";AAEO,MAAM,uBAAuB,GAAG,GAAG,EAAE,mBAAmB,OAAO;AAAA,EACpE,SAAS;AAAA,EACT,aAAa,GAAG,GAAG;AAAA,EACnB,kBAAkB,GAAG,GAAG;AAAA,EACxB,qBAAqB,GAAG,GAAG;AAC7B,EAAE;AAEF,OAAO,eAAe,QAAQ,cAAc;AAAA,EAC1C,UAAU;AAAA,EACV,OAAO;AACT,CAAC;"}
|
package/__mocks__/useHover.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
vi.mock("../hooks/useHover", () => ({
|
|
2
|
-
useHover: vi.fn().mockImplementation((
|
|
2
|
+
useHover: vi.fn().mockImplementation((ref) => {
|
|
3
|
+
return { hoverRef: ref || { current: void 0 }, isHovered: false };
|
|
4
|
+
})
|
|
3
5
|
}));
|
|
4
6
|
//# sourceMappingURL=useHover.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useHover.js","sources":["../../src/__mocks__/useHover.ts"],"sourcesContent":["vi.mock('../hooks/useHover', () => ({\n useHover: vi.fn().mockImplementation(ref => {\n return { hoverRef: ref || { current: undefined }, isHovered: false };\n }),\n}));\n\nexport {};\n"],"names":[
|
|
1
|
+
{"version":3,"file":"useHover.js","sources":["../../src/__mocks__/useHover.ts"],"sourcesContent":["vi.mock('../hooks/useHover', () => ({\n useHover: vi.fn().mockImplementation(ref => {\n return { hoverRef: ref || { current: undefined }, isHovered: false };\n }),\n}));\n\nexport {};\n"],"names":[],"mappings":"AAAA,GAAG,KAAK,qBAAqB,OAAO;AAAA,EAClC,UAAU,GAAG,GAAG,EAAE,mBAAmB,CAAO,QAAA;AACnC,WAAA,EAAE,UAAU,OAAO,EAAE,SAAS,OAAU,GAAG,WAAW,MAAM;AAAA,EACpE,CAAA;AACH,EAAE;"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
vi.mock("../hooks/usePseudoClasses", () => ({
|
|
2
|
-
usePseudoClasses: vi.fn().mockImplementation((
|
|
2
|
+
usePseudoClasses: vi.fn().mockImplementation((ref) => {
|
|
3
|
+
return { refObject: ref, isHovered: false, isFocused: false };
|
|
4
|
+
})
|
|
3
5
|
}));
|
|
4
6
|
//# sourceMappingURL=usePseudoClasses.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePseudoClasses.js","sources":["../../src/__mocks__/usePseudoClasses.ts"],"sourcesContent":["vi.mock('../hooks/usePseudoClasses', () => ({\n usePseudoClasses: vi.fn().mockImplementation(ref => {\n return { refObject: ref, isHovered: false, isFocused: false };\n }),\n}));\n\nexport {};\n"],"names":[
|
|
1
|
+
{"version":3,"file":"usePseudoClasses.js","sources":["../../src/__mocks__/usePseudoClasses.ts"],"sourcesContent":["vi.mock('../hooks/usePseudoClasses', () => ({\n usePseudoClasses: vi.fn().mockImplementation(ref => {\n return { refObject: ref, isHovered: false, isFocused: false };\n }),\n}));\n\nexport {};\n"],"names":[],"mappings":"AAAA,GAAG,KAAK,6BAA6B,OAAO;AAAA,EAC1C,kBAAkB,GAAG,GAAG,EAAE,mBAAmB,CAAO,QAAA;AAClD,WAAO,EAAE,WAAW,KAAK,WAAW,OAAO,WAAW,MAAM;AAAA,EAC7D,CAAA;AACH,EAAE;"}
|
package/__mocks__/useSize.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSize.js","sources":["../../src/__mocks__/useSize.ts"],"sourcesContent":["vi.mock('../hooks/useSize', () => ({\n useSize: vi.fn().mockReturnValue({\n height: 100,\n width: 100,\n top: 0,\n left: 0,\n right: 100,\n bottom: 100,\n }),\n}));\n\nexport {};\n"],"names":[],"mappings":"AAAA,GAAG,KAAK,oBAAoB,OAAO;AAAA,EACjC,SAAS,GAAG,GAAG,EAAE,gBAAgB;AAAA,IAC/B,QAAQ;AAAA,IACR,OAAO;AAAA,IACP,KAAK;AAAA,IACL,MAAM;AAAA,IACN,OAAO;AAAA,IACP,QAAQ;AAAA,
|
|
1
|
+
{"version":3,"file":"useSize.js","sources":["../../src/__mocks__/useSize.ts"],"sourcesContent":["vi.mock('../hooks/useSize', () => ({\n useSize: vi.fn().mockReturnValue({\n height: 100,\n width: 100,\n top: 0,\n left: 0,\n right: 100,\n bottom: 100,\n }),\n}));\n\nexport {};\n"],"names":[],"mappings":"AAAA,GAAG,KAAK,oBAAoB,OAAO;AAAA,EACjC,SAAS,GAAG,GAAG,EAAE,gBAAgB;AAAA,IAC/B,QAAQ;AAAA,IACR,OAAO;AAAA,IACP,KAAK;AAAA,IACL,MAAM;AAAA,IACN,OAAO;AAAA,IACP,QAAQ;AAAA,EACT,CAAA;AACH,EAAE;"}
|
package/__mocks__/uuid.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
const
|
|
1
|
+
import { a as uuidUtils } from "../uuid.js";
|
|
2
|
+
const testId = {
|
|
3
3
|
id: 0
|
|
4
4
|
};
|
|
5
|
-
vi.spyOn(
|
|
5
|
+
vi.spyOn(uuidUtils, "uuid").mockImplementation(() => {
|
|
6
|
+
testId.id++;
|
|
7
|
+
return `testid-${testId.id}`;
|
|
8
|
+
});
|
|
6
9
|
//# sourceMappingURL=uuid.js.map
|
package/__mocks__/uuid.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uuid.js","sources":["../../src/__mocks__/uuid.ts"],"sourcesContent":["import * as uuidUtils from '../utils/uuid';\n\nconst testId = {\n id: 0,\n};\n\n/**\n * Returnerer en unik, forutsigbar id hver gang uuid() kalles\n */\nvi.spyOn(uuidUtils, 'uuid').mockImplementation(() => {\n testId.id++;\n return `testid-${testId.id}`;\n});\n"],"names":[
|
|
1
|
+
{"version":3,"file":"uuid.js","sources":["../../src/__mocks__/uuid.ts"],"sourcesContent":["import * as uuidUtils from '../utils/uuid';\n\nconst testId = {\n id: 0,\n};\n\n/**\n * Returnerer en unik, forutsigbar id hver gang uuid() kalles\n */\nvi.spyOn(uuidUtils, 'uuid').mockImplementation(() => {\n testId.id++;\n return `testid-${testId.id}`;\n});\n"],"names":[],"mappings":";AAEA,MAAM,SAAS;AAAA,EACb,IAAI;AACN;AAKA,GAAG,MAAM,WAAW,MAAM,EAAE,mBAAmB,MAAM;AAC5C,SAAA;AACA,SAAA,UAAU,OAAO,EAAE;AAC5B,CAAC;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
export type AnchorLinkTargets = '_self' | '_blank' | '_parent';
|
|
3
3
|
export type AnchorLinkTags = 'a' | 'button';
|
|
4
4
|
export type AnchorLinkOnClickEvent = React.MouseEvent<HTMLElement, MouseEvent> | React.FormEvent<{}> | React.KeyboardEvent<HTMLUListElement> | null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import { a
|
|
1
|
+
import { A as Avatar } from "../../Avatar.js";
|
|
2
|
+
import { a } from "../../Avatar.js";
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
a as AvatarSize,
|
|
5
|
+
Avatar as default
|
|
6
6
|
};
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { BadgeNotificationVariant } from './NotificationBadge';
|
|
3
3
|
import { PaletteNames } from '../../theme/palette';
|
|
4
4
|
export type BadgeColors = Extract<PaletteNames, 'blueberry' | 'cherry' | 'neutral'>;
|