@newskit-render/standalone-components 1.9.6 → 1.10.0-alpha.0

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 (2) hide show
  1. package/README.md +9 -9
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -331,15 +331,15 @@ export const baseContext: BaseContextOptions = {
331
331
 
332
332
  3. navigationPrimary - Global property changes nav links in top banner area - Array of nav objects or false to have no nav
333
333
 
334
- - nav: [
335
- {
336
- - text: string
337
- - link: string
338
- - icon: string
339
- - ariaLabel: string
340
- },
341
- ],
342
- },
334
+ - nav?:
335
+ - text: string
336
+ - link: string
337
+ - icon: React.ReactElement<NewsKitIconProps>
338
+ - ariaLabel?: string
339
+ - title?: string
340
+ - logoSrc?: string (path to logo.svg)
341
+ - logoWidth?: string (width of logo)
342
+ - titlePosition?: string (uses css top property to ajust title position)
343
343
 
344
344
  4. header - Property used to change the title value and styles of each page
345
345
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newskit-render/standalone-components",
3
- "version": "1.9.6",
3
+ "version": "1.10.0-alpha.0",
4
4
  "description": "Newskit Render Standalone Components",
5
5
  "author": "",
6
6
  "license": "UNLICENSED",
@@ -35,7 +35,7 @@
35
35
  "@emotion/react": "11.10.4",
36
36
  "@emotion/styled": "11.10.4",
37
37
  "@newskit-render/api": "^1.2.1",
38
- "@newskit-render/shared-components": "^1.15.0",
38
+ "@newskit-render/shared-components": "^1.16.0-alpha.0",
39
39
  "algoliasearch": "4.13.1",
40
40
  "cross-fetch": "3.1.5",
41
41
  "graphql": "15.6.0",