+ Contact{' '}
+
-
+
-
+
government-strategy.pdf +
+ -
+
government-strategy-v2.pdf +
+ -
+
government-strategy-v3-FINAL.pdf +
+ -
+
government-strategy-v4-FINAL-v2.pdf +
+
+ You will have to apply the{' '}
+
-
+
- + constructing, altering, repairing, extending, demolishing or dismantling buildings or + structures (whether permanent or not), including offshore installation services + +
- + constructing, altering, repairing, extending, demolishing of any works forming, or + planned to form, part of the land, including (in particular) walls, roadworks, power + lines, electronic communications equipment, aircraft runways, railways, inland + waterways, docks and harbours + +
+ Contact{' '}
+
-
+
-
+
file.pdf +
+ -
+
file-v2.pdf +
+ -
+
file-v3-FINAL.pdf +
+ -
+
file-v4-FINAL-v2.pdf +
+
+ You will have to apply the{' '}
+
-
+
- + constructing, altering, repairing, extending, demolishing or dismantling buildings or + structures (whether permanent or not), including offshore installation services + +
- + constructing, altering, repairing, extending, demolishing of any works forming, or + planned to form, part of the land, including (in particular) walls, roadworks, power + lines, electronic communications equipment, aircraft runways, railways, inland + waterways, docks and harbours + +
-
{children}
- {children} -
- ); -}; - -type ListProps = ComponentPropsWithoutRef<'ul'>; - -const List: FC-
- {children}
-
-
+ {children}
+
+ {children} +
+); + +ErrorSummaryTitle.displayName = 'ErrorSummary.Title'; diff --git a/src/components/form-elements/error-summary/components/index.ts b/src/components/form-elements/error-summary/components/index.ts new file mode 100644 index 000000000..d917f17a1 --- /dev/null +++ b/src/components/form-elements/error-summary/components/index.ts @@ -0,0 +1,3 @@ +export * from './ErrorSummaryList.js'; +export * from './ErrorSummaryListItem.js'; +export * from './ErrorSummaryTitle.js'; diff --git a/src/components/form-elements/error-summary/index.ts b/src/components/form-elements/error-summary/index.ts index 49eaf1ac3..f8907a0fb 100644 --- a/src/components/form-elements/error-summary/index.ts +++ b/src/components/form-elements/error-summary/index.ts @@ -1 +1,2 @@ +export * from './components/index.js'; export * from './ErrorSummary.js'; diff --git a/src/components/form-elements/form/Form.tsx b/src/components/form-elements/form/Form.tsx index b438f77db..4ca40d32d 100644 --- a/src/components/form-elements/form/Form.tsx +++ b/src/components/form-elements/form/Form.tsx @@ -1,3 +1,5 @@ +'use client'; + import { type ComponentPropsWithoutRef, type FC } from 'react'; import { FormContext } from './FormContext.js'; diff --git a/src/components/form-elements/legend/Legend.tsx b/src/components/form-elements/legend/Legend.tsx index 76ba3abdc..448fc384f 100644 --- a/src/components/form-elements/legend/Legend.tsx +++ b/src/components/form-elements/legend/Legend.tsx @@ -42,4 +42,4 @@ export const Legend: FC{visuallyHiddenText}
--
- {children}
-
- {children} -
-); +import { childIsOfComponentType } from '#util/types/index.js'; +import { FooterCopyright, FooterList, FooterListItem, FooterMeta } from './components/index.js'; export interface FooterProps extends ComponentPropsWithoutRef<'div'> { containerClassName?: string; @@ -100,10 +46,6 @@ const FooterComponent = forwardRef+ {children} +
+); + +FooterCopyright.displayName = 'Footer.Copyright'; diff --git a/src/components/navigation/footer/components/FooterList.tsx b/src/components/navigation/footer/components/FooterList.tsx new file mode 100644 index 000000000..a51bc8c45 --- /dev/null +++ b/src/components/navigation/footer/components/FooterList.tsx @@ -0,0 +1,12 @@ +import classNames from 'classnames'; +import { type ComponentPropsWithoutRef, type FC } from 'react'; + +export type FooterListProps = ComponentPropsWithoutRef<'ul'>; + +export const FooterList: FC-
+ {children}
+
{visuallyHiddenText}
+,
+ fallback?: Required => {
- return isValidElement
+ * Contact
+ Contact{' '}
+ The service will be unavailable from 8pm to 9pm on Thursday 1 January 2025. The service will be unavailable from 8pm to 9pm on Thursday 1 January 2025.
+ You will have to apply the{' '}
+
+
+
+
+