@types/govuk-frontend 5.12.0 → 6.0.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 CHANGED
@@ -8,7 +8,7 @@ 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: Wed, 23 Sep 2026 16:04:41 GMT
11
+ * Last updated: Wed, 23 Sep 2026 16:37:51 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -9,7 +9,6 @@ export { Checkboxes } from "./components/checkboxes/checkboxes.mjs";
9
9
  export { ErrorSummary } from "./components/error-summary/error-summary.mjs";
10
10
  export { ExitThisPage } from "./components/exit-this-page/exit-this-page.mjs";
11
11
  export { FileUpload } from "./components/file-upload/file-upload.mjs";
12
- export { Header } from "./components/header/header.mjs";
13
12
  export { NotificationBanner } from "./components/notification-banner/notification-banner.mjs";
14
13
  export { PasswordInput } from "./components/password-input/password-input.mjs";
15
14
  export { Radios } from "./components/radios/radios.mjs";
@@ -9,7 +9,6 @@ import { Checkboxes } from "./components/checkboxes/checkboxes.js";
9
9
  import { ErrorSummary } from "./components/error-summary/error-summary.js";
10
10
  import { ExitThisPage } from "./components/exit-this-page/exit-this-page.js";
11
11
  import { FileUpload } from "./components/file-upload/file-upload.js";
12
- import { Header } from "./components/header/header.js";
13
12
  import { NotificationBanner } from "./components/notification-banner/notification-banner.js";
14
13
  import { PasswordInput } from "./components/password-input/password-input.js";
15
14
  import { Radios } from "./components/radios/radios.js";
@@ -33,7 +32,6 @@ declare const GOVUKFrontend: {
33
32
  ErrorSummary: typeof ErrorSummary;
34
33
  ExitThisPage: typeof ExitThisPage;
35
34
  FileUpload: typeof FileUpload;
36
- Header: typeof Header;
37
35
  NotificationBanner: typeof NotificationBanner;
38
36
  PasswordInput: typeof PasswordInput;
39
37
  Radios: typeof Radios;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/govuk-frontend",
3
- "version": "5.12.0",
3
+ "version": "6.0.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",
@@ -42,6 +42,6 @@
42
42
  "scripts": {},
43
43
  "dependencies": {},
44
44
  "peerDependencies": {},
45
- "typesPublisherContentHash": "a19c43bebf5ed17923dde91177c22c487853e8024bb51649a865f2297e0211d1",
45
+ "typesPublisherContentHash": "58d3ca8635f37a815bde43b3eeef3e159f7737e3024945834eee477cb83b7cb4",
46
46
  "typeScriptVersion": "5.6"
47
47
  }
@@ -1 +0,0 @@
1
- export * from "./header.js";
@@ -1,19 +0,0 @@
1
- import { Component } from "../../component.js";
2
-
3
- /**
4
- * Header component
5
- */
6
- export class Header extends Component<HTMLElement> {
7
- /**
8
- * Name for the component used when initialising using data-module attributes.
9
- */
10
- static moduleName: string;
11
-
12
- /**
13
- * Apply a matchMedia for desktop which will trigger a state sync if the
14
- * browser viewport moves between states.
15
- *
16
- * @param {Element | null} $root - HTML element to use for header
17
- */
18
- constructor($root: Element | null);
19
- }