@20minutes/hela 2.18.3 → 2.18.4
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/dist/index.es.js +1768 -1742
- package/dist/index.umd.cjs +1 -1
- package/dist/js/scripts.es.js +604 -578
- package/dist/js/scripts.umd.cjs +1 -1
- package/dist/scss/abstracts/variables/_token-variables.scss +1 -1
- package/dist/src/components/molecules/Maps/MapTownsByDepartments/MapTownsByDepartments.d.ts +3 -2
- package/dist/src/helpers/electionsMap/urlHelpers.d.ts +2 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
- /package/dist/src/helpers/{townSprite.d.ts → electionsMap/townSprite.d.ts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BoxProps } from '../../..';
|
|
2
|
-
import { PoliticalPartyType } from '../../../../types';
|
|
2
|
+
import { LayoutType, PoliticalPartyType } from '../../../../types';
|
|
3
3
|
interface DepartmentsPath {
|
|
4
4
|
path: string;
|
|
5
5
|
}
|
|
@@ -20,11 +20,12 @@ interface TownResultProps {
|
|
|
20
20
|
politicalParty: PoliticalPartyType;
|
|
21
21
|
}
|
|
22
22
|
export interface MapTownsByDepartmentsProps extends BoxProps {
|
|
23
|
+
layout: LayoutType;
|
|
23
24
|
resultsPerTown: TownResultProps[];
|
|
24
25
|
departmentsPaths?: Record<string, DepartmentsPath>;
|
|
25
26
|
dromsConfig?: Record<string, DromData>;
|
|
26
27
|
townsSprite?: string;
|
|
27
28
|
className?: string;
|
|
28
29
|
}
|
|
29
|
-
export declare const MapTownsByDepartments: ({ resultsPerTown, departmentsPaths, dromsConfig, townsSprite, className, ...boxProps }: MapTownsByDepartmentsProps) => import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
export declare const MapTownsByDepartments: ({ layout, resultsPerTown, departmentsPaths, dromsConfig, townsSprite, className, ...boxProps }: MapTownsByDepartmentsProps) => import("react/jsx-runtime").JSX.Element;
|
|
30
31
|
export {};
|