@algorithm-shift/design-system 1.2.978 → 1.2.980

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
@@ -180,6 +180,7 @@ interface PieChartProps extends ElementProps {
180
180
  dataKey?: string;
181
181
  dataLabel?: string;
182
182
  apiUrl?: string;
183
+ axiosInstance?: typeof axios;
183
184
  }
184
185
 
185
186
  interface BarChartProps extends ElementProps {
@@ -193,6 +194,7 @@ interface BarChartProps extends ElementProps {
193
194
  isPaginationEnabled?: boolean;
194
195
  limit?: number;
195
196
  apiUrl?: string;
197
+ axiosInstance?: typeof axios;
196
198
  }
197
199
 
198
200
  interface EmailComposerProps extends ElementProps {
@@ -257,6 +259,16 @@ interface TabGroupProps extends ElementProps {
257
259
  list?: Record<string, any>;
258
260
  activeTab?: string;
259
261
  onTabChange?: (tabId: string) => void;
262
+ }
263
+
264
+ interface HistoryTimelineProps extends ElementProps {
265
+ title?: string;
266
+ className?: string;
267
+ loading?: boolean;
268
+ titleKey?: string;
269
+ descriptionKey?: string;
270
+ createdAtKey?: string;
271
+ data?: Record<string, any>;
260
272
  }
261
273
 
262
274
  declare const Flex: ({ children, className, style, ...props }: ElementProps) => react_jsx_runtime.JSX.Element;
@@ -405,6 +417,8 @@ declare const Table: ({ columns, data, rowActions, className, style, pagination,
405
417
 
406
418
  declare const CustomPagination: ({ totalPages, currentPage, onPageChange, maxVisiblePages, perPage, }: CustomPaginationProps) => react_jsx_runtime.JSX.Element;
407
419
 
420
+ declare const HistoryTimeline: ({ title, className, loading, titleKey, descriptionKey, createdAtKey, ...props }: HistoryTimelineProps) => react_jsx_runtime.JSX.Element;
421
+
408
422
  declare const Tabs: ({ className, style, tabs, verticalMenu, pathname, canvasMode, isBuilder, source, parentKey, menuNameKey, menuUrlKey, loading, bgActiveColor, textActiveColor }: TabsProps) => react_jsx_runtime.JSX.Element;
409
423
 
410
424
  declare const StagesComponent: ({ stages, isShowBtn, buttonText, className, style, onStageChange, currentStage, dataKey, dataLabel, loading, saving, triggerOnClick, canvasMode }: StagesProps) => react_jsx_runtime.JSX.Element;
@@ -435,4 +449,4 @@ declare const Toaster: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Ele
435
449
  declare function cn(...inputs: ClassValue[]): string;
436
450
  declare function getInitials(name: string): string;
437
451
 
438
- export { Accordion, AccordionGroup, _default$1 as BarChart, Breadcrumb, ButtonWrapper as Button, SplitButton as ButtonGroup, CheckboxInput as Checkbox, Container, DateTimePicker as DatePicker, DateRange, Dropdown, EmailInput as Email, EmailComposer, FileInput, Flex as FlexLayout, Grid as GridLayout, 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, showSonnerToast };
452
+ export { Accordion, AccordionGroup, _default$1 as BarChart, Breadcrumb, ButtonWrapper as Button, SplitButton as 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, showSonnerToast };
package/dist/index.d.ts CHANGED
@@ -180,6 +180,7 @@ interface PieChartProps extends ElementProps {
180
180
  dataKey?: string;
181
181
  dataLabel?: string;
182
182
  apiUrl?: string;
183
+ axiosInstance?: typeof axios;
183
184
  }
184
185
 
185
186
  interface BarChartProps extends ElementProps {
@@ -193,6 +194,7 @@ interface BarChartProps extends ElementProps {
193
194
  isPaginationEnabled?: boolean;
194
195
  limit?: number;
195
196
  apiUrl?: string;
197
+ axiosInstance?: typeof axios;
196
198
  }
197
199
 
198
200
  interface EmailComposerProps extends ElementProps {
@@ -257,6 +259,16 @@ interface TabGroupProps extends ElementProps {
257
259
  list?: Record<string, any>;
258
260
  activeTab?: string;
259
261
  onTabChange?: (tabId: string) => void;
262
+ }
263
+
264
+ interface HistoryTimelineProps extends ElementProps {
265
+ title?: string;
266
+ className?: string;
267
+ loading?: boolean;
268
+ titleKey?: string;
269
+ descriptionKey?: string;
270
+ createdAtKey?: string;
271
+ data?: Record<string, any>;
260
272
  }
261
273
 
262
274
  declare const Flex: ({ children, className, style, ...props }: ElementProps) => react_jsx_runtime.JSX.Element;
@@ -405,6 +417,8 @@ declare const Table: ({ columns, data, rowActions, className, style, pagination,
405
417
 
406
418
  declare const CustomPagination: ({ totalPages, currentPage, onPageChange, maxVisiblePages, perPage, }: CustomPaginationProps) => react_jsx_runtime.JSX.Element;
407
419
 
420
+ declare const HistoryTimeline: ({ title, className, loading, titleKey, descriptionKey, createdAtKey, ...props }: HistoryTimelineProps) => react_jsx_runtime.JSX.Element;
421
+
408
422
  declare const Tabs: ({ className, style, tabs, verticalMenu, pathname, canvasMode, isBuilder, source, parentKey, menuNameKey, menuUrlKey, loading, bgActiveColor, textActiveColor }: TabsProps) => react_jsx_runtime.JSX.Element;
409
423
 
410
424
  declare const StagesComponent: ({ stages, isShowBtn, buttonText, className, style, onStageChange, currentStage, dataKey, dataLabel, loading, saving, triggerOnClick, canvasMode }: StagesProps) => react_jsx_runtime.JSX.Element;
@@ -435,4 +449,4 @@ declare const Toaster: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Ele
435
449
  declare function cn(...inputs: ClassValue[]): string;
436
450
  declare function getInitials(name: string): string;
437
451
 
438
- export { Accordion, AccordionGroup, _default$1 as BarChart, Breadcrumb, ButtonWrapper as Button, SplitButton as ButtonGroup, CheckboxInput as Checkbox, Container, DateTimePicker as DatePicker, DateRange, Dropdown, EmailInput as Email, EmailComposer, FileInput, Flex as FlexLayout, Grid as GridLayout, 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, showSonnerToast };
452
+ export { Accordion, AccordionGroup, _default$1 as BarChart, Breadcrumb, ButtonWrapper as Button, SplitButton as 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, showSonnerToast };