@tactics/lokaal-loket 0.0.301 → 0.0.305

Sign up to get free protection for your applications and to get access to all the features.
package/build/index.d.cts CHANGED
@@ -1859,19 +1859,28 @@ declare const Map: {
1859
1859
  Loading: ({loader}: {loader: React__default.ReactNode}) => react_jsx_runtime.JSX.Element | null;
1860
1860
  };
1861
1861
 
1862
+ interface IProgress {
1863
+ steps: number;
1864
+ activeStep: number;
1865
+ }
1866
+
1862
1867
  interface IWizard {
1863
1868
  children: React__default.ReactElement<IWizardStep> | React__default.ReactElement<IWizardStep>[];
1864
1869
  }
1865
1870
  interface IWizardStep extends PropsWithChildren {
1866
- figure?: React__default.ReactElement<IFigure>;
1871
+ header?: React__default.ReactElement<IWizardHeader>;
1867
1872
  controls?: React__default.ReactElement<IWizardControls>;
1868
1873
  }
1874
+ interface IWizardHeader {
1875
+ top?: React__default.ReactNode;
1876
+ progress: React__default.ReactElement<IProgress>;
1877
+ }
1869
1878
  interface IWizardControls {
1870
1879
  back?: React__default.ReactElement<IButton>;
1871
1880
  next?: React__default.ReactElement<IButton>;
1872
1881
  }
1873
1882
 
1874
- declare const WizardStep: ({children, figure, controls}: IWizardStep) => react_jsx_runtime.JSX.Element;
1883
+ declare const WizardStep: ({children, controls, header}: IWizardStep) => react_jsx_runtime.JSX.Element;
1875
1884
 
1876
1885
  declare const WizardControls: ({next, back}: IWizardControls) => react_jsx_runtime.JSX.Element;
1877
1886
 
@@ -1908,7 +1917,6 @@ interface ISearchFilters extends ISearchFiltersShared {
1908
1917
  }
1909
1918
  interface ISearchFiltersOverlay {
1910
1919
  heading: React__default.ReactElement<HeadingArrangementBaseI>;
1911
- close: React__default.ReactElement<CloseI>;
1912
1920
  }
1913
1921
  interface ISearchFiltersModal {
1914
1922
  heading: string;
@@ -1957,7 +1965,6 @@ interface ISearchInputs extends ISearchInputsShared {
1957
1965
  interface ISearchInputsOverlay extends ISearchInputsOverlayContentActions {
1958
1966
  heading: React__default.ReactElement<HeadingArrangementBaseI>;
1959
1967
  input: React__default.ReactElement<ISearchInputsOverlayInput>;
1960
- close: React__default.ReactElement<CloseI>;
1961
1968
  }
1962
1969
  interface ISearchInputsOverlayContentActions {
1963
1970
  clear?: React__default.ReactElement<IButton>;
@@ -2299,12 +2306,6 @@ interface IOnboardingArrangementIntroduction {
2299
2306
  action?: React__default.ReactElement;
2300
2307
  image?: React__default.ReactElement;
2301
2308
  }
2302
- interface IOnboardingArrangementStep {
2303
- top: React__default.ReactElement;
2304
- left: React__default.ReactElement;
2305
- right?: React__default.ReactElement;
2306
- image?: React__default.ReactElement;
2307
- }
2308
2309
  interface IOnboardingArrangementInformation {
2309
2310
  top: React__default.ReactElement;
2310
2311
  left: React__default.ReactElement;
@@ -2314,10 +2315,6 @@ interface IOnboardingArrangementInformation {
2314
2315
  declare const OnboardingArrangementIntroduction: (
2315
2316
  props: IOnboardingArrangementIntroduction
2316
2317
  ) => react_jsx_runtime.JSX.Element;
2317
- declare const OnboardingArrangementStep: (props: IOnboardingArrangementStep) => react_jsx_runtime.JSX.Element;
2318
- declare const OnboardingArrangementInformation: (
2319
- props: IOnboardingArrangementInformation
2320
- ) => react_jsx_runtime.JSX.Element;
2321
2318
 
2322
2319
  interface ISearchSectionFilters {
2323
2320
  primary: React__default.ReactElement;
@@ -2504,15 +2501,19 @@ interface IModal {
2504
2501
  size: ModalSize;
2505
2502
  }
2506
2503
 
2507
- declare const Modal: ({children, size, title}: IModal) => React__default.ReactPortal;
2504
+ declare const Modal: ({children, size}: IModal) => React__default.ReactPortal;
2505
+
2506
+ declare enum OverlaySize {
2507
+ FULL = "FULL",
2508
+ MEDIUM = "MEDIUM",
2509
+ }
2508
2510
 
2509
2511
  interface IOverlay {
2510
- children?: React__default.ReactNode;
2511
- header?: React__default.ReactNode;
2512
- close: React__default.ReactNode;
2512
+ children: React__default.ReactNode;
2513
+ size: OverlaySize;
2513
2514
  }
2514
2515
 
2515
- declare const Overlay: ({children, header, close}: IOverlay) => React__default.ReactPortal;
2516
+ declare const Overlay: ({children, size}: IOverlay) => React__default.ReactPortal;
2516
2517
 
2517
2518
  declare enum WaveType {
2518
2519
  ONE = "ONE",
@@ -2676,11 +2677,10 @@ interface OverlayContextType {
2676
2677
  }
2677
2678
  declare const OverlayContext: React__default.Context<OverlayContextType>;
2678
2679
  interface IOverlayProvider extends PropsWithChildren {
2679
- overlay?: React__default.ReactNode;
2680
- header?: React__default.ReactNode;
2681
- close?: React__default.ReactNode;
2680
+ overlay: React__default.ReactNode;
2681
+ size?: OverlaySize;
2682
2682
  }
2683
- declare const OverlayProvider: ({children, header, close, overlay}: IOverlayProvider) => react_jsx_runtime.JSX.Element;
2683
+ declare const OverlayProvider: ({children, overlay, size}: IOverlayProvider) => react_jsx_runtime.JSX.Element;
2684
2684
 
2685
2685
  interface ProcessingContextType {
2686
2686
  isDone: boolean;
@@ -3032,7 +3032,6 @@ export {
3032
3032
  type IOnboarding,
3033
3033
  type IOnboardingArrangementInformation,
3034
3034
  type IOnboardingArrangementIntroduction,
3035
- type IOnboardingArrangementStep,
3036
3035
  type IOpeningHoursSelect,
3037
3036
  type IOrigin,
3038
3037
  type IOverlay,
@@ -3169,9 +3168,7 @@ export {
3169
3168
  NoResults,
3170
3169
  Notification,
3171
3170
  Onboarding,
3172
- OnboardingArrangementInformation,
3173
3171
  OnboardingArrangementIntroduction,
3174
- OnboardingArrangementStep,
3175
3172
  OnboardingButton,
3176
3173
  OpeningHoursSelect,
3177
3174
  type OpeningHoursSelectHours,
@@ -3181,6 +3178,7 @@ export {
3181
3178
  OverlayContext,
3182
3179
  OverlayHeading,
3183
3180
  OverlayProvider,
3181
+ OverlaySize,
3184
3182
  PageHeader,
3185
3183
  PageHeading,
3186
3184
  Pick,
package/build/index.d.ts CHANGED
@@ -1859,19 +1859,28 @@ declare const Map: {
1859
1859
  Loading: ({loader}: {loader: React__default.ReactNode}) => react_jsx_runtime.JSX.Element | null;
1860
1860
  };
1861
1861
 
1862
+ interface IProgress {
1863
+ steps: number;
1864
+ activeStep: number;
1865
+ }
1866
+
1862
1867
  interface IWizard {
1863
1868
  children: React__default.ReactElement<IWizardStep> | React__default.ReactElement<IWizardStep>[];
1864
1869
  }
1865
1870
  interface IWizardStep extends PropsWithChildren {
1866
- figure?: React__default.ReactElement<IFigure>;
1871
+ header?: React__default.ReactElement<IWizardHeader>;
1867
1872
  controls?: React__default.ReactElement<IWizardControls>;
1868
1873
  }
1874
+ interface IWizardHeader {
1875
+ top?: React__default.ReactNode;
1876
+ progress: React__default.ReactElement<IProgress>;
1877
+ }
1869
1878
  interface IWizardControls {
1870
1879
  back?: React__default.ReactElement<IButton>;
1871
1880
  next?: React__default.ReactElement<IButton>;
1872
1881
  }
1873
1882
 
1874
- declare const WizardStep: ({children, figure, controls}: IWizardStep) => react_jsx_runtime.JSX.Element;
1883
+ declare const WizardStep: ({children, controls, header}: IWizardStep) => react_jsx_runtime.JSX.Element;
1875
1884
 
1876
1885
  declare const WizardControls: ({next, back}: IWizardControls) => react_jsx_runtime.JSX.Element;
1877
1886
 
@@ -1908,7 +1917,6 @@ interface ISearchFilters extends ISearchFiltersShared {
1908
1917
  }
1909
1918
  interface ISearchFiltersOverlay {
1910
1919
  heading: React__default.ReactElement<HeadingArrangementBaseI>;
1911
- close: React__default.ReactElement<CloseI>;
1912
1920
  }
1913
1921
  interface ISearchFiltersModal {
1914
1922
  heading: string;
@@ -1957,7 +1965,6 @@ interface ISearchInputs extends ISearchInputsShared {
1957
1965
  interface ISearchInputsOverlay extends ISearchInputsOverlayContentActions {
1958
1966
  heading: React__default.ReactElement<HeadingArrangementBaseI>;
1959
1967
  input: React__default.ReactElement<ISearchInputsOverlayInput>;
1960
- close: React__default.ReactElement<CloseI>;
1961
1968
  }
1962
1969
  interface ISearchInputsOverlayContentActions {
1963
1970
  clear?: React__default.ReactElement<IButton>;
@@ -2299,12 +2306,6 @@ interface IOnboardingArrangementIntroduction {
2299
2306
  action?: React__default.ReactElement;
2300
2307
  image?: React__default.ReactElement;
2301
2308
  }
2302
- interface IOnboardingArrangementStep {
2303
- top: React__default.ReactElement;
2304
- left: React__default.ReactElement;
2305
- right?: React__default.ReactElement;
2306
- image?: React__default.ReactElement;
2307
- }
2308
2309
  interface IOnboardingArrangementInformation {
2309
2310
  top: React__default.ReactElement;
2310
2311
  left: React__default.ReactElement;
@@ -2314,10 +2315,6 @@ interface IOnboardingArrangementInformation {
2314
2315
  declare const OnboardingArrangementIntroduction: (
2315
2316
  props: IOnboardingArrangementIntroduction
2316
2317
  ) => react_jsx_runtime.JSX.Element;
2317
- declare const OnboardingArrangementStep: (props: IOnboardingArrangementStep) => react_jsx_runtime.JSX.Element;
2318
- declare const OnboardingArrangementInformation: (
2319
- props: IOnboardingArrangementInformation
2320
- ) => react_jsx_runtime.JSX.Element;
2321
2318
 
2322
2319
  interface ISearchSectionFilters {
2323
2320
  primary: React__default.ReactElement;
@@ -2504,15 +2501,19 @@ interface IModal {
2504
2501
  size: ModalSize;
2505
2502
  }
2506
2503
 
2507
- declare const Modal: ({children, size, title}: IModal) => React__default.ReactPortal;
2504
+ declare const Modal: ({children, size}: IModal) => React__default.ReactPortal;
2505
+
2506
+ declare enum OverlaySize {
2507
+ FULL = "FULL",
2508
+ MEDIUM = "MEDIUM",
2509
+ }
2508
2510
 
2509
2511
  interface IOverlay {
2510
- children?: React__default.ReactNode;
2511
- header?: React__default.ReactNode;
2512
- close: React__default.ReactNode;
2512
+ children: React__default.ReactNode;
2513
+ size: OverlaySize;
2513
2514
  }
2514
2515
 
2515
- declare const Overlay: ({children, header, close}: IOverlay) => React__default.ReactPortal;
2516
+ declare const Overlay: ({children, size}: IOverlay) => React__default.ReactPortal;
2516
2517
 
2517
2518
  declare enum WaveType {
2518
2519
  ONE = "ONE",
@@ -2676,11 +2677,10 @@ interface OverlayContextType {
2676
2677
  }
2677
2678
  declare const OverlayContext: React__default.Context<OverlayContextType>;
2678
2679
  interface IOverlayProvider extends PropsWithChildren {
2679
- overlay?: React__default.ReactNode;
2680
- header?: React__default.ReactNode;
2681
- close?: React__default.ReactNode;
2680
+ overlay: React__default.ReactNode;
2681
+ size?: OverlaySize;
2682
2682
  }
2683
- declare const OverlayProvider: ({children, header, close, overlay}: IOverlayProvider) => react_jsx_runtime.JSX.Element;
2683
+ declare const OverlayProvider: ({children, overlay, size}: IOverlayProvider) => react_jsx_runtime.JSX.Element;
2684
2684
 
2685
2685
  interface ProcessingContextType {
2686
2686
  isDone: boolean;
@@ -3032,7 +3032,6 @@ export {
3032
3032
  type IOnboarding,
3033
3033
  type IOnboardingArrangementInformation,
3034
3034
  type IOnboardingArrangementIntroduction,
3035
- type IOnboardingArrangementStep,
3036
3035
  type IOpeningHoursSelect,
3037
3036
  type IOrigin,
3038
3037
  type IOverlay,
@@ -3169,9 +3168,7 @@ export {
3169
3168
  NoResults,
3170
3169
  Notification,
3171
3170
  Onboarding,
3172
- OnboardingArrangementInformation,
3173
3171
  OnboardingArrangementIntroduction,
3174
- OnboardingArrangementStep,
3175
3172
  OnboardingButton,
3176
3173
  OpeningHoursSelect,
3177
3174
  type OpeningHoursSelectHours,
@@ -3181,6 +3178,7 @@ export {
3181
3178
  OverlayContext,
3182
3179
  OverlayHeading,
3183
3180
  OverlayProvider,
3181
+ OverlaySize,
3184
3182
  PageHeader,
3185
3183
  PageHeading,
3186
3184
  Pick,