@algorithm-shift/design-system 1.2.79 → 1.2.80

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.d.mts CHANGED
@@ -51,7 +51,7 @@ type InputProperties = {
51
51
 
52
52
  type InputSourceProperties = {
53
53
  dataLoading?: boolean;
54
- data?: Record<string, any>[];
54
+ data?: Record<string, any>[] | any[];
55
55
  dataKey?: string;
56
56
  dataLabel?: string;
57
57
  }
@@ -85,6 +85,10 @@ interface RichTextInputProps extends ElementProps, InputProperties {
85
85
  onChange?: (value: string) => void;
86
86
  }
87
87
  interface SelectDropdownInputProps extends ElementProps, InputProperties, InputSourceProperties {
88
+ source?: string;
89
+ lazyLoad?: boolean;
90
+ apiUrl?: string;
91
+ pageSize?: number;
88
92
  value?: string | any;
89
93
  onChange?: (value: string) => void;
90
94
  }
@@ -253,7 +257,7 @@ interface RepeaterProps<T> {
253
257
  wrapper?: (children: React__default.ReactNode) => React__default.ReactNode;
254
258
  className?: string;
255
259
  }
256
- declare function Repeater<T>({ items, count, render, emptyFallback, wrapper, className, }: RepeaterProps<T>): react_jsx_runtime.JSX.Element | null;
260
+ declare function Repeater<T>({ items, count, render, emptyFallback, wrapper, className, }: RepeaterProps<T>): react_jsx_runtime.JSX.Element;
257
261
  declare const _default$2: typeof Repeater;
258
262
 
259
263
  declare const ButtonWrapper: ({ className, style, textContent, loadingText, loading, ...props }: ButtonProps) => react_jsx_runtime.JSX.Element;
package/dist/index.d.ts CHANGED
@@ -51,7 +51,7 @@ type InputProperties = {
51
51
 
52
52
  type InputSourceProperties = {
53
53
  dataLoading?: boolean;
54
- data?: Record<string, any>[];
54
+ data?: Record<string, any>[] | any[];
55
55
  dataKey?: string;
56
56
  dataLabel?: string;
57
57
  }
@@ -85,6 +85,10 @@ interface RichTextInputProps extends ElementProps, InputProperties {
85
85
  onChange?: (value: string) => void;
86
86
  }
87
87
  interface SelectDropdownInputProps extends ElementProps, InputProperties, InputSourceProperties {
88
+ source?: string;
89
+ lazyLoad?: boolean;
90
+ apiUrl?: string;
91
+ pageSize?: number;
88
92
  value?: string | any;
89
93
  onChange?: (value: string) => void;
90
94
  }
@@ -253,7 +257,7 @@ interface RepeaterProps<T> {
253
257
  wrapper?: (children: React__default.ReactNode) => React__default.ReactNode;
254
258
  className?: string;
255
259
  }
256
- declare function Repeater<T>({ items, count, render, emptyFallback, wrapper, className, }: RepeaterProps<T>): react_jsx_runtime.JSX.Element | null;
260
+ declare function Repeater<T>({ items, count, render, emptyFallback, wrapper, className, }: RepeaterProps<T>): react_jsx_runtime.JSX.Element;
257
261
  declare const _default$2: typeof Repeater;
258
262
 
259
263
  declare const ButtonWrapper: ({ className, style, textContent, loadingText, loading, ...props }: ButtonProps) => react_jsx_runtime.JSX.Element;