@algorithm-shift/design-system 1.2.71 → 1.2.72
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.css +118 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +10 -5
- package/dist/index.d.ts +10 -5
- package/dist/index.js +400 -162
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +396 -158
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -1
package/dist/index.d.mts
CHANGED
|
@@ -4,7 +4,7 @@ import { ToasterProps } from 'sonner';
|
|
|
4
4
|
import { ClassValue } from 'clsx';
|
|
5
5
|
|
|
6
6
|
interface ModalProps {
|
|
7
|
-
isOpen: boolean;
|
|
7
|
+
isOpen: boolean | string;
|
|
8
8
|
onModalClose?: () => void;
|
|
9
9
|
title: string;
|
|
10
10
|
children: React$1.ReactNode;
|
|
@@ -124,12 +124,14 @@ interface TabsProps extends ElementProps {
|
|
|
124
124
|
pathname?: string;
|
|
125
125
|
verticalMenu?: boolean;
|
|
126
126
|
canvasMode?: 'desktop' | 'tablet' | 'mobile';
|
|
127
|
+
isBuilder?: boolean;
|
|
127
128
|
}
|
|
128
129
|
|
|
129
130
|
interface StagesProps extends ElementProps {
|
|
130
131
|
stages?: Record<string, any>;
|
|
131
132
|
isShowBtn?: boolean;
|
|
132
133
|
buttonText?: string;
|
|
134
|
+
onStageChange?: (stageId: string) => void;
|
|
133
135
|
}
|
|
134
136
|
|
|
135
137
|
type ButtonProps = ElementProps & React.ComponentProps<"button"> & {
|
|
@@ -186,6 +188,9 @@ interface NavbarProps extends ElementProps {
|
|
|
186
188
|
list?: Record<string, any>;
|
|
187
189
|
profileMenu?: Record<string, any>;
|
|
188
190
|
userName?: string;
|
|
191
|
+
isBuilder?: boolean;
|
|
192
|
+
source?: string;
|
|
193
|
+
navList?: Record<string, any>;
|
|
189
194
|
}
|
|
190
195
|
|
|
191
196
|
interface BreadcrumbProps extends ElementProps {
|
|
@@ -317,17 +322,17 @@ declare const Table: ({ columns, data, rowActions, className, style, pagination,
|
|
|
317
322
|
|
|
318
323
|
declare const CustomPagination: ({ totalPages, currentPage, onPageChange, maxVisiblePages, perPage, }: CustomPaginationProps) => react_jsx_runtime.JSX.Element;
|
|
319
324
|
|
|
320
|
-
declare const Tabs: ({ className, style, tabs, verticalMenu, pathname, canvasMode }: TabsProps) => react_jsx_runtime.JSX.Element;
|
|
325
|
+
declare const Tabs: ({ className, style, tabs, verticalMenu, pathname, canvasMode, isBuilder }: TabsProps) => react_jsx_runtime.JSX.Element;
|
|
321
326
|
|
|
322
|
-
declare const StagesComponent: ({ stages, isShowBtn, buttonText, className, style }: StagesProps) => react_jsx_runtime.JSX.Element;
|
|
327
|
+
declare const StagesComponent: ({ stages, isShowBtn, buttonText, className, style, onStageChange }: StagesProps) => react_jsx_runtime.JSX.Element;
|
|
323
328
|
|
|
324
329
|
declare const Spacer: ({ className, style }: ElementProps) => react_jsx_runtime.JSX.Element;
|
|
325
330
|
|
|
326
|
-
declare function Navbar({ style, badgeType, badgeCount, hideBadgeWhenZero, profileType, showName, imageUrl, altText, canvasMode, list, profileMenu, userName }: NavbarProps): react_jsx_runtime.JSX.Element;
|
|
331
|
+
declare function Navbar({ style, badgeType, badgeCount, hideBadgeWhenZero, profileType, showName, imageUrl, altText, canvasMode, list, profileMenu, userName, isBuilder, source, navList }: NavbarProps): react_jsx_runtime.JSX.Element;
|
|
327
332
|
|
|
328
333
|
declare const _default$1: React$1.MemoExoticComponent<({ className, style, loading, ...props }: BarChartProps) => react_jsx_runtime.JSX.Element>;
|
|
329
334
|
|
|
330
|
-
declare const _default: React$1.MemoExoticComponent<({ className, style, loading, ...props }: PieChartProps) => react_jsx_runtime.JSX.Element>;
|
|
335
|
+
declare const _default: React$1.MemoExoticComponent<({ className, style, loading, ...props }: PieChartProps) => react_jsx_runtime.JSX.Element | null>;
|
|
331
336
|
|
|
332
337
|
declare function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc, setShowBcc, cc, setCc, bcc, setBcc, subject, setSubject, body, setBody }: EmailComposerProps): react_jsx_runtime.JSX.Element;
|
|
333
338
|
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { ToasterProps } from 'sonner';
|
|
|
4
4
|
import { ClassValue } from 'clsx';
|
|
5
5
|
|
|
6
6
|
interface ModalProps {
|
|
7
|
-
isOpen: boolean;
|
|
7
|
+
isOpen: boolean | string;
|
|
8
8
|
onModalClose?: () => void;
|
|
9
9
|
title: string;
|
|
10
10
|
children: React$1.ReactNode;
|
|
@@ -124,12 +124,14 @@ interface TabsProps extends ElementProps {
|
|
|
124
124
|
pathname?: string;
|
|
125
125
|
verticalMenu?: boolean;
|
|
126
126
|
canvasMode?: 'desktop' | 'tablet' | 'mobile';
|
|
127
|
+
isBuilder?: boolean;
|
|
127
128
|
}
|
|
128
129
|
|
|
129
130
|
interface StagesProps extends ElementProps {
|
|
130
131
|
stages?: Record<string, any>;
|
|
131
132
|
isShowBtn?: boolean;
|
|
132
133
|
buttonText?: string;
|
|
134
|
+
onStageChange?: (stageId: string) => void;
|
|
133
135
|
}
|
|
134
136
|
|
|
135
137
|
type ButtonProps = ElementProps & React.ComponentProps<"button"> & {
|
|
@@ -186,6 +188,9 @@ interface NavbarProps extends ElementProps {
|
|
|
186
188
|
list?: Record<string, any>;
|
|
187
189
|
profileMenu?: Record<string, any>;
|
|
188
190
|
userName?: string;
|
|
191
|
+
isBuilder?: boolean;
|
|
192
|
+
source?: string;
|
|
193
|
+
navList?: Record<string, any>;
|
|
189
194
|
}
|
|
190
195
|
|
|
191
196
|
interface BreadcrumbProps extends ElementProps {
|
|
@@ -317,17 +322,17 @@ declare const Table: ({ columns, data, rowActions, className, style, pagination,
|
|
|
317
322
|
|
|
318
323
|
declare const CustomPagination: ({ totalPages, currentPage, onPageChange, maxVisiblePages, perPage, }: CustomPaginationProps) => react_jsx_runtime.JSX.Element;
|
|
319
324
|
|
|
320
|
-
declare const Tabs: ({ className, style, tabs, verticalMenu, pathname, canvasMode }: TabsProps) => react_jsx_runtime.JSX.Element;
|
|
325
|
+
declare const Tabs: ({ className, style, tabs, verticalMenu, pathname, canvasMode, isBuilder }: TabsProps) => react_jsx_runtime.JSX.Element;
|
|
321
326
|
|
|
322
|
-
declare const StagesComponent: ({ stages, isShowBtn, buttonText, className, style }: StagesProps) => react_jsx_runtime.JSX.Element;
|
|
327
|
+
declare const StagesComponent: ({ stages, isShowBtn, buttonText, className, style, onStageChange }: StagesProps) => react_jsx_runtime.JSX.Element;
|
|
323
328
|
|
|
324
329
|
declare const Spacer: ({ className, style }: ElementProps) => react_jsx_runtime.JSX.Element;
|
|
325
330
|
|
|
326
|
-
declare function Navbar({ style, badgeType, badgeCount, hideBadgeWhenZero, profileType, showName, imageUrl, altText, canvasMode, list, profileMenu, userName }: NavbarProps): react_jsx_runtime.JSX.Element;
|
|
331
|
+
declare function Navbar({ style, badgeType, badgeCount, hideBadgeWhenZero, profileType, showName, imageUrl, altText, canvasMode, list, profileMenu, userName, isBuilder, source, navList }: NavbarProps): react_jsx_runtime.JSX.Element;
|
|
327
332
|
|
|
328
333
|
declare const _default$1: React$1.MemoExoticComponent<({ className, style, loading, ...props }: BarChartProps) => react_jsx_runtime.JSX.Element>;
|
|
329
334
|
|
|
330
|
-
declare const _default: React$1.MemoExoticComponent<({ className, style, loading, ...props }: PieChartProps) => react_jsx_runtime.JSX.Element>;
|
|
335
|
+
declare const _default: React$1.MemoExoticComponent<({ className, style, loading, ...props }: PieChartProps) => react_jsx_runtime.JSX.Element | null>;
|
|
331
336
|
|
|
332
337
|
declare function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc, setShowBcc, cc, setCc, bcc, setBcc, subject, setSubject, body, setBody }: EmailComposerProps): react_jsx_runtime.JSX.Element;
|
|
333
338
|
|