@tactics/lokaal-loket 0.0.77 → 0.0.80

Sign up to get free protection for your applications and to get access to all the features.
package/build/index.d.cts CHANGED
@@ -266,11 +266,11 @@ declare const AutocompleteInput: <T>(props: AutocompleteInputI<T> & {
266
266
  ref?: Ref<HTMLInputElement>;
267
267
  }) => JSX.Element;
268
268
 
269
+ declare const AutocompleteOptions: <T>(args: AutocompleteOptionsI<T>) => react_jsx_runtime.JSX.Element;
270
+
269
271
  declare const AutocompleteOption: <T>(args: AutocompleteOptionI<T>) => react_jsx_runtime.JSX.Element;
270
272
  declare const AutocompleteOptionSelected: <T>(args: AutocompleteOptionI<T>) => react_jsx_runtime.JSX.Element;
271
273
 
272
- declare const AutocompleteOptions: <T>(args: AutocompleteOptionsI<T>) => react_jsx_runtime.JSX.Element;
273
-
274
274
  interface IAutoCompleteBase<T> {
275
275
  options: T[];
276
276
  optionToDisplay: (option: T) => React$1.ReactNode;
@@ -1071,29 +1071,31 @@ declare const WizardControls: ({ next, back }: IWizardControls) => react_jsx_run
1071
1071
 
1072
1072
  declare const Wizard: ({ children }: IWizard) => react_jsx_runtime.JSX.Element;
1073
1073
 
1074
- interface ISearch {
1075
- mobileLabel: string;
1076
- children: React$1.ReactElement<ISearchStep> | React$1.ReactElement<ISearchStep>[];
1074
+ interface ISearchBase {
1075
+ children: ReactElement<ISearchStep> | ReactElement<ISearchStep>[];
1077
1076
  }
1078
- interface ISearchAutocomplete {
1079
- children: React$1.ReactElement<ISearchStepAutocomplete<any>>;
1077
+ interface ISearch extends ISearchBase {
1078
+ mobileLabel: string;
1080
1079
  }
1081
1080
  interface ISearchStep {
1082
1081
  label: string;
1083
- flyout: React$1.ReactElement;
1084
- withFigure: React$1.ReactElement<IFigure>;
1082
+ flyout: ReactElement;
1083
+ withFigure: ReactElement<IFigure>;
1084
+ }
1085
+ interface ISearchAutocomplete<T> {
1086
+ children: ReactElement<ISearchStepAutocomplete<T>>;
1085
1087
  }
1086
1088
  interface ISearchStepAutocomplete<T> extends AutocompleteI<T> {
1087
- withFigure: React$1.ReactElement<IFigure>;
1089
+ withFigure: ReactElement<IFigure>;
1088
1090
  label: string;
1089
1091
  }
1090
1092
  interface ISearchStepAutocomplete<T> {
1091
1093
  options: T[];
1092
- optionToDisplay: (option: T) => React$1.ReactNode;
1094
+ optionToDisplay: (option: T) => ReactNode;
1093
1095
  optionToRawValue: (option: T) => string;
1094
1096
  optionToLabel: (option: T) => string;
1095
1097
  label: string;
1096
- withFigure: React$1.ReactElement<IFigure>;
1098
+ withFigure: ReactElement<IFigure>;
1097
1099
  defaultValue?: string;
1098
1100
  onChange?: (e: AutocompleteChangeEvent) => void;
1099
1101
  onFocus?: (e: AutocompleteFocusEvent) => void;
@@ -1106,7 +1108,7 @@ declare const SearchStep: (props: ISearchStep) => null;
1106
1108
  declare const SearchAutocompleteStep: (props: ISearchStepAutocomplete<any>) => null;
1107
1109
 
1108
1110
  declare const Search: (props: ISearch) => react_jsx_runtime.JSX.Element;
1109
- declare const SearchAutocomplete: (props: ISearchAutocomplete) => react_jsx_runtime.JSX.Element;
1111
+ declare const SearchAutocomplete: <T>(props: ISearchAutocomplete<T>) => react_jsx_runtime.JSX.Element;
1110
1112
 
1111
1113
  interface IFlyoutArrangementSplit {
1112
1114
  top?: React$1.ReactElement;
package/build/index.d.ts CHANGED
@@ -266,11 +266,11 @@ declare const AutocompleteInput: <T>(props: AutocompleteInputI<T> & {
266
266
  ref?: Ref<HTMLInputElement>;
267
267
  }) => JSX.Element;
268
268
 
269
+ declare const AutocompleteOptions: <T>(args: AutocompleteOptionsI<T>) => react_jsx_runtime.JSX.Element;
270
+
269
271
  declare const AutocompleteOption: <T>(args: AutocompleteOptionI<T>) => react_jsx_runtime.JSX.Element;
270
272
  declare const AutocompleteOptionSelected: <T>(args: AutocompleteOptionI<T>) => react_jsx_runtime.JSX.Element;
271
273
 
272
- declare const AutocompleteOptions: <T>(args: AutocompleteOptionsI<T>) => react_jsx_runtime.JSX.Element;
273
-
274
274
  interface IAutoCompleteBase<T> {
275
275
  options: T[];
276
276
  optionToDisplay: (option: T) => React$1.ReactNode;
@@ -1071,29 +1071,31 @@ declare const WizardControls: ({ next, back }: IWizardControls) => react_jsx_run
1071
1071
 
1072
1072
  declare const Wizard: ({ children }: IWizard) => react_jsx_runtime.JSX.Element;
1073
1073
 
1074
- interface ISearch {
1075
- mobileLabel: string;
1076
- children: React$1.ReactElement<ISearchStep> | React$1.ReactElement<ISearchStep>[];
1074
+ interface ISearchBase {
1075
+ children: ReactElement<ISearchStep> | ReactElement<ISearchStep>[];
1077
1076
  }
1078
- interface ISearchAutocomplete {
1079
- children: React$1.ReactElement<ISearchStepAutocomplete<any>>;
1077
+ interface ISearch extends ISearchBase {
1078
+ mobileLabel: string;
1080
1079
  }
1081
1080
  interface ISearchStep {
1082
1081
  label: string;
1083
- flyout: React$1.ReactElement;
1084
- withFigure: React$1.ReactElement<IFigure>;
1082
+ flyout: ReactElement;
1083
+ withFigure: ReactElement<IFigure>;
1084
+ }
1085
+ interface ISearchAutocomplete<T> {
1086
+ children: ReactElement<ISearchStepAutocomplete<T>>;
1085
1087
  }
1086
1088
  interface ISearchStepAutocomplete<T> extends AutocompleteI<T> {
1087
- withFigure: React$1.ReactElement<IFigure>;
1089
+ withFigure: ReactElement<IFigure>;
1088
1090
  label: string;
1089
1091
  }
1090
1092
  interface ISearchStepAutocomplete<T> {
1091
1093
  options: T[];
1092
- optionToDisplay: (option: T) => React$1.ReactNode;
1094
+ optionToDisplay: (option: T) => ReactNode;
1093
1095
  optionToRawValue: (option: T) => string;
1094
1096
  optionToLabel: (option: T) => string;
1095
1097
  label: string;
1096
- withFigure: React$1.ReactElement<IFigure>;
1098
+ withFigure: ReactElement<IFigure>;
1097
1099
  defaultValue?: string;
1098
1100
  onChange?: (e: AutocompleteChangeEvent) => void;
1099
1101
  onFocus?: (e: AutocompleteFocusEvent) => void;
@@ -1106,7 +1108,7 @@ declare const SearchStep: (props: ISearchStep) => null;
1106
1108
  declare const SearchAutocompleteStep: (props: ISearchStepAutocomplete<any>) => null;
1107
1109
 
1108
1110
  declare const Search: (props: ISearch) => react_jsx_runtime.JSX.Element;
1109
- declare const SearchAutocomplete: (props: ISearchAutocomplete) => react_jsx_runtime.JSX.Element;
1111
+ declare const SearchAutocomplete: <T>(props: ISearchAutocomplete<T>) => react_jsx_runtime.JSX.Element;
1110
1112
 
1111
1113
  interface IFlyoutArrangementSplit {
1112
1114
  top?: React$1.ReactElement;