@mesh.ai/rabbit 1.6.0 → 1.7.1
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/@mesh.ai/rabbit.es.js +6822 -6490
- package/dist/@mesh.ai/rabbit.umd.js +22 -22
- package/dist/index.d.ts +63 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -284,6 +284,11 @@ declare interface AxisSymbolType_2 {
|
|
|
284
284
|
position: 'pre' | 'post';
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
+
declare interface AxisSymbolType_3 {
|
|
288
|
+
symbol: string;
|
|
289
|
+
position: 'pre' | 'post';
|
|
290
|
+
}
|
|
291
|
+
|
|
287
292
|
declare type Boundary = Element | null;
|
|
288
293
|
|
|
289
294
|
export declare const Button: ForwardRefExoticComponent<ButtonProps & RefAttributes<HTMLButtonElement>>;
|
|
@@ -944,6 +949,8 @@ declare type FocusScopeProps_3 = Radix.ComponentPropsWithoutRef<typeof FocusScop
|
|
|
944
949
|
|
|
945
950
|
export declare const getInitialsFromName: (userName: string) => string;
|
|
946
951
|
|
|
952
|
+
export declare function Goal(props: SVGProps<SVGSVGElement>): JSX_2.Element;
|
|
953
|
+
|
|
947
954
|
declare type GoalProgress = 'ON_TRACK' | 'OFF_TRACK' | 'AT_RISK' | 'NOT_STARTED' | 'CLOSED';
|
|
948
955
|
|
|
949
956
|
export declare function GoalsNudgeData({ title, achieved, status }: GoalsNudgeDataProps): JSX_2.Element;
|
|
@@ -1482,6 +1489,8 @@ export declare interface MetricTextType extends HTMLAttributes<HTMLDivElement> {
|
|
|
1482
1489
|
type?: 'default' | 'success' | 'warning';
|
|
1483
1490
|
}
|
|
1484
1491
|
|
|
1492
|
+
export declare function MyOneOnOne(props: SVGProps<SVGSVGElement>): JSX_2.Element;
|
|
1493
|
+
|
|
1485
1494
|
declare const navbarVariants: (props?: ({
|
|
1486
1495
|
variant?: "default" | null | undefined;
|
|
1487
1496
|
defaultVariant?: "variant" | null | undefined;
|
|
@@ -1605,6 +1614,11 @@ declare interface Node_3 {
|
|
|
1605
1614
|
group: number;
|
|
1606
1615
|
}
|
|
1607
1616
|
|
|
1617
|
+
declare interface Node_4 {
|
|
1618
|
+
id: string;
|
|
1619
|
+
name: string;
|
|
1620
|
+
}
|
|
1621
|
+
|
|
1608
1622
|
declare const NODES: readonly ["a", "button", "div", "form", "h2", "h3", "img", "input", "label", "li", "nav", "ol", "p", "span", "svg", "ul"];
|
|
1609
1623
|
|
|
1610
1624
|
export declare function NudgeAction({ className, orientation, ...buttonProps }: NudgeActionProps): JSX_2.Element;
|
|
@@ -1878,6 +1892,51 @@ declare type PropsWithoutRef<P> = P extends any ? ('ref' extends keyof P ? Pick<
|
|
|
1878
1892
|
|
|
1879
1893
|
declare const Provider: React_2.FC<TooltipProviderProps>;
|
|
1880
1894
|
|
|
1895
|
+
export declare const RadarChart: ForwardRefExoticComponent<Omit<RadarChartProps, "width" | "height"> & RefAttributes<DownloadRef>>;
|
|
1896
|
+
|
|
1897
|
+
declare interface RadarChartDataType {
|
|
1898
|
+
x: string;
|
|
1899
|
+
y: number | null;
|
|
1900
|
+
nodeId: string;
|
|
1901
|
+
color: ChartColorsType;
|
|
1902
|
+
}
|
|
1903
|
+
|
|
1904
|
+
declare interface RadarChartProps {
|
|
1905
|
+
/** the maximum number of characters to show in a x-axis label */
|
|
1906
|
+
xAxisCharLimit?: number;
|
|
1907
|
+
/** Height of the chart in pixels */
|
|
1908
|
+
height: number;
|
|
1909
|
+
/** Width of the chart in pixels */
|
|
1910
|
+
width: number;
|
|
1911
|
+
/** Symbol to appended before or after the ticks in xAxis */
|
|
1912
|
+
xAxisUnitSymbol?: AxisSymbolType_3;
|
|
1913
|
+
/** Name of the label to be displayed on X-Axis of the radar chart */
|
|
1914
|
+
xAxisLabel: string;
|
|
1915
|
+
/** Name of the label to be displayed on Y-Axis of the radar chart */
|
|
1916
|
+
yAxisLabel: string;
|
|
1917
|
+
/** Values for the x-Axis of the radar chart */
|
|
1918
|
+
xAxisValues: string[];
|
|
1919
|
+
/** Data that corresponds to each node in the chart. These will generally contain info to be shown on the tooltip. */
|
|
1920
|
+
nodes: Node_4[];
|
|
1921
|
+
/** Data that corresponds to each radar in the chart. Each item in the array corresponds to a radar on the chart */
|
|
1922
|
+
series: {
|
|
1923
|
+
/** Id of the matching node. This will be used to fetch tooltip details for the radar */
|
|
1924
|
+
id: string;
|
|
1925
|
+
/** Data with respect to y-Axis. This should be in the same order as xAxis values giving rise to [x,y] pairs. */
|
|
1926
|
+
data: RadarChartDataType['y'][];
|
|
1927
|
+
}[];
|
|
1928
|
+
/** Title name for the tooltip of the chart */
|
|
1929
|
+
tooltipTitle: string;
|
|
1930
|
+
/** Number of characters post which the data in tooltip will be stacked instead of side-by-side */
|
|
1931
|
+
tooltipStackCharLimit?: number;
|
|
1932
|
+
/** Domain of y-Axis - The start and end of values for yAxis */
|
|
1933
|
+
yAxisDomain?: [number, number];
|
|
1934
|
+
/** Should a radar connect if there are missing values */
|
|
1935
|
+
connectNulls?: boolean;
|
|
1936
|
+
/** Number of levels the radar needs to be divided */
|
|
1937
|
+
levels?: number;
|
|
1938
|
+
}
|
|
1939
|
+
|
|
1881
1940
|
declare const RadioGroup: React_2.ForwardRefExoticComponent<MenuRadioGroupProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1882
1941
|
|
|
1883
1942
|
declare const RadioGroup_2: React_2.ForwardRefExoticComponent<DropdownMenuRadioGroupProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -1930,6 +1989,8 @@ export declare interface RequestedFeedbackNudgeDataProps {
|
|
|
1930
1989
|
requestReason: string;
|
|
1931
1990
|
}
|
|
1932
1991
|
|
|
1992
|
+
export declare function RequestFeedback(props: SVGProps<SVGSVGElement>): JSX_2.Element;
|
|
1993
|
+
|
|
1933
1994
|
export declare function ReviewsNudgeData({ employeeName, employeeProfilePhoto, reviewCycleName, reviewType, dueBy, }: ReviewsNudgeDataProps): JSX_2.Element;
|
|
1934
1995
|
|
|
1935
1996
|
export declare interface ReviewsNudgeDataProps {
|
|
@@ -2286,6 +2347,8 @@ declare const Separator_2: React_2.ForwardRefExoticComponent<DropdownMenuSeparat
|
|
|
2286
2347
|
|
|
2287
2348
|
declare const Separator_3: React_2.ForwardRefExoticComponent<SelectSeparatorProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2288
2349
|
|
|
2350
|
+
export declare function ShareFeedback(props: SVGProps<SVGSVGElement>): JSX_2.Element;
|
|
2351
|
+
|
|
2289
2352
|
export declare function SharePraiseNudgeData({ employeeName, employeeProfilePhoto, designation }: SharePraiseNudgeDataProps): JSX_2.Element;
|
|
2290
2353
|
|
|
2291
2354
|
export declare interface SharePraiseNudgeDataProps {
|