@tactics/lokaal-loket 0.0.103 → 0.0.105

Sign up to get free protection for your applications and to get access to all the features.
package/build/index.d.cts CHANGED
@@ -2,6 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import React$1, { Ref, PropsWithChildren, ReactElement, ReactNode, FC } from 'react';
3
3
  import { TypographyFontKey, TypographyFontsKey, TypographyFontWeightKey, SpacingKey, Color, ColorVariant, ColorVariantKey, ColorKey } from '@tactics/tacky/contract';
4
4
  export { Color, ColorVariant, Radius, Spacing, ThemeI, ThemeVariantsI, TypographyFont, TypographyFonts } from '@tactics/tacky/contract';
5
+ import { Feature as Feature$1, Point, FeatureCollection, LineString } from 'geojson';
5
6
  import { ThemeMode } from '@tactics/tacky';
6
7
  export { BuildProvidersTree, ExternalStylesheetLoader, ExternalStylesheetLoaderI, StyleProviderAnimation, StyleProviderPreFlight, ThemeBuilder, ThemeCtx, ThemeMode } from '@tactics/tacky';
7
8
 
@@ -89,13 +90,18 @@ declare enum BadgeType {
89
90
  CHILDMINDER = "CHILDMINDER",
90
91
  COOPERATIVE = "COOPERATIVE"
91
92
  }
93
+ declare enum BadgeSize {
94
+ DEFAULT = "DEFAULT",
95
+ LARGE = "LARGE"
96
+ }
92
97
 
93
98
  interface IBadge {
94
99
  type: BadgeType;
95
100
  screenReaderText: string;
101
+ size?: BadgeSize;
96
102
  }
97
103
 
98
- declare const Badge: ({ type, screenReaderText }: IBadge) => react_jsx_runtime.JSX.Element;
104
+ declare const Badge: ({ type, screenReaderText, size }: IBadge) => react_jsx_runtime.JSX.Element;
99
105
 
100
106
  declare enum LogoSize {
101
107
  SMALL = "SMALL",
@@ -313,13 +319,19 @@ interface IExpand {
313
319
 
314
320
  declare const Expand: ({ onClick }: IExpand) => react_jsx_runtime.JSX.Element;
315
321
 
322
+ declare enum FramePadding {
323
+ DEFAULT = "DEFAULT",
324
+ LARGE = "LARGE"
325
+ }
326
+
316
327
  interface IFrame {
317
328
  around: React$1.ReactElement<IIcon | IFigure>;
318
329
  split?: string | false;
319
330
  background?: string;
331
+ padding?: FramePadding;
320
332
  }
321
333
 
322
- declare const Frame: ({ around, split, background }: IFrame) => react_jsx_runtime.JSX.Element;
334
+ declare const Frame: ({ around, split, background, padding, }: IFrame) => react_jsx_runtime.JSX.Element;
323
335
 
324
336
  declare enum TextDecoration {
325
337
  NONE = "NONE",
@@ -519,10 +531,10 @@ interface ITerm {
519
531
 
520
532
  declare const Term: ({ label, description, frame }: ITerm) => react_jsx_runtime.JSX.Element;
521
533
 
522
- interface ITerminal {
534
+ interface ITerminal$1 {
523
535
  }
524
536
 
525
- declare const Terminal: ({}: ITerminal) => react_jsx_runtime.JSX.Element;
537
+ declare const Terminal: ({}: ITerminal$1) => react_jsx_runtime.JSX.Element;
526
538
 
527
539
  declare enum YesNoContext {
528
540
  STANDARD = "STANDARD",
@@ -713,20 +725,12 @@ interface LocationI<T, R> {
713
725
  optionToDisplay: (option: T) => React$1.ReactNode;
714
726
  optionToDisplayWhenSelected?: (option: T) => React$1.ReactNode;
715
727
  optionToInputValue: (option: T) => string;
716
- radii: R[];
717
- radiiDefault: R;
718
- radiiToDisplay: (radius: R) => React$1.ReactNode;
719
- radiiToDisplayWhenSelected?: (radius: R) => React$1.ReactNode;
720
728
  onSelected?: (e: AutocompleteSelectEvent<T>) => void;
721
729
  onInputChange?: (e: AutocompleteChangeEvent) => void;
722
- onRadiusChange?: (e: LocationRadiusChangeEvent<R>) => void;
723
730
  onNavigate?: (e: AutocompleteOptionNavigatedEvent<T>) => void;
724
731
  onBlur?: (e: LocationBlurEvent) => void;
725
732
  onFocus?: (e: LocationFocusEvent) => void;
726
733
  }
727
- interface LocationRadiusChangeEvent<R> {
728
- radius: R;
729
- }
730
734
  interface LocationBlurEvent extends AutocompleteBlurEvent {
731
735
  }
732
736
  interface LocationFocusEvent extends AutocompleteFocusEvent {
@@ -771,11 +775,6 @@ interface RouteI<T, R, D> {
771
775
  destinationOptionToDisplay: (option: D) => React$1.ReactNode;
772
776
  destinationOptionToDisplayWhenSelected?: (option: D) => React$1.ReactNode;
773
777
  destinationOptionToInputValue: (option: D) => string;
774
- travelModes: R[];
775
- travelModeDefault: R;
776
- travelModeToDisplay: (option: R) => React$1.ReactNode;
777
- travelModeToDisplayWhenSelected?: (option: R) => React$1.ReactNode;
778
- onTravelModeChange?: (e: SelectChangeEvent<R>) => void;
779
778
  onOriginSelected?: (e: AutocompleteSelectEvent<T>) => void;
780
779
  onOriginInputChange?: (e: AutocompleteChangeEvent) => void;
781
780
  onOriginNavigate?: (e: AutocompleteOptionNavigatedEvent<T>) => void;
@@ -1069,30 +1068,66 @@ interface IFooter {
1069
1068
 
1070
1069
  declare const Footer: ({ top, left, right, bottom }: IFooter) => react_jsx_runtime.JSX.Element;
1071
1070
 
1072
- type IPointOnMap = {
1071
+ type TerminalType = "ORIGIN" | "DESTINATION";
1072
+ type PointType = "DAYCARE" | "CHILDMINDER" | "COOPERATIVE";
1073
+ interface ITerminal {
1073
1074
  key: string;
1074
- marker: React$1.ReactElement;
1075
- details: React$1.ReactElement;
1076
- latLng: google.maps.LatLngLiteral;
1077
- };
1078
- interface IMap {
1079
- children: ReactElement;
1080
- mapId: string;
1081
- defaultCenter: google.maps.LatLngLiteral;
1075
+ name: string;
1076
+ type: TerminalType;
1082
1077
  }
1083
- interface ILocationBasedMapBase {
1084
- points?: IPointOnMap[];
1085
- origin: IPointOnMap;
1078
+ interface IPoint {
1079
+ key: string;
1080
+ name: string;
1081
+ address: string;
1082
+ type: PointType;
1083
+ overlay: React$1.ReactNode;
1084
+ }
1085
+ interface ILine {
1086
+ index: number;
1087
+ label: string;
1088
+ }
1089
+ type IOrigin = Feature$1<Point, ITerminal>;
1090
+ type IDestination = Feature$1<Point, ITerminal>;
1091
+ type IPoints = FeatureCollection<Point, IPoint>;
1092
+ type IRoute = FeatureCollection<LineString, ILine>;
1093
+ type IRoutes = IRoute[];
1094
+ interface ILocationBasedMap {
1095
+ points?: IPoints;
1096
+ showLoader: boolean;
1097
+ loader?: React$1.ReactNode;
1098
+ origin: IOrigin;
1099
+ onRadiusChange?: (r: number) => void;
1100
+ onZoomChange?: (zoom: number) => void;
1101
+ onAreaChange?: (center: google.maps.LatLng, bounds: google.maps.LatLngBounds, radius: number) => void;
1086
1102
  }
1087
1103
  interface IDirectionBasedMapBase {
1088
- directions: google.maps.DirectionsResult;
1089
- points?: IPointOnMap[];
1104
+ routes: IRoutes;
1105
+ points?: IPoints;
1106
+ showLoader: boolean;
1107
+ loader?: React$1.ReactNode;
1108
+ origin: IOrigin;
1109
+ destination: IDestination;
1110
+ travelModeLabels: TravelModeLabels;
1111
+ onTravelModeChange?: (modes: google.maps.TravelMode[]) => void;
1112
+ onRouteChange?: (index: number, route: IRoute) => void;
1113
+ onZoomChange?: () => void;
1114
+ }
1115
+ interface IMap extends PropsWithChildren {
1116
+ mapId: string;
1117
+ defaultCenter: google.maps.LatLngLiteral;
1118
+ }
1119
+ interface TravelModeLabels {
1120
+ BEST_FIT: string;
1121
+ DRIVING: string;
1122
+ TRANSIT: string;
1123
+ WALKING: string;
1124
+ BICYCLING: string;
1090
1125
  }
1091
1126
 
1092
1127
  declare const Map: {
1093
- ({ children, mapId, defaultCenter }: IMap): react_jsx_runtime.JSX.Element;
1094
- Location: ({ points, origin }: ILocationBasedMapBase) => react_jsx_runtime.JSX.Element | null;
1095
- Direction: ({ directions }: IDirectionBasedMapBase) => react_jsx_runtime.JSX.Element | null;
1128
+ (props: IMap): react_jsx_runtime.JSX.Element;
1129
+ Location: ({ points, showLoader, loader, origin, onRadiusChange, onZoomChange, onAreaChange, }: ILocationBasedMap) => react_jsx_runtime.JSX.Element | null;
1130
+ Direction: ({ routes, origin, destination, travelModeLabels, points, showLoader, loader, onTravelModeChange, onRouteChange, onZoomChange, }: IDirectionBasedMapBase) => react_jsx_runtime.JSX.Element | null;
1096
1131
  };
1097
1132
 
1098
1133
  interface IWizard {
@@ -1152,8 +1187,14 @@ declare const SearchAutocompleteStep: (props: ISearchStepAutocomplete<any>) => n
1152
1187
  declare const Search: (props: ISearch) => react_jsx_runtime.JSX.Element;
1153
1188
  declare const SearchAutocomplete: <T>(props: ISearchAutocomplete<T>) => react_jsx_runtime.JSX.Element;
1154
1189
 
1190
+ declare enum LabelSize {
1191
+ DEFAULT = "DEFAULT",
1192
+ LARGE = "LARGE"
1193
+ }
1194
+
1155
1195
  interface ILabel {
1156
1196
  iconType?: IconType;
1197
+ size?: LabelSize;
1157
1198
  label: string;
1158
1199
  }
1159
1200
 
@@ -1161,7 +1202,7 @@ interface ICard {
1161
1202
  swipe?: React$1.ReactNode;
1162
1203
  badge: React$1.ReactElement<IBadge>;
1163
1204
  title: string;
1164
- info: React$1.ReactElement<ILabeledIcon>;
1205
+ info?: React$1.ReactElement<ILabeledIcon>[] | React$1.ReactElement<ILabeledIcon>;
1165
1206
  labels: React$1.ReactElement<ILabel>[];
1166
1207
  features: React$1.ReactElement<IFeatures>;
1167
1208
  action: React$1.ReactElement<IButton>;
@@ -1227,6 +1268,15 @@ interface IHomeSectionGettingStarted {
1227
1268
 
1228
1269
  declare const HomeSectionGettingStarted: (props: IHomeSectionGettingStarted) => react_jsx_runtime.JSX.Element;
1229
1270
 
1271
+ interface IDetailsSectionHeader {
1272
+ title: string;
1273
+ badge: React$1.ReactNode;
1274
+ labels: React$1.ReactNode;
1275
+ actions: React$1.ReactNode;
1276
+ }
1277
+
1278
+ declare const DetailsSectionHeader: (props: IDetailsSectionHeader) => react_jsx_runtime.JSX.Element;
1279
+
1230
1280
  interface IOnboardingArrangementIntroduction {
1231
1281
  top: React$1.ReactElement;
1232
1282
  left: React$1.ReactElement;
@@ -1561,4 +1611,4 @@ declare const RouteLocationExample: ({ CompactAt, onChange, }: {
1561
1611
 
1562
1612
  declare const LocationExample: () => react_jsx_runtime.JSX.Element;
1563
1613
 
1564
- export { Accordeon, AccordeonContext, type AutoCompleteContextType, type AutocompleteBlurEvent, type AutocompleteChangeEvent, type AutocompleteFocusEvent, type AutocompleteI, AutocompleteInput, type AutocompleteInputI, AutocompleteOption, type AutocompleteOptionNavigatedEvent, AutocompleteOptionSelected, AutocompleteOptions, type AutocompleteOptionsI, type AutocompleteSelectEvent, Backdrop, BackdropContext, BackdropProvider, Badge, BadgeType, BasicPage, BigChoice, BigPick, Blur, BlurContext, BlurProvider, BottomNavigation, Brand, Breadcrumb, Button, ButtonContext, ButtonType, Card, CardChildminderExample, CardDaycareExample, Checkbox, CheckboxContext, Choice, ChoiceContext, Close, type CloseI, Collapsable, Collapse, CompactNavigation, CompactNavigationContext, Cta, Details, Drawer, DrawerContext, DrawerProvider, DrawerSize, Expand, Faq, Feature, Features, Figure, FigureSize, FigureType, Flip, FlyoutArrangementFull, FlyoutArrangementSplit, FlyoutHeading, Footer, FooterNavigation, Frame, GoogleAPIProvider, type GoogleAPIProviderProps, GoogleApiRoutesDirectionRendererContext, GoogleApiRoutesDirectionRendererProvider, Grid, type GridItemProps, type GridProps, HeaderAlternate, HeaderBottom, HeaderContext, HeaderTop, type HeadingArrangementI, HomeSectionCards, HomeSectionFaq, HomeSectionGettingStarted, HomeSectionLeftSplit, type IAccordeon, type IBackdrop, type IBackdropProvider, type IBadge, type IBasicPage, type IBigChoice, type IBigPick, type IBlur, type IBlurProvider, type IBottomNavigation, type IBrand, type IBreadcrumb, type IButton, type ICard, type ICheckbox, type IChoice, type ICollapsable, type ICollapse, type ICompactNavigation, type ICta, type IDetails, type IDrawer, type IDrawerProvider, type IExpand, type IFaq, type IFeature, type IFeatures, type IFigure, type IFlip, type IFlyoutArrangementFull, type IFlyoutArrangementSplit, type IFooter, type IFooterNavigation, type IFrame, type IHeaderBottom, type IHeaderTop, type IHomeSectionCards, type IHomeSectionFaq, type IHomeSectionGettingStarted, type IHomeSectionLeftSplit, type IIcon, type IInfoCard, type IInformation, type IInput, type IInstruction, type ILabeledIcon, type ILink, type IList, type ILogo, type IMap, type IMaskedImage, type IModal, type IModalProvider, type INavigation, type INavigationItem, type INotification, type IOnboarding, type IOnboardingArrangementInformation, type IOnboardingArrangementIntroduction, type IOnboardingArrangementStep, type IOverlay, type IOverlayProvider, type IPick, type IPill, type IPin, type IPlainText, type IProfileNavigation, type IQuickSearch, type IRadio, type IRecord, type IRecords, type IRouteLocation, type ISearch, type ISearchAutocomplete, type ISearchPage, type ISearchProvider, type ISearchSectionFilters, type ISearchStep, type ISearchStepAutocomplete, type ISearchWithMapPage, type ISharedSectionFooter, type ISharedSectionHeader, type IStatus, type IStatusList, type ISurface, type ITerm, type ITerminal, type IToggle, type ITopNavigation, type ITopNavigationItemBase, type IWave, type IWizard, type IWizardControls, type IWizardProvider, type IWizardStep, type IWizardStepProvider, type IYesNo, Icon, IconContext, IconSize, IconType, InfoCard, Information, InlineSelect, type InlineSelectI, InlineSelectIconAsOption, InlineSelectIconAsOptionSelected, InlineSelectLabelAsOption, InlineSelectLabelAsOptionSelected, type InlineSelectOptionI, Input, InputContext, Instruction, ItemType, LabeledIcon, Link, LinkContext, List, ListType, Location, LocationExample, type LocationI, Logo, LogoSize, Map, MaskType, MaskedImage, Modal, ModalContext, ModalProvider, Navigation, Notification, Onboarding, OnboardingArrangementInformation, OnboardingArrangementIntroduction, OnboardingArrangementStep, OnboardingButton, Overlay, OverlayContext, OverlayHeading, OverlayProvider, PageHeading, Pick, PickContext, Pill, Pin, PinType, PlainText, Position, ProcessingContext, type ProcessingContextType, ProcessingProvider, ProfileNavigation, type ProfileNavigationItemThemeableProps, type ProfileNavigationThemeableProps, type PropsForThemeModeProvider, QuickSearch, Radio, RadioContext, Record, Records, Route, type RouteI, RouteLocation, RouteLocationExample, Search, SearchAutocomplete, SearchAutocompleteStep, SearchContext, SearchPage, SearchProvider, SearchSectionFilters, SearchStep, SearchWithMapPage, type SelectBlurEvent, type SelectChangeEvent, type SelectFocusEvent, SharedSectionFooter, SharedSectionHeader, Status, StatusCompact, StatusContext, StatusList, Surface, Switch, type SwitchI, type SwitchItemContentI, type SwitchItemI, Term, Terminal, TextDecoration, ThemeModeContext, ThemeModeProvider, Toggle, TopNavigation, Wave, WavePosition, WaveType, Wizard, WizardContext, WizardControls, WizardProvider, WizardStep, WizardStepContext, WizardStepProvider, YesNo, YesNoContext, useIsProcessing };
1614
+ export { Accordeon, AccordeonContext, type AutoCompleteContextType, type AutocompleteBlurEvent, type AutocompleteChangeEvent, type AutocompleteFocusEvent, type AutocompleteI, AutocompleteInput, type AutocompleteInputI, AutocompleteOption, type AutocompleteOptionNavigatedEvent, AutocompleteOptionSelected, AutocompleteOptions, type AutocompleteOptionsI, type AutocompleteSelectEvent, Backdrop, BackdropContext, BackdropProvider, Badge, BadgeSize, BadgeType, BasicPage, BigChoice, BigPick, Blur, BlurContext, BlurProvider, BottomNavigation, Brand, Breadcrumb, Button, ButtonContext, ButtonType, Card, CardChildminderExample, CardDaycareExample, Checkbox, CheckboxContext, Choice, ChoiceContext, Close, type CloseI, Collapsable, Collapse, CompactNavigation, CompactNavigationContext, Cta, Details, DetailsSectionHeader, Drawer, DrawerContext, DrawerProvider, DrawerSize, Expand, Faq, Feature, Features, Figure, FigureSize, FigureType, Flip, FlyoutArrangementFull, FlyoutArrangementSplit, FlyoutHeading, Footer, FooterNavigation, Frame, FramePadding, GoogleAPIProvider, type GoogleAPIProviderProps, GoogleApiRoutesDirectionRendererContext, GoogleApiRoutesDirectionRendererProvider, Grid, type GridItemProps, type GridProps, HeaderAlternate, HeaderBottom, HeaderContext, HeaderTop, type HeadingArrangementI, HomeSectionCards, HomeSectionFaq, HomeSectionGettingStarted, HomeSectionLeftSplit, type IAccordeon, type IBackdrop, type IBackdropProvider, type IBadge, type IBasicPage, type IBigChoice, type IBigPick, type IBlur, type IBlurProvider, type IBottomNavigation, type IBrand, type IBreadcrumb, type IButton, type ICard, type ICheckbox, type IChoice, type ICollapsable, type ICollapse, type ICompactNavigation, type ICta, type IDetails, type IDetailsSectionHeader, type IDrawer, type IDrawerProvider, type IExpand, type IFaq, type IFeature, type IFeatures, type IFigure, type IFlip, type IFlyoutArrangementFull, type IFlyoutArrangementSplit, type IFooter, type IFooterNavigation, type IFrame, type IHeaderBottom, type IHeaderTop, type IHomeSectionCards, type IHomeSectionFaq, type IHomeSectionGettingStarted, type IHomeSectionLeftSplit, type IIcon, type IInfoCard, type IInformation, type IInput, type IInstruction, type ILabeledIcon, type ILink, type IList, type ILogo, type IMap, type IMaskedImage, type IModal, type IModalProvider, type INavigation, type INavigationItem, type INotification, type IOnboarding, type IOnboardingArrangementInformation, type IOnboardingArrangementIntroduction, type IOnboardingArrangementStep, type IOverlay, type IOverlayProvider, type IPick, type IPill, type IPin, type IPlainText, type IProfileNavigation, type IQuickSearch, type IRadio, type IRecord, type IRecords, type IRouteLocation, type ISearch, type ISearchAutocomplete, type ISearchPage, type ISearchProvider, type ISearchSectionFilters, type ISearchStep, type ISearchStepAutocomplete, type ISearchWithMapPage, type ISharedSectionFooter, type ISharedSectionHeader, type IStatus, type IStatusList, type ISurface, type ITerm, type ITerminal$1 as ITerminal, type IToggle, type ITopNavigation, type ITopNavigationItemBase, type IWave, type IWizard, type IWizardControls, type IWizardProvider, type IWizardStep, type IWizardStepProvider, type IYesNo, Icon, IconContext, IconSize, IconType, InfoCard, Information, InlineSelect, type InlineSelectI, InlineSelectIconAsOption, InlineSelectIconAsOptionSelected, InlineSelectLabelAsOption, InlineSelectLabelAsOptionSelected, type InlineSelectOptionI, Input, InputContext, Instruction, ItemType, LabeledIcon, Link, LinkContext, List, ListType, Location, LocationExample, type LocationI, Logo, LogoSize, Map, MaskType, MaskedImage, Modal, ModalContext, ModalProvider, Navigation, Notification, Onboarding, OnboardingArrangementInformation, OnboardingArrangementIntroduction, OnboardingArrangementStep, OnboardingButton, Overlay, OverlayContext, OverlayHeading, OverlayProvider, PageHeading, Pick, PickContext, Pill, Pin, PinType, PlainText, Position, ProcessingContext, type ProcessingContextType, ProcessingProvider, ProfileNavigation, type ProfileNavigationItemThemeableProps, type ProfileNavigationThemeableProps, type PropsForThemeModeProvider, QuickSearch, Radio, RadioContext, Record, Records, Route, type RouteI, RouteLocation, RouteLocationExample, Search, SearchAutocomplete, SearchAutocompleteStep, SearchContext, SearchPage, SearchProvider, SearchSectionFilters, SearchStep, SearchWithMapPage, type SelectBlurEvent, type SelectChangeEvent, type SelectFocusEvent, SharedSectionFooter, SharedSectionHeader, Status, StatusCompact, StatusContext, StatusList, Surface, Switch, type SwitchI, type SwitchItemContentI, type SwitchItemI, Term, Terminal, TextDecoration, ThemeModeContext, ThemeModeProvider, Toggle, TopNavigation, Wave, WavePosition, WaveType, Wizard, WizardContext, WizardControls, WizardProvider, WizardStep, WizardStepContext, WizardStepProvider, YesNo, YesNoContext, useIsProcessing };
package/build/index.d.ts CHANGED
@@ -2,6 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import React$1, { Ref, PropsWithChildren, ReactElement, ReactNode, FC } from 'react';
3
3
  import { TypographyFontKey, TypographyFontsKey, TypographyFontWeightKey, SpacingKey, Color, ColorVariant, ColorVariantKey, ColorKey } from '@tactics/tacky/contract';
4
4
  export { Color, ColorVariant, Radius, Spacing, ThemeI, ThemeVariantsI, TypographyFont, TypographyFonts } from '@tactics/tacky/contract';
5
+ import { Feature as Feature$1, Point, FeatureCollection, LineString } from 'geojson';
5
6
  import { ThemeMode } from '@tactics/tacky';
6
7
  export { BuildProvidersTree, ExternalStylesheetLoader, ExternalStylesheetLoaderI, StyleProviderAnimation, StyleProviderPreFlight, ThemeBuilder, ThemeCtx, ThemeMode } from '@tactics/tacky';
7
8
 
@@ -89,13 +90,18 @@ declare enum BadgeType {
89
90
  CHILDMINDER = "CHILDMINDER",
90
91
  COOPERATIVE = "COOPERATIVE"
91
92
  }
93
+ declare enum BadgeSize {
94
+ DEFAULT = "DEFAULT",
95
+ LARGE = "LARGE"
96
+ }
92
97
 
93
98
  interface IBadge {
94
99
  type: BadgeType;
95
100
  screenReaderText: string;
101
+ size?: BadgeSize;
96
102
  }
97
103
 
98
- declare const Badge: ({ type, screenReaderText }: IBadge) => react_jsx_runtime.JSX.Element;
104
+ declare const Badge: ({ type, screenReaderText, size }: IBadge) => react_jsx_runtime.JSX.Element;
99
105
 
100
106
  declare enum LogoSize {
101
107
  SMALL = "SMALL",
@@ -313,13 +319,19 @@ interface IExpand {
313
319
 
314
320
  declare const Expand: ({ onClick }: IExpand) => react_jsx_runtime.JSX.Element;
315
321
 
322
+ declare enum FramePadding {
323
+ DEFAULT = "DEFAULT",
324
+ LARGE = "LARGE"
325
+ }
326
+
316
327
  interface IFrame {
317
328
  around: React$1.ReactElement<IIcon | IFigure>;
318
329
  split?: string | false;
319
330
  background?: string;
331
+ padding?: FramePadding;
320
332
  }
321
333
 
322
- declare const Frame: ({ around, split, background }: IFrame) => react_jsx_runtime.JSX.Element;
334
+ declare const Frame: ({ around, split, background, padding, }: IFrame) => react_jsx_runtime.JSX.Element;
323
335
 
324
336
  declare enum TextDecoration {
325
337
  NONE = "NONE",
@@ -519,10 +531,10 @@ interface ITerm {
519
531
 
520
532
  declare const Term: ({ label, description, frame }: ITerm) => react_jsx_runtime.JSX.Element;
521
533
 
522
- interface ITerminal {
534
+ interface ITerminal$1 {
523
535
  }
524
536
 
525
- declare const Terminal: ({}: ITerminal) => react_jsx_runtime.JSX.Element;
537
+ declare const Terminal: ({}: ITerminal$1) => react_jsx_runtime.JSX.Element;
526
538
 
527
539
  declare enum YesNoContext {
528
540
  STANDARD = "STANDARD",
@@ -713,20 +725,12 @@ interface LocationI<T, R> {
713
725
  optionToDisplay: (option: T) => React$1.ReactNode;
714
726
  optionToDisplayWhenSelected?: (option: T) => React$1.ReactNode;
715
727
  optionToInputValue: (option: T) => string;
716
- radii: R[];
717
- radiiDefault: R;
718
- radiiToDisplay: (radius: R) => React$1.ReactNode;
719
- radiiToDisplayWhenSelected?: (radius: R) => React$1.ReactNode;
720
728
  onSelected?: (e: AutocompleteSelectEvent<T>) => void;
721
729
  onInputChange?: (e: AutocompleteChangeEvent) => void;
722
- onRadiusChange?: (e: LocationRadiusChangeEvent<R>) => void;
723
730
  onNavigate?: (e: AutocompleteOptionNavigatedEvent<T>) => void;
724
731
  onBlur?: (e: LocationBlurEvent) => void;
725
732
  onFocus?: (e: LocationFocusEvent) => void;
726
733
  }
727
- interface LocationRadiusChangeEvent<R> {
728
- radius: R;
729
- }
730
734
  interface LocationBlurEvent extends AutocompleteBlurEvent {
731
735
  }
732
736
  interface LocationFocusEvent extends AutocompleteFocusEvent {
@@ -771,11 +775,6 @@ interface RouteI<T, R, D> {
771
775
  destinationOptionToDisplay: (option: D) => React$1.ReactNode;
772
776
  destinationOptionToDisplayWhenSelected?: (option: D) => React$1.ReactNode;
773
777
  destinationOptionToInputValue: (option: D) => string;
774
- travelModes: R[];
775
- travelModeDefault: R;
776
- travelModeToDisplay: (option: R) => React$1.ReactNode;
777
- travelModeToDisplayWhenSelected?: (option: R) => React$1.ReactNode;
778
- onTravelModeChange?: (e: SelectChangeEvent<R>) => void;
779
778
  onOriginSelected?: (e: AutocompleteSelectEvent<T>) => void;
780
779
  onOriginInputChange?: (e: AutocompleteChangeEvent) => void;
781
780
  onOriginNavigate?: (e: AutocompleteOptionNavigatedEvent<T>) => void;
@@ -1069,30 +1068,66 @@ interface IFooter {
1069
1068
 
1070
1069
  declare const Footer: ({ top, left, right, bottom }: IFooter) => react_jsx_runtime.JSX.Element;
1071
1070
 
1072
- type IPointOnMap = {
1071
+ type TerminalType = "ORIGIN" | "DESTINATION";
1072
+ type PointType = "DAYCARE" | "CHILDMINDER" | "COOPERATIVE";
1073
+ interface ITerminal {
1073
1074
  key: string;
1074
- marker: React$1.ReactElement;
1075
- details: React$1.ReactElement;
1076
- latLng: google.maps.LatLngLiteral;
1077
- };
1078
- interface IMap {
1079
- children: ReactElement;
1080
- mapId: string;
1081
- defaultCenter: google.maps.LatLngLiteral;
1075
+ name: string;
1076
+ type: TerminalType;
1082
1077
  }
1083
- interface ILocationBasedMapBase {
1084
- points?: IPointOnMap[];
1085
- origin: IPointOnMap;
1078
+ interface IPoint {
1079
+ key: string;
1080
+ name: string;
1081
+ address: string;
1082
+ type: PointType;
1083
+ overlay: React$1.ReactNode;
1084
+ }
1085
+ interface ILine {
1086
+ index: number;
1087
+ label: string;
1088
+ }
1089
+ type IOrigin = Feature$1<Point, ITerminal>;
1090
+ type IDestination = Feature$1<Point, ITerminal>;
1091
+ type IPoints = FeatureCollection<Point, IPoint>;
1092
+ type IRoute = FeatureCollection<LineString, ILine>;
1093
+ type IRoutes = IRoute[];
1094
+ interface ILocationBasedMap {
1095
+ points?: IPoints;
1096
+ showLoader: boolean;
1097
+ loader?: React$1.ReactNode;
1098
+ origin: IOrigin;
1099
+ onRadiusChange?: (r: number) => void;
1100
+ onZoomChange?: (zoom: number) => void;
1101
+ onAreaChange?: (center: google.maps.LatLng, bounds: google.maps.LatLngBounds, radius: number) => void;
1086
1102
  }
1087
1103
  interface IDirectionBasedMapBase {
1088
- directions: google.maps.DirectionsResult;
1089
- points?: IPointOnMap[];
1104
+ routes: IRoutes;
1105
+ points?: IPoints;
1106
+ showLoader: boolean;
1107
+ loader?: React$1.ReactNode;
1108
+ origin: IOrigin;
1109
+ destination: IDestination;
1110
+ travelModeLabels: TravelModeLabels;
1111
+ onTravelModeChange?: (modes: google.maps.TravelMode[]) => void;
1112
+ onRouteChange?: (index: number, route: IRoute) => void;
1113
+ onZoomChange?: () => void;
1114
+ }
1115
+ interface IMap extends PropsWithChildren {
1116
+ mapId: string;
1117
+ defaultCenter: google.maps.LatLngLiteral;
1118
+ }
1119
+ interface TravelModeLabels {
1120
+ BEST_FIT: string;
1121
+ DRIVING: string;
1122
+ TRANSIT: string;
1123
+ WALKING: string;
1124
+ BICYCLING: string;
1090
1125
  }
1091
1126
 
1092
1127
  declare const Map: {
1093
- ({ children, mapId, defaultCenter }: IMap): react_jsx_runtime.JSX.Element;
1094
- Location: ({ points, origin }: ILocationBasedMapBase) => react_jsx_runtime.JSX.Element | null;
1095
- Direction: ({ directions }: IDirectionBasedMapBase) => react_jsx_runtime.JSX.Element | null;
1128
+ (props: IMap): react_jsx_runtime.JSX.Element;
1129
+ Location: ({ points, showLoader, loader, origin, onRadiusChange, onZoomChange, onAreaChange, }: ILocationBasedMap) => react_jsx_runtime.JSX.Element | null;
1130
+ Direction: ({ routes, origin, destination, travelModeLabels, points, showLoader, loader, onTravelModeChange, onRouteChange, onZoomChange, }: IDirectionBasedMapBase) => react_jsx_runtime.JSX.Element | null;
1096
1131
  };
1097
1132
 
1098
1133
  interface IWizard {
@@ -1152,8 +1187,14 @@ declare const SearchAutocompleteStep: (props: ISearchStepAutocomplete<any>) => n
1152
1187
  declare const Search: (props: ISearch) => react_jsx_runtime.JSX.Element;
1153
1188
  declare const SearchAutocomplete: <T>(props: ISearchAutocomplete<T>) => react_jsx_runtime.JSX.Element;
1154
1189
 
1190
+ declare enum LabelSize {
1191
+ DEFAULT = "DEFAULT",
1192
+ LARGE = "LARGE"
1193
+ }
1194
+
1155
1195
  interface ILabel {
1156
1196
  iconType?: IconType;
1197
+ size?: LabelSize;
1157
1198
  label: string;
1158
1199
  }
1159
1200
 
@@ -1161,7 +1202,7 @@ interface ICard {
1161
1202
  swipe?: React$1.ReactNode;
1162
1203
  badge: React$1.ReactElement<IBadge>;
1163
1204
  title: string;
1164
- info: React$1.ReactElement<ILabeledIcon>;
1205
+ info?: React$1.ReactElement<ILabeledIcon>[] | React$1.ReactElement<ILabeledIcon>;
1165
1206
  labels: React$1.ReactElement<ILabel>[];
1166
1207
  features: React$1.ReactElement<IFeatures>;
1167
1208
  action: React$1.ReactElement<IButton>;
@@ -1227,6 +1268,15 @@ interface IHomeSectionGettingStarted {
1227
1268
 
1228
1269
  declare const HomeSectionGettingStarted: (props: IHomeSectionGettingStarted) => react_jsx_runtime.JSX.Element;
1229
1270
 
1271
+ interface IDetailsSectionHeader {
1272
+ title: string;
1273
+ badge: React$1.ReactNode;
1274
+ labels: React$1.ReactNode;
1275
+ actions: React$1.ReactNode;
1276
+ }
1277
+
1278
+ declare const DetailsSectionHeader: (props: IDetailsSectionHeader) => react_jsx_runtime.JSX.Element;
1279
+
1230
1280
  interface IOnboardingArrangementIntroduction {
1231
1281
  top: React$1.ReactElement;
1232
1282
  left: React$1.ReactElement;
@@ -1561,4 +1611,4 @@ declare const RouteLocationExample: ({ CompactAt, onChange, }: {
1561
1611
 
1562
1612
  declare const LocationExample: () => react_jsx_runtime.JSX.Element;
1563
1613
 
1564
- export { Accordeon, AccordeonContext, type AutoCompleteContextType, type AutocompleteBlurEvent, type AutocompleteChangeEvent, type AutocompleteFocusEvent, type AutocompleteI, AutocompleteInput, type AutocompleteInputI, AutocompleteOption, type AutocompleteOptionNavigatedEvent, AutocompleteOptionSelected, AutocompleteOptions, type AutocompleteOptionsI, type AutocompleteSelectEvent, Backdrop, BackdropContext, BackdropProvider, Badge, BadgeType, BasicPage, BigChoice, BigPick, Blur, BlurContext, BlurProvider, BottomNavigation, Brand, Breadcrumb, Button, ButtonContext, ButtonType, Card, CardChildminderExample, CardDaycareExample, Checkbox, CheckboxContext, Choice, ChoiceContext, Close, type CloseI, Collapsable, Collapse, CompactNavigation, CompactNavigationContext, Cta, Details, Drawer, DrawerContext, DrawerProvider, DrawerSize, Expand, Faq, Feature, Features, Figure, FigureSize, FigureType, Flip, FlyoutArrangementFull, FlyoutArrangementSplit, FlyoutHeading, Footer, FooterNavigation, Frame, GoogleAPIProvider, type GoogleAPIProviderProps, GoogleApiRoutesDirectionRendererContext, GoogleApiRoutesDirectionRendererProvider, Grid, type GridItemProps, type GridProps, HeaderAlternate, HeaderBottom, HeaderContext, HeaderTop, type HeadingArrangementI, HomeSectionCards, HomeSectionFaq, HomeSectionGettingStarted, HomeSectionLeftSplit, type IAccordeon, type IBackdrop, type IBackdropProvider, type IBadge, type IBasicPage, type IBigChoice, type IBigPick, type IBlur, type IBlurProvider, type IBottomNavigation, type IBrand, type IBreadcrumb, type IButton, type ICard, type ICheckbox, type IChoice, type ICollapsable, type ICollapse, type ICompactNavigation, type ICta, type IDetails, type IDrawer, type IDrawerProvider, type IExpand, type IFaq, type IFeature, type IFeatures, type IFigure, type IFlip, type IFlyoutArrangementFull, type IFlyoutArrangementSplit, type IFooter, type IFooterNavigation, type IFrame, type IHeaderBottom, type IHeaderTop, type IHomeSectionCards, type IHomeSectionFaq, type IHomeSectionGettingStarted, type IHomeSectionLeftSplit, type IIcon, type IInfoCard, type IInformation, type IInput, type IInstruction, type ILabeledIcon, type ILink, type IList, type ILogo, type IMap, type IMaskedImage, type IModal, type IModalProvider, type INavigation, type INavigationItem, type INotification, type IOnboarding, type IOnboardingArrangementInformation, type IOnboardingArrangementIntroduction, type IOnboardingArrangementStep, type IOverlay, type IOverlayProvider, type IPick, type IPill, type IPin, type IPlainText, type IProfileNavigation, type IQuickSearch, type IRadio, type IRecord, type IRecords, type IRouteLocation, type ISearch, type ISearchAutocomplete, type ISearchPage, type ISearchProvider, type ISearchSectionFilters, type ISearchStep, type ISearchStepAutocomplete, type ISearchWithMapPage, type ISharedSectionFooter, type ISharedSectionHeader, type IStatus, type IStatusList, type ISurface, type ITerm, type ITerminal, type IToggle, type ITopNavigation, type ITopNavigationItemBase, type IWave, type IWizard, type IWizardControls, type IWizardProvider, type IWizardStep, type IWizardStepProvider, type IYesNo, Icon, IconContext, IconSize, IconType, InfoCard, Information, InlineSelect, type InlineSelectI, InlineSelectIconAsOption, InlineSelectIconAsOptionSelected, InlineSelectLabelAsOption, InlineSelectLabelAsOptionSelected, type InlineSelectOptionI, Input, InputContext, Instruction, ItemType, LabeledIcon, Link, LinkContext, List, ListType, Location, LocationExample, type LocationI, Logo, LogoSize, Map, MaskType, MaskedImage, Modal, ModalContext, ModalProvider, Navigation, Notification, Onboarding, OnboardingArrangementInformation, OnboardingArrangementIntroduction, OnboardingArrangementStep, OnboardingButton, Overlay, OverlayContext, OverlayHeading, OverlayProvider, PageHeading, Pick, PickContext, Pill, Pin, PinType, PlainText, Position, ProcessingContext, type ProcessingContextType, ProcessingProvider, ProfileNavigation, type ProfileNavigationItemThemeableProps, type ProfileNavigationThemeableProps, type PropsForThemeModeProvider, QuickSearch, Radio, RadioContext, Record, Records, Route, type RouteI, RouteLocation, RouteLocationExample, Search, SearchAutocomplete, SearchAutocompleteStep, SearchContext, SearchPage, SearchProvider, SearchSectionFilters, SearchStep, SearchWithMapPage, type SelectBlurEvent, type SelectChangeEvent, type SelectFocusEvent, SharedSectionFooter, SharedSectionHeader, Status, StatusCompact, StatusContext, StatusList, Surface, Switch, type SwitchI, type SwitchItemContentI, type SwitchItemI, Term, Terminal, TextDecoration, ThemeModeContext, ThemeModeProvider, Toggle, TopNavigation, Wave, WavePosition, WaveType, Wizard, WizardContext, WizardControls, WizardProvider, WizardStep, WizardStepContext, WizardStepProvider, YesNo, YesNoContext, useIsProcessing };
1614
+ export { Accordeon, AccordeonContext, type AutoCompleteContextType, type AutocompleteBlurEvent, type AutocompleteChangeEvent, type AutocompleteFocusEvent, type AutocompleteI, AutocompleteInput, type AutocompleteInputI, AutocompleteOption, type AutocompleteOptionNavigatedEvent, AutocompleteOptionSelected, AutocompleteOptions, type AutocompleteOptionsI, type AutocompleteSelectEvent, Backdrop, BackdropContext, BackdropProvider, Badge, BadgeSize, BadgeType, BasicPage, BigChoice, BigPick, Blur, BlurContext, BlurProvider, BottomNavigation, Brand, Breadcrumb, Button, ButtonContext, ButtonType, Card, CardChildminderExample, CardDaycareExample, Checkbox, CheckboxContext, Choice, ChoiceContext, Close, type CloseI, Collapsable, Collapse, CompactNavigation, CompactNavigationContext, Cta, Details, DetailsSectionHeader, Drawer, DrawerContext, DrawerProvider, DrawerSize, Expand, Faq, Feature, Features, Figure, FigureSize, FigureType, Flip, FlyoutArrangementFull, FlyoutArrangementSplit, FlyoutHeading, Footer, FooterNavigation, Frame, FramePadding, GoogleAPIProvider, type GoogleAPIProviderProps, GoogleApiRoutesDirectionRendererContext, GoogleApiRoutesDirectionRendererProvider, Grid, type GridItemProps, type GridProps, HeaderAlternate, HeaderBottom, HeaderContext, HeaderTop, type HeadingArrangementI, HomeSectionCards, HomeSectionFaq, HomeSectionGettingStarted, HomeSectionLeftSplit, type IAccordeon, type IBackdrop, type IBackdropProvider, type IBadge, type IBasicPage, type IBigChoice, type IBigPick, type IBlur, type IBlurProvider, type IBottomNavigation, type IBrand, type IBreadcrumb, type IButton, type ICard, type ICheckbox, type IChoice, type ICollapsable, type ICollapse, type ICompactNavigation, type ICta, type IDetails, type IDetailsSectionHeader, type IDrawer, type IDrawerProvider, type IExpand, type IFaq, type IFeature, type IFeatures, type IFigure, type IFlip, type IFlyoutArrangementFull, type IFlyoutArrangementSplit, type IFooter, type IFooterNavigation, type IFrame, type IHeaderBottom, type IHeaderTop, type IHomeSectionCards, type IHomeSectionFaq, type IHomeSectionGettingStarted, type IHomeSectionLeftSplit, type IIcon, type IInfoCard, type IInformation, type IInput, type IInstruction, type ILabeledIcon, type ILink, type IList, type ILogo, type IMap, type IMaskedImage, type IModal, type IModalProvider, type INavigation, type INavigationItem, type INotification, type IOnboarding, type IOnboardingArrangementInformation, type IOnboardingArrangementIntroduction, type IOnboardingArrangementStep, type IOverlay, type IOverlayProvider, type IPick, type IPill, type IPin, type IPlainText, type IProfileNavigation, type IQuickSearch, type IRadio, type IRecord, type IRecords, type IRouteLocation, type ISearch, type ISearchAutocomplete, type ISearchPage, type ISearchProvider, type ISearchSectionFilters, type ISearchStep, type ISearchStepAutocomplete, type ISearchWithMapPage, type ISharedSectionFooter, type ISharedSectionHeader, type IStatus, type IStatusList, type ISurface, type ITerm, type ITerminal$1 as ITerminal, type IToggle, type ITopNavigation, type ITopNavigationItemBase, type IWave, type IWizard, type IWizardControls, type IWizardProvider, type IWizardStep, type IWizardStepProvider, type IYesNo, Icon, IconContext, IconSize, IconType, InfoCard, Information, InlineSelect, type InlineSelectI, InlineSelectIconAsOption, InlineSelectIconAsOptionSelected, InlineSelectLabelAsOption, InlineSelectLabelAsOptionSelected, type InlineSelectOptionI, Input, InputContext, Instruction, ItemType, LabeledIcon, Link, LinkContext, List, ListType, Location, LocationExample, type LocationI, Logo, LogoSize, Map, MaskType, MaskedImage, Modal, ModalContext, ModalProvider, Navigation, Notification, Onboarding, OnboardingArrangementInformation, OnboardingArrangementIntroduction, OnboardingArrangementStep, OnboardingButton, Overlay, OverlayContext, OverlayHeading, OverlayProvider, PageHeading, Pick, PickContext, Pill, Pin, PinType, PlainText, Position, ProcessingContext, type ProcessingContextType, ProcessingProvider, ProfileNavigation, type ProfileNavigationItemThemeableProps, type ProfileNavigationThemeableProps, type PropsForThemeModeProvider, QuickSearch, Radio, RadioContext, Record, Records, Route, type RouteI, RouteLocation, RouteLocationExample, Search, SearchAutocomplete, SearchAutocompleteStep, SearchContext, SearchPage, SearchProvider, SearchSectionFilters, SearchStep, SearchWithMapPage, type SelectBlurEvent, type SelectChangeEvent, type SelectFocusEvent, SharedSectionFooter, SharedSectionHeader, Status, StatusCompact, StatusContext, StatusList, Surface, Switch, type SwitchI, type SwitchItemContentI, type SwitchItemI, Term, Terminal, TextDecoration, ThemeModeContext, ThemeModeProvider, Toggle, TopNavigation, Wave, WavePosition, WaveType, Wizard, WizardContext, WizardControls, WizardProvider, WizardStep, WizardStepContext, WizardStepProvider, YesNo, YesNoContext, useIsProcessing };