@boxcustodia/library 2.0.0-alpha.15 → 2.0.0-alpha.17
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.js +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.es.js +513 -511
- package/package.json +1 -1
- package/src/components/menu/menu.tsx +4 -4
- package/src/components/tag/tag.stories.tsx +8 -7
- package/src/components/tag/tag.tsx +4 -0
package/dist/index.d.ts
CHANGED
|
@@ -1279,7 +1279,7 @@ declare type MenuItemCheckbox = {
|
|
|
1279
1279
|
type: "checkbox";
|
|
1280
1280
|
label: React_2.ReactNode;
|
|
1281
1281
|
shortcut?: string;
|
|
1282
|
-
} & Omit<React_2.ComponentProps<typeof MenuCheckboxItem>, "children">;
|
|
1282
|
+
} & Omit<React_2.ComponentProps<typeof MenuCheckboxItem>, "children" | "label">;
|
|
1283
1283
|
|
|
1284
1284
|
declare type MenuItemGroup = {
|
|
1285
1285
|
type: "group";
|
|
@@ -1291,7 +1291,7 @@ declare type MenuItemItem = {
|
|
|
1291
1291
|
type: "item";
|
|
1292
1292
|
label: React_2.ReactNode;
|
|
1293
1293
|
shortcut?: string;
|
|
1294
|
-
} & Omit<React_2.ComponentProps<typeof MenuItem>, "children">;
|
|
1294
|
+
} & Omit<React_2.ComponentProps<typeof MenuItem>, "children" | "label">;
|
|
1295
1295
|
|
|
1296
1296
|
declare type MenuItemLabel = {
|
|
1297
1297
|
type: "label";
|
|
@@ -1302,7 +1302,7 @@ declare type MenuItemRadio = {
|
|
|
1302
1302
|
type: "radio";
|
|
1303
1303
|
label: React_2.ReactNode;
|
|
1304
1304
|
shortcut?: string;
|
|
1305
|
-
} & Omit<React_2.ComponentProps<typeof MenuRadioItem>, "children">;
|
|
1305
|
+
} & Omit<React_2.ComponentProps<typeof MenuRadioItem>, "children" | "label">;
|
|
1306
1306
|
|
|
1307
1307
|
declare type MenuItemRadioGroup = {
|
|
1308
1308
|
type: "radio-group";
|
|
@@ -1319,7 +1319,7 @@ declare type MenuItemSubmenu = {
|
|
|
1319
1319
|
type: "submenu";
|
|
1320
1320
|
label: React_2.ReactNode;
|
|
1321
1321
|
items: MenuItemType[];
|
|
1322
|
-
} & Omit<React_2.ComponentProps<typeof MenuSubTrigger>, "children">;
|
|
1322
|
+
} & Omit<React_2.ComponentProps<typeof MenuSubTrigger>, "children" | "label">;
|
|
1323
1323
|
|
|
1324
1324
|
export declare type MenuItemType = MenuItemItem | MenuItemCheckbox | MenuItemRadio | MenuItemRadioGroup | MenuItemLabel | MenuItemSeparator | MenuItemGroup | MenuItemSubmenu;
|
|
1325
1325
|
|
|
@@ -2145,7 +2145,7 @@ export declare type TabsVariant = "underline" | "background";
|
|
|
2145
2145
|
export declare function Tag({ className, variant, render, ...props }: useRender.ComponentProps<"span"> & VariantProps<typeof tagVariants>): ReactElement<unknown, string | JSXElementConstructor<any>>;
|
|
2146
2146
|
|
|
2147
2147
|
export declare const tagVariants: (props?: ({
|
|
2148
|
-
variant?: "default" | "link" | "outline" | "secondary" | "ghost" | "error" | null | undefined;
|
|
2148
|
+
variant?: "default" | "link" | "outline" | "secondary" | "ghost" | "error" | "success" | "warning" | null | undefined;
|
|
2149
2149
|
} & ClassProp) | undefined) => string;
|
|
2150
2150
|
|
|
2151
2151
|
export declare function Textarea({ className, onValueChange, ...props }: TextareaProps): ReactElement;
|