stargazer-ui 1.0.2 → 1.0.4
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/BaseTypes.d.ts +19 -0
- package/dist/BaseTypes.js +1 -0
- package/dist/Button/index.d.ts +9 -0
- package/dist/Button/index.js +1 -1
- package/dist/Card/index.d.ts +92 -0
- package/dist/Card/index.js +15 -29
- package/dist/CloseButton/index.d.ts +8 -0
- package/dist/Dropdown/index.d.ts +124 -0
- package/dist/Dropdown/index.js +140 -117
- package/dist/FloatingLabel/index.d.ts +11 -0
- package/dist/FloatingLabel/index.js +9 -9
- package/dist/Form/index.d.ts +65 -0
- package/dist/Form/index.js +56 -51
- package/dist/Grid/Col.js +19 -0
- package/dist/Grid/Container.js +9 -0
- package/dist/Grid/Row.js +17 -0
- package/dist/InputGroup/index.d.ts +14 -0
- package/dist/InputGroup/index.js +6 -5
- package/dist/Modal/index.d.ts +70 -0
- package/dist/Modal/index.js +78 -64
- package/dist/Nav/index.d.ts +46 -0
- package/dist/Nav/index.js +11 -12
- package/dist/NavBar/index.d.ts +46 -0
- package/dist/NavBar/index.js +15 -14
- package/dist/NavDropdown/index.d.ts +39 -0
- package/dist/NavDropdown/index.js +226 -218
- package/dist/OffCanvas/OffCanvas.js +2266 -0
- package/dist/Overlay/index.js +36 -36
- package/dist/Popout/index.d.ts +56 -0
- package/dist/Popout/index.js +55 -68
- package/dist/Spinner/index.d.ts +10 -0
- package/dist/Spinner/index.js +9 -0
- package/dist/Table/index.d.ts +9 -0
- package/dist/Table/index.js +9 -0
- package/dist/Tabs/index.d.ts +42 -0
- package/dist/Tabs/index.js +60 -52
- package/dist/stylesheets/stargazerui.css +1160 -17
- package/dist/stylesheets/stargazerui.css.map +1 -1
- package/dist/vite-env.d.js +1 -0
- package/package.json +14 -2
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export type BaseAnchorType = React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>;
|
|
3
|
+
export type BaseButtonType = React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>;
|
|
4
|
+
export type BaseDialogType = React.DetailedHTMLProps<React.DialogHTMLAttributes<HTMLDialogElement>, HTMLDialogElement>;
|
|
5
|
+
export type BaseDivType = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
6
|
+
export type BaseFormType = React.DetailedHTMLProps<React.FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>;
|
|
7
|
+
export type BaseHeadingType = React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>;
|
|
8
|
+
export type BaseInputType = React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
|
|
9
|
+
export type BaseHrType = React.DetailedHTMLProps<React.HTMLAttributes<HTMLHRElement>, HTMLHRElement>;
|
|
10
|
+
export type BaseLabelType = React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>;
|
|
11
|
+
export type BaseLItemType = React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>;
|
|
12
|
+
export type BaseNavType = React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
13
|
+
export type BaseParagraphType = React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>;
|
|
14
|
+
export type BaseSelectType = React.DetailedHTMLProps<React.SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>;
|
|
15
|
+
export type BaseSmallType = React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
16
|
+
export type BaseSpanType = React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>;
|
|
17
|
+
export type BaseTableType = React.DetailedHTMLProps<React.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>;
|
|
18
|
+
export type BaseUListType = React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>;
|
|
19
|
+
export type BaseElementType = React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { BaseButtonType } from "../BaseTypes";
|
|
3
|
+
export type ButtonType = {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
variant?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
} & BaseButtonType;
|
|
8
|
+
declare const Button: React.ForwardRefExoticComponent<Omit<ButtonType, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
9
|
+
export default Button;
|
package/dist/Button/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as f } from "react";
|
|
3
|
-
const s = f(({
|
|
3
|
+
const s = f(({ children: o, variant: r = "primary", className: t, ...n }, u) => /* @__PURE__ */ e("button", { ref: u, type: "button", className: `sg-button sg-button-${r}${t == null ? "" : " " + t}`, ...n, children: o }));
|
|
4
4
|
export {
|
|
5
5
|
s as default
|
|
6
6
|
};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { BaseDivType, BaseHeadingType, BaseSpanType, BaseParagraphType } from "../BaseTypes";
|
|
3
|
+
export type CardType = {
|
|
4
|
+
children: typeof React.Children;
|
|
5
|
+
className?: string;
|
|
6
|
+
} & BaseDivType;
|
|
7
|
+
export type CardHeaderPossible = BaseDivType | BaseSpanType | BaseHeadingType;
|
|
8
|
+
export type CardHeaderType = {
|
|
9
|
+
children: typeof React.Children;
|
|
10
|
+
className?: string;
|
|
11
|
+
as?: React.ElementType;
|
|
12
|
+
} & CardHeaderPossible;
|
|
13
|
+
export type CardBodyType = {
|
|
14
|
+
children: typeof React.Children;
|
|
15
|
+
className?: string;
|
|
16
|
+
} & BaseDivType;
|
|
17
|
+
export type CardTextType = {
|
|
18
|
+
children: typeof React.Children;
|
|
19
|
+
className?: string;
|
|
20
|
+
} & BaseParagraphType;
|
|
21
|
+
export type CardFooterType = {
|
|
22
|
+
children: typeof React.Children;
|
|
23
|
+
className?: string;
|
|
24
|
+
} & BaseDivType;
|
|
25
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<CardType, "ref"> & React.RefAttributes<HTMLDivElement>> & {
|
|
26
|
+
Header: React.ForwardRefExoticComponent<(Omit<{
|
|
27
|
+
children: {
|
|
28
|
+
map<T, C>(children: C | readonly C[], fn: (child: C, index: number) => T): C extends null | undefined ? C : Exclude<T, boolean | null | undefined>[];
|
|
29
|
+
forEach<C_1>(children: C_1 | readonly C_1[], fn: (child: C_1, index: number) => void): void;
|
|
30
|
+
count(children: any): number;
|
|
31
|
+
only<C_2>(children: C_2): C_2 extends any[] ? never : C_2;
|
|
32
|
+
toArray(children: React.ReactNode | React.ReactNode[]): (string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal)[];
|
|
33
|
+
};
|
|
34
|
+
className?: string | undefined;
|
|
35
|
+
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
36
|
+
} & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement>, "ref"> | Omit<{
|
|
37
|
+
children: {
|
|
38
|
+
map<T, C>(children: C | readonly C[], fn: (child: C, index: number) => T): C extends null | undefined ? C : Exclude<T, boolean | null | undefined>[];
|
|
39
|
+
forEach<C_1>(children: C_1 | readonly C_1[], fn: (child: C_1, index: number) => void): void;
|
|
40
|
+
count(children: any): number;
|
|
41
|
+
only<C_2>(children: C_2): C_2 extends any[] ? never : C_2;
|
|
42
|
+
toArray(children: React.ReactNode | React.ReactNode[]): (string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal)[];
|
|
43
|
+
};
|
|
44
|
+
className?: string | undefined;
|
|
45
|
+
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
46
|
+
} & React.ClassAttributes<HTMLHeadingElement> & React.HTMLAttributes<HTMLHeadingElement>, "ref"> | Omit<{
|
|
47
|
+
children: {
|
|
48
|
+
map<T, C>(children: C | readonly C[], fn: (child: C, index: number) => T): C extends null | undefined ? C : Exclude<T, boolean | null | undefined>[];
|
|
49
|
+
forEach<C_1>(children: C_1 | readonly C_1[], fn: (child: C_1, index: number) => void): void;
|
|
50
|
+
count(children: any): number;
|
|
51
|
+
only<C_2>(children: C_2): C_2 extends any[] ? never : C_2;
|
|
52
|
+
toArray(children: React.ReactNode | React.ReactNode[]): (string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal)[];
|
|
53
|
+
};
|
|
54
|
+
className?: string | undefined;
|
|
55
|
+
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
56
|
+
} & React.ClassAttributes<HTMLSpanElement> & React.HTMLAttributes<HTMLSpanElement>, "ref">) & React.RefAttributes<HTMLDivElement | HTMLHeadingElement | HTMLSpanElement>>;
|
|
57
|
+
Body: React.ForwardRefExoticComponent<Omit<CardBodyType, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
58
|
+
Title: React.ForwardRefExoticComponent<(Omit<{
|
|
59
|
+
children: {
|
|
60
|
+
map<T, C>(children: C | readonly C[], fn: (child: C, index: number) => T): C extends null | undefined ? C : Exclude<T, boolean | null | undefined>[];
|
|
61
|
+
forEach<C_1>(children: C_1 | readonly C_1[], fn: (child: C_1, index: number) => void): void;
|
|
62
|
+
count(children: any): number;
|
|
63
|
+
only<C_2>(children: C_2): C_2 extends any[] ? never : C_2;
|
|
64
|
+
toArray(children: React.ReactNode | React.ReactNode[]): (string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal)[];
|
|
65
|
+
};
|
|
66
|
+
className?: string | undefined;
|
|
67
|
+
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
68
|
+
} & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement>, "ref"> | Omit<{
|
|
69
|
+
children: {
|
|
70
|
+
map<T, C>(children: C | readonly C[], fn: (child: C, index: number) => T): C extends null | undefined ? C : Exclude<T, boolean | null | undefined>[];
|
|
71
|
+
forEach<C_1>(children: C_1 | readonly C_1[], fn: (child: C_1, index: number) => void): void;
|
|
72
|
+
count(children: any): number;
|
|
73
|
+
only<C_2>(children: C_2): C_2 extends any[] ? never : C_2;
|
|
74
|
+
toArray(children: React.ReactNode | React.ReactNode[]): (string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal)[];
|
|
75
|
+
};
|
|
76
|
+
className?: string | undefined;
|
|
77
|
+
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
78
|
+
} & React.ClassAttributes<HTMLHeadingElement> & React.HTMLAttributes<HTMLHeadingElement>, "ref"> | Omit<{
|
|
79
|
+
children: {
|
|
80
|
+
map<T, C>(children: C | readonly C[], fn: (child: C, index: number) => T): C extends null | undefined ? C : Exclude<T, boolean | null | undefined>[];
|
|
81
|
+
forEach<C_1>(children: C_1 | readonly C_1[], fn: (child: C_1, index: number) => void): void;
|
|
82
|
+
count(children: any): number;
|
|
83
|
+
only<C_2>(children: C_2): C_2 extends any[] ? never : C_2;
|
|
84
|
+
toArray(children: React.ReactNode | React.ReactNode[]): (string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal)[];
|
|
85
|
+
};
|
|
86
|
+
className?: string | undefined;
|
|
87
|
+
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
88
|
+
} & React.ClassAttributes<HTMLSpanElement> & React.HTMLAttributes<HTMLSpanElement>, "ref">) & React.RefAttributes<HTMLHeadingElement>>;
|
|
89
|
+
Text: React.ForwardRefExoticComponent<Omit<CardTextType, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
90
|
+
Footer: React.ForwardRefExoticComponent<Omit<CardFooterType, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
91
|
+
};
|
|
92
|
+
export default _default;
|
package/dist/Card/index.js
CHANGED
|
@@ -1,32 +1,18 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
4
|
-
let n =
|
|
5
|
-
return n
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as d } from "react";
|
|
3
|
+
const h = d(({ children: e, className: t, ...r }, s) => /* @__PURE__ */ a("div", { ref: s, className: "sg-card " + t, ...r, children: e })), l = d(({ as: e = "div", className: t, children: r, ...s }, o) => {
|
|
4
|
+
let n = ["div", "span", "h1", "h2", "h3", "h4", "h5", "h6"].find((c) => c === e) ? e : "div";
|
|
5
|
+
return /* @__PURE__ */ a(n, { ref: o, className: `sg-card-header ${t}`, ...s, children: r });
|
|
6
|
+
}), m = d(({ as: e = "h5", className: t, children: r, ...s }, o) => {
|
|
7
|
+
let n = ["h1", "h2", "h3", "h4", "h5", "h6"].find((c) => c === e) ? e : "h5";
|
|
8
|
+
return /* @__PURE__ */ a(n, { ref: o, className: t, ...s, children: r });
|
|
9
|
+
}), v = d(({ children: e, className: t, ...r }, s) => /* @__PURE__ */ a("div", { ref: s, className: `sg-card-body ${t}`, ...r, children: e })), f = d(({ children: e, className: t, ...r }, s) => /* @__PURE__ */ a("p", { ref: s, className: `sg-card-text ${t}`, ...r, children: e })), p = d(({ children: e, className: t, ...r }, s) => /* @__PURE__ */ a("div", { ref: s, className: `sg-card-footer ${t}`, ...r, children: e })), x = Object.assign(h, {
|
|
10
|
+
Header: l,
|
|
11
|
+
Body: v,
|
|
12
|
+
Title: m,
|
|
13
|
+
Text: f,
|
|
14
|
+
Footer: p
|
|
11
15
|
});
|
|
12
|
-
m.Header = p;
|
|
13
|
-
const u = ({ children: e, className: s, ...o }, r) => {
|
|
14
|
-
e = e.length ? e.filter((t) => t != null && t != "") : e;
|
|
15
|
-
let n = [];
|
|
16
|
-
return c.Children.forEach(e, (t) => {
|
|
17
|
-
n.push(t);
|
|
18
|
-
}), /* @__PURE__ */ d("div", { ref: r, className: `sg-card-body ${s}`, ...o, children: n.map((t) => t) });
|
|
19
|
-
};
|
|
20
|
-
m.Body = h(u);
|
|
21
|
-
const f = h(({ as: e, className: s, children: o, ...r }, n) => {
|
|
22
|
-
let l = ["h1", "h2", "h3", "h4", "h5", "h6"].find((a) => a === e) ? e : "h5";
|
|
23
|
-
return /* @__PURE__ */ d(l, { ref: n, className: s, ...r, children: o });
|
|
24
|
-
});
|
|
25
|
-
m.Title = f;
|
|
26
|
-
const v = ({ children: e, className: s, ...o }, r) => /* @__PURE__ */ d("p", { ref: r, className: `sg-card-text ${s}`, ...o, children: e });
|
|
27
|
-
m.Text = h(v);
|
|
28
|
-
const g = ({ children: e, className: s, ...o }, r) => /* @__PURE__ */ d("div", { ref: r, className: `sg-card-footer ${s}`, ...o, children: e });
|
|
29
|
-
m.Footer = h(g);
|
|
30
16
|
export {
|
|
31
|
-
|
|
17
|
+
x as default
|
|
32
18
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { BaseButtonType } from "../BaseTypes";
|
|
3
|
+
export type CloseButtonType = {
|
|
4
|
+
className?: string;
|
|
5
|
+
variant?: boolean;
|
|
6
|
+
} & BaseButtonType;
|
|
7
|
+
declare const CloseButton: import("react").ForwardRefExoticComponent<Omit<CloseButtonType, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
8
|
+
export default CloseButton;
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { BaseDivType, BaseAnchorType, BaseButtonType, BaseUListType, BaseHrType, BaseElementType } from "../BaseTypes";
|
|
3
|
+
export type DropdownContextType = {
|
|
4
|
+
align: string;
|
|
5
|
+
drop: string;
|
|
6
|
+
showInternal: boolean;
|
|
7
|
+
handleToggle: Function;
|
|
8
|
+
placement: string;
|
|
9
|
+
directionClasses?: {
|
|
10
|
+
down?: string;
|
|
11
|
+
'down-centered'?: string;
|
|
12
|
+
up?: string;
|
|
13
|
+
'up-centered'?: string;
|
|
14
|
+
end?: string;
|
|
15
|
+
start?: string;
|
|
16
|
+
};
|
|
17
|
+
controlId: string;
|
|
18
|
+
activeDescendant: {
|
|
19
|
+
case: string;
|
|
20
|
+
};
|
|
21
|
+
setActiveDescendant: React.Dispatch<React.SetStateAction<{
|
|
22
|
+
case: string;
|
|
23
|
+
}>>;
|
|
24
|
+
};
|
|
25
|
+
export declare const DropdownContext: React.Context<DropdownContextType | null>;
|
|
26
|
+
export declare const DropdownContextProvider: ({ children, value }: {
|
|
27
|
+
children: React.ReactNode;
|
|
28
|
+
value: DropdownContextType;
|
|
29
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
export declare const useDropdownContext: () => DropdownContextType;
|
|
31
|
+
export type DropdownType = {
|
|
32
|
+
children: React.ReactNode;
|
|
33
|
+
className?: string;
|
|
34
|
+
onSelect?: Function;
|
|
35
|
+
onToggle?: Function;
|
|
36
|
+
controlId: string;
|
|
37
|
+
drop?: string;
|
|
38
|
+
align?: string;
|
|
39
|
+
autoClose?: boolean;
|
|
40
|
+
show?: boolean;
|
|
41
|
+
} & BaseDivType;
|
|
42
|
+
export type DropdownToggleType = {
|
|
43
|
+
children: React.ReactNode;
|
|
44
|
+
className?: string;
|
|
45
|
+
navDropdown?: boolean;
|
|
46
|
+
as?: React.ElementType;
|
|
47
|
+
variant?: string;
|
|
48
|
+
} & (BaseAnchorType | BaseButtonType | BaseElementType);
|
|
49
|
+
export declare const Toggle: React.ForwardRefExoticComponent<(Omit<{
|
|
50
|
+
children: React.ReactNode;
|
|
51
|
+
className?: string | undefined;
|
|
52
|
+
navDropdown?: boolean | undefined;
|
|
53
|
+
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
54
|
+
variant?: string | undefined;
|
|
55
|
+
} & React.ClassAttributes<HTMLAnchorElement> & React.AnchorHTMLAttributes<HTMLAnchorElement>, "ref"> | Omit<{
|
|
56
|
+
children: React.ReactNode;
|
|
57
|
+
className?: string | undefined;
|
|
58
|
+
navDropdown?: boolean | undefined;
|
|
59
|
+
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
60
|
+
variant?: string | undefined;
|
|
61
|
+
} & React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement>, "ref"> | Omit<{
|
|
62
|
+
children: React.ReactNode;
|
|
63
|
+
className?: string | undefined;
|
|
64
|
+
navDropdown?: boolean | undefined;
|
|
65
|
+
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
66
|
+
variant?: string | undefined;
|
|
67
|
+
} & React.ClassAttributes<HTMLElement> & React.HTMLAttributes<HTMLElement>, "ref">) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
68
|
+
export type DropdownMenuType = {
|
|
69
|
+
children: React.ReactNode;
|
|
70
|
+
className?: string;
|
|
71
|
+
style?: React.CSSProperties | undefined;
|
|
72
|
+
} & BaseUListType;
|
|
73
|
+
export declare const Menu: React.ForwardRefExoticComponent<Omit<DropdownMenuType, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
74
|
+
export type DropdownItemType = {
|
|
75
|
+
children: React.ReactNode;
|
|
76
|
+
as?: React.ElementType;
|
|
77
|
+
className?: string;
|
|
78
|
+
} & (BaseAnchorType | BaseButtonType);
|
|
79
|
+
export declare const Item: React.ForwardRefExoticComponent<(Omit<{
|
|
80
|
+
children: React.ReactNode;
|
|
81
|
+
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
82
|
+
className?: string | undefined;
|
|
83
|
+
} & React.ClassAttributes<HTMLAnchorElement> & React.AnchorHTMLAttributes<HTMLAnchorElement>, "ref"> | Omit<{
|
|
84
|
+
children: React.ReactNode;
|
|
85
|
+
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
86
|
+
className?: string | undefined;
|
|
87
|
+
} & React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement>, "ref">) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
88
|
+
export type DropdownDividerType = {
|
|
89
|
+
className?: string;
|
|
90
|
+
} & BaseHrType;
|
|
91
|
+
export declare const Divider: React.ForwardRefExoticComponent<Omit<DropdownDividerType, "ref"> & React.RefAttributes<HTMLHRElement>>;
|
|
92
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<DropdownType, "ref"> & React.RefAttributes<HTMLDivElement>> & {
|
|
93
|
+
Toggle: React.ForwardRefExoticComponent<(Omit<{
|
|
94
|
+
children: React.ReactNode;
|
|
95
|
+
className?: string | undefined;
|
|
96
|
+
navDropdown?: boolean | undefined;
|
|
97
|
+
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
98
|
+
variant?: string | undefined;
|
|
99
|
+
} & React.ClassAttributes<HTMLAnchorElement> & React.AnchorHTMLAttributes<HTMLAnchorElement>, "ref"> | Omit<{
|
|
100
|
+
children: React.ReactNode;
|
|
101
|
+
className?: string | undefined;
|
|
102
|
+
navDropdown?: boolean | undefined;
|
|
103
|
+
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
104
|
+
variant?: string | undefined;
|
|
105
|
+
} & React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement>, "ref"> | Omit<{
|
|
106
|
+
children: React.ReactNode;
|
|
107
|
+
className?: string | undefined;
|
|
108
|
+
navDropdown?: boolean | undefined;
|
|
109
|
+
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
110
|
+
variant?: string | undefined;
|
|
111
|
+
} & React.ClassAttributes<HTMLElement> & React.HTMLAttributes<HTMLElement>, "ref">) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
112
|
+
Menu: React.ForwardRefExoticComponent<Omit<DropdownMenuType, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
113
|
+
Item: React.ForwardRefExoticComponent<(Omit<{
|
|
114
|
+
children: React.ReactNode;
|
|
115
|
+
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
116
|
+
className?: string | undefined;
|
|
117
|
+
} & React.ClassAttributes<HTMLAnchorElement> & React.AnchorHTMLAttributes<HTMLAnchorElement>, "ref"> | Omit<{
|
|
118
|
+
children: React.ReactNode;
|
|
119
|
+
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
120
|
+
className?: string | undefined;
|
|
121
|
+
} & React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement>, "ref">) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
122
|
+
Divider: React.ForwardRefExoticComponent<Omit<DropdownDividerType, "ref"> & React.RefAttributes<HTMLHRElement>>;
|
|
123
|
+
};
|
|
124
|
+
export default _default;
|