@reykjavik/hanna-react 0.10.105 → 0.10.106

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/CHANGELOG.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  - ... <!-- Add new lines here. -->
6
6
 
7
- ## 0.10.105
7
+ ## 0.10.105 – 0.10.106
8
8
 
9
9
  _2023-10-04_
10
10
 
@@ -13,6 +13,7 @@ _2023-10-04_
13
13
  - feat: Warn about missing/redundant `siteName` prop
14
14
  - fix: Focus error on `SiteSearchAutocomplete` and `AutosuggestSearch`
15
15
  suggestion click
16
+ - fix: Make `GridBlocksProps.items` optional
16
17
 
17
18
  ## 0.10.104
18
19
 
package/GridBlocks.d.ts CHANGED
@@ -8,13 +8,9 @@ export type GridBlockItem = {
8
8
  summary: string | JSX.Element;
9
9
  icon?: Efnistakn;
10
10
  image?: ImageProps;
11
- } & ({
12
11
  href?: string;
13
- links: Array<ButtonProps>;
14
- } | {
15
- href: string;
16
12
  links?: Array<ButtonProps>;
17
- });
13
+ };
18
14
  export type GridBlocksProps = {
19
15
  blocks: Array<GridBlockItem>;
20
16
  twocol?: boolean;
@@ -8,13 +8,9 @@ export type GridBlockItem = {
8
8
  summary: string | JSX.Element;
9
9
  icon?: Efnistakn;
10
10
  image?: ImageProps;
11
- } & ({
12
11
  href?: string;
13
- links: Array<ButtonProps>;
14
- } | {
15
- href: string;
16
12
  links?: Array<ButtonProps>;
17
- });
13
+ };
18
14
  export type GridBlocksProps = {
19
15
  blocks: Array<GridBlockItem>;
20
16
  twocol?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reykjavik/hanna-react",
3
- "version": "0.10.105",
3
+ "version": "0.10.106",
4
4
  "author": "Reykjavík (http://www.reykjavik.is)",
5
5
  "contributors": [
6
6
  "Hugsmiðjan ehf (http://www.hugsmidjan.is)",