myshell-react-lib 0.2.30 → 0.2.32
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.cjs +568 -545
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -2
- package/dist/index.d.ts +6 -2
- package/dist/index.js +533 -510
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -43,7 +43,7 @@ import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
|
43
43
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
44
44
|
import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
45
45
|
|
|
46
|
-
declare const Accordion: React$1.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React$1.RefAttributes<HTMLDivElement>>;
|
|
46
|
+
declare const Accordion: React$1.ForwardRefExoticComponent<(Omit<AccordionPrimitive.AccordionSingleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> | Omit<AccordionPrimitive.AccordionMultipleProps & React$1.RefAttributes<HTMLDivElement>, "ref">) & React$1.RefAttributes<HTMLDivElement>>;
|
|
47
47
|
type AccordionItemProps = React$1.ComponentPropsWithoutRef<typeof AccordionPrimitive.Item> & {
|
|
48
48
|
count?: number;
|
|
49
49
|
label?: string;
|
|
@@ -1279,6 +1279,7 @@ type TItems = {
|
|
|
1279
1279
|
hasUnRead?: boolean;
|
|
1280
1280
|
children?: string | React$1.ReactNode;
|
|
1281
1281
|
className?: string;
|
|
1282
|
+
forceMount?: boolean;
|
|
1282
1283
|
onClickCallback?: (value: string) => void;
|
|
1283
1284
|
};
|
|
1284
1285
|
declare const Tabs: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
@@ -1294,7 +1295,10 @@ declare const Tabs: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsPro
|
|
|
1294
1295
|
contentClassName?: string;
|
|
1295
1296
|
contentBoxClassName?: string;
|
|
1296
1297
|
items?: TItems[];
|
|
1297
|
-
|
|
1298
|
+
tabBarExtraContent?: {
|
|
1299
|
+
left?: React$1.ReactNode;
|
|
1300
|
+
right?: React$1.ReactNode;
|
|
1301
|
+
};
|
|
1298
1302
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1299
1303
|
declare const Tab: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
1300
1304
|
variant?: "button" | "underline" | "icon";
|
package/dist/index.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
|
43
43
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
44
44
|
import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
45
45
|
|
|
46
|
-
declare const Accordion: React$1.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React$1.RefAttributes<HTMLDivElement>>;
|
|
46
|
+
declare const Accordion: React$1.ForwardRefExoticComponent<(Omit<AccordionPrimitive.AccordionSingleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> | Omit<AccordionPrimitive.AccordionMultipleProps & React$1.RefAttributes<HTMLDivElement>, "ref">) & React$1.RefAttributes<HTMLDivElement>>;
|
|
47
47
|
type AccordionItemProps = React$1.ComponentPropsWithoutRef<typeof AccordionPrimitive.Item> & {
|
|
48
48
|
count?: number;
|
|
49
49
|
label?: string;
|
|
@@ -1279,6 +1279,7 @@ type TItems = {
|
|
|
1279
1279
|
hasUnRead?: boolean;
|
|
1280
1280
|
children?: string | React$1.ReactNode;
|
|
1281
1281
|
className?: string;
|
|
1282
|
+
forceMount?: boolean;
|
|
1282
1283
|
onClickCallback?: (value: string) => void;
|
|
1283
1284
|
};
|
|
1284
1285
|
declare const Tabs: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
@@ -1294,7 +1295,10 @@ declare const Tabs: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsPro
|
|
|
1294
1295
|
contentClassName?: string;
|
|
1295
1296
|
contentBoxClassName?: string;
|
|
1296
1297
|
items?: TItems[];
|
|
1297
|
-
|
|
1298
|
+
tabBarExtraContent?: {
|
|
1299
|
+
left?: React$1.ReactNode;
|
|
1300
|
+
right?: React$1.ReactNode;
|
|
1301
|
+
};
|
|
1298
1302
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1299
1303
|
declare const Tab: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
1300
1304
|
variant?: "button" | "underline" | "icon";
|