@reykjavik/hanna-react 0.10.56 → 0.10.59
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/{AccordionList.jsx → AccordionList.js} +5 -14
- package/ActionCards.d.ts +1 -1
- package/{ActionCards.jsx → ActionCards.js} +3 -4
- package/{Alert.jsx → Alert.js} +7 -9
- package/ArticleCards.d.ts +6 -0
- package/ArticleCards.js +9 -0
- package/ArticleCarousel/_ArticleCarouselCard.d.ts +1 -1
- package/ArticleCarousel/_ArticleCarouselCard.js +31 -0
- package/{ArticleCarousel.jsx → ArticleCarousel.js} +1 -1
- package/ArticleMeta.d.ts +1 -0
- package/{ArticleMeta.jsx → ArticleMeta.js} +15 -10
- package/{Attention.jsx → Attention.js} +1 -1
- package/{BasicTable.jsx → BasicTable.js} +11 -12
- package/BgBox.d.ts +8 -0
- package/BgBox.js +14 -0
- package/{Bling.jsx → Bling.js} +2 -2
- package/{BlockBreak.jsx → BlockBreak.js} +1 -1
- package/{BlockQuote.jsx → BlockQuote.js} +1 -1
- package/BreadCrumbs.js +33 -0
- package/ButtonBack.d.ts +1 -1
- package/{ButtonBack.jsx → ButtonBack.js} +2 -2
- package/{ButtonBar.jsx → ButtonBar.js} +2 -4
- package/ButtonPrimary.d.ts +1 -1
- package/{ButtonPrimary.jsx → ButtonPrimary.js} +2 -2
- package/ButtonSecondary.d.ts +1 -1
- package/{ButtonSecondary.jsx → ButtonSecondary.js} +2 -2
- package/ButtonTertiary.d.ts +1 -1
- package/{ButtonTertiary.jsx → ButtonTertiary.js} +2 -2
- package/CHANGELOG.md +12 -1
- package/{Carousel.jsx → Carousel.js} +1 -1
- package/{CarouselStepper.jsx → CarouselStepper.js} +1 -1
- package/{CenterColumn.jsx → CenterColumn.js} +1 -3
- package/Checkbox.d.ts +1 -1
- package/{Checkbox.jsx → Checkbox.js} +2 -2
- package/CheckboxButtonsGroup.d.ts +1 -1
- package/{CheckboxButtonsGroup.jsx → CheckboxButtonsGroup.js} +4 -4
- package/CheckboxGroup.d.ts +1 -1
- package/{CheckboxGroup.jsx → CheckboxGroup.js} +2 -2
- package/CityBlock.d.ts +1 -1
- package/{CityBlock.jsx → CityBlock.js} +1 -1
- package/{ContactBubble.jsx → ContactBubble.js} +13 -27
- package/{ContentArticle.jsx → ContentArticle.js} +9 -12
- package/ContentImage.d.ts +1 -1
- package/ContentImage.js +23 -0
- package/{Datepicker.jsx → Datepicker.js} +17 -18
- package/ExtraLinks.d.ts +1 -1
- package/{ExtraLinks.jsx → ExtraLinks.js} +11 -19
- package/FeatureList.js +21 -0
- package/{FieldGroup.jsx → FieldGroup.js} +3 -4
- package/{FileInput.jsx → FileInput.js} +22 -25
- package/{Foonote.jsx → Foonote.js} +0 -0
- package/FooterBadges.js +17 -0
- package/FooterInfo.js +14 -0
- package/{Footnote.jsx → Footnote.js} +1 -1
- package/{Form.jsx → Form.js} +2 -4
- package/{FormField.jsx → FormField.js} +20 -22
- package/Gallery/_GalleryItem.d.ts +1 -1
- package/Gallery/{_GalleryItem.jsx → _GalleryItem.js} +10 -11
- package/Gallery/{_GalleryModal.jsx → _GalleryModal.js} +11 -15
- package/Gallery/{_GalleryModalItem.jsx → _GalleryModalItem.js} +6 -8
- package/{Gallery.jsx → Gallery.js} +3 -4
- package/GridBlocks.d.ts +2 -2
- package/GridBlocks.js +29 -0
- package/Heading.d.ts +1 -1
- package/{Heading.jsx → Heading.js} +3 -5
- package/HeroBlock.d.ts +2 -2
- package/{HeroBlock.jsx → HeroBlock.js} +9 -10
- package/{IframeBlock.jsx → IframeBlock.js} +6 -6
- package/Illustration.d.ts +1 -1
- package/{Illustration.jsx → Illustration.js} +2 -2
- package/ImageCards.d.ts +1 -1
- package/{ImageCards.jsx → ImageCards.js} +3 -4
- package/InfoBlock.js +18 -0
- package/InfoHero.d.ts +2 -2
- package/{InfoHero.jsx → InfoHero.js} +10 -16
- package/IslandBlock.d.ts +1 -1
- package/{IslandBlock.jsx → IslandBlock.js} +1 -1
- package/IslandPageBlock.d.ts +1 -1
- package/{IslandPageBlock.jsx → IslandPageBlock.js} +1 -1
- package/LabeledTextBlock.d.ts +1 -1
- package/{LabeledTextBlock.jsx → LabeledTextBlock.js} +5 -7
- package/Layout.js +58 -0
- package/MainMenu/_Auxiliary.js +20 -0
- package/MainMenu/_PrimaryPanel.js +29 -0
- package/{MainMenu.jsx → MainMenu.js} +28 -41
- package/MiniMetrics.d.ts +1 -1
- package/{MiniMetrics.jsx → MiniMetrics.js} +6 -5
- package/Modal.js +19 -0
- package/{NameCard.jsx → NameCard.js} +19 -24
- package/{NameCards.jsx → NameCards.js} +1 -3
- package/NewsHero.d.ts +1 -1
- package/{NewsHero.jsx → NewsHero.js} +8 -10
- package/{PageFilter.jsx → PageFilter.js} +6 -7
- package/{PageHeading.jsx → PageHeading.js} +2 -4
- package/Picture.d.ts +7 -0
- package/Picture.js +13 -0
- package/ProcessOverview.js +22 -0
- package/{PullQuote.jsx → PullQuote.js} +1 -1
- package/RadioButtonsGroup.d.ts +1 -1
- package/{RadioButtonsGroup.jsx → RadioButtonsGroup.js} +4 -4
- package/RadioGroup.d.ts +2 -2
- package/RadioGroup.js +12 -0
- package/RelatedLinks.js +31 -0
- package/{RowBlock.jsx → RowBlock.js} +1 -3
- package/{RowBlockColumn.jsx → RowBlockColumn.js} +2 -4
- package/{SearchInput.jsx → SearchInput.js} +4 -6
- package/SearchResults/_SearchResultsItem.js +20 -0
- package/{SearchResults.jsx → SearchResults.js} +27 -36
- package/{SeenEffect.jsx → SeenEffect.js} +1 -1
- package/{Selectbox.jsx → Selectbox.js} +1 -1
- package/{ShareButtons.jsx → ShareButtons.js} +7 -13
- package/{Sharpie.jsx → Sharpie.js} +1 -1
- package/{SiteSearchAutocomplete.jsx → SiteSearchAutocomplete.js} +5 -7
- package/{SiteSearchCurtain.jsx → SiteSearchCurtain.js} +1 -5
- package/SiteSearchInput.d.ts +1 -1
- package/{SiteSearchInput.jsx → SiteSearchInput.js} +10 -12
- package/{Skeleton.jsx → Skeleton.js} +5 -5
- package/{SubHeading.jsx → SubHeading.js} +2 -4
- package/{Tabs.jsx → Tabs.js} +12 -12
- package/TagPill.d.ts +1 -1
- package/{TagPill.jsx → TagPill.js} +12 -17
- package/{TextBlock.jsx → TextBlock.js} +2 -4
- package/TextButton.d.ts +1 -1
- package/{TextButton.jsx → TextButton.js} +2 -2
- package/{TextInput.jsx → TextInput.js} +1 -1
- package/{VSpacer.jsx → VSpacer.js} +1 -1
- package/{VerticalTabsTOC.jsx → VerticalTabsTOC.js} +2 -2
- package/WizardLayout.js +35 -0
- package/WizardLayoutClose.d.ts +1 -1
- package/{WizardLayoutClose.jsx → WizardLayoutClose.js} +2 -2
- package/WizardStepper.js +30 -0
- package/_abstract/{_AbstractCarousel.jsx → _AbstractCarousel.js} +7 -10
- package/_abstract/{_Blings.jsx → _Blings.js} +1 -3
- package/_abstract/_Block.d.ts +2 -2
- package/_abstract/_Block.js +29 -0
- package/_abstract/{Button.d.ts → _Button.d.ts} +0 -0
- package/_abstract/{Button.jsx → _Button.js} +3 -7
- package/_abstract/{CardList.d.ts → _CardList.d.ts} +2 -1
- package/_abstract/_CardList.js +45 -0
- package/{esm/_abstract/Image.d.ts → _abstract/_Image.d.ts} +9 -5
- package/_abstract/{Image.jsx → _Image.js} +11 -13
- package/_abstract/{Link.d.ts → _Link.d.ts} +0 -0
- package/_abstract/{Link.jsx → _Link.js} +0 -0
- package/_abstract/_Quote.js +15 -0
- package/{esm/_abstract/TogglerGroup.d.ts → _abstract/_TogglerGroup.d.ts} +1 -1
- package/_abstract/_TogglerGroup.js +34 -0
- package/_abstract/{TogglerGroupField.d.ts → _TogglerGroupField.d.ts} +2 -2
- package/_abstract/{TogglerGroupField.jsx → _TogglerGroupField.js} +4 -4
- package/_abstract/{TogglerInput.d.ts → _TogglerInput.d.ts} +0 -0
- package/_abstract/{TogglerInput.jsx → _TogglerInput.js} +13 -15
- package/_abstract/{breakOnNL.jsx → breakOnNL.js} +1 -1
- package/esm/AccordionList.js +24 -0
- package/esm/ActionCards.d.ts +1 -1
- package/esm/ActionCards.js +9 -0
- package/esm/{Alert.jsx → Alert.js} +7 -9
- package/esm/ArticleCards.d.ts +6 -0
- package/esm/ArticleCards.js +4 -0
- package/esm/ArticleCarousel/_ArticleCarouselCard.d.ts +1 -1
- package/esm/ArticleCarousel/_ArticleCarouselCard.js +24 -0
- package/esm/{ArticleCarousel.jsx → ArticleCarousel.js} +1 -1
- package/esm/ArticleMeta.d.ts +1 -0
- package/esm/ArticleMeta.js +19 -0
- package/esm/Attention.js +4 -0
- package/esm/{BasicTable.jsx → BasicTable.js} +11 -12
- package/esm/BgBox.d.ts +8 -0
- package/esm/BgBox.js +9 -0
- package/esm/{Bling.jsx → Bling.js} +2 -2
- package/esm/BlockBreak.js +6 -0
- package/esm/BlockQuote.js +4 -0
- package/esm/BreadCrumbs.js +28 -0
- package/esm/ButtonBack.d.ts +1 -1
- package/esm/ButtonBack.js +4 -0
- package/esm/{ButtonBar.jsx → ButtonBar.js} +2 -4
- package/esm/ButtonPrimary.d.ts +1 -1
- package/esm/ButtonPrimary.js +4 -0
- package/esm/ButtonSecondary.d.ts +1 -1
- package/esm/ButtonSecondary.js +4 -0
- package/esm/ButtonTertiary.d.ts +1 -1
- package/esm/{ButtonTertiary.jsx → ButtonTertiary.js} +2 -2
- package/esm/Carousel.js +4 -0
- package/esm/CarouselStepper.js +4 -0
- package/esm/CenterColumn.js +7 -0
- package/esm/Checkbox.d.ts +1 -1
- package/esm/Checkbox.js +4 -0
- package/esm/CheckboxButtonsGroup.d.ts +1 -1
- package/esm/CheckboxButtonsGroup.js +14 -0
- package/esm/CheckboxGroup.d.ts +1 -1
- package/esm/CheckboxGroup.js +7 -0
- package/esm/CityBlock.d.ts +1 -1
- package/esm/{CityBlock.jsx → CityBlock.js} +1 -1
- package/esm/{ContactBubble.jsx → ContactBubble.js} +13 -27
- package/esm/ContentArticle.js +21 -0
- package/esm/ContentImage.d.ts +1 -1
- package/esm/ContentImage.js +18 -0
- package/esm/{Datepicker.jsx → Datepicker.js} +17 -18
- package/esm/ExtraLinks.d.ts +1 -1
- package/esm/{ExtraLinks.jsx → ExtraLinks.js} +11 -19
- package/esm/FeatureList.js +16 -0
- package/esm/FieldGroup.js +9 -0
- package/esm/{FileInput.jsx → FileInput.js} +22 -25
- package/esm/{Foonote.jsx → Foonote.js} +0 -0
- package/esm/FooterBadges.js +12 -0
- package/esm/FooterInfo.js +9 -0
- package/esm/Footnote.js +3 -0
- package/esm/{Form.jsx → Form.js} +2 -4
- package/esm/{FormField.jsx → FormField.js} +20 -22
- package/esm/Gallery/_GalleryItem.d.ts +1 -1
- package/esm/Gallery/{_GalleryItem.jsx → _GalleryItem.js} +10 -11
- package/esm/Gallery/{_GalleryModal.jsx → _GalleryModal.js} +11 -15
- package/esm/Gallery/{_GalleryModalItem.jsx → _GalleryModalItem.js} +6 -8
- package/esm/{Gallery.jsx → Gallery.js} +3 -4
- package/esm/GridBlocks.d.ts +2 -2
- package/esm/GridBlocks.js +24 -0
- package/esm/Heading.d.ts +1 -1
- package/esm/{Heading.jsx → Heading.js} +3 -5
- package/esm/HeroBlock.d.ts +2 -2
- package/esm/HeroBlock.js +21 -0
- package/esm/{IframeBlock.jsx → IframeBlock.js} +6 -6
- package/esm/Illustration.d.ts +1 -1
- package/esm/{Illustration.jsx → Illustration.js} +2 -2
- package/esm/ImageCards.d.ts +1 -1
- package/esm/{ImageCards.jsx → ImageCards.js} +3 -4
- package/esm/InfoBlock.js +13 -0
- package/esm/InfoHero.d.ts +2 -2
- package/esm/{InfoHero.jsx → InfoHero.js} +10 -16
- package/esm/IslandBlock.d.ts +1 -1
- package/esm/{IslandBlock.jsx → IslandBlock.js} +1 -1
- package/esm/IslandPageBlock.d.ts +1 -1
- package/esm/{IslandPageBlock.jsx → IslandPageBlock.js} +1 -1
- package/esm/LabeledTextBlock.d.ts +1 -1
- package/esm/LabeledTextBlock.js +14 -0
- package/esm/Layout.js +52 -0
- package/esm/MainMenu/_Auxiliary.js +13 -0
- package/esm/MainMenu/_PrimaryPanel.js +22 -0
- package/esm/{MainMenu.jsx → MainMenu.js} +28 -41
- package/esm/MiniMetrics.d.ts +1 -1
- package/esm/MiniMetrics.js +12 -0
- package/esm/Modal.js +14 -0
- package/esm/{NameCard.jsx → NameCard.js} +19 -24
- package/esm/NameCards.js +7 -0
- package/esm/NewsHero.d.ts +1 -1
- package/esm/{NewsHero.jsx → NewsHero.js} +8 -10
- package/esm/PageFilter.js +15 -0
- package/esm/{PageHeading.jsx → PageHeading.js} +2 -4
- package/esm/Picture.d.ts +7 -0
- package/esm/Picture.js +8 -0
- package/esm/ProcessOverview.js +17 -0
- package/esm/PullQuote.js +4 -0
- package/esm/RadioButtonsGroup.d.ts +1 -1
- package/esm/RadioButtonsGroup.js +14 -0
- package/esm/RadioGroup.d.ts +2 -2
- package/esm/RadioGroup.js +7 -0
- package/esm/RelatedLinks.js +26 -0
- package/esm/{RowBlock.jsx → RowBlock.js} +1 -3
- package/esm/{RowBlockColumn.jsx → RowBlockColumn.js} +2 -4
- package/esm/{SearchInput.jsx → SearchInput.js} +4 -6
- package/esm/SearchResults/_SearchResultsItem.js +15 -0
- package/esm/{SearchResults.jsx → SearchResults.js} +27 -36
- package/esm/{SeenEffect.jsx → SeenEffect.js} +1 -1
- package/esm/{Selectbox.jsx → Selectbox.js} +1 -1
- package/esm/{ShareButtons.jsx → ShareButtons.js} +7 -13
- package/esm/{Sharpie.jsx → Sharpie.js} +1 -1
- package/esm/{SiteSearchAutocomplete.jsx → SiteSearchAutocomplete.js} +5 -7
- package/esm/{SiteSearchCurtain.jsx → SiteSearchCurtain.js} +1 -5
- package/esm/SiteSearchInput.d.ts +1 -1
- package/esm/{SiteSearchInput.jsx → SiteSearchInput.js} +10 -12
- package/esm/{Skeleton.jsx → Skeleton.js} +5 -5
- package/esm/{SubHeading.jsx → SubHeading.js} +2 -4
- package/esm/{Tabs.jsx → Tabs.js} +12 -12
- package/esm/TagPill.d.ts +1 -1
- package/esm/{TagPill.jsx → TagPill.js} +12 -17
- package/esm/{TextBlock.jsx → TextBlock.js} +2 -4
- package/esm/TextButton.d.ts +1 -1
- package/esm/{TextButton.jsx → TextButton.js} +2 -2
- package/esm/{TextInput.jsx → TextInput.js} +1 -1
- package/esm/{VSpacer.jsx → VSpacer.js} +1 -1
- package/esm/{VerticalTabsTOC.jsx → VerticalTabsTOC.js} +2 -2
- package/esm/WizardLayout.js +30 -0
- package/esm/WizardLayoutClose.d.ts +1 -1
- package/esm/WizardLayoutClose.js +4 -0
- package/esm/WizardStepper.js +25 -0
- package/esm/_abstract/{_AbstractCarousel.jsx → _AbstractCarousel.js} +7 -10
- package/esm/_abstract/_Blings.js +12 -0
- package/esm/_abstract/_Block.d.ts +2 -2
- package/esm/_abstract/_Block.js +24 -0
- package/esm/_abstract/{Button.d.ts → _Button.d.ts} +0 -0
- package/esm/_abstract/{Button.jsx → _Button.js} +3 -7
- package/esm/_abstract/{CardList.d.ts → _CardList.d.ts} +2 -1
- package/esm/_abstract/_CardList.js +38 -0
- package/{_abstract/Image.d.ts → esm/_abstract/_Image.d.ts} +9 -5
- package/esm/_abstract/_Image.js +27 -0
- package/esm/_abstract/{Link.d.ts → _Link.d.ts} +0 -0
- package/esm/_abstract/{Link.jsx → _Link.js} +0 -0
- package/esm/_abstract/_Quote.js +8 -0
- package/{_abstract/TogglerGroup.d.ts → esm/_abstract/_TogglerGroup.d.ts} +1 -1
- package/esm/_abstract/_TogglerGroup.js +29 -0
- package/esm/_abstract/{TogglerGroupField.d.ts → _TogglerGroupField.d.ts} +2 -2
- package/esm/_abstract/{TogglerGroupField.jsx → _TogglerGroupField.js} +4 -4
- package/esm/_abstract/{TogglerInput.d.ts → _TogglerInput.d.ts} +0 -0
- package/esm/_abstract/{TogglerInput.jsx → _TogglerInput.js} +13 -15
- package/esm/_abstract/{breakOnNL.jsx → breakOnNL.js} +1 -1
- package/esm/utils/seenEffect.d.ts +2 -2
- package/esm/utils/seenEffect.js +1 -1
- package/package.json +106 -91
- package/utils/seenEffect.d.ts +2 -2
- package/utils/seenEffect.js +1 -1
- package/ArticleCarousel/_ArticleCarouselCard.jsx +0 -32
- package/BreadCrumbs.jsx +0 -36
- package/ContentImage.jsx +0 -18
- package/FeatureList.jsx +0 -28
- package/FooterBadges.jsx +0 -21
- package/FooterInfo.jsx +0 -19
- package/GridBlocks.jsx +0 -40
- package/InfoBlock.jsx +0 -23
- package/Layout.jsx +0 -69
- package/MainMenu/_Auxiliary.jsx +0 -26
- package/MainMenu/_PrimaryPanel.jsx +0 -37
- package/Modal.jsx +0 -21
- package/ProcessOverview.jsx +0 -25
- package/RadioGroup.jsx +0 -12
- package/RelatedLinks.jsx +0 -35
- package/SearchResults/_SearchResultsItem.jsx +0 -24
- package/WizardLayout.jsx +0 -44
- package/WizardStepper.jsx +0 -34
- package/_abstract/CardList.jsx +0 -46
- package/_abstract/TogglerGroup.jsx +0 -36
- package/_abstract/_Block.jsx +0 -32
- package/_abstract/_Quote.jsx +0 -18
- package/esm/AccordionList.jsx +0 -33
- package/esm/ActionCards.jsx +0 -10
- package/esm/ArticleCarousel/_ArticleCarouselCard.jsx +0 -25
- package/esm/ArticleMeta.jsx +0 -17
- package/esm/Attention.jsx +0 -4
- package/esm/BlockBreak.jsx +0 -6
- package/esm/BlockQuote.jsx +0 -4
- package/esm/BreadCrumbs.jsx +0 -31
- package/esm/ButtonBack.jsx +0 -4
- package/esm/ButtonPrimary.jsx +0 -4
- package/esm/ButtonSecondary.jsx +0 -4
- package/esm/Carousel.jsx +0 -4
- package/esm/CarouselStepper.jsx +0 -4
- package/esm/CenterColumn.jsx +0 -9
- package/esm/Checkbox.jsx +0 -4
- package/esm/CheckboxButtonsGroup.jsx +0 -14
- package/esm/CheckboxGroup.jsx +0 -7
- package/esm/ContentArticle.jsx +0 -24
- package/esm/ContentImage.jsx +0 -13
- package/esm/FeatureList.jsx +0 -23
- package/esm/FieldGroup.jsx +0 -10
- package/esm/FooterBadges.jsx +0 -16
- package/esm/FooterInfo.jsx +0 -14
- package/esm/Footnote.jsx +0 -3
- package/esm/GridBlocks.jsx +0 -35
- package/esm/HeroBlock.jsx +0 -22
- package/esm/InfoBlock.jsx +0 -18
- package/esm/LabeledTextBlock.jsx +0 -16
- package/esm/Layout.jsx +0 -63
- package/esm/MainMenu/_Auxiliary.jsx +0 -19
- package/esm/MainMenu/_PrimaryPanel.jsx +0 -30
- package/esm/MiniMetrics.jsx +0 -11
- package/esm/Modal.jsx +0 -16
- package/esm/NameCards.jsx +0 -9
- package/esm/PageFilter.jsx +0 -16
- package/esm/ProcessOverview.jsx +0 -20
- package/esm/PullQuote.jsx +0 -4
- package/esm/RadioButtonsGroup.jsx +0 -14
- package/esm/RadioGroup.jsx +0 -7
- package/esm/RelatedLinks.jsx +0 -30
- package/esm/SearchResults/_SearchResultsItem.jsx +0 -19
- package/esm/WizardLayout.jsx +0 -39
- package/esm/WizardLayoutClose.jsx +0 -4
- package/esm/WizardStepper.jsx +0 -29
- package/esm/_abstract/CardList.jsx +0 -39
- package/esm/_abstract/Image.jsx +0 -29
- package/esm/_abstract/TogglerGroup.jsx +0 -31
- package/esm/_abstract/_Blings.jsx +0 -14
- package/esm/_abstract/_Block.jsx +0 -27
- package/esm/_abstract/_Quote.jsx +0 -11
package/esm/utils/seenEffect.js
CHANGED
|
@@ -49,7 +49,7 @@ const effects = {
|
|
|
49
49
|
/** Asserts that a prop value is a SeenEffectType and returns undefined otherwise */
|
|
50
50
|
export const assertEffectType = (maybeType) => maybeType && maybeType in effects ? maybeType : undefined;
|
|
51
51
|
export const getEffectAttr = (maybeType) => ({
|
|
52
|
-
'data-seen-effect': assertEffectType(maybeType) || '',
|
|
52
|
+
'data-seen-effect': maybeType === 'none' ? undefined : assertEffectType(maybeType) || '',
|
|
53
53
|
});
|
|
54
54
|
export const useSeenEffect = (
|
|
55
55
|
/** Should the component appear instantly, and not transition-in once seen */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reykjavik/hanna-react",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.59",
|
|
4
4
|
"author": "Reykjavík (http://www.reykjavik.is)",
|
|
5
5
|
"contributors": [
|
|
6
6
|
"Hugsmiðjan ehf (http://www.hugsmidjan.is)",
|
|
@@ -36,365 +36,380 @@
|
|
|
36
36
|
"react": ">=16.8 <19",
|
|
37
37
|
"react-dom": ">=16.8 <19"
|
|
38
38
|
},
|
|
39
|
+
"sideEffects": [
|
|
40
|
+
"**/focus-visible.js"
|
|
41
|
+
],
|
|
39
42
|
"exports": {
|
|
40
43
|
"./AccordionList": {
|
|
41
|
-
"import": "./esm/AccordionList.
|
|
44
|
+
"import": "./esm/AccordionList.js",
|
|
42
45
|
"require": "./AccordionList.js"
|
|
43
46
|
},
|
|
44
47
|
"./ActionCards": {
|
|
45
|
-
"import": "./esm/ActionCards.
|
|
48
|
+
"import": "./esm/ActionCards.js",
|
|
46
49
|
"require": "./ActionCards.js"
|
|
47
50
|
},
|
|
48
51
|
"./Alert": {
|
|
49
|
-
"import": "./esm/Alert.
|
|
52
|
+
"import": "./esm/Alert.js",
|
|
50
53
|
"require": "./Alert.js"
|
|
51
54
|
},
|
|
55
|
+
"./ArticleCards": {
|
|
56
|
+
"import": "./esm/ArticleCards.js",
|
|
57
|
+
"require": "./ArticleCards.js"
|
|
58
|
+
},
|
|
52
59
|
"./ArticleCarousel": {
|
|
53
|
-
"import": "./esm/ArticleCarousel.
|
|
60
|
+
"import": "./esm/ArticleCarousel.js",
|
|
54
61
|
"require": "./ArticleCarousel.js"
|
|
55
62
|
},
|
|
56
63
|
"./ArticleMeta": {
|
|
57
|
-
"import": "./esm/ArticleMeta.
|
|
64
|
+
"import": "./esm/ArticleMeta.js",
|
|
58
65
|
"require": "./ArticleMeta.js"
|
|
59
66
|
},
|
|
60
67
|
"./assets": {
|
|
61
|
-
"import": "./esm/assets.
|
|
68
|
+
"import": "./esm/assets.js",
|
|
62
69
|
"require": "./assets.js"
|
|
63
70
|
},
|
|
64
71
|
"./Attention": {
|
|
65
|
-
"import": "./esm/Attention.
|
|
72
|
+
"import": "./esm/Attention.js",
|
|
66
73
|
"require": "./Attention.js"
|
|
67
74
|
},
|
|
68
75
|
"./BasicTable": {
|
|
69
|
-
"import": "./esm/BasicTable.
|
|
76
|
+
"import": "./esm/BasicTable.js",
|
|
70
77
|
"require": "./BasicTable.js"
|
|
71
78
|
},
|
|
79
|
+
"./BgBox": {
|
|
80
|
+
"import": "./esm/BgBox.js",
|
|
81
|
+
"require": "./BgBox.js"
|
|
82
|
+
},
|
|
72
83
|
"./Bling": {
|
|
73
|
-
"import": "./esm/Bling.
|
|
84
|
+
"import": "./esm/Bling.js",
|
|
74
85
|
"require": "./Bling.js"
|
|
75
86
|
},
|
|
76
87
|
"./BlockBreak": {
|
|
77
|
-
"import": "./esm/BlockBreak.
|
|
88
|
+
"import": "./esm/BlockBreak.js",
|
|
78
89
|
"require": "./BlockBreak.js"
|
|
79
90
|
},
|
|
80
91
|
"./BlockQuote": {
|
|
81
|
-
"import": "./esm/BlockQuote.
|
|
92
|
+
"import": "./esm/BlockQuote.js",
|
|
82
93
|
"require": "./BlockQuote.js"
|
|
83
94
|
},
|
|
84
95
|
"./BreadCrumbs": {
|
|
85
|
-
"import": "./esm/BreadCrumbs.
|
|
96
|
+
"import": "./esm/BreadCrumbs.js",
|
|
86
97
|
"require": "./BreadCrumbs.js"
|
|
87
98
|
},
|
|
88
99
|
"./ButtonBack": {
|
|
89
|
-
"import": "./esm/ButtonBack.
|
|
100
|
+
"import": "./esm/ButtonBack.js",
|
|
90
101
|
"require": "./ButtonBack.js"
|
|
91
102
|
},
|
|
92
103
|
"./ButtonBar": {
|
|
93
|
-
"import": "./esm/ButtonBar.
|
|
104
|
+
"import": "./esm/ButtonBar.js",
|
|
94
105
|
"require": "./ButtonBar.js"
|
|
95
106
|
},
|
|
96
107
|
"./ButtonPrimary": {
|
|
97
|
-
"import": "./esm/ButtonPrimary.
|
|
108
|
+
"import": "./esm/ButtonPrimary.js",
|
|
98
109
|
"require": "./ButtonPrimary.js"
|
|
99
110
|
},
|
|
100
111
|
"./ButtonSecondary": {
|
|
101
|
-
"import": "./esm/ButtonSecondary.
|
|
112
|
+
"import": "./esm/ButtonSecondary.js",
|
|
102
113
|
"require": "./ButtonSecondary.js"
|
|
103
114
|
},
|
|
104
115
|
"./ButtonTertiary": {
|
|
105
|
-
"import": "./esm/ButtonTertiary.
|
|
116
|
+
"import": "./esm/ButtonTertiary.js",
|
|
106
117
|
"require": "./ButtonTertiary.js"
|
|
107
118
|
},
|
|
108
119
|
"./Carousel": {
|
|
109
|
-
"import": "./esm/Carousel.
|
|
120
|
+
"import": "./esm/Carousel.js",
|
|
110
121
|
"require": "./Carousel.js"
|
|
111
122
|
},
|
|
112
123
|
"./CarouselStepper": {
|
|
113
|
-
"import": "./esm/CarouselStepper.
|
|
124
|
+
"import": "./esm/CarouselStepper.js",
|
|
114
125
|
"require": "./CarouselStepper.js"
|
|
115
126
|
},
|
|
116
127
|
"./CenterColumn": {
|
|
117
|
-
"import": "./esm/CenterColumn.
|
|
128
|
+
"import": "./esm/CenterColumn.js",
|
|
118
129
|
"require": "./CenterColumn.js"
|
|
119
130
|
},
|
|
120
131
|
"./Checkbox": {
|
|
121
|
-
"import": "./esm/Checkbox.
|
|
132
|
+
"import": "./esm/Checkbox.js",
|
|
122
133
|
"require": "./Checkbox.js"
|
|
123
134
|
},
|
|
124
135
|
"./CheckboxButtonsGroup": {
|
|
125
|
-
"import": "./esm/CheckboxButtonsGroup.
|
|
136
|
+
"import": "./esm/CheckboxButtonsGroup.js",
|
|
126
137
|
"require": "./CheckboxButtonsGroup.js"
|
|
127
138
|
},
|
|
128
139
|
"./CheckboxGroup": {
|
|
129
|
-
"import": "./esm/CheckboxGroup.
|
|
140
|
+
"import": "./esm/CheckboxGroup.js",
|
|
130
141
|
"require": "./CheckboxGroup.js"
|
|
131
142
|
},
|
|
132
143
|
"./CityBlock": {
|
|
133
|
-
"import": "./esm/CityBlock.
|
|
144
|
+
"import": "./esm/CityBlock.js",
|
|
134
145
|
"require": "./CityBlock.js"
|
|
135
146
|
},
|
|
136
147
|
"./constants": {
|
|
137
|
-
"import": "./esm/constants.
|
|
148
|
+
"import": "./esm/constants.js",
|
|
138
149
|
"require": "./constants.js"
|
|
139
150
|
},
|
|
140
151
|
"./ContactBubble": {
|
|
141
|
-
"import": "./esm/ContactBubble.
|
|
152
|
+
"import": "./esm/ContactBubble.js",
|
|
142
153
|
"require": "./ContactBubble.js"
|
|
143
154
|
},
|
|
144
155
|
"./ContentArticle": {
|
|
145
|
-
"import": "./esm/ContentArticle.
|
|
156
|
+
"import": "./esm/ContentArticle.js",
|
|
146
157
|
"require": "./ContentArticle.js"
|
|
147
158
|
},
|
|
148
159
|
"./ContentImage": {
|
|
149
|
-
"import": "./esm/ContentImage.
|
|
160
|
+
"import": "./esm/ContentImage.js",
|
|
150
161
|
"require": "./ContentImage.js"
|
|
151
162
|
},
|
|
152
163
|
"./Datepicker": {
|
|
153
|
-
"import": "./esm/Datepicker.
|
|
164
|
+
"import": "./esm/Datepicker.js",
|
|
154
165
|
"require": "./Datepicker.js"
|
|
155
166
|
},
|
|
156
167
|
"./ExtraLinks": {
|
|
157
|
-
"import": "./esm/ExtraLinks.
|
|
168
|
+
"import": "./esm/ExtraLinks.js",
|
|
158
169
|
"require": "./ExtraLinks.js"
|
|
159
170
|
},
|
|
160
171
|
"./FeatureList": {
|
|
161
|
-
"import": "./esm/FeatureList.
|
|
172
|
+
"import": "./esm/FeatureList.js",
|
|
162
173
|
"require": "./FeatureList.js"
|
|
163
174
|
},
|
|
164
175
|
"./FieldGroup": {
|
|
165
|
-
"import": "./esm/FieldGroup.
|
|
176
|
+
"import": "./esm/FieldGroup.js",
|
|
166
177
|
"require": "./FieldGroup.js"
|
|
167
178
|
},
|
|
168
179
|
"./FileInput": {
|
|
169
|
-
"import": "./esm/FileInput.
|
|
180
|
+
"import": "./esm/FileInput.js",
|
|
170
181
|
"require": "./FileInput.js"
|
|
171
182
|
},
|
|
172
183
|
"./focus-visible": {
|
|
173
|
-
"import": "./esm/focus-visible.
|
|
184
|
+
"import": "./esm/focus-visible.js",
|
|
174
185
|
"require": "./focus-visible.js"
|
|
175
186
|
},
|
|
176
187
|
"./Foonote": {
|
|
177
|
-
"import": "./esm/Foonote.
|
|
188
|
+
"import": "./esm/Foonote.js",
|
|
178
189
|
"require": "./Foonote.js"
|
|
179
190
|
},
|
|
180
191
|
"./FooterBadges": {
|
|
181
|
-
"import": "./esm/FooterBadges.
|
|
192
|
+
"import": "./esm/FooterBadges.js",
|
|
182
193
|
"require": "./FooterBadges.js"
|
|
183
194
|
},
|
|
184
195
|
"./FooterInfo": {
|
|
185
|
-
"import": "./esm/FooterInfo.
|
|
196
|
+
"import": "./esm/FooterInfo.js",
|
|
186
197
|
"require": "./FooterInfo.js"
|
|
187
198
|
},
|
|
188
199
|
"./Footnote": {
|
|
189
|
-
"import": "./esm/Footnote.
|
|
200
|
+
"import": "./esm/Footnote.js",
|
|
190
201
|
"require": "./Footnote.js"
|
|
191
202
|
},
|
|
192
203
|
"./Form": {
|
|
193
|
-
"import": "./esm/Form.
|
|
204
|
+
"import": "./esm/Form.js",
|
|
194
205
|
"require": "./Form.js"
|
|
195
206
|
},
|
|
196
207
|
"./FormField": {
|
|
197
|
-
"import": "./esm/FormField.
|
|
208
|
+
"import": "./esm/FormField.js",
|
|
198
209
|
"require": "./FormField.js"
|
|
199
210
|
},
|
|
200
211
|
"./Gallery": {
|
|
201
|
-
"import": "./esm/Gallery.
|
|
212
|
+
"import": "./esm/Gallery.js",
|
|
202
213
|
"require": "./Gallery.js"
|
|
203
214
|
},
|
|
204
215
|
"./GridBlocks": {
|
|
205
|
-
"import": "./esm/GridBlocks.
|
|
216
|
+
"import": "./esm/GridBlocks.js",
|
|
206
217
|
"require": "./GridBlocks.js"
|
|
207
218
|
},
|
|
208
219
|
"./Heading": {
|
|
209
|
-
"import": "./esm/Heading.
|
|
220
|
+
"import": "./esm/Heading.js",
|
|
210
221
|
"require": "./Heading.js"
|
|
211
222
|
},
|
|
212
223
|
"./HeroBlock": {
|
|
213
|
-
"import": "./esm/HeroBlock.
|
|
224
|
+
"import": "./esm/HeroBlock.js",
|
|
214
225
|
"require": "./HeroBlock.js"
|
|
215
226
|
},
|
|
216
227
|
"./IframeBlock": {
|
|
217
|
-
"import": "./esm/IframeBlock.
|
|
228
|
+
"import": "./esm/IframeBlock.js",
|
|
218
229
|
"require": "./IframeBlock.js"
|
|
219
230
|
},
|
|
220
231
|
"./Illustration": {
|
|
221
|
-
"import": "./esm/Illustration.
|
|
232
|
+
"import": "./esm/Illustration.js",
|
|
222
233
|
"require": "./Illustration.js"
|
|
223
234
|
},
|
|
224
235
|
"./ImageCards": {
|
|
225
|
-
"import": "./esm/ImageCards.
|
|
236
|
+
"import": "./esm/ImageCards.js",
|
|
226
237
|
"require": "./ImageCards.js"
|
|
227
238
|
},
|
|
228
239
|
"./InfoBlock": {
|
|
229
|
-
"import": "./esm/InfoBlock.
|
|
240
|
+
"import": "./esm/InfoBlock.js",
|
|
230
241
|
"require": "./InfoBlock.js"
|
|
231
242
|
},
|
|
232
243
|
"./InfoHero": {
|
|
233
|
-
"import": "./esm/InfoHero.
|
|
244
|
+
"import": "./esm/InfoHero.js",
|
|
234
245
|
"require": "./InfoHero.js"
|
|
235
246
|
},
|
|
236
247
|
"./IslandBlock": {
|
|
237
|
-
"import": "./esm/IslandBlock.
|
|
248
|
+
"import": "./esm/IslandBlock.js",
|
|
238
249
|
"require": "./IslandBlock.js"
|
|
239
250
|
},
|
|
240
251
|
"./IslandPageBlock": {
|
|
241
|
-
"import": "./esm/IslandPageBlock.
|
|
252
|
+
"import": "./esm/IslandPageBlock.js",
|
|
242
253
|
"require": "./IslandPageBlock.js"
|
|
243
254
|
},
|
|
244
255
|
"./LabeledTextBlock": {
|
|
245
|
-
"import": "./esm/LabeledTextBlock.
|
|
256
|
+
"import": "./esm/LabeledTextBlock.js",
|
|
246
257
|
"require": "./LabeledTextBlock.js"
|
|
247
258
|
},
|
|
248
259
|
"./Layout": {
|
|
249
|
-
"import": "./esm/Layout.
|
|
260
|
+
"import": "./esm/Layout.js",
|
|
250
261
|
"require": "./Layout.js"
|
|
251
262
|
},
|
|
252
263
|
"./MainMenu": {
|
|
253
|
-
"import": "./esm/MainMenu.
|
|
264
|
+
"import": "./esm/MainMenu.js",
|
|
254
265
|
"require": "./MainMenu.js"
|
|
255
266
|
},
|
|
256
267
|
"./MiniMetrics": {
|
|
257
|
-
"import": "./esm/MiniMetrics.
|
|
268
|
+
"import": "./esm/MiniMetrics.js",
|
|
258
269
|
"require": "./MiniMetrics.js"
|
|
259
270
|
},
|
|
260
271
|
"./Modal": {
|
|
261
|
-
"import": "./esm/Modal.
|
|
272
|
+
"import": "./esm/Modal.js",
|
|
262
273
|
"require": "./Modal.js"
|
|
263
274
|
},
|
|
264
275
|
"./NameCard": {
|
|
265
|
-
"import": "./esm/NameCard.
|
|
276
|
+
"import": "./esm/NameCard.js",
|
|
266
277
|
"require": "./NameCard.js"
|
|
267
278
|
},
|
|
268
279
|
"./NameCards": {
|
|
269
|
-
"import": "./esm/NameCards.
|
|
280
|
+
"import": "./esm/NameCards.js",
|
|
270
281
|
"require": "./NameCards.js"
|
|
271
282
|
},
|
|
272
283
|
"./NewsHero": {
|
|
273
|
-
"import": "./esm/NewsHero.
|
|
284
|
+
"import": "./esm/NewsHero.js",
|
|
274
285
|
"require": "./NewsHero.js"
|
|
275
286
|
},
|
|
276
287
|
"./PageFilter": {
|
|
277
|
-
"import": "./esm/PageFilter.
|
|
288
|
+
"import": "./esm/PageFilter.js",
|
|
278
289
|
"require": "./PageFilter.js"
|
|
279
290
|
},
|
|
280
291
|
"./PageHeading": {
|
|
281
|
-
"import": "./esm/PageHeading.
|
|
292
|
+
"import": "./esm/PageHeading.js",
|
|
282
293
|
"require": "./PageHeading.js"
|
|
283
294
|
},
|
|
295
|
+
"./Picture": {
|
|
296
|
+
"import": "./esm/Picture.js",
|
|
297
|
+
"require": "./Picture.js"
|
|
298
|
+
},
|
|
284
299
|
"./ProcessOverview": {
|
|
285
|
-
"import": "./esm/ProcessOverview.
|
|
300
|
+
"import": "./esm/ProcessOverview.js",
|
|
286
301
|
"require": "./ProcessOverview.js"
|
|
287
302
|
},
|
|
288
303
|
"./PullQuote": {
|
|
289
|
-
"import": "./esm/PullQuote.
|
|
304
|
+
"import": "./esm/PullQuote.js",
|
|
290
305
|
"require": "./PullQuote.js"
|
|
291
306
|
},
|
|
292
307
|
"./RadioButtonsGroup": {
|
|
293
|
-
"import": "./esm/RadioButtonsGroup.
|
|
308
|
+
"import": "./esm/RadioButtonsGroup.js",
|
|
294
309
|
"require": "./RadioButtonsGroup.js"
|
|
295
310
|
},
|
|
296
311
|
"./RadioGroup": {
|
|
297
|
-
"import": "./esm/RadioGroup.
|
|
312
|
+
"import": "./esm/RadioGroup.js",
|
|
298
313
|
"require": "./RadioGroup.js"
|
|
299
314
|
},
|
|
300
315
|
"./RelatedLinks": {
|
|
301
|
-
"import": "./esm/RelatedLinks.
|
|
316
|
+
"import": "./esm/RelatedLinks.js",
|
|
302
317
|
"require": "./RelatedLinks.js"
|
|
303
318
|
},
|
|
304
319
|
"./RowBlock": {
|
|
305
|
-
"import": "./esm/RowBlock.
|
|
320
|
+
"import": "./esm/RowBlock.js",
|
|
306
321
|
"require": "./RowBlock.js"
|
|
307
322
|
},
|
|
308
323
|
"./RowBlockColumn": {
|
|
309
|
-
"import": "./esm/RowBlockColumn.
|
|
324
|
+
"import": "./esm/RowBlockColumn.js",
|
|
310
325
|
"require": "./RowBlockColumn.js"
|
|
311
326
|
},
|
|
312
327
|
"./SearchInput": {
|
|
313
|
-
"import": "./esm/SearchInput.
|
|
328
|
+
"import": "./esm/SearchInput.js",
|
|
314
329
|
"require": "./SearchInput.js"
|
|
315
330
|
},
|
|
316
331
|
"./SearchResults": {
|
|
317
|
-
"import": "./esm/SearchResults.
|
|
332
|
+
"import": "./esm/SearchResults.js",
|
|
318
333
|
"require": "./SearchResults.js"
|
|
319
334
|
},
|
|
320
335
|
"./SeenEffect": {
|
|
321
|
-
"import": "./esm/SeenEffect.
|
|
336
|
+
"import": "./esm/SeenEffect.js",
|
|
322
337
|
"require": "./SeenEffect.js"
|
|
323
338
|
},
|
|
324
339
|
"./Selectbox": {
|
|
325
|
-
"import": "./esm/Selectbox.
|
|
340
|
+
"import": "./esm/Selectbox.js",
|
|
326
341
|
"require": "./Selectbox.js"
|
|
327
342
|
},
|
|
328
343
|
"./ShareButtons": {
|
|
329
|
-
"import": "./esm/ShareButtons.
|
|
344
|
+
"import": "./esm/ShareButtons.js",
|
|
330
345
|
"require": "./ShareButtons.js"
|
|
331
346
|
},
|
|
332
347
|
"./Sharpie": {
|
|
333
|
-
"import": "./esm/Sharpie.
|
|
348
|
+
"import": "./esm/Sharpie.js",
|
|
334
349
|
"require": "./Sharpie.js"
|
|
335
350
|
},
|
|
336
351
|
"./SiteSearchAutocomplete": {
|
|
337
|
-
"import": "./esm/SiteSearchAutocomplete.
|
|
352
|
+
"import": "./esm/SiteSearchAutocomplete.js",
|
|
338
353
|
"require": "./SiteSearchAutocomplete.js"
|
|
339
354
|
},
|
|
340
355
|
"./SiteSearchCurtain": {
|
|
341
|
-
"import": "./esm/SiteSearchCurtain.
|
|
356
|
+
"import": "./esm/SiteSearchCurtain.js",
|
|
342
357
|
"require": "./SiteSearchCurtain.js"
|
|
343
358
|
},
|
|
344
359
|
"./SiteSearchInput": {
|
|
345
|
-
"import": "./esm/SiteSearchInput.
|
|
360
|
+
"import": "./esm/SiteSearchInput.js",
|
|
346
361
|
"require": "./SiteSearchInput.js"
|
|
347
362
|
},
|
|
348
363
|
"./Skeleton": {
|
|
349
|
-
"import": "./esm/Skeleton.
|
|
364
|
+
"import": "./esm/Skeleton.js",
|
|
350
365
|
"require": "./Skeleton.js"
|
|
351
366
|
},
|
|
352
367
|
"./SubHeading": {
|
|
353
|
-
"import": "./esm/SubHeading.
|
|
368
|
+
"import": "./esm/SubHeading.js",
|
|
354
369
|
"require": "./SubHeading.js"
|
|
355
370
|
},
|
|
356
371
|
"./Tabs": {
|
|
357
|
-
"import": "./esm/Tabs.
|
|
372
|
+
"import": "./esm/Tabs.js",
|
|
358
373
|
"require": "./Tabs.js"
|
|
359
374
|
},
|
|
360
375
|
"./TagPill": {
|
|
361
|
-
"import": "./esm/TagPill.
|
|
376
|
+
"import": "./esm/TagPill.js",
|
|
362
377
|
"require": "./TagPill.js"
|
|
363
378
|
},
|
|
364
379
|
"./TextBlock": {
|
|
365
|
-
"import": "./esm/TextBlock.
|
|
380
|
+
"import": "./esm/TextBlock.js",
|
|
366
381
|
"require": "./TextBlock.js"
|
|
367
382
|
},
|
|
368
383
|
"./TextButton": {
|
|
369
|
-
"import": "./esm/TextButton.
|
|
384
|
+
"import": "./esm/TextButton.js",
|
|
370
385
|
"require": "./TextButton.js"
|
|
371
386
|
},
|
|
372
387
|
"./TextInput": {
|
|
373
|
-
"import": "./esm/TextInput.
|
|
388
|
+
"import": "./esm/TextInput.js",
|
|
374
389
|
"require": "./TextInput.js"
|
|
375
390
|
},
|
|
376
391
|
"./utils": {
|
|
377
|
-
"import": "./esm/utils.
|
|
392
|
+
"import": "./esm/utils.js",
|
|
378
393
|
"require": "./utils.js"
|
|
379
394
|
},
|
|
380
395
|
"./VerticalTabsTOC": {
|
|
381
|
-
"import": "./esm/VerticalTabsTOC.
|
|
396
|
+
"import": "./esm/VerticalTabsTOC.js",
|
|
382
397
|
"require": "./VerticalTabsTOC.js"
|
|
383
398
|
},
|
|
384
399
|
"./VSpacer": {
|
|
385
|
-
"import": "./esm/VSpacer.
|
|
400
|
+
"import": "./esm/VSpacer.js",
|
|
386
401
|
"require": "./VSpacer.js"
|
|
387
402
|
},
|
|
388
403
|
"./WizardLayout": {
|
|
389
|
-
"import": "./esm/WizardLayout.
|
|
404
|
+
"import": "./esm/WizardLayout.js",
|
|
390
405
|
"require": "./WizardLayout.js"
|
|
391
406
|
},
|
|
392
407
|
"./WizardLayoutClose": {
|
|
393
|
-
"import": "./esm/WizardLayoutClose.
|
|
408
|
+
"import": "./esm/WizardLayoutClose.js",
|
|
394
409
|
"require": "./WizardLayoutClose.js"
|
|
395
410
|
},
|
|
396
411
|
"./WizardStepper": {
|
|
397
|
-
"import": "./esm/WizardStepper.
|
|
412
|
+
"import": "./esm/WizardStepper.js",
|
|
398
413
|
"require": "./WizardStepper.js"
|
|
399
414
|
}
|
|
400
415
|
}
|
package/utils/seenEffect.d.ts
CHANGED
|
@@ -13,12 +13,12 @@ declare const effects: {
|
|
|
13
13
|
export declare type SeenEffectType = keyof typeof effects;
|
|
14
14
|
export declare type EffectProp = {
|
|
15
15
|
/** Should the component appear instantly, and not transition-in once seen */
|
|
16
|
-
effectType?: SeenEffectType;
|
|
16
|
+
effectType?: SeenEffectType | 'none';
|
|
17
17
|
};
|
|
18
18
|
/** Asserts that a prop value is a SeenEffectType and returns undefined otherwise */
|
|
19
19
|
export declare const assertEffectType: (maybeType?: string | undefined) => SeenEffectType | undefined;
|
|
20
20
|
export declare const getEffectAttr: (maybeType?: string | undefined) => {
|
|
21
|
-
'data-seen-effect': string;
|
|
21
|
+
'data-seen-effect': string | undefined;
|
|
22
22
|
};
|
|
23
23
|
export declare type SeenProp = {
|
|
24
24
|
/** Should the component appear instantly, and not transition-in once seen */
|
package/utils/seenEffect.js
CHANGED
|
@@ -55,7 +55,7 @@ const effects = {
|
|
|
55
55
|
const assertEffectType = (maybeType) => maybeType && maybeType in effects ? maybeType : undefined;
|
|
56
56
|
exports.assertEffectType = assertEffectType;
|
|
57
57
|
const getEffectAttr = (maybeType) => ({
|
|
58
|
-
'data-seen-effect': (0, exports.assertEffectType)(maybeType) || '',
|
|
58
|
+
'data-seen-effect': maybeType === 'none' ? undefined : (0, exports.assertEffectType)(maybeType) || '',
|
|
59
59
|
});
|
|
60
60
|
exports.getEffectAttr = getEffectAttr;
|
|
61
61
|
const useSeenEffect = (
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ArticleCarouselCard = void 0;
|
|
7
|
-
const react_1 = __importDefault(require("react"));
|
|
8
|
-
const getBemClass_1 = __importDefault(require("@hugsmidjan/react/utils/getBemClass"));
|
|
9
|
-
const assets_1 = require("@reykjavik/hanna-utils/assets");
|
|
10
|
-
const Image_1 = __importDefault(require("../_abstract/Image"));
|
|
11
|
-
const Link_1 = require("../_abstract/Link");
|
|
12
|
-
const constants_1 = require("../constants");
|
|
13
|
-
const ArticleCarouselCard = (props) => {
|
|
14
|
-
const { date, title, summary, href, moreLabel, color, theme, illustration, image } = props;
|
|
15
|
-
const photo = image === null || image === void 0 ? void 0 : image.photo;
|
|
16
|
-
const imageProps = illustration ? { src: (0, assets_1.getIllustrationUrl)(illustration) } : image;
|
|
17
|
-
return (<div className="ArticleCarouselCard" data-color={color && constants_1.colorFamilies[color]} data-color-theme={!color ? theme && constants_1.themeOptions[theme] : undefined} // color takes precedence over "theme"
|
|
18
|
-
>
|
|
19
|
-
<Link_1.Link className="ArticleCarouselCard__link" href={href}>
|
|
20
|
-
{' '}
|
|
21
|
-
<Image_1.default placeholder className={(0, getBemClass_1.default)('ArticleCarouselCard__illustration', photo && 'photo')} {...imageProps}/>
|
|
22
|
-
<h3 className="ArticleCarouselCard__title">{title}</h3>{' '}
|
|
23
|
-
</Link_1.Link>{' '}
|
|
24
|
-
{date && <span className="ArticleCarouselCard__date">{date}</span>}
|
|
25
|
-
<div className="ArticleCarouselCard__summary">{summary}</div>
|
|
26
|
-
{moreLabel && (<Link_1.Link className="ArticleCarouselCard__morelink" href={href} aria-label={title}>
|
|
27
|
-
{' '}
|
|
28
|
-
{moreLabel}{' '}
|
|
29
|
-
</Link_1.Link>)}
|
|
30
|
-
</div>);
|
|
31
|
-
};
|
|
32
|
-
exports.ArticleCarouselCard = ArticleCarouselCard;
|
package/BreadCrumbs.jsx
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const react_1 = __importDefault(require("react"));
|
|
7
|
-
const Link_1 = require("./_abstract/Link");
|
|
8
|
-
const BreadCrumbs__item = (props) => {
|
|
9
|
-
const { link, current } = props;
|
|
10
|
-
return link.href != null ? (<Link_1.Link className="BreadCrumbs__item" href={link.href} aria-current={current || undefined}>
|
|
11
|
-
{link.label}
|
|
12
|
-
</Link_1.Link>) : (<span className="BreadCrumbs__item" aria-current={current || undefined}>
|
|
13
|
-
{link.label}
|
|
14
|
-
</span>);
|
|
15
|
-
};
|
|
16
|
-
const BreadCrumbs = (props) => {
|
|
17
|
-
const { title, trail } = props;
|
|
18
|
-
if (trail.length === 0) {
|
|
19
|
-
return null;
|
|
20
|
-
}
|
|
21
|
-
const ancestors = trail.slice(0, -1);
|
|
22
|
-
const current = trail[trail.length - 1];
|
|
23
|
-
return (<nav className="BreadCrumbs" aria-label={title}>
|
|
24
|
-
<span className="BreadCrumbs__title">{title}:</span>{' '}
|
|
25
|
-
{ancestors.map((link, i) => {
|
|
26
|
-
return (<react_1.default.Fragment key={i}>
|
|
27
|
-
<BreadCrumbs__item link={link}/>{' '}
|
|
28
|
-
<span className="BreadCrumbs__separator" aria-label="">
|
|
29
|
-
>
|
|
30
|
-
</span>{' '}
|
|
31
|
-
</react_1.default.Fragment>);
|
|
32
|
-
})}
|
|
33
|
-
<BreadCrumbs__item link={current} current/>
|
|
34
|
-
</nav>);
|
|
35
|
-
};
|
|
36
|
-
exports.default = BreadCrumbs;
|
package/ContentImage.jsx
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const react_1 = __importDefault(require("react"));
|
|
7
|
-
const Image_1 = __importDefault(require("./_abstract/Image"));
|
|
8
|
-
const ContentImage = (props) => {
|
|
9
|
-
const { image, caption, credit } = props;
|
|
10
|
-
return (<figure className="ContentImage">
|
|
11
|
-
{(caption || credit) && (<figcaption className="ContentImage__caption">
|
|
12
|
-
{caption && <span className="ContentImage__text"> {caption} </span>}{' '}
|
|
13
|
-
{credit && <small className="ContentImage__credit"> {credit} </small>}
|
|
14
|
-
</figcaption>)}
|
|
15
|
-
<Image_1.default className="ContentImage__image" {...image}/>
|
|
16
|
-
</figure>);
|
|
17
|
-
};
|
|
18
|
-
exports.default = ContentImage;
|
package/FeatureList.jsx
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const react_1 = __importDefault(require("react"));
|
|
7
|
-
const seenEffect_1 = require("./utils/seenEffect");
|
|
8
|
-
const Bling_1 = __importDefault(require("./Bling"));
|
|
9
|
-
const FeatureList = (props) => {
|
|
10
|
-
const { title, features, startSeen } = props;
|
|
11
|
-
const [ref] = (0, seenEffect_1.useSeenEffect)(startSeen);
|
|
12
|
-
const _features = features.length ? features : [{ name: '...' }];
|
|
13
|
-
return (<>
|
|
14
|
-
<Bling_1.default type="snake-large" align="left" vertical="down-ish"/>
|
|
15
|
-
|
|
16
|
-
<div className="FeatureList" ref={ref}>
|
|
17
|
-
<h2 className="FeatureList__title">{title}</h2>
|
|
18
|
-
<ul className="FeatureList__list">
|
|
19
|
-
{_features.map(({ name, icon, iconUrl }, i) => (<li key={i} className="FeatureList__feature" style={iconUrl
|
|
20
|
-
? { '--efnistakn': `url("${iconUrl}")` }
|
|
21
|
-
: undefined} data-efnistakn={!iconUrl ? icon : undefined}>
|
|
22
|
-
{name}
|
|
23
|
-
</li>))}
|
|
24
|
-
</ul>
|
|
25
|
-
</div>
|
|
26
|
-
</>);
|
|
27
|
-
};
|
|
28
|
-
exports.default = FeatureList;
|
package/FooterBadges.jsx
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const react_1 = __importDefault(require("react"));
|
|
7
|
-
const Link_1 = require("./_abstract/Link");
|
|
8
|
-
const FooterBadges = (props) => {
|
|
9
|
-
if (!props.badges.length) {
|
|
10
|
-
return null;
|
|
11
|
-
}
|
|
12
|
-
return (<ul className="FooterBadges">
|
|
13
|
-
{props.badges.map(({ altText, src, href }, i) => (<li key={i} className="FooterBadges__badge">
|
|
14
|
-
{href ? (<Link_1.Link href={href}>
|
|
15
|
-
{' '}
|
|
16
|
-
<img src={src} alt={altText}/>{' '}
|
|
17
|
-
</Link_1.Link>) : (<img src={src} alt={altText}/>)}
|
|
18
|
-
</li>))}
|
|
19
|
-
</ul>);
|
|
20
|
-
};
|
|
21
|
-
exports.default = FooterBadges;
|