@reykjavik/hanna-react 0.10.53

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.
Files changed (357) hide show
  1. package/CHANGELOG.md +795 -0
  2. package/README.md +69 -0
  3. package/lib/AccordionList.cjs +91 -0
  4. package/lib/AccordionList.mjs +69 -0
  5. package/lib/ActionCards.cjs +57 -0
  6. package/lib/ActionCards.mjs +35 -0
  7. package/lib/Alert.cjs +159 -0
  8. package/lib/Alert.mjs +139 -0
  9. package/lib/ArticleCarousel/_ArticleCarouselCard.cjs +75 -0
  10. package/lib/ArticleCarousel/_ArticleCarouselCard.mjs +51 -0
  11. package/lib/ArticleCarousel.cjs +43 -0
  12. package/lib/ArticleCarousel.mjs +21 -0
  13. package/lib/ArticleMeta.cjs +46 -0
  14. package/lib/ArticleMeta.mjs +22 -0
  15. package/lib/Attention.cjs +33 -0
  16. package/lib/Attention.mjs +9 -0
  17. package/lib/BasicTable.cjs +72 -0
  18. package/lib/BasicTable.mjs +50 -0
  19. package/lib/Bling.cjs +76 -0
  20. package/lib/Bling.mjs +52 -0
  21. package/lib/BlockBreak.cjs +32 -0
  22. package/lib/BlockBreak.mjs +8 -0
  23. package/lib/BlockQuote.cjs +47 -0
  24. package/lib/BlockQuote.mjs +25 -0
  25. package/lib/BreadCrumbs.cjs +67 -0
  26. package/lib/BreadCrumbs.mjs +43 -0
  27. package/lib/ButtonBack.cjs +47 -0
  28. package/lib/ButtonBack.mjs +25 -0
  29. package/lib/ButtonBar.cjs +45 -0
  30. package/lib/ButtonBar.mjs +18 -0
  31. package/lib/ButtonPrimary.cjs +47 -0
  32. package/lib/ButtonPrimary.mjs +25 -0
  33. package/lib/ButtonSecondary.cjs +47 -0
  34. package/lib/ButtonSecondary.mjs +25 -0
  35. package/lib/ButtonTertiary.cjs +64 -0
  36. package/lib/ButtonTertiary.mjs +42 -0
  37. package/lib/Carousel.cjs +52 -0
  38. package/lib/Carousel.mjs +30 -0
  39. package/lib/CarouselStepper.cjs +51 -0
  40. package/lib/CarouselStepper.mjs +29 -0
  41. package/lib/CenterColumn.cjs +40 -0
  42. package/lib/CenterColumn.mjs +16 -0
  43. package/lib/Checkbox.cjs +52 -0
  44. package/lib/Checkbox.mjs +30 -0
  45. package/lib/CheckboxButtonsGroup.cjs +65 -0
  46. package/lib/CheckboxButtonsGroup.mjs +43 -0
  47. package/lib/CheckboxGroup.cjs +55 -0
  48. package/lib/CheckboxGroup.mjs +33 -0
  49. package/lib/CityBlock.cjs +49 -0
  50. package/lib/CityBlock.mjs +25 -0
  51. package/lib/ContactBubble.cjs +200 -0
  52. package/lib/ContactBubble.mjs +173 -0
  53. package/lib/ContentArticle.cjs +63 -0
  54. package/lib/ContentArticle.mjs +41 -0
  55. package/lib/ContentImage.cjs +58 -0
  56. package/lib/ContentImage.mjs +36 -0
  57. package/lib/Datepicker.cjs +164 -0
  58. package/lib/Datepicker.mjs +142 -0
  59. package/lib/ExtraLinks.cjs +96 -0
  60. package/lib/ExtraLinks.mjs +74 -0
  61. package/lib/FeatureList.cjs +53 -0
  62. package/lib/FeatureList.mjs +29 -0
  63. package/lib/FieldGroup.cjs +40 -0
  64. package/lib/FieldGroup.mjs +16 -0
  65. package/lib/FileInput.cjs +256 -0
  66. package/lib/FileInput.mjs +234 -0
  67. package/lib/Foonote.cjs +30 -0
  68. package/lib/Foonote.mjs +6 -0
  69. package/lib/FooterBadges.cjs +49 -0
  70. package/lib/FooterBadges.mjs +25 -0
  71. package/lib/FooterInfo.cjs +47 -0
  72. package/lib/FooterInfo.mjs +23 -0
  73. package/lib/Footnote.cjs +32 -0
  74. package/lib/Footnote.mjs +8 -0
  75. package/lib/Form.cjs +56 -0
  76. package/lib/Form.mjs +34 -0
  77. package/lib/FormField.cjs +153 -0
  78. package/lib/FormField.mjs +131 -0
  79. package/lib/Gallery/_GalleryItem.cjs +83 -0
  80. package/lib/Gallery/_GalleryItem.mjs +61 -0
  81. package/lib/Gallery/_GalleryModal.cjs +104 -0
  82. package/lib/Gallery/_GalleryModal.mjs +82 -0
  83. package/lib/Gallery/_GalleryModalContext.cjs +30 -0
  84. package/lib/Gallery/_GalleryModalContext.mjs +6 -0
  85. package/lib/Gallery/_GalleryModalItem.cjs +59 -0
  86. package/lib/Gallery/_GalleryModalItem.mjs +36 -0
  87. package/lib/Gallery.cjs +79 -0
  88. package/lib/Gallery.mjs +57 -0
  89. package/lib/GridBlocks.cjs +81 -0
  90. package/lib/GridBlocks.mjs +59 -0
  91. package/lib/Heading.cjs +45 -0
  92. package/lib/Heading.mjs +21 -0
  93. package/lib/HeroBlock.cjs +74 -0
  94. package/lib/HeroBlock.mjs +52 -0
  95. package/lib/IframeBlock.cjs +48 -0
  96. package/lib/IframeBlock.mjs +24 -0
  97. package/lib/Illustration.cjs +51 -0
  98. package/lib/Illustration.mjs +31 -0
  99. package/lib/ImageCards.cjs +72 -0
  100. package/lib/ImageCards.mjs +52 -0
  101. package/lib/InfoBlock.cjs +51 -0
  102. package/lib/InfoBlock.mjs +27 -0
  103. package/lib/InfoHero.cjs +150 -0
  104. package/lib/InfoHero.mjs +128 -0
  105. package/lib/IslandBlock.cjs +63 -0
  106. package/lib/IslandBlock.mjs +41 -0
  107. package/lib/IslandPageBlock.cjs +49 -0
  108. package/lib/IslandPageBlock.mjs +25 -0
  109. package/lib/LabeledTextBlock.cjs +60 -0
  110. package/lib/LabeledTextBlock.mjs +38 -0
  111. package/lib/Layout.cjs +113 -0
  112. package/lib/Layout.mjs +87 -0
  113. package/lib/MainMenu/_Auxiliary.cjs +54 -0
  114. package/lib/MainMenu/_Auxiliary.mjs +28 -0
  115. package/lib/MainMenu/_PrimaryPanel.cjs +74 -0
  116. package/lib/MainMenu/_PrimaryPanel.mjs +48 -0
  117. package/lib/MainMenu.cjs +209 -0
  118. package/lib/MainMenu.mjs +187 -0
  119. package/lib/MiniMetrics.cjs +56 -0
  120. package/lib/MiniMetrics.mjs +34 -0
  121. package/lib/Modal.cjs +70 -0
  122. package/lib/Modal.mjs +48 -0
  123. package/lib/NameCard.cjs +115 -0
  124. package/lib/NameCard.mjs +91 -0
  125. package/lib/NameCards.cjs +52 -0
  126. package/lib/NameCards.mjs +30 -0
  127. package/lib/NewsHero.cjs +136 -0
  128. package/lib/NewsHero.mjs +114 -0
  129. package/lib/PageFilter.cjs +48 -0
  130. package/lib/PageFilter.mjs +24 -0
  131. package/lib/PageHeading.cjs +42 -0
  132. package/lib/PageHeading.mjs +18 -0
  133. package/lib/ProcessOverview.cjs +52 -0
  134. package/lib/ProcessOverview.mjs +28 -0
  135. package/lib/PullQuote.cjs +47 -0
  136. package/lib/PullQuote.mjs +25 -0
  137. package/lib/RadioButtonsGroup.cjs +64 -0
  138. package/lib/RadioButtonsGroup.mjs +42 -0
  139. package/lib/RadioGroup.cjs +58 -0
  140. package/lib/RadioGroup.mjs +36 -0
  141. package/lib/RelatedLinks.cjs +61 -0
  142. package/lib/RelatedLinks.mjs +37 -0
  143. package/lib/RowBlock.cjs +39 -0
  144. package/lib/RowBlock.mjs +15 -0
  145. package/lib/RowBlockColumn.cjs +40 -0
  146. package/lib/RowBlockColumn.mjs +16 -0
  147. package/lib/SearchInput.cjs +136 -0
  148. package/lib/SearchInput.mjs +114 -0
  149. package/lib/SearchResults/_SearchResultsItem.cjs +54 -0
  150. package/lib/SearchResults/_SearchResultsItem.mjs +30 -0
  151. package/lib/SearchResults.cjs +172 -0
  152. package/lib/SearchResults.mjs +150 -0
  153. package/lib/SeenEffect.cjs +66 -0
  154. package/lib/SeenEffect.mjs +44 -0
  155. package/lib/Selectbox.cjs +144 -0
  156. package/lib/Selectbox.mjs +122 -0
  157. package/lib/ShareButtons.cjs +101 -0
  158. package/lib/ShareButtons.mjs +83 -0
  159. package/lib/Sharpie.cjs +51 -0
  160. package/lib/Sharpie.mjs +27 -0
  161. package/lib/SiteSearchAutocomplete.cjs +150 -0
  162. package/lib/SiteSearchAutocomplete.mjs +126 -0
  163. package/lib/SiteSearchCurtain.cjs +78 -0
  164. package/lib/SiteSearchCurtain.mjs +56 -0
  165. package/lib/SiteSearchInput.cjs +119 -0
  166. package/lib/SiteSearchInput.mjs +97 -0
  167. package/lib/Skeleton.cjs +63 -0
  168. package/lib/Skeleton.mjs +39 -0
  169. package/lib/SubHeading.cjs +43 -0
  170. package/lib/SubHeading.mjs +19 -0
  171. package/lib/Tabs.cjs +166 -0
  172. package/lib/Tabs.mjs +144 -0
  173. package/lib/TagPill.cjs +113 -0
  174. package/lib/TagPill.mjs +91 -0
  175. package/lib/TextBlock.cjs +45 -0
  176. package/lib/TextBlock.mjs +21 -0
  177. package/lib/TextButton.cjs +55 -0
  178. package/lib/TextButton.mjs +33 -0
  179. package/lib/TextInput.cjs +136 -0
  180. package/lib/TextInput.mjs +114 -0
  181. package/lib/VSpacer.cjs +70 -0
  182. package/lib/VSpacer.mjs +46 -0
  183. package/lib/VerticalTabsTOC.cjs +123 -0
  184. package/lib/VerticalTabsTOC.mjs +101 -0
  185. package/lib/WizardLayout.cjs +79 -0
  186. package/lib/WizardLayout.mjs +55 -0
  187. package/lib/WizardLayoutClose.cjs +47 -0
  188. package/lib/WizardLayoutClose.mjs +25 -0
  189. package/lib/WizardStepper.cjs +55 -0
  190. package/lib/WizardStepper.mjs +31 -0
  191. package/lib/_abstract/Button.cjs +114 -0
  192. package/lib/_abstract/Button.mjs +92 -0
  193. package/lib/_abstract/CardList.cjs +100 -0
  194. package/lib/_abstract/CardList.mjs +76 -0
  195. package/lib/_abstract/Image.cjs +75 -0
  196. package/lib/_abstract/Image.mjs +51 -0
  197. package/lib/_abstract/Link.cjs +37 -0
  198. package/lib/_abstract/Link.mjs +10 -0
  199. package/lib/_abstract/TogglerGroup.cjs +92 -0
  200. package/lib/_abstract/TogglerGroup.mjs +70 -0
  201. package/lib/_abstract/TogglerGroupField.cjs +121 -0
  202. package/lib/_abstract/TogglerGroupField.mjs +99 -0
  203. package/lib/_abstract/TogglerInput.cjs +105 -0
  204. package/lib/_abstract/TogglerInput.mjs +83 -0
  205. package/lib/_abstract/_AbstractCarousel.cjs +170 -0
  206. package/lib/_abstract/_AbstractCarousel.mjs +152 -0
  207. package/lib/_abstract/_Blings.cjs +47 -0
  208. package/lib/_abstract/_Blings.mjs +23 -0
  209. package/lib/_abstract/_Block.cjs +73 -0
  210. package/lib/_abstract/_Block.mjs +51 -0
  211. package/lib/_abstract/_Quote.cjs +43 -0
  212. package/lib/_abstract/_Quote.mjs +17 -0
  213. package/lib/_abstract/breakOnNL.cjs +30 -0
  214. package/lib/_abstract/breakOnNL.mjs +6 -0
  215. package/lib/assets.cjs +77 -0
  216. package/lib/assets.mjs +53 -0
  217. package/lib/constants.cjs +49 -0
  218. package/lib/constants.mjs +24 -0
  219. package/lib/focus-visible.cjs +1 -0
  220. package/lib/focus-visible.mjs +1 -0
  221. package/lib/utils/config.cjs +27 -0
  222. package/lib/utils/config.mjs +4 -0
  223. package/lib/utils/detectEdgeScroll.cjs +95 -0
  224. package/lib/utils/detectEdgeScroll.mjs +71 -0
  225. package/lib/utils/env.cjs +31 -0
  226. package/lib/utils/env.mjs +5 -0
  227. package/lib/utils/seenEffect.cjs +93 -0
  228. package/lib/utils/seenEffect.mjs +65 -0
  229. package/lib/utils/useFormatMonitor.cjs +29 -0
  230. package/lib/utils/useFormatMonitor.mjs +6 -0
  231. package/lib/utils/useGetSVGtext.cjs +44 -0
  232. package/lib/utils/useGetSVGtext.mjs +21 -0
  233. package/lib/utils/useMenuToggling.cjs +83 -0
  234. package/lib/utils/useMenuToggling.mjs +60 -0
  235. package/lib/utils/useScrollbarWidthCSSVar.cjs +32 -0
  236. package/lib/utils/useScrollbarWidthCSSVar.mjs +6 -0
  237. package/lib/utils.cjs +18 -0
  238. package/lib/utils.mjs +2 -0
  239. package/package.json +491 -0
  240. package/types/AccordionList.d.ts +17 -0
  241. package/types/ActionCards.d.ts +5 -0
  242. package/types/Alert.d.ts +49 -0
  243. package/types/ArticleCarousel/_ArticleCarouselCard.d.ts +27 -0
  244. package/types/ArticleCarousel.d.ts +12 -0
  245. package/types/ArticleMeta.d.ts +9 -0
  246. package/types/Attention.d.ts +7 -0
  247. package/types/BasicTable.d.ts +12 -0
  248. package/types/Bling.d.ts +81 -0
  249. package/types/BlockBreak.d.ts +2 -0
  250. package/types/BlockQuote.d.ts +4 -0
  251. package/types/BreadCrumbs.d.ts +11 -0
  252. package/types/ButtonBack.d.ts +7 -0
  253. package/types/ButtonBar.d.ts +16 -0
  254. package/types/ButtonPrimary.d.ts +7 -0
  255. package/types/ButtonSecondary.d.ts +7 -0
  256. package/types/ButtonTertiary.d.ts +12 -0
  257. package/types/Carousel.d.ts +4 -0
  258. package/types/CarouselStepper.d.ts +4 -0
  259. package/types/CenterColumn.d.ts +7 -0
  260. package/types/Checkbox.d.ts +4 -0
  261. package/types/CheckboxButtonsGroup.d.ts +11 -0
  262. package/types/CheckboxGroup.d.ts +9 -0
  263. package/types/CityBlock.d.ts +23 -0
  264. package/types/ContactBubble.d.ts +58 -0
  265. package/types/ContentArticle.d.ts +15 -0
  266. package/types/ContentImage.d.ts +8 -0
  267. package/types/Datepicker.d.ts +39 -0
  268. package/types/ExtraLinks.d.ts +18 -0
  269. package/types/FeatureList.d.ts +12 -0
  270. package/types/FieldGroup.d.ts +9 -0
  271. package/types/FileInput.d.ts +17 -0
  272. package/types/Foonote.d.ts +12 -0
  273. package/types/FooterBadges.d.ts +9 -0
  274. package/types/FooterInfo.d.ts +18 -0
  275. package/types/Footnote.d.ts +6 -0
  276. package/types/Form.d.ts +7 -0
  277. package/types/FormField.d.ts +65 -0
  278. package/types/Gallery/_GalleryItem.d.ts +8 -0
  279. package/types/Gallery/_GalleryModal.d.ts +6 -0
  280. package/types/Gallery/_GalleryModalContext.d.ts +9 -0
  281. package/types/Gallery/_GalleryModalItem.d.ts +3 -0
  282. package/types/Gallery.d.ts +17 -0
  283. package/types/GridBlocks.d.ts +26 -0
  284. package/types/Heading.d.ts +16 -0
  285. package/types/HeroBlock.d.ts +19 -0
  286. package/types/IframeBlock.d.ts +23 -0
  287. package/types/Illustration.d.ts +13 -0
  288. package/types/ImageCards.d.ts +8 -0
  289. package/types/InfoBlock.d.ts +17 -0
  290. package/types/InfoHero.d.ts +17 -0
  291. package/types/IslandBlock.d.ts +25 -0
  292. package/types/IslandPageBlock.d.ts +24 -0
  293. package/types/LabeledTextBlock.d.ts +11 -0
  294. package/types/Layout.d.ts +33 -0
  295. package/types/MainMenu/_Auxiliary.d.ts +6 -0
  296. package/types/MainMenu/_PrimaryPanel.d.ts +13 -0
  297. package/types/MainMenu.d.ts +48 -0
  298. package/types/MiniMetrics.d.ts +8 -0
  299. package/types/Modal.d.ts +10 -0
  300. package/types/NameCard.d.ts +64 -0
  301. package/types/NameCards.d.ts +6 -0
  302. package/types/NewsHero.d.ts +14 -0
  303. package/types/PageFilter.d.ts +17 -0
  304. package/types/PageHeading.d.ts +10 -0
  305. package/types/ProcessOverview.d.ts +13 -0
  306. package/types/PullQuote.d.ts +4 -0
  307. package/types/RadioButtonsGroup.d.ts +11 -0
  308. package/types/RadioGroup.d.ts +13 -0
  309. package/types/RelatedLinks.d.ts +20 -0
  310. package/types/RowBlock.d.ts +12 -0
  311. package/types/RowBlockColumn.d.ts +8 -0
  312. package/types/SearchInput.d.ts +18 -0
  313. package/types/SearchResults/_SearchResultsItem.d.ts +18 -0
  314. package/types/SearchResults.d.ts +33 -0
  315. package/types/SeenEffect.d.ts +4 -0
  316. package/types/Selectbox.d.ts +8 -0
  317. package/types/ShareButtons.d.ts +9 -0
  318. package/types/Sharpie.d.ts +23 -0
  319. package/types/SiteSearchAutocomplete.d.ts +40 -0
  320. package/types/SiteSearchCurtain.d.ts +6 -0
  321. package/types/SiteSearchInput.d.ts +24 -0
  322. package/types/Skeleton.d.ts +25 -0
  323. package/types/SubHeading.d.ts +10 -0
  324. package/types/Tabs.d.ts +35 -0
  325. package/types/TagPill.d.ts +27 -0
  326. package/types/TextBlock.d.ts +15 -0
  327. package/types/TextButton.d.ts +9 -0
  328. package/types/TextInput.d.ts +16 -0
  329. package/types/VSpacer.d.ts +24 -0
  330. package/types/VerticalTabsTOC.d.ts +14 -0
  331. package/types/WizardLayout.d.ts +15 -0
  332. package/types/WizardLayoutClose.d.ts +3 -0
  333. package/types/WizardStepper.d.ts +36 -0
  334. package/types/_abstract/Button.d.ts +40 -0
  335. package/types/_abstract/CardList.d.ts +29 -0
  336. package/types/_abstract/Image.d.ts +32 -0
  337. package/types/_abstract/Link.d.ts +27 -0
  338. package/types/_abstract/TogglerGroup.d.ts +31 -0
  339. package/types/_abstract/TogglerGroupField.d.ts +17 -0
  340. package/types/_abstract/TogglerInput.d.ts +22 -0
  341. package/types/_abstract/_AbstractCarousel.d.ts +25 -0
  342. package/types/_abstract/_Blings.d.ts +11 -0
  343. package/types/_abstract/_Block.d.ts +22 -0
  344. package/types/_abstract/_Quote.d.ts +9 -0
  345. package/types/_abstract/breakOnNL.d.ts +2 -0
  346. package/types/assets.d.ts +42 -0
  347. package/types/constants.d.ts +39 -0
  348. package/types/focus-visible.d.ts +1 -0
  349. package/types/utils/config.d.ts +2 -0
  350. package/types/utils/detectEdgeScroll.d.ts +52 -0
  351. package/types/utils/env.d.ts +1 -0
  352. package/types/utils/seenEffect.d.ts +28 -0
  353. package/types/utils/useFormatMonitor.d.ts +38 -0
  354. package/types/utils/useGetSVGtext.d.ts +6 -0
  355. package/types/utils/useMenuToggling.d.ts +8 -0
  356. package/types/utils/useScrollbarWidthCSSVar.d.ts +1 -0
  357. package/types/utils.d.ts +2 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,795 @@
1
+ # Change Log for `@reykjavik/hanna-react`
2
+
3
+ ## Upcoming...
4
+
5
+ - ... <!-- Add new lines here. -->
6
+
7
+ ## 0.10.53
8
+
9
+ _2022-06-07_
10
+
11
+ - **IMPORTANT** feat: Rename package to `@reykjavik/hanna-react` — this means
12
+ `@hugsmidjan_is/hanna-react` will not receive any more updates. The library
13
+ is otherwise the same, with the same compatibility.
14
+ - feat: Add `@reykjavik/hanna-utils` as dependency
15
+ - feat: Deprecate the `assets` exports (instead use
16
+ `@reykjavik/hanna-utils/assets`)
17
+ - feat(ts): Export `AuxiliaryPanelIllustrations` from `MainMenu`
18
+
19
+ ## 0.10.50 — 0.10.52
20
+
21
+ _2022-05-31_
22
+
23
+ - fix: Make `Carousel`-related components scroll on mousewheel
24
+ - fix: `CarouselStepper` buttons move focus to relevant carousel item
25
+
26
+ ## 0.10.49
27
+
28
+ _2022-05-25_
29
+
30
+ - feat: Simplify all `Carousel`-related components to use CSS scroll-snap
31
+ - feat: Add prop `neutral` to `WizardStepperStep` to skip numbering
32
+
33
+ ## 0.10.48
34
+
35
+ _2022-05-23_
36
+
37
+ - feat: Add components `BlockQuote`, `PullQuote`
38
+ - feat: Update `.Modal` to emit `.Modal__blings__inner` wrapper
39
+ - feat: Improve `DatePicker`:
40
+ - feat: Add props `small`, `placeholder`, `value`, deprecate `initialDate`
41
+ - fix: `onChange` may recieve `undefined`, when the field is cleared
42
+ - fix: Make date-selection work, when initial value is empty
43
+ - fix: `readOnly` prop had no effect
44
+
45
+ ## 0.10.47
46
+
47
+ _2022-05-17_
48
+
49
+ - feat(ts): Export missing prop types:
50
+ - `AuxiliaryPanelProps` from `MainMenu`
51
+ - `ActionCardsProps` from `ActionCards`
52
+ - `ExtraLinksCardProps` from `ExtraLinks`
53
+ - fix: Add module `Footnote`, deprecate module `Foonote` (typo)
54
+ - fix: Bump dependency for upstream bugfix for `Selectbox`
55
+
56
+ ## 0.10.46
57
+
58
+ _2022-05-12_
59
+
60
+ - feat: Add optional prop `reqText` on `Checkbox`
61
+
62
+ ## 0.10.44 — 0.10.45
63
+
64
+ _2022-05-04_
65
+
66
+ - feat: Add `utils` module with `useFormatMonitor` and `useGetSVGtext`
67
+ - fix: Add `type="button"` to various emitted `<button/>` elements
68
+ - fix: Suppress `key=""` prop warning on `ContentBubble`
69
+
70
+ ## 0.10.43
71
+
72
+ _2022-05-02_
73
+
74
+ - fix: Support "uncontrolled" use of `SearchInput` and `SiteSearchInput`
75
+
76
+ ## 0.10.42
77
+
78
+ _2022-04-27_
79
+
80
+ - feat: `ContactBubble` toggling sets `html[data-contact-bubble]` styling flag
81
+ - fix: Bundle missing dragging/animation library
82
+
83
+ ## 0.10.40 — 0.10.41
84
+
85
+ _2022-04-20_
86
+
87
+ - feat: Add low-level component `Carousel`
88
+ - feat: Add features to `WizardStepper`:
89
+ - feat: Add prop `WizardStepperStep.done` for custom control
90
+ - feat: Add support `"always"` as value for `WizardStepperStep.clickable`
91
+ - feat(ts): Export type `WizardStepperStep`
92
+
93
+ ## 0.10.39
94
+
95
+ _2022-04-07_
96
+
97
+ - feat: Add prop `color` to `TagPill`
98
+ - feat: Add props `removable`, `onClose`, `removeLabel`,`removeLabelLong` to
99
+ `TabPill`
100
+ - fix: `VerticalTabsTOC` not decoding non-ASCII URL fragments
101
+ - fix: Add to `ArticleCarouselCardProps.color` option `ellidaardalur` —
102
+ deprecate mis-spelled `ellidarardalur`
103
+
104
+ ## 0.10.38
105
+
106
+ _2022-04-04_
107
+
108
+ - feat: Add prop `wrapperRef` to `FormFieldProps` (used by form components)
109
+ - feat: Add prop `inputRef` to `TextInput` and `DatePícker`
110
+ - feat: Add props `inputRef`, `buttonRef` to `SearchInput`
111
+ - feat: Make `ContactBubbleItem.href` optional
112
+ - fix: Prop `SelectboxProps.selectRef` was not forwarded correctly
113
+ - fix: `CheckboxGroup` and `CheckboxButtonGroup` adding `undefined` value
114
+ - fix: Change `VSpacer` to emit `<hr/>`, not `<br/>` in non-wrapping mode
115
+ - fix(ts): Export `ButtonTertiaryProps`
116
+
117
+ ## 0.10.37
118
+
119
+ _2022-03-31_
120
+
121
+ - feat: Add experimental helper component `VerticalTabsTOC`
122
+ - feat(ts): Support for `TabsProps.role` being explicitly `toc` (the default)
123
+
124
+ ## 0.10.36
125
+
126
+ _2022-03-28_
127
+
128
+ - feat: Add props `vertical`, `subTabs` to `Tabs`
129
+ - feat: Add experimental component `Skeleton` — with static methods `.text()`
130
+ and `.block()` returning branded types `SkeletonBlock` and `SkeletonText`
131
+ - feat(ts): Rename `TabsProps`, `TabItemProps` — (deprecate `TabListProps`,
132
+ `TabProps`)
133
+
134
+ ## 0.10.35
135
+
136
+ _2022-03-22_
137
+
138
+ - fix: Attempt to Better capture weird `Selectbox` edge cases — Where the
139
+ browser (or React) snap value to something unexpected because of mismatching
140
+ value and/or options.
141
+
142
+ ## 0.10.32 — 0.10.34
143
+
144
+ _2022-03-21_
145
+
146
+ - feat: Add prop `selectRef` to `SelectboxProps`
147
+ - feat: Add prop `placeholderDisabled` to `Selectbox`
148
+ - fix: Make `TagPillProps.children` optional again
149
+ - fix: `SelectboxOptions[number].disabled` was ignored
150
+ - fix: `Selectbox`'s non-empty detection failing on certain option types
151
+ - fix: `SelectboxProps.visibleFormat` should skip over empty/invisible labels
152
+ - fix: Relax typing of props.children, allow nullable `ReactNode`s — even when
153
+ children are required
154
+ - chore: Widen reported peerDependency range to react `>=16.8 <19`
155
+
156
+ ## 0.10.31
157
+
158
+ _2022-03-18_
159
+
160
+ - fix: Regression in `Selectbox` — externally sourced `value` changes failing
161
+
162
+ ## 0.10.30
163
+
164
+ _2022-03-17_
165
+
166
+ - feat: Deprecate props `layout`, `columns` on `CheckboxButtonGroup` and
167
+ `RadioButtonGroup`
168
+ - feat(ts): Export type `RadioButtonsGroupOptions`
169
+ - feat: Add prop `small` to `Attention`
170
+ - feat: Add prop `blings` to`Modal` — for decorations
171
+ - feat: Add new Bling tokens `waves-vertical-medium`, `circle-waves-vertical`
172
+ - feat: Make `SearchReesultI18n.lang` required
173
+ - fix: Add missing number formatting in `SearchResults`
174
+ - fix: Prevent access to esoteric/private `Modal` props
175
+ - fix: Clean up/tighten children prop definitions on all components
176
+
177
+ ## 0.10.29
178
+
179
+ _2022-03-10_
180
+
181
+ - fix: `useFormatMonitor` causing errors in SSR contexts
182
+
183
+ ## 0.10.28
184
+
185
+ _2022-03-09_
186
+
187
+ - feat: Add props `autoClose` and `onClosed` to `Alert` — use `onClosed` when
188
+ removing the Alert from the DOM
189
+ - feat: Add prop `align?: 'right'` to `ButtonBar`
190
+ - fix: Make `FileInput` image previews (thumbnails) more resilient overall
191
+ - fix: Plug memory-leaks caused by `FileInput` image thumbnails.
192
+ - fix: Add support for "uncontrolled" use of `TextInput` and `Selectbox`
193
+ - fix: Suppress React's dev warning about preact compatibility workarounds
194
+
195
+ ## 0.10.25 – 0.10.27
196
+
197
+ _2022-03-03_
198
+
199
+ - feat: Add component `ButtonBar` and `ButtonBar.Split`
200
+ - feat: Add prop `icon` with `go-back` + `go-forward` options to
201
+ `Button(Primary|Secondary|Tertiary)`
202
+
203
+ ## 0.10.24
204
+
205
+ _2022-03-01_
206
+
207
+ - feat: Add prop `background` to `IslandPageBlock`
208
+ - fix: Fix Icelandic number formatting in `SearchResults`
209
+
210
+ ## 0.10.23
211
+
212
+ _2022-02-28_
213
+
214
+ - feat: Changes to `NameCards`
215
+ - feat: Add props `availableLabel`, `unavailableLabel` to `NameCardI18n`
216
+ - feat: Deprecate props `vacancyLabel`, `noVacancyLabel` on `NameCardI18n`
217
+ - feat: Change object shape of `NameCardProps.contactInfo` to use `label`
218
+ and `longLabel` (deprecate `value`)
219
+ - feat: Reintroduce prop `NameCardProps.hours` as separaate value
220
+ - feat: Add prop `NameCardProps.available` (deprecate `vacancy`)
221
+ - feat: Allow passing `JSX.Element` to props `location` and `aboutText`
222
+ - feat: Export prop types for various `Button*`s
223
+ - feat: Add component `TextButton` for hyperlink-looking `<button/>`s
224
+ - feat: `ButtonPrimary`, `ButtonSecondary`, `ButtonTertiary`:
225
+ - feat: Add prop `variant` with "destructive" option
226
+ - feat: Add prop `size` — deprecate prop `small`. Primary and Secondary
227
+ buttons now have a `wide` size variant.
228
+
229
+ ## 0.10.22
230
+
231
+ _2022-02-16_
232
+
233
+ - feat: Add prop `disableBacktrack` to `WizardStepper`
234
+ - feat: Make `WizardStepper`'s `activeStep` prop optional for "preview" mode
235
+
236
+ ## 0.10.21
237
+
238
+ _2022-02-15_
239
+
240
+ - fix: `SiteSearchCurtain` not triggering with Preact
241
+
242
+ ## 0.10.19 — 0.10.20
243
+
244
+ _2022-02-08_
245
+
246
+ - feat: Add `setLinkRenderer`, exported from `utils/config` — to allow hooking
247
+ `hanna-react` into custom routing components
248
+ - feat: Add optional prop `lang` to `MegaMenuItem` (and export that type)
249
+ - feat(ts): Export type `MainMenuSeparator`
250
+ - fix: `ContactBubble` not reacting/appearing on scroll on mobile browsers
251
+ - fix: Improve `MainMenu`'s SSR rendering
252
+ - fix: Start `Layout` menu toggling logic with `.is-menu-closed` set
253
+ - fix: `MainMenu` should allow non-null (but empty) item `href`s
254
+
255
+ ## 0.10.18
256
+
257
+ _2022-02-01_
258
+
259
+ - feat: Expose `ContactBubble`'s `alwaysShow` prop as
260
+ `data-always-show="true"`
261
+
262
+ ## 0.10.17
263
+
264
+ _2022-01-13_
265
+
266
+ - feat: Add type `ArticleCarouselImageProps`
267
+ - feat: Add prop `photo` to `ArticleCarouselImageProps`
268
+
269
+ ## 0.10.15 – 0.10.16
270
+
271
+ _2021-12-07_
272
+
273
+ - feat: Auto-close `ContactBubble` when offing its scroll-based visibility
274
+ - fix: Over-eager `ContactBubble` closing callback hi-jacks all mouse clicks
275
+
276
+ ## 0.10.14
277
+
278
+ _2021-12-02_
279
+
280
+ - feat: Auto-adjust height of non-fixed `IframeBlock`s
281
+ - fix: Auto detect if <html> or <body> is the page "scroll element"
282
+
283
+ ## 0.10.13
284
+
285
+ _2021-11-04_
286
+
287
+ - feat: Add prop `ssr` to `FormField` — and `isBrowser` parameter to the
288
+ `renderInput` callback
289
+
290
+ ## 0.10.12
291
+
292
+ _2021-10-29_
293
+
294
+ - feat: Allow passing `target` prop to MainMenu mega panel items/links
295
+ - fix: Correctly apply `aria-current` to MainMenu's "auxiliary" panel items
296
+
297
+ ## 0.10.11
298
+
299
+ _2021-10-26_
300
+
301
+ - feat: Add component `ContactBubble`
302
+
303
+ ## 0.10.10
304
+
305
+ _2021-10-22_
306
+
307
+ - feat: Add component `ContentArticle`
308
+ - feat: Add component `RelatedLinks`
309
+ - feat: Add component `ContentImage`
310
+ - feat: Add component `ArticleMeta`
311
+ - feat: Add component `FooterBadges` for logos/badges/etc.
312
+ - feat: Add seen-effect props to `CenterColumn`
313
+ - feat: Export type `ProcessOverviewItemProps`
314
+ - feat: Export type `FooterInfoProps`, add prop `modifier` to
315
+ `FooterInfoGroup`
316
+
317
+ ## 0.10.9
318
+
319
+ _2021-09-24_
320
+
321
+ - feat: Add props `lang`, `text` on `SiteSearchAutocomplete` (deprecate
322
+ `label`)
323
+ - fix: Add missing `aria-label`s on `SiteSearchAutocomplete`' HTML elements
324
+ - fix: Update outdated dependency declarations
325
+ - fix: Flag optional "text" keys as such in `MainMenu` and `Layout`
326
+ - fix: Collapse effectively-duplicate class modifiers in `VSpacer`
327
+ - fix: HTML output updates
328
+
329
+ ## 0.10.8
330
+
331
+ _2021-09-23_
332
+
333
+ - feat: Add component `VSpacer` for custom spacing between page components
334
+
335
+ ## 0.10.7
336
+
337
+ _2021-09-22_
338
+
339
+ - feat: Add prop `fullWidth` to `BasicTable`
340
+ - fix: Scroll page to the top when `MainMenu` mega panel opens
341
+ - fix: Close `MainMenu` mega panel when leaving "top menu" screen format
342
+
343
+ ## 0.10.6
344
+
345
+ _2021-06-11_
346
+
347
+ - feat: Add component `CenterColumn` - for simple "article" text block layout
348
+ - feat: Add content area prop `globalAlerts` to `WizardLayout`
349
+ - feat: Add prop `activePanelId` to `MainMenu` for remote-control
350
+ - fix: Pretty format `SearchResults`'s `totalHits`
351
+
352
+ ## 0.10.5
353
+
354
+ _2021-06-03_
355
+
356
+ - fix: Inline `.WizardLayout__header__logo`'s SVG image
357
+
358
+ ## 0.10.4
359
+
360
+ _2021-05-25_
361
+
362
+ - feat: Implement full mega-panel toggling behavior for `MainMenu`
363
+ - feat: Convert `\n`s in `NameCard` `location`/`aboutText` into `<br/>`s
364
+ - feat: Convert `\n`s in `InfoHero` `subtitle` into `<br/>`s
365
+ - fix: Incorrect default I18N strings in `Layout` and `MainMenu`
366
+
367
+ ## 0.10.3
368
+
369
+ _2021-05-18_
370
+
371
+ - feat: `NameCard` changes:
372
+ - feat: Add prop `contactInfo`, deprecate `tel` prop instead
373
+ - feat: Add prop `aboutText`, deprecate `hours` prop instead
374
+ - feat: Simplify signature of `texts` prop (deprecate `telLabel`)
375
+ - feat: Make all props optional, except `name`
376
+ - fix: Skip over nested seen-effects candidates
377
+
378
+ ## 0.10.2
379
+
380
+ _2021-05-18_
381
+
382
+ - feat: Add atomic effects component `SeenEffect`
383
+ - `SiteSearchInput` changes:
384
+ - feat: Add prop `onSubmit` to capture user pressing `Enter`
385
+ - feat: Make `onButtonClick` default to `onSubmit`
386
+ - feat: Allow `onSubmit`/`onButtonClick` to return `true` for default
387
+ browser submit behaviour
388
+ - `SiteSearchAutocomplete` changes:
389
+ - feat: Add prop `onSubmit` and make it the default for `onButtonClick`
390
+ - feat: Add prop `small` to `PageHeader`
391
+ - feat: Add no-op `"normal"` option to `HeadingProps`'s `size` prop
392
+
393
+ ## 0.10.1
394
+
395
+ _2021-05-04_
396
+
397
+ - refactor: sort elastic results by `bundle_weight` and `_score`
398
+
399
+ ## 0.10.0
400
+
401
+ _2021-04-08_
402
+
403
+ - target: **Hanna 0.8** markup patterns
404
+ - **BREAKING** refactor: Remove `icon` prop from `MainMenu`
405
+ - **BREAKING** refactor: Remove `image` prop from `MegaPanel.item`
406
+ - feat: Add prop `auxiliaryPanel` to `MainMenu`
407
+ - fix(ts): Flag `ArticleCarousel`'s `moreLabel` prop as optional
408
+
409
+ ## 0.9.5
410
+
411
+ _2020-12-09_
412
+
413
+ - feat: Add component `Footnote`
414
+ - feat: Add utility component `BlockBreak` for flexbox hard line-breaks
415
+ - feat: Add `startSeen` prop to all components with "seen" transitions
416
+
417
+ ## 0.9.4
418
+
419
+ _2020-11-25_
420
+
421
+ - fix: Remove non-ascii characters from Illustration asset/file names
422
+
423
+ ## 0.9.3
424
+
425
+ _2020-11-24_
426
+
427
+ - feat: Add support for "seen" transition effects on all "larger" components
428
+ - feat: Make `Alert`s transition into their initial `open` state
429
+
430
+ ## 0.9.2
431
+
432
+ _2020-11-19_
433
+
434
+ - feat: Add new "forsida\*" `illustrations` names/tokens to `assets.ts`
435
+ - feat: Add component `IframeBlock`
436
+
437
+ ## 0.9.1
438
+
439
+ _2020-11-18_
440
+
441
+ - feat: Relax `AccordionListItemProps` prop `title` to accept `JSX.Element`
442
+
443
+ ## 0.9.0
444
+
445
+ _2020-11-18_
446
+
447
+ - target: **Hanna 0.7** markup patterns
448
+ - **BREAKING** feat: Change `SearchResultsItemProps`'s meta to accept simple
449
+ render functions **insead of** bare JSX nodes
450
+ - feat: Add props `image` and `highlight` to `SearchResultsItemProps` type
451
+ - feat: Deprecate `strong` prop on `Attention`
452
+
453
+ ## 0.8.6 – 0.8.7
454
+
455
+ _2020-11-11_
456
+
457
+ - feat: Add prop `align` to `BasicTable`
458
+ - feat: Add helper module `focus-visible` — an alias for the
459
+ [npm package `focus-visible`](https://www.npmjs.com/package/focus-visible)
460
+ - feat: Remove all "manual" blurring of links, for `:focus-visible`
461
+ - fix: Add missing dependencies to package.json
462
+
463
+ ## 0.8.5
464
+
465
+ _2020-11-05_
466
+
467
+ - feat: Add component `SearchResults`
468
+ - feat: Add prop `type?: 'link'|'pdf'|'text'` on
469
+ `ExtraLinksProps.relatedLinks`
470
+ - feat: Order `GalleryItems` left-to-right
471
+ - fix: Add missing `--readonly` class-name modifier on `FormField`s
472
+
473
+ ## 0.8.4
474
+
475
+ _2020-10-28_
476
+
477
+ - `MainMenu` changes:
478
+ - feat: Add explicit (mobile) `menu-is-closed` class-name on document
479
+ element
480
+ - feat: Flag untouched `.MainMenu__megas` with `data-pristine="true"`
481
+ - fix: Move `aria-current` attribute off `__mega__link` to `__mega__item`
482
+ - fix: Add `data-sprinkled` flag to Carousel-driven container element
483
+
484
+ ## 0.8.3
485
+
486
+ _2020-10-22_
487
+
488
+ - feat: Add content area props `globalAlerts`, `mainContent` to `Layout`
489
+ - `Alert` changes:
490
+ - feat: Add new `type="critical"` to `Alert` (alias for `error`)
491
+ - feat: Add prop `closeUrl` to `Alert` to render server-side close links
492
+ - feat: Pass the click event to `Alert`'s `onClose` and cancel the closing
493
+ if it returns `false`
494
+ - feat: Add over 100 new `illustrations` names/tokens to `assets.ts`
495
+ - fix: `Gallery` and `ArticleCarousel` items sometimes disappeared
496
+
497
+ ## 0.8.2
498
+
499
+ _2020-10-16_
500
+
501
+ - feat: Add component `FeatureList`
502
+ - feat: Add component `Sharpie` (for presentational text coloring)
503
+ - feat: Add prop `titleBlurb` to `InfoHero`
504
+ - feat: Relax `InfoHero` prop `blurb` to accept JSX/HTML content
505
+ - feat: Add missing `Efnistakn` value — `sund_heiturpottur`
506
+ - feat: Add prop `texts`, `lang`, `ssr` to `Alert`
507
+ - feat: Add prop `lang` to `NameCard`
508
+ - fix: Remove dev-only prop `closeLabel` from `Alert`
509
+ - fix: Only call `Tabs` activation callbacks when the active tab changes
510
+
511
+ ## 0.8.1
512
+
513
+ _2020-10-14_
514
+
515
+ - feat: Add component `Attention`
516
+ - feat: Add props `closable`, `onClosed` to `Alert`
517
+ - feat: Skip `Tabs` `.onSetActive()` when a tab's `.onActivated()` returns
518
+ `false`
519
+ - feat: Expand prop `imgPlaceholder` on `ImageCards` to accept string URLs
520
+ - feat: Add prop `badge` to `TabProps`
521
+
522
+ ## 0.8.0
523
+
524
+ _2020-10-07_
525
+
526
+ - target: **Hanna 0.7** markup patterns
527
+ - `Tabs` changes:
528
+ - **BREAKING** feat: Make `Tabs` a "controlled"-only component — with no
529
+ internal "activated" state.
530
+ - **BREAKING** feat: Rename type `TabsProps` to `TablistProps`
531
+ - **BREAKING** feat: Drop `defaultActiveIdx` prop from `TablistProps`
532
+ - feat: Add props `activeIdx`, `role`, `activateOnFocus`, `aria-label`,
533
+ `aria-labelledby`, `id`, `ssr` to `TablistProps`
534
+ - **BREAKING** feat: Drop props `onClick` and `index` from `TabProps`
535
+ - feat: Add prop `onActivated` to `TabProps`
536
+ - feat: Support props `aria-controls`, `id`, `type` on `TabProps`
537
+ - feat: Add support for neutral `.TabPanel` wrapper elements
538
+ - feat: Add component `SiteSearchAutocomplete`
539
+ - feat: Add component `SiteSearchCurtain`
540
+ - feat: Add prop `underlap` to `PageFilter`
541
+ - feat: Make `ImageCardProps`'s `image` prop optional
542
+ - feat: Export `ImageCardProps` from `ImageCards`
543
+ - feat: Add new `Efnistakn` values — `sund_barnalaug`, `sund_eimbad`,
544
+ `sund_kaldurpottur`, `sund_metralaug`, `sund_sauna`, `sund_sundfot`,
545
+ `sund_utiklefi`, `wifi`
546
+ - fix: Set toggle `aria-expanded` on `AccordionList` buttons
547
+ - fix: Blur `Layout__header__skiplink` on mouseout
548
+
549
+ ## 0.7.4
550
+
551
+ _2020-09-30_
552
+
553
+ - feat: Add prop `blingType` to `NewsHero` — deprecate prop `bling`
554
+ - fix: Add missing `Bling` type `dome-large`
555
+
556
+ ## 0.7.3
557
+
558
+ _2020-09-30_
559
+
560
+ - feat: Add new `BlingTypes` values — `box-medium`, `bowl-medium`,
561
+ `circle-xlarge`, `loops-small`, `arrow-right-large`
562
+ - feat: Add prop `ssr` to `Gallery` and `ArticleCarousel`
563
+ - fix: Correctly read `Gallery`'s `texts` prop
564
+ - feat: Add component `MiniMetrics`
565
+ - feat: Make `ArticleCarousel`'s `date` prop optional
566
+ - feat: Add prop `label` to `ButtonProps` type as an alias for `children`
567
+
568
+ ## 0.7.2
569
+
570
+ _2020-09-25_
571
+
572
+ - feat: feat: Add prop `parent` (offset value) to `Bling`
573
+
574
+ ## 0.7.1
575
+
576
+ _2020-09-25_
577
+
578
+ - feat: Add component `Heading`
579
+ - fix: Limit choice of `MainMenu__mega__item` icons to just `Efnistakn_Menu` –
580
+ Mark Efnistakn tokens as deprecated (Remove in v0.8)
581
+ - feat: Deprecate `type="search"` prop value on search fields (Remove in v0.8)
582
+
583
+ ## 0.7.0
584
+
585
+ _2020-09-23_
586
+
587
+ - **BREAKING** target: **Hanna 0.7** markup patterns
588
+ - `Bling` changes:
589
+ - **BREAKING** feat: Drop `size` prop, add new types and alignment values
590
+ - feat: Add `className` prop for custom additional class
591
+ - `CityCouncilHero` –> `InfoHero` changes:
592
+ - **BREAKING** feat: Rename component `CityCouncilHero` to `InfoHero`
593
+ - feat: Add prop `align` to `InfoHero`
594
+ - feat: Add prop `blingType` to choose `.InfoHero__bling` combo presets
595
+ - `IslandBlock` changes:
596
+ - **BREAKING** feat: Simplify `IslandBlock` to be always "expanded", no
597
+ illustration
598
+ - feat: Add component `IslandPageBlock` with illustration only
599
+ - `GridBlocks` changes:
600
+ - **BREAKING** feat: Rename type `GridBlockProps` to `GridBlockItem`
601
+ - **BREAKING** feat: Remove props `className` from `GridBlocks` — also
602
+ disallow `children`
603
+ - feat: Allow `GridBlockItem` to have a `href`
604
+ - `ArticleCarousel` changes:
605
+ - feat: Add prop `image` to `ArticleCarouselCardProps` — for custom
606
+ illustration urls
607
+ - fix: Rename `ArticleCarousel`'s exported props to `ArticleCarouselProps`
608
+ - feat: Add prop (class-name) `modifier` to `Layout`
609
+
610
+ ## 0.6.1 – 0.6.2
611
+
612
+ _2020-09-21_
613
+
614
+ - feat: Add components `ArticleCarousel`
615
+ - feat: Add components `NameCard` and `NameCards`
616
+ - feat: Add component `SiteSearchInput`
617
+ - feat: Add low-level component `CarouselStepper`
618
+ - feat: Add low-level components `RowBlock`, `RowBlockColumn`, `Illustration`
619
+ - feat: Add props `narrow`, `transparent` to `ProcessOverview`
620
+ - fix: Re-introduce missing `NewsHeroItems` `Bling`s
621
+
622
+ ## 0.6.0
623
+
624
+ _2020-09-09_
625
+
626
+ - **BREAKING** target: **Hanna 0.6** markup patterns
627
+ - **BREAKING** feat: Drop `BasicTable`'s `fullWidth` prop
628
+ - **BREAKING** feat: Remove `TextBlock` props `largetext`, `title`, `TitleTag`
629
+ - feat: Add `small` prop to `TextBlock`
630
+ - feat: Add prop `wide` on `LabeledTextBlock`, deprecate prop `left`
631
+ - feat: Add component `Gallery`
632
+ - feat: Add component `TagPill`
633
+ - feat: Add `labelled` prop to `TextBlock`
634
+ - fix: Fallback to showing `<img />` if inlining a SVG fails
635
+
636
+ ## 0.5.4
637
+
638
+ _2020-09-04_
639
+
640
+ - feat: Add component `ShareButtons`
641
+ - feat: Allow `NewsHero`'s `sharing` prop to return a custom share widget
642
+ - feat: Add `defaultOpen` prop to `AccordionList`
643
+ - fix(react): Make `ExtraLinks`'s `relatedTitle` truly optional
644
+ - fix: Render anchor tags for self-linking (empty) `BreadCrumbs` `href`s
645
+ - fix: Make the `aria-current` `WizardStepper__step` clickable by default
646
+ - fix: `ActionCards__card` and `ExtraLinks__card` not rendering as `<a/>`
647
+
648
+ ## 0.5.2 - 0.5.3
649
+
650
+ _2020-08-26_
651
+
652
+ - feat: Add component `NewsHero`
653
+ - feat: Add component `CityCouncilHero`
654
+ - feat: Dreprecate `title`, `TitleTag` props on `TextBlock` (Remove in v0.6)
655
+ - fix: Better disambiguate `<a>` vs `<button>` props on `ButtonProps` type
656
+ - fix: Remove private `bem` and `small` props off the `ButtonProps` type
657
+ - fix: Remove private `className` prop off the `ImageProps` type
658
+
659
+ ## 0.5.1
660
+
661
+ _2020-08-21_
662
+
663
+ - feat: Add component `Bling`
664
+ - feat: Add component `PageFilter`
665
+ - feat: Add component `ImageCards`
666
+ - feat: Add a list of `illustrations` to `assets.ts` and typings
667
+ - fix: Missing `MainMenu__mega__link` icons
668
+
669
+ ## 0.5.0
670
+
671
+ _2020-08-12_
672
+
673
+ - **BREAKING** target: **Hanna 0.5** markup patterns
674
+ - **BREAKING** feat: Simplify `HeroBlock` — drop `align`, require image
675
+ - feat: Add `illustration` prop to `HeroBlock`
676
+ - feat: Add `onButtonClick` and `buttonText` props to `SearchInput`
677
+ - feat: Add `icon` prop to `MainMenuItem` and `GridBlock`
678
+ - feat: Add `illustration` prop to `CityBlock`
679
+ - feat: Add `shapes` and `illustration` props to `IslandBlock`
680
+ - fix: Suppress `<Image/>` on empty `imageSrc`, make `altText` prop optional
681
+
682
+ ## 0.4.4
683
+
684
+ _2020-07-09_
685
+
686
+ - fix: First `Tabs__tab` is unclickable
687
+
688
+ ## 0.4.3
689
+
690
+ _2020-07-03_
691
+
692
+ - feat: Falsy `navChildren` removes `.Layout__nav` + `.Layout__head__skiplink`
693
+ - feat: `Layout` and `WizardLayout` container props now accept any ReactNode
694
+ - feat: allow changing logo link URL in `Layout` and `WizardLayout`
695
+ - feat: Passing `reqText={false}` to `FormField` suppresses its `__reqStar`
696
+
697
+ ## 0.4.2
698
+
699
+ _2020-06-19_
700
+
701
+ - feat: Add `assets` module with useful CSS/Style-related utilities
702
+ - feat: Add component `PageHeading`
703
+ - feat: Add `wide` and `align` props to `SubHeading`
704
+ - feat: Deprecate `fullWidth` prop on `BasicTable` (Remove in v0.6)
705
+ - feat: Add `wide` prop to `AccordionList`
706
+ - fix: Load site logo and other assets from `https://styles.reykjavik.is`
707
+
708
+ ## 0.4.1
709
+
710
+ _2020-06-15_
711
+
712
+ - fix: Add `@hugsmidjan/react` to `pkg.dependencies`
713
+
714
+ ## 0.4.0
715
+
716
+ _2020-06-09_
717
+
718
+ - **BREAKING** target: **Hanna 0.4** markup patterns
719
+ - **BREAKING** feat: Remove close-button related props off `WizardLayout`
720
+ – Add a generic `wizardFooter` containter props instead
721
+ - feat: Add `WizardLayoutClose` mini component
722
+ - feat: add largetext boolean prop for `TextBlock`
723
+
724
+ ## 0.3.0
725
+
726
+ _2020-06-03_
727
+
728
+ - **BREAKING** feat: Change prop signatures of `CheckboxGroup` and
729
+ `RadioGroup`
730
+ - The `selected` props has been renamed `value` now contain values instead
731
+ of options-list indexes
732
+ - `TogglerGroupOption`'s `value` is required instead of `label`
733
+ - `TogglerGroupOption` no longer supports `selected`
734
+ - New prop `inputProps` accepts most `JSX.IntrinsicElements['input']` props
735
+ - New `onSelected({ value, checked, option, selectedValues })` callback prop
736
+ - feat: Add components `Modal`, `Form`
737
+ - feat: add `--align--right` and `--wide` modifiers to `TextBlock`
738
+ - feat: Add a `constants` module with a list of `colorThemes`
739
+ - feat: Add `colorTheme` prop to `Layout` and `WizardLayout`
740
+
741
+ ## 0.2.4 – 0.2.6
742
+
743
+ _2020-05-29_
744
+
745
+ - feat: Mounting `*Layout`s sets `--browser-scrollbar-width` CSS var
746
+ - feat: Accept string values into `Selectbox`es with number options
747
+ - fix: Error in `Selectbox` when combining `onSelected` and `placeholder`
748
+
749
+ ## 0.2.2 – 0.2.3
750
+
751
+ _2020-05-28_
752
+
753
+ - feat: Add bare-bones `SearchInput` component (w/o auto-complete)
754
+ - feat: Add i18n and close-button props to `WizardLayout`
755
+
756
+ ## 0.2.1
757
+
758
+ _2020-05-27_
759
+
760
+ - feat: Add component `TextBlock`, `BasicTable`
761
+ - fix: Disallow right-alignment of `HeroBlock`s with images
762
+ - fix: Tighten types for `InfoBlock`, `abstract/Button`, `ProcessOverview`
763
+
764
+ ## 0.2.0
765
+
766
+ _2020-05-21_
767
+
768
+ - **BREAKING** target: **Hanna 0.3** markup patterns
769
+ - **BREAKING** feat: Rename `ProcessStepper` to `ProcessOverview`
770
+ - **BREAKING** feat: Rename `Accordion` to `AccordionList`
771
+ - **BREAKING** feat: `Alert` (text) content is now passed as children
772
+ - feat: Add component `SubHeading`
773
+ - fix: `Selectbox` Didn't always display empty value correctly
774
+
775
+ ## 0.1.1
776
+
777
+ _2020-05-14_
778
+
779
+ - feat: Add components `IslandBlock`, `Accordion`, `ProcessStepper`,
780
+ `DatePicker`
781
+ - feat: Add optional menu-toggling behaviors to `<Layout/>`
782
+ - feat: Add `align` prop to `HeroBlock`
783
+
784
+ ## 0.1.0
785
+
786
+ _2020-05-04_
787
+
788
+ - target: **Hanna 0.2** markup patterns
789
+ - feat: Includes: `-basics`, `ActionCards`, `Alert`, `BreadCrumbs`,
790
+ `ButtonBack`, `ButtonPrimary`, `ButtonSecondary`, `ButtonTertiary`,
791
+ `Checkbox`, `CheckboxButtonsGroup`, `CheckboxGroup`, `CityBlock`,
792
+ `ExtraLinks`, `FieldGroup`,`FormField`, `FileInput`, `FooterInfo`,
793
+ `GridBlocks`, `HeroBlock`, `InfoBlock`, `LabeledTextBlock`, `Layout-full`,
794
+ `Layout`, `MainMenu` (wip) `RadioButtonsGroup`, `RadioGroup`, `Selectbox`,
795
+ `Tabs`, `TextInput`, `WizardLayout`, `WizardStepper`,