quirk-ui 0.0.430 → 0.0.432
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/core.d.ts +2 -2
- package/dist/main.d.ts +2 -2
- package/package.json +1 -1
package/dist/core.d.ts
CHANGED
|
@@ -859,7 +859,7 @@ declare type MultiSelectProps = {
|
|
|
859
859
|
export declare function Navbar({ renderText, title, logo, items, groups, utilityItems, isSticky, showSearch, showLocaleSelect, alignment, variant, navigationType, searchComponent, localeSelectComponent, className, }: NavbarProps): JSX.Element;
|
|
860
860
|
|
|
861
861
|
declare type NavbarProps = {
|
|
862
|
-
renderText?: (content: unknown) => default_2.ReactNode;
|
|
862
|
+
renderText?: (content: RichContent | string | unknown) => default_2.ReactNode;
|
|
863
863
|
title?: string;
|
|
864
864
|
logo?: default_2.ReactNode;
|
|
865
865
|
items?: NavItem[];
|
|
@@ -1006,7 +1006,7 @@ declare type RangeProps = {
|
|
|
1006
1006
|
tooltip?: string;
|
|
1007
1007
|
} & Omit<default_2.InputHTMLAttributes<HTMLInputElement>, "onChange">;
|
|
1008
1008
|
|
|
1009
|
-
declare type RichContent = string | {
|
|
1009
|
+
export declare type RichContent = string | {
|
|
1010
1010
|
type: "markdown";
|
|
1011
1011
|
content: string;
|
|
1012
1012
|
} | {
|
package/dist/main.d.ts
CHANGED
|
@@ -1254,7 +1254,7 @@ declare type MultiSelectProps = {
|
|
|
1254
1254
|
export declare function Navbar({ renderText, title, logo, items, groups, utilityItems, isSticky, showSearch, showLocaleSelect, alignment, variant, navigationType, searchComponent, localeSelectComponent, className, }: NavbarProps): JSX.Element;
|
|
1255
1255
|
|
|
1256
1256
|
declare type NavbarProps = {
|
|
1257
|
-
renderText?: (content: unknown) => default_2.ReactNode;
|
|
1257
|
+
renderText?: (content: RichContent | string | unknown) => default_2.ReactNode;
|
|
1258
1258
|
title?: string;
|
|
1259
1259
|
logo?: default_2.ReactNode;
|
|
1260
1260
|
items?: NavItem[];
|
|
@@ -1479,7 +1479,7 @@ declare type RangeProps = {
|
|
|
1479
1479
|
tooltip?: string;
|
|
1480
1480
|
} & Omit<default_2.InputHTMLAttributes<HTMLInputElement>, "onChange">;
|
|
1481
1481
|
|
|
1482
|
-
declare type RichContent = string | {
|
|
1482
|
+
export declare type RichContent = string | {
|
|
1483
1483
|
type: "markdown";
|
|
1484
1484
|
content: string;
|
|
1485
1485
|
} | {
|