@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/hooks/useFocusTrap.js
CHANGED
|
@@ -1,23 +1,33 @@
|
|
|
1
|
-
import { useEffect
|
|
2
|
-
import { useFocusableElements
|
|
3
|
-
import { getDocumentActiveElement
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { useEffect } from "react";
|
|
2
|
+
import { useFocusableElements } from "./useFocusableElements.js";
|
|
3
|
+
import { getDocumentActiveElement } from "../utils/focus.js";
|
|
4
|
+
const useFocusTrap = (ref, trapFocus = true) => {
|
|
5
|
+
const focusableElementList = useFocusableElements(ref);
|
|
6
|
+
const handleKeyboardEvent = (e) => {
|
|
7
|
+
if (trapFocus && ref.current && (focusableElementList == null ? void 0 : focusableElementList.length) && e.key === "Tab") {
|
|
8
|
+
const activeElement = getDocumentActiveElement(ref.current);
|
|
9
|
+
const firstElement = focusableElementList[0];
|
|
10
|
+
const lastElement = focusableElementList.length === 1 ? firstElement : focusableElementList[focusableElementList.length - 1];
|
|
11
|
+
if (e.shiftKey && activeElement === firstElement) {
|
|
12
|
+
lastElement.focus();
|
|
13
|
+
e.preventDefault();
|
|
14
|
+
} else if (!e.shiftKey && activeElement === lastElement) {
|
|
15
|
+
firstElement.focus();
|
|
16
|
+
e.preventDefault();
|
|
17
|
+
}
|
|
9
18
|
}
|
|
10
19
|
};
|
|
11
|
-
|
|
12
|
-
var
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
20
|
+
useEffect(() => {
|
|
21
|
+
var _a;
|
|
22
|
+
(_a = ref.current) == null ? void 0 : _a.addEventListener("keydown", handleKeyboardEvent);
|
|
23
|
+
return () => {
|
|
24
|
+
var _a2;
|
|
25
|
+
(_a2 = ref.current) == null ? void 0 : _a2.removeEventListener("keydown", handleKeyboardEvent);
|
|
16
26
|
};
|
|
17
|
-
}, [
|
|
27
|
+
}, [ref, trapFocus, focusableElementList]);
|
|
18
28
|
};
|
|
19
29
|
export {
|
|
20
|
-
|
|
21
|
-
|
|
30
|
+
useFocusTrap as default,
|
|
31
|
+
useFocusTrap
|
|
22
32
|
};
|
|
23
33
|
//# sourceMappingURL=useFocusTrap.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFocusTrap.js","sources":["../../src/hooks/useFocusTrap.ts"],"sourcesContent":["import React, { useEffect } from 'react';\n\nimport { useFocusableElements } from './useFocusableElements';\nimport { getDocumentActiveElement } from '../utils/focus';\n\n/**\n * Lås fokus til et bestemt element. Bruker vil bare kunne tabbe mellom fokuserbare elementer innenfor elementet.\n * @param ref Alle barn av dette elementet vil være fokuserbare, elementer utenfor vil ikke det\n * @param trapFocus Om fokus skal \"trappes\" innenfor elementet eller ikke. Default=true.\n */\nexport const useFocusTrap = (ref: React.RefObject<HTMLElement>, trapFocus = true): void => {\n const focusableElementList = useFocusableElements(ref);\n\n const handleKeyboardEvent = (e: KeyboardEvent): void => {\n if (trapFocus && ref.current && focusableElementList?.length && e.key === 'Tab') {\n const activeElement = getDocumentActiveElement(ref.current);\n const firstElement = focusableElementList[0];\n const lastElement = focusableElementList.length === 1 ? firstElement : focusableElementList[focusableElementList.length - 1];\n\n if (e.shiftKey && activeElement === firstElement) {\n /* shift + tab */\n lastElement.focus();\n e.preventDefault();\n } else if (!e.shiftKey && activeElement === lastElement) {\n /* tab */\n firstElement.focus();\n e.preventDefault();\n }\n }\n };\n\n useEffect(() => {\n ref.current?.addEventListener('keydown', handleKeyboardEvent);\n\n return (): void => {\n ref.current?.removeEventListener('keydown', handleKeyboardEvent);\n };\n }, [ref, trapFocus, focusableElementList]); // focusableElementList må være med som dependency for at handleKeyboardEvent skal få oppdatert state\n};\n\nexport default useFocusTrap;\n"],"names":["
|
|
1
|
+
{"version":3,"file":"useFocusTrap.js","sources":["../../src/hooks/useFocusTrap.ts"],"sourcesContent":["import React, { useEffect } from 'react';\n\nimport { useFocusableElements } from './useFocusableElements';\nimport { getDocumentActiveElement } from '../utils/focus';\n\n/**\n * Lås fokus til et bestemt element. Bruker vil bare kunne tabbe mellom fokuserbare elementer innenfor elementet.\n * @param ref Alle barn av dette elementet vil være fokuserbare, elementer utenfor vil ikke det\n * @param trapFocus Om fokus skal \"trappes\" innenfor elementet eller ikke. Default=true.\n */\nexport const useFocusTrap = (ref: React.RefObject<HTMLElement>, trapFocus = true): void => {\n const focusableElementList = useFocusableElements(ref);\n\n const handleKeyboardEvent = (e: KeyboardEvent): void => {\n if (trapFocus && ref.current && focusableElementList?.length && e.key === 'Tab') {\n const activeElement = getDocumentActiveElement(ref.current);\n const firstElement = focusableElementList[0];\n const lastElement = focusableElementList.length === 1 ? firstElement : focusableElementList[focusableElementList.length - 1];\n\n if (e.shiftKey && activeElement === firstElement) {\n /* shift + tab */\n lastElement.focus();\n e.preventDefault();\n } else if (!e.shiftKey && activeElement === lastElement) {\n /* tab */\n firstElement.focus();\n e.preventDefault();\n }\n }\n };\n\n useEffect(() => {\n ref.current?.addEventListener('keydown', handleKeyboardEvent);\n\n return (): void => {\n ref.current?.removeEventListener('keydown', handleKeyboardEvent);\n };\n }, [ref, trapFocus, focusableElementList]); // focusableElementList må være med som dependency for at handleKeyboardEvent skal få oppdatert state\n};\n\nexport default useFocusTrap;\n"],"names":["_a"],"mappings":";;;AAUO,MAAM,eAAe,CAAC,KAAmC,YAAY,SAAe;AACnF,QAAA,uBAAuB,qBAAqB,GAAG;AAE/C,QAAA,sBAAsB,CAAC,MAA2B;AACtD,QAAI,aAAa,IAAI,YAAW,6DAAsB,WAAU,EAAE,QAAQ,OAAO;AACzE,YAAA,gBAAgB,yBAAyB,IAAI,OAAO;AACpD,YAAA,eAAe,qBAAqB,CAAC;AACrC,YAAA,cAAc,qBAAqB,WAAW,IAAI,eAAe,qBAAqB,qBAAqB,SAAS,CAAC;AAEvH,UAAA,EAAE,YAAY,kBAAkB,cAAc;AAEhD,oBAAY,MAAM;AAClB,UAAE,eAAe;AAAA,MACR,WAAA,CAAC,EAAE,YAAY,kBAAkB,aAAa;AAEvD,qBAAa,MAAM;AACnB,UAAE,eAAe;AAAA,MAAA;AAAA,IACnB;AAAA,EAEJ;AAEA,YAAU,MAAM;;AACV,cAAA,YAAA,mBAAS,iBAAiB,WAAW;AAEzC,WAAO,MAAY;;AACb,OAAAA,MAAA,IAAA,YAAA,gBAAAA,IAAS,oBAAoB,WAAW;AAAA,IAC9C;AAAA,EACC,GAAA,CAAC,KAAK,WAAW,oBAAoB,CAAC;AAC3C;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useElementList
|
|
2
|
-
const
|
|
1
|
+
import { useElementList } from "./useElementList.js";
|
|
2
|
+
const FOCUSABLE_SELECTORS = [
|
|
3
3
|
'a[href]:not([tabindex^="-"])',
|
|
4
4
|
'area[href]:not([tabindex^="-"])',
|
|
5
5
|
'input:not([type="hidden"]):not([type="radio"]):not([disabled]):not([tabindex^="-"])',
|
|
@@ -12,9 +12,10 @@ const n = [
|
|
|
12
12
|
'video[controls]:not([tabindex^="-"])',
|
|
13
13
|
'[contenteditable]:not([tabindex^="-"])',
|
|
14
14
|
'[tabindex]:not([tabindex^="-"])'
|
|
15
|
-
].join(",")
|
|
15
|
+
].join(",");
|
|
16
|
+
const useFocusableElements = (ref) => useElementList(ref, FOCUSABLE_SELECTORS, { attributeFilter: ["href", "tabindex", "type", "disabled", "controls", "contenteditable"] });
|
|
16
17
|
export {
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
FOCUSABLE_SELECTORS,
|
|
19
|
+
useFocusableElements
|
|
19
20
|
};
|
|
20
21
|
//# sourceMappingURL=useFocusableElements.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFocusableElements.js","sources":["../../src/hooks/useFocusableElements.ts"],"sourcesContent":["import { useElementList } from './useElementList';\n\n// Fra https://github.com/KittyGiraudel/focusable-selectors\nexport const FOCUSABLE_SELECTORS = [\n 'a[href]:not([tabindex^=\"-\"])',\n 'area[href]:not([tabindex^=\"-\"])',\n 'input:not([type=\"hidden\"]):not([type=\"radio\"]):not([disabled]):not([tabindex^=\"-\"])',\n 'input[type=\"radio\"]:not([disabled]):not([tabindex^=\"-\"])',\n 'select:not([disabled]):not([tabindex^=\"-\"])',\n 'textarea:not([disabled]):not([tabindex^=\"-\"])',\n 'button:not([disabled]):not([tabindex^=\"-\"])',\n 'iframe:not([tabindex^=\"-\"])',\n 'audio[controls]:not([tabindex^=\"-\"])',\n 'video[controls]:not([tabindex^=\"-\"])',\n '[contenteditable]:not([tabindex^=\"-\"])',\n '[tabindex]:not([tabindex^=\"-\"])',\n].join(',');\n\n/**\n * Overvåk et element og finn alle fokuserbare elementer inne i elementet. Bruker MutationObserver slik at eventuelle\n * nye elementer som legges til også vil inkluderes i listen.\n * @param ref Element som skal observeres\n * @returns Liste med fokuserbare HTML-elementer\n */\nexport const useFocusableElements = (ref: React.RefObject<HTMLElement>): NodeListOf<HTMLElement> | undefined =>\n useElementList(ref, FOCUSABLE_SELECTORS, { attributeFilter: ['href', 'tabindex', 'type', 'disabled', 'controls', 'contenteditable'] });\n"],"names":[
|
|
1
|
+
{"version":3,"file":"useFocusableElements.js","sources":["../../src/hooks/useFocusableElements.ts"],"sourcesContent":["import { useElementList } from './useElementList';\n\n// Fra https://github.com/KittyGiraudel/focusable-selectors\nexport const FOCUSABLE_SELECTORS = [\n 'a[href]:not([tabindex^=\"-\"])',\n 'area[href]:not([tabindex^=\"-\"])',\n 'input:not([type=\"hidden\"]):not([type=\"radio\"]):not([disabled]):not([tabindex^=\"-\"])',\n 'input[type=\"radio\"]:not([disabled]):not([tabindex^=\"-\"])',\n 'select:not([disabled]):not([tabindex^=\"-\"])',\n 'textarea:not([disabled]):not([tabindex^=\"-\"])',\n 'button:not([disabled]):not([tabindex^=\"-\"])',\n 'iframe:not([tabindex^=\"-\"])',\n 'audio[controls]:not([tabindex^=\"-\"])',\n 'video[controls]:not([tabindex^=\"-\"])',\n '[contenteditable]:not([tabindex^=\"-\"])',\n '[tabindex]:not([tabindex^=\"-\"])',\n].join(',');\n\n/**\n * Overvåk et element og finn alle fokuserbare elementer inne i elementet. Bruker MutationObserver slik at eventuelle\n * nye elementer som legges til også vil inkluderes i listen.\n * @param ref Element som skal observeres\n * @returns Liste med fokuserbare HTML-elementer\n */\nexport const useFocusableElements = (ref: React.RefObject<HTMLElement>): NodeListOf<HTMLElement> | undefined =>\n useElementList(ref, FOCUSABLE_SELECTORS, { attributeFilter: ['href', 'tabindex', 'type', 'disabled', 'controls', 'contenteditable'] });\n"],"names":[],"mappings":";AAGO,MAAM,sBAAsB;AAAA,EACjC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,EAAE,KAAK,GAAG;AAQH,MAAM,uBAAuB,CAAC,QACnC,eAAe,KAAK,qBAAqB,EAAE,iBAAiB,CAAC,QAAQ,YAAY,QAAQ,YAAY,YAAY,iBAAiB,EAAG,CAAA;"}
|
package/hooks/useHover.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { usePseudoClasses
|
|
2
|
-
const
|
|
3
|
-
const { refObject
|
|
4
|
-
return { hoverRef:
|
|
1
|
+
import { usePseudoClasses } from "./usePseudoClasses.js";
|
|
2
|
+
const useHover = (ref) => {
|
|
3
|
+
const { refObject, isHovered, isFocused } = usePseudoClasses(ref);
|
|
4
|
+
return { hoverRef: refObject, isHovered: isHovered || isFocused };
|
|
5
5
|
};
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
useHover
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=useHover.js.map
|
package/hooks/useHover.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useHover.js","sources":["../../src/hooks/useHover.ts"],"sourcesContent":["import { RefObject } from 'react';\n\nimport { usePseudoClasses } from './usePseudoClasses';\n\n/**\n * Få vite når et element hovres over eller mottar fokus.\n * @param ref Element som skal observeres\n * @returns Objekt med ref og om objekt er hovered/focused\n */\nexport const useHover = <T extends HTMLElement | SVGElement>(ref?: RefObject<T>): { hoverRef: RefObject<T>; isHovered: boolean } => {\n const { refObject, isHovered, isFocused } = usePseudoClasses(ref);\n\n return { hoverRef: refObject, isHovered: isHovered || isFocused };\n};\n"],"names":[
|
|
1
|
+
{"version":3,"file":"useHover.js","sources":["../../src/hooks/useHover.ts"],"sourcesContent":["import { RefObject } from 'react';\n\nimport { usePseudoClasses } from './usePseudoClasses';\n\n/**\n * Få vite når et element hovres over eller mottar fokus.\n * @param ref Element som skal observeres\n * @returns Objekt med ref og om objekt er hovered/focused\n */\nexport const useHover = <T extends HTMLElement | SVGElement>(ref?: RefObject<T>): { hoverRef: RefObject<T>; isHovered: boolean } => {\n const { refObject, isHovered, isFocused } = usePseudoClasses(ref);\n\n return { hoverRef: refObject, isHovered: isHovered || isFocused };\n};\n"],"names":[],"mappings":";AASa,MAAA,WAAW,CAAqC,QAAuE;AAClI,QAAM,EAAE,WAAW,WAAW,UAAU,IAAI,iBAAiB,GAAG;AAEhE,SAAO,EAAE,UAAU,WAAW,WAAW,aAAa,UAAU;AAClE;"}
|
package/hooks/useIcons.js
CHANGED
|
@@ -1,16 +1,23 @@
|
|
|
1
|
-
import { I as
|
|
2
|
-
import { L as
|
|
3
|
-
import { isComponent
|
|
4
|
-
const
|
|
5
|
-
let
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { I as Icon } from "../Icon.js";
|
|
2
|
+
import { L as LazyIcon } from "../LazyIcon.js";
|
|
3
|
+
import { isComponent } from "../utils/component.js";
|
|
4
|
+
const useIcons = (children) => {
|
|
5
|
+
let leftIcon = null;
|
|
6
|
+
let rightIcon = null;
|
|
7
|
+
const firstChild = children[0];
|
|
8
|
+
if (isComponent(firstChild, Icon) || isComponent(firstChild, LazyIcon)) {
|
|
9
|
+
leftIcon = firstChild;
|
|
10
|
+
children.shift();
|
|
11
|
+
}
|
|
12
|
+
const lastChild = children[children.length - 1];
|
|
13
|
+
if (isComponent(lastChild, Icon) || isComponent(lastChild, LazyIcon)) {
|
|
14
|
+
rightIcon = lastChild;
|
|
15
|
+
children.pop();
|
|
16
|
+
}
|
|
17
|
+
const restChildren = children.filter((child) => child);
|
|
18
|
+
return [leftIcon, rightIcon, restChildren.length > 0 ? restChildren : null];
|
|
12
19
|
};
|
|
13
20
|
export {
|
|
14
|
-
|
|
21
|
+
useIcons
|
|
15
22
|
};
|
|
16
23
|
//# sourceMappingURL=useIcons.js.map
|
package/hooks/useIcons.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useIcons.js","sources":["../../src/hooks/useIcons.ts"],"sourcesContent":["import Icon, { BaseIconProps, IconProps } from '../components/Icon';\nimport LazyIcon, { LazyIconProps } from '../components/LazyIcon';\nimport { isComponent } from '../utils/component';\n\nexport type BaseIconElement = React.ReactElement<BaseIconProps>;\n\nexport const useIcons = (children: React.ReactNode[]): [BaseIconElement | null, BaseIconElement | null, React.ReactNode[] | null] => {\n let leftIcon: BaseIconElement | null = null;\n let rightIcon: BaseIconElement | null = null;\n\n const firstChild = children[0];\n if (isComponent<IconProps>(firstChild, Icon) || isComponent<LazyIconProps>(firstChild, LazyIcon)) {\n leftIcon = firstChild;\n children.shift();\n }\n\n const lastChild = children[children.length - 1];\n if (isComponent<IconProps>(lastChild, Icon) || isComponent<LazyIconProps>(lastChild, LazyIcon)) {\n rightIcon = lastChild;\n children.pop();\n }\n const restChildren = children.filter(child => child);\n\n return [leftIcon, rightIcon, restChildren.length > 0 ? restChildren : null];\n};\n"],"names":[
|
|
1
|
+
{"version":3,"file":"useIcons.js","sources":["../../src/hooks/useIcons.ts"],"sourcesContent":["import Icon, { BaseIconProps, IconProps } from '../components/Icon';\nimport LazyIcon, { LazyIconProps } from '../components/LazyIcon';\nimport { isComponent } from '../utils/component';\n\nexport type BaseIconElement = React.ReactElement<BaseIconProps>;\n\nexport const useIcons = (children: React.ReactNode[]): [BaseIconElement | null, BaseIconElement | null, React.ReactNode[] | null] => {\n let leftIcon: BaseIconElement | null = null;\n let rightIcon: BaseIconElement | null = null;\n\n const firstChild = children[0];\n if (isComponent<IconProps>(firstChild, Icon) || isComponent<LazyIconProps>(firstChild, LazyIcon)) {\n leftIcon = firstChild;\n children.shift();\n }\n\n const lastChild = children[children.length - 1];\n if (isComponent<IconProps>(lastChild, Icon) || isComponent<LazyIconProps>(lastChild, LazyIcon)) {\n rightIcon = lastChild;\n children.pop();\n }\n const restChildren = children.filter(child => child);\n\n return [leftIcon, rightIcon, restChildren.length > 0 ? restChildren : null];\n};\n"],"names":[],"mappings":";;;AAMa,MAAA,WAAW,CAAC,aAA4G;AACnI,MAAI,WAAmC;AACvC,MAAI,YAAoC;AAElC,QAAA,aAAa,SAAS,CAAC;AAC7B,MAAI,YAAuB,YAAY,IAAI,KAAK,YAA2B,YAAY,QAAQ,GAAG;AACrF,eAAA;AACX,aAAS,MAAM;AAAA,EAAA;AAGjB,QAAM,YAAY,SAAS,SAAS,SAAS,CAAC;AAC9C,MAAI,YAAuB,WAAW,IAAI,KAAK,YAA2B,WAAW,QAAQ,GAAG;AAClF,gBAAA;AACZ,aAAS,IAAI;AAAA,EAAA;AAEf,QAAM,eAAe,SAAS,OAAO,CAAA,UAAS,KAAK;AAEnD,SAAO,CAAC,UAAU,WAAW,aAAa,SAAS,IAAI,eAAe,IAAI;AAC5E;"}
|
|
@@ -1,13 +1,20 @@
|
|
|
1
|
-
import { useEffect
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { useEffect } from "react";
|
|
2
|
+
const useIntersectionObserver = (ref, callback, options) => {
|
|
3
|
+
useEffect(() => {
|
|
4
|
+
const intersectionObserver = new IntersectionObserver(callback, options);
|
|
5
|
+
if (ref == null ? void 0 : ref.current) {
|
|
6
|
+
intersectionObserver.observe(ref.current);
|
|
7
|
+
}
|
|
8
|
+
return () => {
|
|
9
|
+
if (ref == null ? void 0 : ref.current) {
|
|
10
|
+
intersectionObserver.unobserve(ref.current);
|
|
11
|
+
} else {
|
|
12
|
+
intersectionObserver.disconnect();
|
|
13
|
+
}
|
|
7
14
|
};
|
|
8
|
-
}, [
|
|
15
|
+
}, [ref, options]);
|
|
9
16
|
};
|
|
10
17
|
export {
|
|
11
|
-
|
|
18
|
+
useIntersectionObserver
|
|
12
19
|
};
|
|
13
20
|
//# sourceMappingURL=useIntersectionObserver.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useIntersectionObserver.js","sources":["../../src/hooks/useIntersectionObserver.ts"],"sourcesContent":["import { useEffect } from 'react';\n\n/**\n * Lytt på endringer i synligheten (intersection) til et HTML-element. F.eks. kan du bruke denne til å kalle en callback\n * når elementet er i ferd med å forsvinne ut av vinduet.\n *\n * @param ref Element som skal observeres\n * @param callback Kalles når en endring i intersection er observert\n * @param options Objekt med options for IntersectionObserver, f.eks. threshold for å bestemme når callbacken skal fyres\n */\n\nexport const useIntersectionObserver = (\n ref: React.RefObject<Element>,\n callback: IntersectionObserverCallback,\n options?: IntersectionObserverInit\n): void => {\n useEffect(() => {\n const intersectionObserver = new IntersectionObserver(callback, options);\n\n if (ref?.current) {\n intersectionObserver.observe(ref.current);\n }\n\n return (): void => {\n if (ref?.current) {\n intersectionObserver.unobserve(ref.current);\n } else {\n intersectionObserver.disconnect();\n }\n };\n }, [ref, options]);\n};\n"],"names":[
|
|
1
|
+
{"version":3,"file":"useIntersectionObserver.js","sources":["../../src/hooks/useIntersectionObserver.ts"],"sourcesContent":["import { useEffect } from 'react';\n\n/**\n * Lytt på endringer i synligheten (intersection) til et HTML-element. F.eks. kan du bruke denne til å kalle en callback\n * når elementet er i ferd med å forsvinne ut av vinduet.\n *\n * @param ref Element som skal observeres\n * @param callback Kalles når en endring i intersection er observert\n * @param options Objekt med options for IntersectionObserver, f.eks. threshold for å bestemme når callbacken skal fyres\n */\n\nexport const useIntersectionObserver = (\n ref: React.RefObject<Element>,\n callback: IntersectionObserverCallback,\n options?: IntersectionObserverInit\n): void => {\n useEffect(() => {\n const intersectionObserver = new IntersectionObserver(callback, options);\n\n if (ref?.current) {\n intersectionObserver.observe(ref.current);\n }\n\n return (): void => {\n if (ref?.current) {\n intersectionObserver.unobserve(ref.current);\n } else {\n intersectionObserver.disconnect();\n }\n };\n }, [ref, options]);\n};\n"],"names":[],"mappings":";AAWO,MAAM,0BAA0B,CACrC,KACA,UACA,YACS;AACT,YAAU,MAAM;AACd,UAAM,uBAAuB,IAAI,qBAAqB,UAAU,OAAO;AAEvE,QAAI,2BAAK,SAAS;AACK,2BAAA,QAAQ,IAAI,OAAO;AAAA,IAAA;AAG1C,WAAO,MAAY;AACjB,UAAI,2BAAK,SAAS;AACK,6BAAA,UAAU,IAAI,OAAO;AAAA,MAAA,OACrC;AACL,6BAAqB,WAAW;AAAA,MAAA;AAAA,IAEpC;AAAA,EAAA,GACC,CAAC,KAAK,OAAO,CAAC;AACnB;"}
|
package/hooks/useInterval.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { useEffect
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
const
|
|
1
|
+
import { useEffect } from "react";
|
|
2
|
+
const useInterval = (callback, frequency = 10) => {
|
|
3
|
+
useEffect(() => {
|
|
4
|
+
const timer = setInterval(callback, frequency);
|
|
5
5
|
return () => {
|
|
6
|
-
clearInterval(
|
|
6
|
+
clearInterval(timer);
|
|
7
7
|
};
|
|
8
|
-
}, [
|
|
8
|
+
}, [callback, frequency]);
|
|
9
9
|
};
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
useInterval
|
|
12
12
|
};
|
|
13
13
|
//# sourceMappingURL=useInterval.js.map
|
package/hooks/useInterval.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useInterval.js","sources":["../../src/hooks/useInterval.ts"],"sourcesContent":["import { useEffect } from 'react';\n\n/**\n * Kjør en funksjon ved intervaller basert på ønsket frequency.\n *\n * @param callback Funksjon som skal kjøres\n * @param frequency Hvor ofte vi skal kjøre funksjonen\n * @returns void\n */\nexport const useInterval = (callback: () => void, frequency = 10): void => {\n useEffect(() => {\n const timer = setInterval(callback, frequency);\n\n return () => {\n clearInterval(timer);\n };\n }, [callback, frequency]);\n};\n"],"names":[
|
|
1
|
+
{"version":3,"file":"useInterval.js","sources":["../../src/hooks/useInterval.ts"],"sourcesContent":["import { useEffect } from 'react';\n\n/**\n * Kjør en funksjon ved intervaller basert på ønsket frequency.\n *\n * @param callback Funksjon som skal kjøres\n * @param frequency Hvor ofte vi skal kjøre funksjonen\n * @returns void\n */\nexport const useInterval = (callback: () => void, frequency = 10): void => {\n useEffect(() => {\n const timer = setInterval(callback, frequency);\n\n return () => {\n clearInterval(timer);\n };\n }, [callback, frequency]);\n};\n"],"names":[],"mappings":";AASO,MAAM,cAAc,CAAC,UAAsB,YAAY,OAAa;AACzE,YAAU,MAAM;AACR,UAAA,QAAQ,YAAY,UAAU,SAAS;AAE7C,WAAO,MAAM;AACX,oBAAc,KAAK;AAAA,IACrB;AAAA,EAAA,GACC,CAAC,UAAU,SAAS,CAAC;AAC1B;"}
|
package/hooks/useIsServerSide.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { useState
|
|
2
|
-
const
|
|
3
|
-
const [
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}, [])
|
|
1
|
+
import { useState, useEffect } from "react";
|
|
2
|
+
const useIsServerSide = () => {
|
|
3
|
+
const [isServerSide, setIsServerSide] = useState(true);
|
|
4
|
+
useEffect(() => {
|
|
5
|
+
setIsServerSide(false);
|
|
6
|
+
}, []);
|
|
7
|
+
return isServerSide;
|
|
7
8
|
};
|
|
8
9
|
export {
|
|
9
|
-
|
|
10
|
+
useIsServerSide
|
|
10
11
|
};
|
|
11
12
|
//# sourceMappingURL=useIsServerSide.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useIsServerSide.js","sources":["../../src/hooks/useIsServerSide.ts"],"sourcesContent":["import { useState, useEffect } from 'react';\n\n/**\n * Sjekk om React kjører på server, eller ikke. (useEffect kjører ikke på server)\n *\n * @returns true dersom koden kjører på server\n */\nexport const useIsServerSide = (): boolean => {\n const [isServerSide, setIsServerSide] = useState(true);\n\n useEffect(() => {\n setIsServerSide(false);\n }, []);\n\n return isServerSide;\n};\n"],"names":[
|
|
1
|
+
{"version":3,"file":"useIsServerSide.js","sources":["../../src/hooks/useIsServerSide.ts"],"sourcesContent":["import { useState, useEffect } from 'react';\n\n/**\n * Sjekk om React kjører på server, eller ikke. (useEffect kjører ikke på server)\n *\n * @returns true dersom koden kjører på server\n */\nexport const useIsServerSide = (): boolean => {\n const [isServerSide, setIsServerSide] = useState(true);\n\n useEffect(() => {\n setIsServerSide(false);\n }, []);\n\n return isServerSide;\n};\n"],"names":[],"mappings":";AAOO,MAAM,kBAAkB,MAAe;AAC5C,QAAM,CAAC,cAAc,eAAe,IAAI,SAAS,IAAI;AAErD,YAAU,MAAM;AACd,oBAAgB,KAAK;AAAA,EACvB,GAAG,EAAE;AAEE,SAAA;AACT;"}
|
package/hooks/useIsVisible.js
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { useState
|
|
2
|
-
import { useIntersectionObserver
|
|
3
|
-
const
|
|
4
|
-
const [
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
1
|
+
import { useState } from "react";
|
|
2
|
+
import { useIntersectionObserver } from "./useIntersectionObserver.js";
|
|
3
|
+
const useIsVisible = (ref, threshold = 1, options, initial = false) => {
|
|
4
|
+
const [isVisible, setIsVisible] = useState(initial);
|
|
5
|
+
const handleIntersectChange = (entries) => {
|
|
6
|
+
setIsVisible(threshold === 0 ? entries[0].intersectionRatio !== threshold : entries[0].intersectionRatio >= threshold);
|
|
7
|
+
};
|
|
8
|
+
useIntersectionObserver(ref, handleIntersectChange, { threshold, ...options });
|
|
9
|
+
return isVisible;
|
|
8
10
|
};
|
|
9
11
|
export {
|
|
10
|
-
|
|
12
|
+
useIsVisible
|
|
11
13
|
};
|
|
12
14
|
//# sourceMappingURL=useIsVisible.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useIsVisible.js","sources":["../../src/hooks/useIsVisible.ts"],"sourcesContent":["import { useState } from 'react';\n\nimport { useIntersectionObserver } from './useIntersectionObserver';\n\n/**\n * Sjekk om et HTML-element er synlig i vinduet, eller ikke.\n *\n * @param ref Element som skal observeres\n * @param threshold Hvor synlig må elementet være? Default = 1 (helt synlig)\n * @param options Objekt med options for IntersectionObserver, f.eks. threshold for å bestemme når callbacken skal fyres\n * @param initial Om elementet default skal antas å være synlig eller ikke. Default: ikke synlig\n * @returns true hvis objektet er synlig lik threshold eller mer, false hvis ikke\n */\nexport const useIsVisible = (\n ref: React.RefObject<Element>,\n threshold = 1,\n options?: IntersectionObserverInit,\n initial = false\n): boolean => {\n const [isVisible, setIsVisible] = useState(initial);\n\n const handleIntersectChange: IntersectionObserverCallback = entries => {\n setIsVisible(threshold === 0 ? entries[0].intersectionRatio !== threshold : entries[0].intersectionRatio >= threshold);\n };\n\n useIntersectionObserver(ref, handleIntersectChange, { threshold, ...options });\n\n return isVisible;\n};\n"],"names":[
|
|
1
|
+
{"version":3,"file":"useIsVisible.js","sources":["../../src/hooks/useIsVisible.ts"],"sourcesContent":["import { useState } from 'react';\n\nimport { useIntersectionObserver } from './useIntersectionObserver';\n\n/**\n * Sjekk om et HTML-element er synlig i vinduet, eller ikke.\n *\n * @param ref Element som skal observeres\n * @param threshold Hvor synlig må elementet være? Default = 1 (helt synlig)\n * @param options Objekt med options for IntersectionObserver, f.eks. threshold for å bestemme når callbacken skal fyres\n * @param initial Om elementet default skal antas å være synlig eller ikke. Default: ikke synlig\n * @returns true hvis objektet er synlig lik threshold eller mer, false hvis ikke\n */\nexport const useIsVisible = (\n ref: React.RefObject<Element>,\n threshold = 1,\n options?: IntersectionObserverInit,\n initial = false\n): boolean => {\n const [isVisible, setIsVisible] = useState(initial);\n\n const handleIntersectChange: IntersectionObserverCallback = entries => {\n setIsVisible(threshold === 0 ? entries[0].intersectionRatio !== threshold : entries[0].intersectionRatio >= threshold);\n };\n\n useIntersectionObserver(ref, handleIntersectChange, { threshold, ...options });\n\n return isVisible;\n};\n"],"names":[],"mappings":";;AAaO,MAAM,eAAe,CAC1B,KACA,YAAY,GACZ,SACA,UAAU,UACE;AACZ,QAAM,CAAC,WAAW,YAAY,IAAI,SAAS,OAAO;AAElD,QAAM,wBAAsD,CAAW,YAAA;AACxD,iBAAA,cAAc,IAAI,QAAQ,CAAC,EAAE,sBAAsB,YAAY,QAAQ,CAAC,EAAE,qBAAqB,SAAS;AAAA,EACvH;AAEA,0BAAwB,KAAK,uBAAuB,EAAE,WAAW,GAAG,SAAS;AAEtE,SAAA;AACT;"}
|
|
@@ -1,21 +1,24 @@
|
|
|
1
|
-
import { useEffect
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
(
|
|
1
|
+
import { useEffect } from "react";
|
|
2
|
+
const useKeyboardEvent = (ref, callback, key, events = ["keydown"]) => {
|
|
3
|
+
useEffect(() => {
|
|
4
|
+
const handleKeyboardEvent = (event) => {
|
|
5
|
+
if (event.key === key || Array.isArray(key) && key.includes(event.key)) {
|
|
6
|
+
callback(event);
|
|
7
|
+
}
|
|
6
8
|
};
|
|
7
|
-
|
|
8
|
-
var
|
|
9
|
-
return (
|
|
10
|
-
})
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
events.forEach((eventName) => {
|
|
10
|
+
var _a;
|
|
11
|
+
return (_a = ref.current) == null ? void 0 : _a.addEventListener(eventName, handleKeyboardEvent);
|
|
12
|
+
});
|
|
13
|
+
return () => {
|
|
14
|
+
events.forEach((eventName) => {
|
|
15
|
+
var _a;
|
|
16
|
+
return (_a = ref.current) == null ? void 0 : _a.removeEventListener(eventName, handleKeyboardEvent);
|
|
14
17
|
});
|
|
15
18
|
};
|
|
16
|
-
}, [
|
|
19
|
+
}, [ref, callback, events, key]);
|
|
17
20
|
};
|
|
18
21
|
export {
|
|
19
|
-
|
|
22
|
+
useKeyboardEvent
|
|
20
23
|
};
|
|
21
24
|
//# sourceMappingURL=useKeyboardEvent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useKeyboardEvent.js","sources":["../../src/hooks/useKeyboardEvent.ts"],"sourcesContent":["import { useEffect } from 'react';\n\ntype KeyboardEvents = keyof PickByValue<HTMLElementEventMap, KeyboardEvent>;\n\n/**\n * Kjør en callback når bruker skriver på tastaturet.\n * @param ref Element som skal lyttes på.\n * @param callback Callback som kjøres når det skjer en event.\n * @param key Knapp, eller liste med knapper, som skal trigge callback\n * @param events Liste med keyboard-events som skal trigge callback. Default: \"keydown\"\n */\nexport const useKeyboardEvent = (\n ref: React.RefObject<HTMLElement>,\n callback: (event: HTMLElementEventMap[KeyboardEvents]) => void,\n key: string | string[],\n events: KeyboardEvents[] = ['keydown']\n) => {\n useEffect(() => {\n const handleKeyboardEvent = (event: HTMLElementEventMap[KeyboardEvents]) => {\n if (event.key === key || (Array.isArray(key) && key.includes(event.key))) {\n callback(event);\n }\n };\n\n events.forEach(eventName => ref.current?.addEventListener(eventName, handleKeyboardEvent));\n\n return () => {\n events.forEach(eventName => ref.current?.removeEventListener(eventName, handleKeyboardEvent));\n };\n }, [ref, callback, events, key]);\n};\n"],"names":[
|
|
1
|
+
{"version":3,"file":"useKeyboardEvent.js","sources":["../../src/hooks/useKeyboardEvent.ts"],"sourcesContent":["import { useEffect } from 'react';\n\ntype KeyboardEvents = keyof PickByValue<HTMLElementEventMap, KeyboardEvent>;\n\n/**\n * Kjør en callback når bruker skriver på tastaturet.\n * @param ref Element som skal lyttes på.\n * @param callback Callback som kjøres når det skjer en event.\n * @param key Knapp, eller liste med knapper, som skal trigge callback\n * @param events Liste med keyboard-events som skal trigge callback. Default: \"keydown\"\n */\nexport const useKeyboardEvent = (\n ref: React.RefObject<HTMLElement>,\n callback: (event: HTMLElementEventMap[KeyboardEvents]) => void,\n key: string | string[],\n events: KeyboardEvents[] = ['keydown']\n) => {\n useEffect(() => {\n const handleKeyboardEvent = (event: HTMLElementEventMap[KeyboardEvents]) => {\n if (event.key === key || (Array.isArray(key) && key.includes(event.key))) {\n callback(event);\n }\n };\n\n events.forEach(eventName => ref.current?.addEventListener(eventName, handleKeyboardEvent));\n\n return () => {\n events.forEach(eventName => ref.current?.removeEventListener(eventName, handleKeyboardEvent));\n };\n }, [ref, callback, events, key]);\n};\n"],"names":[],"mappings":";AAWa,MAAA,mBAAmB,CAC9B,KACA,UACA,KACA,SAA2B,CAAC,SAAS,MAClC;AACH,YAAU,MAAM;AACR,UAAA,sBAAsB,CAAC,UAA+C;AACtE,UAAA,MAAM,QAAQ,OAAQ,MAAM,QAAQ,GAAG,KAAK,IAAI,SAAS,MAAM,GAAG,GAAI;AACxE,iBAAS,KAAK;AAAA,MAAA;AAAA,IAElB;AAEA,WAAO,QAAQ,CAAa,cAAA;;AAAA,uBAAI,YAAJ,mBAAa,iBAAiB,WAAW;AAAA,KAAoB;AAEzF,WAAO,MAAM;AACX,aAAO,QAAQ,CAAa,cAAA;;AAAA,yBAAI,YAAJ,mBAAa,oBAAoB,WAAW;AAAA,OAAoB;AAAA,IAC9F;AAAA,KACC,CAAC,KAAK,UAAU,QAAQ,GAAG,CAAC;AACjC;"}
|
package/hooks/useLayoutEvent.js
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
import { useEffect
|
|
2
|
-
import { debounce
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
if (typeof window
|
|
6
|
-
const [
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { useEffect } from "react";
|
|
2
|
+
import { debounce } from "../utils/debounce.js";
|
|
3
|
+
const useLayoutEvent = (callback, events = ["layoutchange", "resize", "orientationchange"], debounceMs = 10) => {
|
|
4
|
+
useEffect(() => {
|
|
5
|
+
if (typeof window !== "object") return;
|
|
6
|
+
const [debouncedCallback, teardown] = debounce(callback, debounceMs);
|
|
7
|
+
events.forEach((eventName) => window.addEventListener(eventName, debouncedCallback));
|
|
8
|
+
debouncedCallback();
|
|
9
|
+
return () => {
|
|
10
|
+
teardown();
|
|
11
|
+
events.forEach((eventName) => window.removeEventListener(eventName, debouncedCallback));
|
|
9
12
|
};
|
|
10
13
|
}, []);
|
|
11
14
|
};
|
|
12
15
|
export {
|
|
13
|
-
|
|
16
|
+
useLayoutEvent
|
|
14
17
|
};
|
|
15
18
|
//# sourceMappingURL=useLayoutEvent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLayoutEvent.js","sources":["../../src/hooks/useLayoutEvent.ts"],"sourcesContent":["import { useEffect } from 'react';\n\nimport { debounce } from '../utils/debounce';\n\n/**\n * Lytt på ulike layout-events som har betydning for rendring og størrelse på elementer.\n *\n * @param callback Kalles for hver event\n * @param events Liste med events som skal lyttes på\n * @param debounceMs Begrens kall til callback til x antall ms\n */\nexport const useLayoutEvent = (callback: () => void, events = ['layoutchange', 'resize', 'orientationchange'], debounceMs = 10) => {\n useEffect(() => {\n if (typeof window !== 'object') return;\n const [debouncedCallback, teardown] = debounce(callback, debounceMs);\n\n events.forEach(eventName => window.addEventListener(eventName, debouncedCallback));\n\n debouncedCallback();\n\n return () => {\n teardown();\n events.forEach(eventName => window.removeEventListener(eventName, debouncedCallback));\n };\n }, []);\n};\n"],"names":[
|
|
1
|
+
{"version":3,"file":"useLayoutEvent.js","sources":["../../src/hooks/useLayoutEvent.ts"],"sourcesContent":["import { useEffect } from 'react';\n\nimport { debounce } from '../utils/debounce';\n\n/**\n * Lytt på ulike layout-events som har betydning for rendring og størrelse på elementer.\n *\n * @param callback Kalles for hver event\n * @param events Liste med events som skal lyttes på\n * @param debounceMs Begrens kall til callback til x antall ms\n */\nexport const useLayoutEvent = (callback: () => void, events = ['layoutchange', 'resize', 'orientationchange'], debounceMs = 10) => {\n useEffect(() => {\n if (typeof window !== 'object') return;\n const [debouncedCallback, teardown] = debounce(callback, debounceMs);\n\n events.forEach(eventName => window.addEventListener(eventName, debouncedCallback));\n\n debouncedCallback();\n\n return () => {\n teardown();\n events.forEach(eventName => window.removeEventListener(eventName, debouncedCallback));\n };\n }, []);\n};\n"],"names":[],"mappings":";;AAWa,MAAA,iBAAiB,CAAC,UAAsB,SAAS,CAAC,gBAAgB,UAAU,mBAAmB,GAAG,aAAa,OAAO;AACjI,YAAU,MAAM;AACV,QAAA,OAAO,WAAW,SAAU;AAChC,UAAM,CAAC,mBAAmB,QAAQ,IAAI,SAAS,UAAU,UAAU;AAEnE,WAAO,QAAQ,CAAa,cAAA,OAAO,iBAAiB,WAAW,iBAAiB,CAAC;AAE/D,sBAAA;AAElB,WAAO,MAAM;AACF,eAAA;AACT,aAAO,QAAQ,CAAa,cAAA,OAAO,oBAAoB,WAAW,iBAAiB,CAAC;AAAA,IACtF;AAAA,EACF,GAAG,EAAE;AACP;"}
|
package/hooks/useOutsideEvent.js
CHANGED
|
@@ -1,13 +1,18 @@
|
|
|
1
|
-
import { useEffect
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
|
|
1
|
+
import { useEffect } from "react";
|
|
2
|
+
const useOutsideEvent = (ref, handleClick, events = ["mousedown"]) => {
|
|
3
|
+
const handleOutsideEvent = (event) => {
|
|
4
|
+
if (ref.current && !event.composedPath().includes(ref.current)) {
|
|
5
|
+
handleClick(event);
|
|
6
|
+
}
|
|
5
7
|
};
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
useEffect(() => {
|
|
9
|
+
events.forEach((eventName) => document.addEventListener(eventName, handleOutsideEvent));
|
|
10
|
+
return () => {
|
|
11
|
+
events.forEach((eventName) => document.removeEventListener(eventName, handleOutsideEvent));
|
|
12
|
+
};
|
|
13
|
+
}, [ref, handleClick, events]);
|
|
9
14
|
};
|
|
10
15
|
export {
|
|
11
|
-
|
|
16
|
+
useOutsideEvent
|
|
12
17
|
};
|
|
13
18
|
//# sourceMappingURL=useOutsideEvent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useOutsideEvent.js","sources":["../../src/hooks/useOutsideEvent.ts"],"sourcesContent":["import { useEffect } from 'react';\n\ntype OutsideEvents = keyof PickByValue<HTMLElementEventMap, MouseEvent | FocusEvent>;\n\n/**\n * Custom hook for klikk eller fokus utenfor et gitt element\n * @param ref Sjekker om det klikkes utenfor dette elementet\n * @param handleClick Callback-funksjon ved klikk utenfor elementet\n * @param events Type eventer å lytte på. Default: mousedown\n */\nexport const useOutsideEvent = (\n ref: React.RefObject<HTMLElement>,\n handleClick: (event: HTMLElementEventMap[OutsideEvents]) => void,\n events: OutsideEvents[] = ['mousedown']\n): void => {\n const handleOutsideEvent = (event: HTMLElementEventMap[OutsideEvents]): void => {\n if (ref.current && !event.composedPath().includes(ref.current)) {\n handleClick(event);\n }\n };\n\n useEffect(() => {\n events.forEach(eventName => document.addEventListener(eventName, handleOutsideEvent));\n\n return (): void => {\n events.forEach(eventName => document.removeEventListener(eventName, handleOutsideEvent));\n };\n }, [ref, handleClick, events]);\n};\n"],"names":[
|
|
1
|
+
{"version":3,"file":"useOutsideEvent.js","sources":["../../src/hooks/useOutsideEvent.ts"],"sourcesContent":["import { useEffect } from 'react';\n\ntype OutsideEvents = keyof PickByValue<HTMLElementEventMap, MouseEvent | FocusEvent>;\n\n/**\n * Custom hook for klikk eller fokus utenfor et gitt element\n * @param ref Sjekker om det klikkes utenfor dette elementet\n * @param handleClick Callback-funksjon ved klikk utenfor elementet\n * @param events Type eventer å lytte på. Default: mousedown\n */\nexport const useOutsideEvent = (\n ref: React.RefObject<HTMLElement>,\n handleClick: (event: HTMLElementEventMap[OutsideEvents]) => void,\n events: OutsideEvents[] = ['mousedown']\n): void => {\n const handleOutsideEvent = (event: HTMLElementEventMap[OutsideEvents]): void => {\n if (ref.current && !event.composedPath().includes(ref.current)) {\n handleClick(event);\n }\n };\n\n useEffect(() => {\n events.forEach(eventName => document.addEventListener(eventName, handleOutsideEvent));\n\n return (): void => {\n events.forEach(eventName => document.removeEventListener(eventName, handleOutsideEvent));\n };\n }, [ref, handleClick, events]);\n};\n"],"names":[],"mappings":";AAUO,MAAM,kBAAkB,CAC7B,KACA,aACA,SAA0B,CAAC,WAAW,MAC7B;AACH,QAAA,qBAAqB,CAAC,UAAoD;AAC1E,QAAA,IAAI,WAAW,CAAC,MAAM,eAAe,SAAS,IAAI,OAAO,GAAG;AAC9D,kBAAY,KAAK;AAAA,IAAA;AAAA,EAErB;AAEA,YAAU,MAAM;AACd,WAAO,QAAQ,CAAa,cAAA,SAAS,iBAAiB,WAAW,kBAAkB,CAAC;AAEpF,WAAO,MAAY;AACjB,aAAO,QAAQ,CAAa,cAAA,SAAS,oBAAoB,WAAW,kBAAkB,CAAC;AAAA,IACzF;AAAA,EACC,GAAA,CAAC,KAAK,aAAa,MAAM,CAAC;AAC/B;"}
|
package/hooks/usePrevious.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { useRef
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}, [
|
|
1
|
+
import { useRef, useEffect } from "react";
|
|
2
|
+
const usePrevious = (value) => {
|
|
3
|
+
const ref = useRef();
|
|
4
|
+
useEffect(() => {
|
|
5
|
+
ref.current = value;
|
|
6
|
+
}, [value]);
|
|
7
|
+
return ref.current;
|
|
7
8
|
};
|
|
8
9
|
export {
|
|
9
|
-
|
|
10
|
+
usePrevious
|
|
10
11
|
};
|
|
11
12
|
//# sourceMappingURL=usePrevious.js.map
|
package/hooks/usePrevious.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePrevious.js","sources":["../../src/hooks/usePrevious.ts"],"sourcesContent":["import { useEffect, useRef } from 'react';\n\n/**\n * Brukes f.eks. i forbindelse med useState for å kunne sammenlikne ny verdi med gammel.\n * @param value Verdi du ønsker å ta vare på\n * @returns Forrige verdi\n */\nexport const usePrevious = <T>(value: T) => {\n const ref = useRef<T>();\n\n useEffect(() => {\n ref.current = value;\n }, [value]);\n\n return ref.current;\n};\n"],"names":[
|
|
1
|
+
{"version":3,"file":"usePrevious.js","sources":["../../src/hooks/usePrevious.ts"],"sourcesContent":["import { useEffect, useRef } from 'react';\n\n/**\n * Brukes f.eks. i forbindelse med useState for å kunne sammenlikne ny verdi med gammel.\n * @param value Verdi du ønsker å ta vare på\n * @returns Forrige verdi\n */\nexport const usePrevious = <T>(value: T) => {\n const ref = useRef<T>();\n\n useEffect(() => {\n ref.current = value;\n }, [value]);\n\n return ref.current;\n};\n"],"names":[],"mappings":";AAOa,MAAA,cAAc,CAAI,UAAa;AAC1C,QAAM,MAAM,OAAU;AAEtB,YAAU,MAAM;AACd,QAAI,UAAU;AAAA,EAAA,GACb,CAAC,KAAK,CAAC;AAEV,SAAO,IAAI;AACb;"}
|
|
@@ -1,16 +1,43 @@
|
|
|
1
|
-
import { useRef
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { useRef, useState, useEffect } from "react";
|
|
2
|
+
const usePseudoClasses = (ref) => {
|
|
3
|
+
const refObject = ref ? ref : useRef(null);
|
|
4
|
+
const [isHovered, setIsHovered] = useState(false);
|
|
5
|
+
const [isFocused, setIsFocused] = useState(false);
|
|
6
|
+
const [isActive, setIsActive] = useState(false);
|
|
7
|
+
useEffect(() => {
|
|
8
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
9
|
+
const handleMouseEnter = () => setIsHovered(true);
|
|
10
|
+
const handleMouseLeave = () => setIsHovered(false);
|
|
11
|
+
const handleFocusIn = () => setIsFocused(true);
|
|
12
|
+
const handleFocusOut = () => setIsFocused(false);
|
|
13
|
+
const handlePointerDown = () => setIsActive(true);
|
|
14
|
+
const handlePointerUp = () => setIsActive(false);
|
|
15
|
+
const handlePointerLeave = () => setIsActive(false);
|
|
16
|
+
(_a = refObject.current) == null ? void 0 : _a.addEventListener("mouseenter", handleMouseEnter);
|
|
17
|
+
(_b = refObject.current) == null ? void 0 : _b.addEventListener("mouseleave", handleMouseLeave);
|
|
18
|
+
(_c = refObject.current) == null ? void 0 : _c.addEventListener("pointerenter", handleMouseEnter);
|
|
19
|
+
(_d = refObject.current) == null ? void 0 : _d.addEventListener("pointerleave", handleMouseLeave);
|
|
20
|
+
(_e = refObject.current) == null ? void 0 : _e.addEventListener("focusin", handleFocusIn);
|
|
21
|
+
(_f = refObject.current) == null ? void 0 : _f.addEventListener("focusout", handleFocusOut);
|
|
22
|
+
(_g = refObject.current) == null ? void 0 : _g.addEventListener("pointerdown", handlePointerDown);
|
|
23
|
+
(_h = refObject.current) == null ? void 0 : _h.addEventListener("pointerup", handlePointerUp);
|
|
24
|
+
(_i = refObject.current) == null ? void 0 : _i.addEventListener("pointerleave", handlePointerLeave);
|
|
25
|
+
return () => {
|
|
26
|
+
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2;
|
|
27
|
+
(_a2 = refObject.current) == null ? void 0 : _a2.removeEventListener("mouseenter", handleMouseEnter);
|
|
28
|
+
(_b2 = refObject.current) == null ? void 0 : _b2.removeEventListener("mouseleave", handleMouseLeave);
|
|
29
|
+
(_c2 = refObject.current) == null ? void 0 : _c2.removeEventListener("pointerenter", handleMouseEnter);
|
|
30
|
+
(_d2 = refObject.current) == null ? void 0 : _d2.removeEventListener("pointerleave", handleMouseLeave);
|
|
31
|
+
(_e2 = refObject.current) == null ? void 0 : _e2.removeEventListener("focusin", handleFocusIn);
|
|
32
|
+
(_f2 = refObject.current) == null ? void 0 : _f2.removeEventListener("focusout", handleFocusOut);
|
|
33
|
+
(_g2 = refObject.current) == null ? void 0 : _g2.removeEventListener("pointerdown", handlePointerDown);
|
|
34
|
+
(_h2 = refObject.current) == null ? void 0 : _h2.removeEventListener("pointerup", handlePointerUp);
|
|
35
|
+
(_i2 = refObject.current) == null ? void 0 : _i2.removeEventListener("pointerleave", handlePointerLeave);
|
|
10
36
|
};
|
|
11
|
-
}, [
|
|
37
|
+
}, [refObject]);
|
|
38
|
+
return { refObject, isHovered, isFocused, isActive };
|
|
12
39
|
};
|
|
13
40
|
export {
|
|
14
|
-
|
|
41
|
+
usePseudoClasses
|
|
15
42
|
};
|
|
16
43
|
//# sourceMappingURL=usePseudoClasses.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePseudoClasses.js","sources":["../../src/hooks/usePseudoClasses.ts"],"sourcesContent":["import { useRef, useEffect, useState, RefObject, MutableRefObject } from 'react';\n\n/**\n * Få vite når et element hovres over eller mottar fokus.\n * @param ref Element som skal observeres\n * @returns Objekt med ref og om objekt er hovered/focused\n */\nexport const usePseudoClasses = <T extends HTMLElement | SVGElement>(\n ref?: RefObject<T> | MutableRefObject<T> | null\n): { refObject: RefObject<T> | MutableRefObject<T>; isHovered: boolean; isFocused: boolean; isActive: boolean } => {\n const refObject = ref ? ref : useRef<T>(null);\n const [isHovered, setIsHovered] = useState(false);\n const [isFocused, setIsFocused] = useState(false);\n const [isActive, setIsActive] = useState(false);\n\n useEffect(() => {\n const handleMouseEnter = (): void => setIsHovered(true);\n const handleMouseLeave = (): void => setIsHovered(false);\n const handleFocusIn = (): void => setIsFocused(true);\n const handleFocusOut = (): void => setIsFocused(false);\n const handlePointerDown = (): void => setIsActive(true);\n const handlePointerUp = (): void => setIsActive(false);\n const handlePointerLeave = (): void => setIsActive(false);\n\n refObject.current?.addEventListener('mouseenter', handleMouseEnter);\n refObject.current?.addEventListener('mouseleave', handleMouseLeave);\n refObject.current?.addEventListener('pointerenter', handleMouseEnter);\n refObject.current?.addEventListener('pointerleave', handleMouseLeave);\n refObject.current?.addEventListener('focusin', handleFocusIn);\n refObject.current?.addEventListener('focusout', handleFocusOut);\n refObject.current?.addEventListener('pointerdown', handlePointerDown);\n refObject.current?.addEventListener('pointerup', handlePointerUp);\n refObject.current?.addEventListener('pointerleave', handlePointerLeave);\n\n return (): void => {\n refObject.current?.removeEventListener('mouseenter', handleMouseEnter);\n refObject.current?.removeEventListener('mouseleave', handleMouseLeave);\n refObject.current?.removeEventListener('pointerenter', handleMouseEnter);\n refObject.current?.removeEventListener('pointerleave', handleMouseLeave);\n refObject.current?.removeEventListener('focusin', handleFocusIn);\n refObject.current?.removeEventListener('focusout', handleFocusOut);\n refObject.current?.removeEventListener('pointerdown', handlePointerDown);\n refObject.current?.removeEventListener('pointerup', handlePointerUp);\n refObject.current?.removeEventListener('pointerleave', handlePointerLeave);\n };\n }, [refObject]);\n\n return { refObject, isHovered, isFocused, isActive };\n};\n"],"names":["
|
|
1
|
+
{"version":3,"file":"usePseudoClasses.js","sources":["../../src/hooks/usePseudoClasses.ts"],"sourcesContent":["import { useRef, useEffect, useState, RefObject, MutableRefObject } from 'react';\n\n/**\n * Få vite når et element hovres over eller mottar fokus.\n * @param ref Element som skal observeres\n * @returns Objekt med ref og om objekt er hovered/focused\n */\nexport const usePseudoClasses = <T extends HTMLElement | SVGElement>(\n ref?: RefObject<T> | MutableRefObject<T> | null\n): { refObject: RefObject<T> | MutableRefObject<T>; isHovered: boolean; isFocused: boolean; isActive: boolean } => {\n const refObject = ref ? ref : useRef<T>(null);\n const [isHovered, setIsHovered] = useState(false);\n const [isFocused, setIsFocused] = useState(false);\n const [isActive, setIsActive] = useState(false);\n\n useEffect(() => {\n const handleMouseEnter = (): void => setIsHovered(true);\n const handleMouseLeave = (): void => setIsHovered(false);\n const handleFocusIn = (): void => setIsFocused(true);\n const handleFocusOut = (): void => setIsFocused(false);\n const handlePointerDown = (): void => setIsActive(true);\n const handlePointerUp = (): void => setIsActive(false);\n const handlePointerLeave = (): void => setIsActive(false);\n\n refObject.current?.addEventListener('mouseenter', handleMouseEnter);\n refObject.current?.addEventListener('mouseleave', handleMouseLeave);\n refObject.current?.addEventListener('pointerenter', handleMouseEnter);\n refObject.current?.addEventListener('pointerleave', handleMouseLeave);\n refObject.current?.addEventListener('focusin', handleFocusIn);\n refObject.current?.addEventListener('focusout', handleFocusOut);\n refObject.current?.addEventListener('pointerdown', handlePointerDown);\n refObject.current?.addEventListener('pointerup', handlePointerUp);\n refObject.current?.addEventListener('pointerleave', handlePointerLeave);\n\n return (): void => {\n refObject.current?.removeEventListener('mouseenter', handleMouseEnter);\n refObject.current?.removeEventListener('mouseleave', handleMouseLeave);\n refObject.current?.removeEventListener('pointerenter', handleMouseEnter);\n refObject.current?.removeEventListener('pointerleave', handleMouseLeave);\n refObject.current?.removeEventListener('focusin', handleFocusIn);\n refObject.current?.removeEventListener('focusout', handleFocusOut);\n refObject.current?.removeEventListener('pointerdown', handlePointerDown);\n refObject.current?.removeEventListener('pointerup', handlePointerUp);\n refObject.current?.removeEventListener('pointerleave', handlePointerLeave);\n };\n }, [refObject]);\n\n return { refObject, isHovered, isFocused, isActive };\n};\n"],"names":["_a","_b","_c","_d","_e","_f","_g","_h","_i"],"mappings":";AAOa,MAAA,mBAAmB,CAC9B,QACiH;AACjH,QAAM,YAAY,MAAM,MAAM,OAAU,IAAI;AAC5C,QAAM,CAAC,WAAW,YAAY,IAAI,SAAS,KAAK;AAChD,QAAM,CAAC,WAAW,YAAY,IAAI,SAAS,KAAK;AAChD,QAAM,CAAC,UAAU,WAAW,IAAI,SAAS,KAAK;AAE9C,YAAU,MAAM;;AACR,UAAA,mBAAmB,MAAY,aAAa,IAAI;AAChD,UAAA,mBAAmB,MAAY,aAAa,KAAK;AACjD,UAAA,gBAAgB,MAAY,aAAa,IAAI;AAC7C,UAAA,iBAAiB,MAAY,aAAa,KAAK;AAC/C,UAAA,oBAAoB,MAAY,YAAY,IAAI;AAChD,UAAA,kBAAkB,MAAY,YAAY,KAAK;AAC/C,UAAA,qBAAqB,MAAY,YAAY,KAAK;AAE9C,oBAAA,YAAA,mBAAS,iBAAiB,cAAc;AACxC,oBAAA,YAAA,mBAAS,iBAAiB,cAAc;AACxC,oBAAA,YAAA,mBAAS,iBAAiB,gBAAgB;AAC1C,oBAAA,YAAA,mBAAS,iBAAiB,gBAAgB;AAC1C,oBAAA,YAAA,mBAAS,iBAAiB,WAAW;AACrC,oBAAA,YAAA,mBAAS,iBAAiB,YAAY;AACtC,oBAAA,YAAA,mBAAS,iBAAiB,eAAe;AACzC,oBAAA,YAAA,mBAAS,iBAAiB,aAAa;AACvC,oBAAA,YAAA,mBAAS,iBAAiB,gBAAgB;AAEpD,WAAO,MAAY;;AACP,OAAAA,MAAA,UAAA,YAAA,gBAAAA,IAAS,oBAAoB,cAAc;AAC3C,OAAAC,MAAA,UAAA,YAAA,gBAAAA,IAAS,oBAAoB,cAAc;AAC3C,OAAAC,MAAA,UAAA,YAAA,gBAAAA,IAAS,oBAAoB,gBAAgB;AAC7C,OAAAC,MAAA,UAAA,YAAA,gBAAAA,IAAS,oBAAoB,gBAAgB;AAC7C,OAAAC,MAAA,UAAA,YAAA,gBAAAA,IAAS,oBAAoB,WAAW;AACxC,OAAAC,MAAA,UAAA,YAAA,gBAAAA,IAAS,oBAAoB,YAAY;AACzC,OAAAC,MAAA,UAAA,YAAA,gBAAAA,IAAS,oBAAoB,eAAe;AAC5C,OAAAC,MAAA,UAAA,YAAA,gBAAAA,IAAS,oBAAoB,aAAa;AAC1C,OAAAC,MAAA,UAAA,YAAA,gBAAAA,IAAS,oBAAoB,gBAAgB;AAAA,IACzD;AAAA,EAAA,GACC,CAAC,SAAS,CAAC;AAEd,SAAO,EAAE,WAAW,WAAW,WAAW,SAAS;AACrD;"}
|