@types/govuk-frontend 5.4.0 → 5.6.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.
- govuk-frontend/README.md +2 -2
- govuk-frontend/dist/govuk/all.bundle.d.mts +1 -0
- govuk-frontend/dist/govuk/all.bundle.d.ts +2 -0
- govuk-frontend/dist/govuk/components/service-navigation/service-navigation.d.mts +1 -0
- govuk-frontend/dist/govuk/components/service-navigation/service-navigation.d.ts +16 -0
- govuk-frontend/package.json +7 -2
govuk-frontend/README.md
CHANGED
|
@@ -8,8 +8,8 @@ This package contains type definitions for govuk-frontend (https://github.com/al
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/govuk-frontend.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated: Thu,
|
|
11
|
+
* Last updated: Thu, 10 Oct 2024 14:07:44 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
|
15
|
-
These definitions were written by [Colin Rotherham](https://github.com/colinrotherham).
|
|
15
|
+
These definitions were written by [Colin Rotherham](https://github.com/colinrotherham), and [Romaric Pascal](https://github.com/romaricpascal).
|
|
@@ -9,6 +9,7 @@ export { Header } from "./components/header/header.mjs";
|
|
|
9
9
|
export { NotificationBanner } from "./components/notification-banner/notification-banner.mjs";
|
|
10
10
|
export { PasswordInput } from "./components/password-input/password-input.mjs";
|
|
11
11
|
export { Radios } from "./components/radios/radios.mjs";
|
|
12
|
+
export { ServiceNavigation } from "./components/service-navigation/service-navigation.mjs";
|
|
12
13
|
export { SkipLink } from "./components/skip-link/skip-link.mjs";
|
|
13
14
|
export { Tabs } from "./components/tabs/tabs.mjs";
|
|
14
15
|
export { type Config, type ConfigKey, createAll, initAll } from "./init.mjs";
|
|
@@ -9,6 +9,7 @@ import { Header } from "./components/header/header.js";
|
|
|
9
9
|
import { NotificationBanner } from "./components/notification-banner/notification-banner.js";
|
|
10
10
|
import { PasswordInput } from "./components/password-input/password-input.js";
|
|
11
11
|
import { Radios } from "./components/radios/radios.js";
|
|
12
|
+
import { ServiceNavigation } from "./components/service-navigation/service-navigation.js";
|
|
12
13
|
import { SkipLink } from "./components/skip-link/skip-link.js";
|
|
13
14
|
import { Tabs } from "./components/tabs/tabs.js";
|
|
14
15
|
import { type Config as ConfigImport, type ConfigKey as ConfigKeyImport, createAll, initAll } from "./init.js";
|
|
@@ -30,6 +31,7 @@ declare const GOVUKFrontend: {
|
|
|
30
31
|
NotificationBanner: typeof NotificationBanner;
|
|
31
32
|
PasswordInput: typeof PasswordInput;
|
|
32
33
|
Radios: typeof Radios;
|
|
34
|
+
ServiceNavigation: typeof ServiceNavigation;
|
|
33
35
|
SkipLink: typeof SkipLink;
|
|
34
36
|
Tabs: typeof Tabs;
|
|
35
37
|
createAll: typeof createAll;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./service-navigation.js";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { GOVUKFrontendComponent } from "../../govuk-frontend-component.js";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Service Navigation component
|
|
5
|
+
*/
|
|
6
|
+
export class ServiceNavigation extends GOVUKFrontendComponent {
|
|
7
|
+
/**
|
|
8
|
+
* Name for the component used when initialising using data-module attributes.
|
|
9
|
+
*/
|
|
10
|
+
static moduleName: string;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @param {Element | null} $module - HTML element to use for header
|
|
14
|
+
*/
|
|
15
|
+
constructor($module: Element | null);
|
|
16
|
+
}
|
govuk-frontend/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/govuk-frontend",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.6.0",
|
|
4
4
|
"description": "TypeScript definitions for govuk-frontend",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/govuk-frontend",
|
|
6
6
|
"license": "MIT",
|
|
@@ -9,6 +9,11 @@
|
|
|
9
9
|
"name": "Colin Rotherham",
|
|
10
10
|
"githubUsername": "colinrotherham",
|
|
11
11
|
"url": "https://github.com/colinrotherham"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "Romaric Pascal",
|
|
15
|
+
"githubUsername": "romaricpascal",
|
|
16
|
+
"url": "https://github.com/romaricpascal"
|
|
12
17
|
}
|
|
13
18
|
],
|
|
14
19
|
"main": "",
|
|
@@ -27,6 +32,6 @@
|
|
|
27
32
|
},
|
|
28
33
|
"scripts": {},
|
|
29
34
|
"dependencies": {},
|
|
30
|
-
"typesPublisherContentHash": "
|
|
35
|
+
"typesPublisherContentHash": "e8f70663b9ffa7250d5ba386fc0ee65bffb85e8da2f64ce0a95445f8af7f19b1",
|
|
31
36
|
"typeScriptVersion": "4.8"
|
|
32
37
|
}
|