northants-design-system 0.3.11 → 0.3.13
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/build/index.d.ts +2 -1
- package/build/index.esm.js +175 -118
- package/build/index.esm.js.map +1 -1
- package/build/index.js +174 -116
- package/build/index.js.map +1 -1
- package/build/index.mjs.js +34249 -0
- package/build/index.mjs.js.map +1 -0
- package/build/library/components/Map/Map.types.d.ts +5 -0
- package/build/library/directory/DirectoryService/DirectoryService.d.ts +1 -0
- package/build/library/directory/DirectoryService/DirectoryService.types.d.ts +2 -0
- package/build/library/directory/DirectoryServiceList/DirectoryServiceList.types.d.ts +12 -4
- package/build/library/slices/CouncilTaxAlphabeticalDirectory/CouncilTaxAlphabeticalDirectory.storydata.d.ts +2 -1
- package/build/library/slices/CouncilTaxAlphabeticalDirectory/CouncilTaxAlphabeticalDirectory.types.d.ts +14 -1
- package/build/library/slices/InquestSchedule/InquestSchedule.d.ts +7 -0
- package/build/library/slices/InquestSchedule/InquestSchedule.storydata.d.ts +2 -0
- package/build/library/slices/InquestSchedule/InquestSchedule.types.d.ts +24 -0
- package/package.json +1 -1
- package/build/icons/flytip.svg +0 -24
- package/build/index.css +0 -36
- package/build/library/components/CheckboxesInput/CheckboxesInput.d.ts +0 -4
- package/build/library/components/CheckboxesInput/CheckboxesInput.storydata.d.ts +0 -3
- package/build/library/components/CheckboxesInput/CheckboxesInput.types.d.ts +0 -37
- package/build/library/components/CouncilTaxAlphabeticalDirectory/CouncilTaxAlphabeticalDirectory.d.ts +0 -4
- package/build/library/components/GoogleMap/GoogleMap.d.ts +0 -4
- package/build/library/components/GoogleMap/GoogleMap.types.d.ts +0 -11
- package/build/library/components/GoogleMapMarker/GoogleMapMarker.d.ts +0 -4
- package/build/library/components/MapMarker/MapMarker.types.d.ts +0 -6
- package/build/library/components/PostCodeSearchApollo/PostCodeSearchApollo.d.ts +0 -4
- package/build/library/components/PostCodeSearchApollo/PostCodeSearchApollo.types.d.ts +0 -6
- package/build/library/components/icons/services/AccessibleParkingHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/AddressChangeIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/AddressChangeIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/AddressIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/AddressIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/AdultsIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/AdultsIcon/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/AdultsIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/BenefitsIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/BenefitsIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/BinDayHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/BinsIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/BinsIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/BirthsIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/BirthsIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/BollardHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/BusIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/BusIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/BusPassHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/BusinessIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/BusinessIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/CareersIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/CareersIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/CashIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/CashIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/CharityHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/ChildrenIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/ChildrenIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/CondolenceBookIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/CondolenceBookIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/CookingIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/CookingIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/CouncilIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/CouncilIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/CouncilTaxIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/CouncilTaxIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/CovidIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/CovidIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/CultureIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/CultureIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/CultureNorthIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/CultureNorthIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/CultureWestIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/CultureWestIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/DOLSIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/DOLSIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/DemocracyIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/DemocracyIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/EditIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/EditIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/EnvironmentIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/EnvironmentIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/FinanceIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/FinanceIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/FlowerHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/FlyTipHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/FoodWasteHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/GovUKIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/GovUKIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/HighwayHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/HouseMoneyIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/HouseMoneyIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/HousingIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/HousingIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/IndependenceIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/IndependenceIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/LibrariesIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/LibrariesIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/MapPinHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/MissedBinHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/NewIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/NewIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/OccupationalTherapyIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/OccupationalTherapyIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/ParkEventHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/ParkingHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/ParkingTicketHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/PayIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/PayIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/PhonePayIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/PhonePayIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/PlanningIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/PlanningIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/PotholeHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/ProtectIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/ProtectIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/RatePayIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/RatePayIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/ReportHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/RestrictIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/RestrictIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/RoadWorksHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/RoadsIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/RoadsIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/RoyalWebsiteIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/RoyalWebsiteIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/SafetyIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/SafetyIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/SchoolsIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/SchoolsIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/SinglePersonIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/SinglePersonIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/SportsIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/SportsIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/ValuationIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/ValuationIconHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/WasteChecklistHover/Icon.d.ts +0 -4
- package/build/library/components/icons/services/WasteSortingHover/Icon.d.ts +0 -4
- package/build/library/contexts/DirectoryFavouritesProvider/DirectoryFavouritesProvider.d.ts +0 -4
- package/build/library/contexts/DirectoryFavouritesProvider/DirectoryFavouritesProvider.types.d.ts +0 -14
- package/build/library/contexts/DirectoryServiceListProvider/DirectoryServiceListProvider.d.ts +0 -4
- package/build/library/contexts/DirectoryServiceListProvider/DirectoryServiceListProvider.types.d.ts +0 -31
- package/build/library/pages/PromotionPage/PromotionPageExample.d.ts +0 -3
- package/build/library/pages/PromotionPage/PromotionPageExample.storydata.d.ts +0 -20
- package/build/library/pages/PromotionPage/PromotionPageExample.types.d.ts +0 -42
- package/build/library/structure/HomeUnitarySection/HomeUnitarySection.d.ts +0 -4
- package/build/library/structure/HomeUnitarySection/HomeUnitarySection.types.d.ts +0 -22
- package/build/library/structure/HomeUnitarySection/assets/map.d.ts +0 -3
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DirectoryFavouritesContextType, DirectoryFavouritesProviderProps } from './DirectoryFavouritesProvider.types';
|
|
3
|
-
export declare const DirectoryFavouritesProvider: React.FunctionComponent<DirectoryFavouritesProviderProps>;
|
|
4
|
-
export declare const useDirectoryFavouritesContext: () => DirectoryFavouritesContextType;
|
package/build/library/contexts/DirectoryFavouritesProvider/DirectoryFavouritesProvider.types.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React, { SetStateAction, Dispatch } from 'react';
|
|
2
|
-
export interface DirectoryFavouritesProviderProps {
|
|
3
|
-
/**
|
|
4
|
-
* What is this?
|
|
5
|
-
*/
|
|
6
|
-
children: React.ReactNode;
|
|
7
|
-
}
|
|
8
|
-
export interface DirectoryFavouritesContextType {
|
|
9
|
-
favourites?: {
|
|
10
|
-
favourites: string[];
|
|
11
|
-
setFavourites: Dispatch<SetStateAction<string[]>>;
|
|
12
|
-
};
|
|
13
|
-
toggleFavourites?: (id: string) => void;
|
|
14
|
-
}
|
package/build/library/contexts/DirectoryServiceListProvider/DirectoryServiceListProvider.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DirectoryServiceListProviderProps, DirectoryServiceListContextTypes } from './DirectoryServiceListProvider.types';
|
|
3
|
-
export declare const DirectoryServiceListProvider: React.FunctionComponent<DirectoryServiceListProviderProps>;
|
|
4
|
-
export declare const useDirectoryServiceListContext: () => DirectoryServiceListContextTypes;
|
package/build/library/contexts/DirectoryServiceListProvider/DirectoryServiceListProvider.types.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React, { Dispatch, SetStateAction } from 'react';
|
|
2
|
-
import { DirectoryCategory } from '../../directory/DirectoryServiceList/DirectoryServiceList.types';
|
|
3
|
-
export interface DirectoryServiceListProviderProps {
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
}
|
|
6
|
-
export interface DirectoryServiceListContextTypes {
|
|
7
|
-
search: {
|
|
8
|
-
search: string;
|
|
9
|
-
setSearch: Dispatch<SetStateAction<string>>;
|
|
10
|
-
};
|
|
11
|
-
postcode: {
|
|
12
|
-
postcode: string;
|
|
13
|
-
setPostcode: Dispatch<SetStateAction<string>>;
|
|
14
|
-
};
|
|
15
|
-
minimumAge: {
|
|
16
|
-
minimumAge: number | string;
|
|
17
|
-
setMinimumAge: Dispatch<SetStateAction<number | string>>;
|
|
18
|
-
};
|
|
19
|
-
maximumAge: {
|
|
20
|
-
maximumAge: number | string;
|
|
21
|
-
setMaximumAge: Dispatch<SetStateAction<number | string>>;
|
|
22
|
-
};
|
|
23
|
-
selectedTaxonomies: {
|
|
24
|
-
selectedTaxonomies: string[];
|
|
25
|
-
setSelectedTaxonomies: Dispatch<SetStateAction<string[]>>;
|
|
26
|
-
};
|
|
27
|
-
checkboxState: {
|
|
28
|
-
checkboxState: DirectoryCategory[];
|
|
29
|
-
setCheckboxState: Dispatch<SetStateAction<DirectoryCategory[]>>;
|
|
30
|
-
};
|
|
31
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { FooterLinkProp } from '../../structure/Footer/Footer.types';
|
|
2
|
-
import { BreadcrumbProp } from '../../structure/Breadcrumbs/Breadcrumbs.types';
|
|
3
|
-
import { ServicesLinksListProps } from '../../structure/ServicesLinksList/ServicesLinksList.types';
|
|
4
|
-
import { AlertBannerServiceProps } from '../../structure/AlertBannerService/AlertBannerService.types';
|
|
5
|
-
import { CardsProps } from '../../slices/Cards/Cards.types';
|
|
6
|
-
export declare const HeroImageData: {
|
|
7
|
-
headline: string;
|
|
8
|
-
content: string;
|
|
9
|
-
imageLarge: string;
|
|
10
|
-
imageSmall: string;
|
|
11
|
-
imageAltText: string;
|
|
12
|
-
backgroundBox: boolean;
|
|
13
|
-
};
|
|
14
|
-
export declare const threeTopServicesData: ServicesLinksListProps;
|
|
15
|
-
export declare const footerLinks: FooterLinkProp[];
|
|
16
|
-
export declare const breadcrumbs: BreadcrumbProp[];
|
|
17
|
-
export declare const micrositeBreadcrumbs: BreadcrumbProp[];
|
|
18
|
-
export declare const serviceAlert: AlertBannerServiceProps;
|
|
19
|
-
export declare const cardsData: CardsProps;
|
|
20
|
-
export declare const imageCardsData: CardsProps;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { BreadcrumbProp } from '../../structure/Breadcrumbs/Breadcrumbs.types';
|
|
2
|
-
import { FooterLinkProp } from '../../structure/Footer/Footer.types';
|
|
3
|
-
import { HeroImageProps } from '../../structure/HeroImage/HeroImage.types';
|
|
4
|
-
import { ServicesLinksListProps } from '../../structure/ServicesLinksList/ServicesLinksList.types';
|
|
5
|
-
export interface PromotionPageExampleProps {
|
|
6
|
-
/**
|
|
7
|
-
* The Service landing page title
|
|
8
|
-
*/
|
|
9
|
-
title: string;
|
|
10
|
-
/**
|
|
11
|
-
* Hero image banner definition
|
|
12
|
-
*/
|
|
13
|
-
heroImage?: HeroImageProps;
|
|
14
|
-
/**
|
|
15
|
-
* Body text below service links
|
|
16
|
-
*/
|
|
17
|
-
bodyText?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Array of breadcrumbs
|
|
20
|
-
*/
|
|
21
|
-
breadcrumbsArray: Array<BreadcrumbProp>;
|
|
22
|
-
/**
|
|
23
|
-
* Array of Footer links
|
|
24
|
-
*/
|
|
25
|
-
footerLinksArray: FooterLinkProp[];
|
|
26
|
-
/**
|
|
27
|
-
* Top services to highlight below the heading or hero image
|
|
28
|
-
*/
|
|
29
|
-
topServices?: ServicesLinksListProps;
|
|
30
|
-
/**
|
|
31
|
-
* Summary text describing the page
|
|
32
|
-
*/
|
|
33
|
-
summary?: string;
|
|
34
|
-
/**
|
|
35
|
-
* Should the summary be displayed
|
|
36
|
-
*/
|
|
37
|
-
showSummary?: Boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Optional heading icon
|
|
40
|
-
*/
|
|
41
|
-
icon?: string;
|
|
42
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export interface HomeUnitarySectionProps {
|
|
2
|
-
/**
|
|
3
|
-
* Title
|
|
4
|
-
*/
|
|
5
|
-
title?: string;
|
|
6
|
-
/**
|
|
7
|
-
* firstLine
|
|
8
|
-
*/
|
|
9
|
-
firstLine?: string;
|
|
10
|
-
/**
|
|
11
|
-
* postcodeText
|
|
12
|
-
*/
|
|
13
|
-
postcodeText?: string;
|
|
14
|
-
/**
|
|
15
|
-
* northText
|
|
16
|
-
*/
|
|
17
|
-
northText?: string;
|
|
18
|
-
/**
|
|
19
|
-
* westText
|
|
20
|
-
*/
|
|
21
|
-
westText?: string;
|
|
22
|
-
}
|