@algorithm-shift/design-system 1.3.126 → 1.3.128

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
@@ -197,7 +197,7 @@ interface PieChartProps extends ElementProps {
197
197
  legendPosition?: 'bottom' | 'right';
198
198
  apiUrl?: string;
199
199
  axiosInstance?: typeof axios;
200
- onLegendClick?: (payload: { name: string; value: number; [key: string]: any }) => void;
200
+ onLegendClick?: (payload: { name: string; value: number;[key: string]: any }) => void;
201
201
  }
202
202
 
203
203
  interface BarChartProps extends ElementProps {
@@ -214,7 +214,7 @@ interface BarChartProps extends ElementProps {
214
214
  axiosInstance?: typeof axios;
215
215
  source?: 'api' | 'static';
216
216
  showLegends?: boolean;
217
- onLegendClick?: (payload: { name: string; value: number; [key: string]: any }) => void;
217
+ onLegendClick?: (payload: { name: string; value: number;[key: string]: any }) => void;
218
218
  legendPosition?: 'bottom' | 'right';
219
219
  }
220
220
 
@@ -331,6 +331,12 @@ interface HistoryTimelineProps extends ElementProps {
331
331
  data?: Record<string, any>;
332
332
  }
333
333
 
334
+ interface AudioProps extends ElementProps {
335
+ src?: string;
336
+ data?: string;
337
+ value?: string;
338
+ }
339
+
334
340
  declare const Flex: ({ children, className, style, ...props }: ElementProps) => react_jsx_runtime.JSX.Element;
335
341
 
336
342
  declare const Grid: ({ children, className, style, ...props }: ElementProps) => react_jsx_runtime.JSX.Element;
@@ -407,6 +413,8 @@ interface IconProps extends React$1.HTMLAttributes<HTMLElement> {
407
413
  }
408
414
  declare function Icon(props: IconProps): react_jsx_runtime.JSX.Element | null;
409
415
 
416
+ declare const AudioWrapper: (props: AudioProps) => react_jsx_runtime.JSX.Element;
417
+
410
418
  declare const TextInput: ({ className, style, ...props }: TextInputProps) => react_jsx_runtime.JSX.Element;
411
419
 
412
420
  declare const NumberInput: ({ className, style, ...props }: NumberInputProps) => react_jsx_runtime.JSX.Element;
@@ -548,4 +556,4 @@ declare const Toaster: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Ele
548
556
  declare function cn(...inputs: ClassValue[]): string;
549
557
  declare function getInitials(name: string): string;
550
558
 
551
- export { Accordion, AccordionGroup, _default$1 as BarChart, Breadcrumb, ButtonWrapper as Button, ButtonGroup, CheckboxInput as Checkbox, Container, DateTimePicker as DatePicker, DateRange, Dropdown, EmailInput as Email, EmailComposer, FileInput, Flex as FlexLayout, Grid as GridLayout, HistoryTimeline, Icon, ImageControl as Image, Modal, MultiCheckbox, LazyMultiSelectDropdown as MultiSelect, Navbar, NumberInput, CustomPagination as Pagination, PasswordInput as Password, PhoneInput as Phone, _default as PieChart, RadioInput as RadioGroup, _default$2 as Repeater, RichText, SearchInput as Search, Shape, Slot, Spacer, StagesComponent as Stages, SwitchToggle, TabGroupComponent as TabGroup, TabList, Table, Tabs, TextInput as Text, TextInputGroup, Textarea, Toaster, Typography, UrlInput as URL, cn, getInitials, showConfirmToast, showSonnerToast };
559
+ export { Accordion, AccordionGroup, AudioWrapper as Audio, _default$1 as BarChart, Breadcrumb, ButtonWrapper as Button, ButtonGroup, CheckboxInput as Checkbox, Container, DateTimePicker as DatePicker, DateRange, Dropdown, EmailInput as Email, EmailComposer, FileInput, Flex as FlexLayout, Grid as GridLayout, HistoryTimeline, Icon, ImageControl as Image, Modal, MultiCheckbox, LazyMultiSelectDropdown as MultiSelect, Navbar, NumberInput, CustomPagination as Pagination, PasswordInput as Password, PhoneInput as Phone, _default as PieChart, RadioInput as RadioGroup, _default$2 as Repeater, RichText, SearchInput as Search, Shape, Slot, Spacer, StagesComponent as Stages, SwitchToggle, TabGroupComponent as TabGroup, TabList, Table, Tabs, TextInput as Text, TextInputGroup, Textarea, Toaster, Typography, UrlInput as URL, cn, getInitials, showConfirmToast, showSonnerToast };
package/dist/index.d.ts CHANGED
@@ -197,7 +197,7 @@ interface PieChartProps extends ElementProps {
197
197
  legendPosition?: 'bottom' | 'right';
198
198
  apiUrl?: string;
199
199
  axiosInstance?: typeof axios;
200
- onLegendClick?: (payload: { name: string; value: number; [key: string]: any }) => void;
200
+ onLegendClick?: (payload: { name: string; value: number;[key: string]: any }) => void;
201
201
  }
202
202
 
203
203
  interface BarChartProps extends ElementProps {
@@ -214,7 +214,7 @@ interface BarChartProps extends ElementProps {
214
214
  axiosInstance?: typeof axios;
215
215
  source?: 'api' | 'static';
216
216
  showLegends?: boolean;
217
- onLegendClick?: (payload: { name: string; value: number; [key: string]: any }) => void;
217
+ onLegendClick?: (payload: { name: string; value: number;[key: string]: any }) => void;
218
218
  legendPosition?: 'bottom' | 'right';
219
219
  }
220
220
 
@@ -331,6 +331,12 @@ interface HistoryTimelineProps extends ElementProps {
331
331
  data?: Record<string, any>;
332
332
  }
333
333
 
334
+ interface AudioProps extends ElementProps {
335
+ src?: string;
336
+ data?: string;
337
+ value?: string;
338
+ }
339
+
334
340
  declare const Flex: ({ children, className, style, ...props }: ElementProps) => react_jsx_runtime.JSX.Element;
335
341
 
336
342
  declare const Grid: ({ children, className, style, ...props }: ElementProps) => react_jsx_runtime.JSX.Element;
@@ -407,6 +413,8 @@ interface IconProps extends React$1.HTMLAttributes<HTMLElement> {
407
413
  }
408
414
  declare function Icon(props: IconProps): react_jsx_runtime.JSX.Element | null;
409
415
 
416
+ declare const AudioWrapper: (props: AudioProps) => react_jsx_runtime.JSX.Element;
417
+
410
418
  declare const TextInput: ({ className, style, ...props }: TextInputProps) => react_jsx_runtime.JSX.Element;
411
419
 
412
420
  declare const NumberInput: ({ className, style, ...props }: NumberInputProps) => react_jsx_runtime.JSX.Element;
@@ -548,4 +556,4 @@ declare const Toaster: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Ele
548
556
  declare function cn(...inputs: ClassValue[]): string;
549
557
  declare function getInitials(name: string): string;
550
558
 
551
- export { Accordion, AccordionGroup, _default$1 as BarChart, Breadcrumb, ButtonWrapper as Button, ButtonGroup, CheckboxInput as Checkbox, Container, DateTimePicker as DatePicker, DateRange, Dropdown, EmailInput as Email, EmailComposer, FileInput, Flex as FlexLayout, Grid as GridLayout, HistoryTimeline, Icon, ImageControl as Image, Modal, MultiCheckbox, LazyMultiSelectDropdown as MultiSelect, Navbar, NumberInput, CustomPagination as Pagination, PasswordInput as Password, PhoneInput as Phone, _default as PieChart, RadioInput as RadioGroup, _default$2 as Repeater, RichText, SearchInput as Search, Shape, Slot, Spacer, StagesComponent as Stages, SwitchToggle, TabGroupComponent as TabGroup, TabList, Table, Tabs, TextInput as Text, TextInputGroup, Textarea, Toaster, Typography, UrlInput as URL, cn, getInitials, showConfirmToast, showSonnerToast };
559
+ export { Accordion, AccordionGroup, AudioWrapper as Audio, _default$1 as BarChart, Breadcrumb, ButtonWrapper as Button, ButtonGroup, CheckboxInput as Checkbox, Container, DateTimePicker as DatePicker, DateRange, Dropdown, EmailInput as Email, EmailComposer, FileInput, Flex as FlexLayout, Grid as GridLayout, HistoryTimeline, Icon, ImageControl as Image, Modal, MultiCheckbox, LazyMultiSelectDropdown as MultiSelect, Navbar, NumberInput, CustomPagination as Pagination, PasswordInput as Password, PhoneInput as Phone, _default as PieChart, RadioInput as RadioGroup, _default$2 as Repeater, RichText, SearchInput as Search, Shape, Slot, Spacer, StagesComponent as Stages, SwitchToggle, TabGroupComponent as TabGroup, TabList, Table, Tabs, TextInput as Text, TextInputGroup, Textarea, Toaster, Typography, UrlInput as URL, cn, getInitials, showConfirmToast, showSonnerToast };