@govflanders/vl-widget-global-header-types 1.0.16 → 1.0.20
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/README.md +3 -1
- package/dist/branding.d.ts +1 -1
- package/dist/citizen-profile.d.ts +3 -1
- package/dist/client.d.ts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/i18n.d.ts +1 -0
- package/dist/index.d.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -225,7 +225,9 @@ const multiLanguageLink: Translatable<MainLink> = {
|
|
|
225
225
|
},
|
|
226
226
|
};
|
|
227
227
|
|
|
228
|
-
client.setMainLinks([singleLanguageLink
|
|
228
|
+
client.setMainLinks([singleLanguageLink]);
|
|
229
|
+
// or
|
|
230
|
+
client.setMainLinks([multiLanguageLink]);
|
|
229
231
|
```
|
|
230
232
|
|
|
231
233
|
## Browser Support
|
package/dist/branding.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Translatable } from '
|
|
1
|
+
import { Translatable } from './i18n';
|
|
2
2
|
import { IDPData } from './idp';
|
|
3
3
|
export type CapacityCode = 'BUR' | 'EA' | 'VER';
|
|
4
4
|
export interface ProfileConfig {
|
|
@@ -23,6 +23,8 @@ export interface CitizenProfileConfig {
|
|
|
23
23
|
pluginTypeId: 'citizen_profile';
|
|
24
24
|
session: Session;
|
|
25
25
|
application: Application;
|
|
26
|
+
applicationMenu?: ApplicationMenuLink[];
|
|
27
|
+
mainLinks?: MainLink[];
|
|
26
28
|
}
|
|
27
29
|
export interface MainLink {
|
|
28
30
|
title: string;
|
package/dist/client.d.ts
CHANGED
package/dist/config.d.ts
CHANGED
package/dist/i18n.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@govflanders/vl-widget-shared/dist/types/index';
|
package/dist/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@govflanders/vl-widget-global-header-types",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.20",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "TypeScript definitions for GlobalHeaderClient",
|
|
6
6
|
"main": "",
|
|
@@ -27,6 +27,6 @@
|
|
|
27
27
|
"release": "rm -rf dist && yarn build && yarn version --patch --no-git-tag-version && git add . && git commit -m \"Release global-header-types $(node -p \"require('./package.json').version\")\" && git tag \"global-header-types-$(node -p \"require('./package.json').version\")\" && git push && git push --tags && npm_config_registry=https://registry.npmjs.org/ npm publish --access public"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@govflanders/vl-widget-shared": "^1.0.
|
|
30
|
+
"@govflanders/vl-widget-shared": "^1.0.5"
|
|
31
31
|
}
|
|
32
32
|
}
|