@koine/react 1.2.3 → 2.0.0-alpha.2
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/Alert/Alert.d.ts +1 -1
- package/Animations/Reveal.d.ts +1 -1
- package/Animations/Reveal.js +1 -1
- package/Animations/Reveal.mjs +1 -1
- package/Animations/useReveal.d.ts +1 -0
- package/Autocomplete/AutocompleteMui.d.ts +3 -3
- package/Autocomplete/AutocompleteMui.js +7 -7
- package/Autocomplete/AutocompleteMui.mjs +6 -6
- package/Bg/BgColor.d.ts +1 -1
- package/Bg/BgColor.js +1 -1
- package/Bg/BgColor.mjs +1 -1
- package/Bg/BgPhoto.d.ts +1 -1
- package/Bg/BgPhoto.js +1 -1
- package/Bg/BgPhoto.mjs +1 -1
- package/Bg/BgSvg.d.ts +1 -1
- package/Bg/BgSvg.js +1 -1
- package/Bg/BgSvg.mjs +2 -2
- package/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/Breadcrumbs/Breadcrumbs.js +2 -2
- package/Breadcrumbs/Breadcrumbs.mjs +2 -2
- package/Buttons/ButtonComposite.d.ts +1 -1
- package/Buttons/ButtonComposite.js +1 -1
- package/Buttons/ButtonComposite.mjs +1 -1
- package/Buttons/ButtonLink.d.ts +1 -1
- package/Calendar/CalendarDaygridCell.d.ts +1 -1
- package/Calendar/CalendarDaygridCell.js +3 -3
- package/Calendar/CalendarDaygridCell.mjs +3 -3
- package/Calendar/CalendarDaygridNav.d.ts +1 -1
- package/Calendar/CalendarDaygridTable.d.ts +1 -1
- package/Calendar/CalendarDaygridTable.js +2 -11
- package/Calendar/CalendarDaygridTable.mjs +2 -11
- package/Calendar/CalendarLegend.d.ts +1 -1
- package/Calendar/CalendarLegend.js +1 -2
- package/Calendar/CalendarLegend.mjs +1 -2
- package/Calendar/useCalendar.d.ts +1 -0
- package/Carousel/CarouselCss.d.ts +1 -1
- package/Carousel/CarouselCss.js +1 -1
- package/Carousel/CarouselCss.mjs +1 -1
- package/Debug/Debug.d.ts +1 -1
- package/Details/Details.d.ts +11 -1
- package/Details/Details.js +3 -3
- package/Details/Details.mjs +3 -3
- package/Dialog/DialogMui.d.ts +54 -13
- package/Dialog/DialogMui.js +3 -3
- package/Dialog/DialogMui.mjs +2 -2
- package/Dialog/css/bare.d.ts +54 -12
- package/Dialog/m/bare.d.ts +54 -11
- package/Dialog/m/bare.js +2 -2
- package/Dialog/m/bare.mjs +2 -2
- package/Dialog/m/index.d.ts +1 -0
- package/Dialog/sc/bare.d.ts +54 -12
- package/Dialog/sc/framer.d.ts +54 -11
- package/Dialog/sc/framerMaterial.d.ts +54 -11
- package/Dialog/sc/material.d.ts +54 -12
- package/Dialog/tw/bare.d.ts +54 -12
- package/Dialog/tw/elegant.d.ts +54 -12
- package/Dialog/tw/framer.d.ts +54 -11
- package/Dialog/tw/framerMaterial.d.ts +54 -11
- package/Dialog/tw/material.d.ts +54 -12
- package/Editor/Editor--tiptap.d.ts +2 -2
- package/Editor/Editor--tiptap.js +3 -3
- package/Editor/Editor--tiptap.mjs +3 -3
- package/FaviconTags/FaviconTags.d.ts +1 -1
- package/FaviconTags/index.d.ts +1 -1
- package/FaviconTags/index.js +4 -4
- package/FaviconTags/index.mjs +1 -1
- package/Form/Form.d.ts +1 -1
- package/Form/sc/bare.d.ts +7 -7
- package/Forms/Checkbox/Checkbox.d.ts +1 -1
- package/Forms/Feedback/Feedback.d.ts +1 -1
- package/Forms/Feedback/Feedback.js +1 -1
- package/Forms/Feedback/Feedback.mjs +2 -2
- package/Forms/Field/Field.d.ts +1 -1
- package/Forms/Field/Field.js +1 -1
- package/Forms/Field/Field.mjs +1 -1
- package/Forms/Field/FieldControl.d.ts +1 -1
- package/Forms/InputGroup/InputGroup.d.ts +1 -1
- package/Forms/Password/Password.js +1 -1
- package/Forms/Password/Password.mjs +1 -1
- package/Forms/Toggle/Toggle.d.ts +2 -2
- package/Forms/Toggle/Toggle.js +2 -2
- package/Forms/Toggle/Toggle.mjs +3 -3
- package/Forms/Toggle/useToggle.d.ts +1 -1
- package/Forms/antispam.d.ts +4 -4
- package/Forms/styles.d.ts +1 -1
- package/Hamburger/Hamburger.d.ts +1 -1
- package/Hamburger/Hamburger.js +1 -1
- package/Hamburger/Hamburger.mjs +1 -1
- package/Link/LinkBlank.d.ts +2 -2
- package/MenuItem/useMenuItem.d.ts +2 -4
- package/MenuItem/useMenuItem.js +16 -14
- package/MenuItem/useMenuItem.mjs +17 -15
- package/Meta/Meta.d.ts +1 -1
- package/NoJs/NoJs.d.ts +1 -1
- package/Pagination/PaginationNav.d.ts +1 -1
- package/Pagination/PaginationNav.js +5 -5
- package/Pagination/PaginationNav.mjs +6 -6
- package/Pagination/PaginationResults.d.ts +1 -1
- package/Pagination/PaginationResults.js +1 -1
- package/Pagination/PaginationResults.mjs +2 -2
- package/Progress/ProgressCircular.d.ts +1 -1
- package/Progress/ProgressLinear.d.ts +1 -1
- package/Progress/ProgressOverlay.d.ts +1 -1
- package/Progress/ProgressOverlay.js +3 -3
- package/Progress/ProgressOverlay.mjs +4 -4
- package/Rating/Rating.d.ts +2 -2
- package/Rating/Rating.js +1 -1
- package/Rating/Rating.mjs +1 -1
- package/Sidebar/Sidebar.d.ts +1 -1
- package/Sidebar/Sidebar.js +1 -1
- package/Sidebar/Sidebar.mjs +2 -2
- package/Spacing/Spacing.d.ts +1 -1
- package/Sticky/StickyCss.d.ts +1 -1
- package/Sticky/index.d.ts +1 -1
- package/Sticky/index.js +3 -2
- package/Sticky/index.mjs +1 -1
- package/Tabs/TabsMui.d.ts +46 -41
- package/Tabs/TabsMui.js +14 -11
- package/Tabs/TabsMui.mjs +10 -7
- package/Tabs/tw/bare.d.ts +40 -36
- package/Tabs/tw/material.d.ts +52 -54
- package/Typography/ReadMore.d.ts +1 -1
- package/Typography/ReadMore.js +1 -1
- package/Typography/ReadMore.mjs +1 -1
- package/Typography/TextLoop.d.ts +2 -2
- package/Typography/TextLoop.js +3 -3
- package/Typography/TextLoop.mjs +3 -3
- package/Typography/TypeStairs.js +1 -2
- package/Typography/TypeStairs.mjs +1 -2
- package/hooks/index.d.ts +20 -20
- package/hooks/index.js +42 -22
- package/hooks/index.mjs +21 -21
- package/hooks/useAsyncFn.d.ts +4 -4
- package/hooks/useFocus.d.ts +1 -0
- package/m/MotionProvider.d.ts +1 -1
- package/m/MotionProvider.js +1 -2
- package/m/MotionProvider.mjs +1 -2
- package/package.json +14 -18
- package/styles/index.d.ts +7 -7
- package/styles/index.js +39 -8
- package/styles/index.mjs +7 -7
- package/styles/styled.d.ts +1 -1
- package/styles/styled.js +2 -2
- package/styles/styled.mjs +2 -2
- package/styles/theme--vanilla.d.ts +1 -1
- package/styles/theme--vanilla.js +1 -1
- package/styles/theme--vanilla.mjs +1 -2
- package/typings.d.ts +6 -6
- package/hooks/useEffectOnce.d.ts +0 -6
- package/hooks/useEffectOnce.js +0 -13
- package/hooks/useEffectOnce.mjs +0 -9
- package/hooks/useMount.d.ts +0 -5
- package/hooks/useMount.js +0 -14
- package/hooks/useMount.mjs +0 -10
package/Tabs/TabsMui.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
import TabsUnstyled, { type TabsProps as TabsUnstyledProps } from "@mui/base/Tabs";
|
|
4
|
+
import TabsListUnstyled, { type TabsListProps as TabsListUnstyledProps } from "@mui/base/TabsList";
|
|
5
|
+
import TabUnstyled, { type TabProps as TabUnstyledProps } from "@mui/base/Tab";
|
|
6
|
+
import { type UseTabReturnValue } from "@mui/base/useTab";
|
|
7
|
+
import TabPanelUnstyled, { type TabPanelProps as TabPanelUnstyledProps } from "@mui/base/TabPanel";
|
|
6
8
|
import type { MotionProps } from "framer-motion";
|
|
7
9
|
import type { Simplify } from "@koine/utils";
|
|
8
10
|
import { type WithComponents } from "../helpers";
|
|
@@ -28,7 +30,7 @@ export type Components = {
|
|
|
28
30
|
};
|
|
29
31
|
Indicator: {
|
|
30
32
|
type: "span";
|
|
31
|
-
props: React.PropsWithChildren<Pick<
|
|
33
|
+
props: React.PropsWithChildren<Pick<UseTabReturnValue, "active" | /* "disabled" | */ "selected">>;
|
|
32
34
|
motionable: true;
|
|
33
35
|
};
|
|
34
36
|
Panel: {
|
|
@@ -42,24 +44,22 @@ export type ComponentsProps = {
|
|
|
42
44
|
export type Props = Simplify<WithComponents<OwnProps, Components>>;
|
|
43
45
|
export type TabsProps = Props;
|
|
44
46
|
export type KoineTabsProps = Props;
|
|
45
|
-
export declare const Root: import("@mui/
|
|
46
|
-
export declare const List: import("@mui/
|
|
47
|
-
export declare const Indicator: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & Pick<
|
|
47
|
+
export declare const Root: import("@mui/base/utils").PolymorphicComponent<import("@mui/base/Tabs").TabsTypeMap<{}, "div">>;
|
|
48
|
+
export declare const List: import("@mui/base/utils").PolymorphicComponent<import("@mui/base/TabsList").TabsListTypeMap<{}, "div">>;
|
|
49
|
+
export declare const Indicator: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & Pick<UseTabReturnValue, "selected" | "active"> & {
|
|
48
50
|
children?: import("react").ReactNode;
|
|
49
51
|
}>>;
|
|
50
|
-
export declare const Panel: import("@mui/
|
|
51
|
-
export declare const Tab: import("react").ForwardRefExoticComponent<Omit<import("@mui/base/
|
|
52
|
+
export declare const Panel: import("@mui/base/utils").PolymorphicComponent<import("@mui/base/TabPanel").TabPanelTypeMap<{}, "div">>;
|
|
53
|
+
export declare const Tab: import("react").ForwardRefExoticComponent<Omit<import("@mui/base/Tab").TabOwnProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
52
54
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
53
|
-
}, keyof import("@mui/base/
|
|
54
|
-
|
|
55
|
-
} & {
|
|
56
|
-
Indicator?: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & Pick<import("@mui/base/TabUnstyled").UseTabReturnValue, "disabled" | "selected" | "active"> & {
|
|
55
|
+
}, keyof import("@mui/base/Tab").TabOwnProps> & {
|
|
56
|
+
Indicator?: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & Pick<UseTabReturnValue, "selected" | "active"> & {
|
|
57
57
|
children?: import("react").ReactNode;
|
|
58
58
|
}>> | undefined;
|
|
59
59
|
}, "ref"> & import("react").RefAttributes<unknown>>;
|
|
60
60
|
export declare const KoineTabs: ((props: Omit<{
|
|
61
61
|
key?: import("react").Key | null | undefined;
|
|
62
|
-
value?: string | number |
|
|
62
|
+
value?: string | number | null | undefined;
|
|
63
63
|
id?: string | undefined;
|
|
64
64
|
title?: string | undefined;
|
|
65
65
|
color?: string | undefined;
|
|
@@ -67,10 +67,11 @@ export declare const KoineTabs: ((props: Omit<{
|
|
|
67
67
|
style?: import("react").CSSProperties | undefined;
|
|
68
68
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
69
69
|
defaultChecked?: boolean | undefined;
|
|
70
|
-
defaultValue?: string | number |
|
|
70
|
+
defaultValue?: string | number | null | undefined;
|
|
71
71
|
suppressContentEditableWarning?: boolean | undefined;
|
|
72
72
|
suppressHydrationWarning?: boolean | undefined;
|
|
73
73
|
accessKey?: string | undefined;
|
|
74
|
+
autoFocus?: boolean | undefined;
|
|
74
75
|
className?: string | undefined;
|
|
75
76
|
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
|
|
76
77
|
contextMenu?: string | undefined;
|
|
@@ -86,11 +87,14 @@ export declare const KoineTabs: ((props: Omit<{
|
|
|
86
87
|
radioGroup?: string | undefined;
|
|
87
88
|
role?: import("react").AriaRole | undefined;
|
|
88
89
|
about?: string | undefined;
|
|
90
|
+
content?: string | undefined;
|
|
89
91
|
datatype?: string | undefined;
|
|
90
92
|
inlist?: any;
|
|
91
93
|
prefix?: string | undefined;
|
|
92
94
|
property?: string | undefined;
|
|
95
|
+
rel?: string | undefined;
|
|
93
96
|
resource?: string | undefined;
|
|
97
|
+
rev?: string | undefined;
|
|
94
98
|
typeof?: string | undefined;
|
|
95
99
|
vocab?: string | undefined;
|
|
96
100
|
autoCapitalize?: string | undefined;
|
|
@@ -109,14 +113,18 @@ export declare const KoineTabs: ((props: Omit<{
|
|
|
109
113
|
'aria-activedescendant'?: string | undefined;
|
|
110
114
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
111
115
|
'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
|
|
116
|
+
'aria-braillelabel'?: string | undefined;
|
|
117
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
112
118
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
113
119
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
114
120
|
'aria-colcount'?: number | undefined;
|
|
115
121
|
'aria-colindex'?: number | undefined;
|
|
122
|
+
'aria-colindextext'?: string | undefined;
|
|
116
123
|
'aria-colspan'?: number | undefined;
|
|
117
124
|
'aria-controls'?: string | undefined;
|
|
118
125
|
'aria-current'?: boolean | "location" | "time" | "true" | "false" | "page" | "step" | "date" | undefined;
|
|
119
126
|
'aria-describedby'?: string | undefined;
|
|
127
|
+
'aria-description'?: string | undefined;
|
|
120
128
|
'aria-details'?: string | undefined;
|
|
121
129
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
122
130
|
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
@@ -146,6 +154,7 @@ export declare const KoineTabs: ((props: Omit<{
|
|
|
146
154
|
'aria-roledescription'?: string | undefined;
|
|
147
155
|
'aria-rowcount'?: number | undefined;
|
|
148
156
|
'aria-rowindex'?: number | undefined;
|
|
157
|
+
'aria-rowindextext'?: string | undefined;
|
|
149
158
|
'aria-rowspan'?: number | undefined;
|
|
150
159
|
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
151
160
|
'aria-setsize'?: number | undefined;
|
|
@@ -156,7 +165,7 @@ export declare const KoineTabs: ((props: Omit<{
|
|
|
156
165
|
'aria-valuetext'?: string | undefined;
|
|
157
166
|
children?: import("react").ReactNode;
|
|
158
167
|
dangerouslySetInnerHTML?: {
|
|
159
|
-
__html: string;
|
|
168
|
+
__html: string | TrustedHTML;
|
|
160
169
|
} | undefined;
|
|
161
170
|
onCopy?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
162
171
|
onCopyCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
@@ -174,7 +183,7 @@ export declare const KoineTabs: ((props: Omit<{
|
|
|
174
183
|
onFocusCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
175
184
|
onBlur?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
176
185
|
onBlurCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
177
|
-
onChange?: ((event: import("react").SyntheticEvent<Element, Event
|
|
186
|
+
onChange?: ((event: import("react").SyntheticEvent<Element, Event> | null, value: string | number | null) => void) | undefined;
|
|
178
187
|
onChangeCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
179
188
|
onBeforeInput?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
180
189
|
onBeforeInputCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
@@ -324,46 +333,42 @@ export declare const KoineTabs: ((props: Omit<{
|
|
|
324
333
|
orientation?: ("horizontal" | "vertical") | undefined;
|
|
325
334
|
selectionFollowsFocus?: boolean | undefined;
|
|
326
335
|
mTab?: MotionProps | undefined;
|
|
327
|
-
Root: import("@mui/
|
|
328
|
-
List: import("@mui/
|
|
329
|
-
Tab: import("@mui/
|
|
330
|
-
Indicator: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & Pick<
|
|
336
|
+
Root: import("@mui/base/utils").PolymorphicComponent<import("@mui/base/Tabs").TabsTypeMap<{}, "div">>;
|
|
337
|
+
List: import("@mui/base/utils").PolymorphicComponent<import("@mui/base/TabsList").TabsListTypeMap<{}, "div">>;
|
|
338
|
+
Tab: import("@mui/base/utils").PolymorphicComponent<import("@mui/base/Tab").TabTypeMap<{}, "button">>;
|
|
339
|
+
Indicator: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & Pick<UseTabReturnValue, "selected" | "active"> & {
|
|
331
340
|
children?: import("react").ReactNode;
|
|
332
341
|
}>>;
|
|
333
|
-
Panel: import("@mui/
|
|
342
|
+
Panel: import("@mui/base/utils").PolymorphicComponent<import("@mui/base/TabPanel").TabPanelTypeMap<{}, "div">>;
|
|
334
343
|
}, "ref"> & import("react").RefAttributes<HTMLDivElement>) => import("react").FunctionComponentElement<any>) & {
|
|
335
|
-
Root: import("@mui/
|
|
336
|
-
List: import("@mui/
|
|
337
|
-
Tab: import("react").ForwardRefExoticComponent<Omit<import("@mui/base/
|
|
344
|
+
Root: import("@mui/base/utils").PolymorphicComponent<import("@mui/base/Tabs").TabsTypeMap<{}, "div">>;
|
|
345
|
+
List: import("@mui/base/utils").PolymorphicComponent<import("@mui/base/TabsList").TabsListTypeMap<{}, "div">>;
|
|
346
|
+
Tab: import("react").ForwardRefExoticComponent<Omit<import("@mui/base/Tab").TabOwnProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
338
347
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
339
|
-
}, keyof import("@mui/base/
|
|
340
|
-
|
|
341
|
-
} & {
|
|
342
|
-
Indicator?: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & Pick<import("@mui/base/TabUnstyled").UseTabReturnValue, "disabled" | "selected" | "active"> & {
|
|
348
|
+
}, keyof import("@mui/base/Tab").TabOwnProps> & {
|
|
349
|
+
Indicator?: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & Pick<UseTabReturnValue, "selected" | "active"> & {
|
|
343
350
|
children?: import("react").ReactNode;
|
|
344
351
|
}>> | undefined;
|
|
345
352
|
}, "ref"> & import("react").RefAttributes<unknown>>;
|
|
346
|
-
Indicator: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & Pick<
|
|
353
|
+
Indicator: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & Pick<UseTabReturnValue, "selected" | "active"> & {
|
|
347
354
|
children?: import("react").ReactNode;
|
|
348
355
|
}>>;
|
|
349
|
-
Panel: import("@mui/
|
|
356
|
+
Panel: import("@mui/base/utils").PolymorphicComponent<import("@mui/base/TabPanel").TabPanelTypeMap<{}, "div">>;
|
|
350
357
|
} & {
|
|
351
358
|
defaultProps: {
|
|
352
|
-
Root: import("@mui/
|
|
353
|
-
List: import("@mui/
|
|
354
|
-
Tab: import("react").ForwardRefExoticComponent<Omit<import("@mui/base/
|
|
359
|
+
Root: import("@mui/base/utils").PolymorphicComponent<import("@mui/base/Tabs").TabsTypeMap<{}, "div">>;
|
|
360
|
+
List: import("@mui/base/utils").PolymorphicComponent<import("@mui/base/TabsList").TabsListTypeMap<{}, "div">>;
|
|
361
|
+
Tab: import("react").ForwardRefExoticComponent<Omit<import("@mui/base/Tab").TabOwnProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
355
362
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
356
|
-
}, keyof import("@mui/base/
|
|
357
|
-
|
|
358
|
-
} & {
|
|
359
|
-
Indicator?: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & Pick<import("@mui/base/TabUnstyled").UseTabReturnValue, "disabled" | "selected" | "active"> & {
|
|
363
|
+
}, keyof import("@mui/base/Tab").TabOwnProps> & {
|
|
364
|
+
Indicator?: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & Pick<UseTabReturnValue, "selected" | "active"> & {
|
|
360
365
|
children?: import("react").ReactNode;
|
|
361
366
|
}>> | undefined;
|
|
362
367
|
}, "ref"> & import("react").RefAttributes<unknown>>;
|
|
363
|
-
Indicator: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & Pick<
|
|
368
|
+
Indicator: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & Pick<UseTabReturnValue, "selected" | "active"> & {
|
|
364
369
|
children?: import("react").ReactNode;
|
|
365
370
|
}>>;
|
|
366
|
-
Panel: import("@mui/
|
|
371
|
+
Panel: import("@mui/base/utils").PolymorphicComponent<import("@mui/base/TabPanel").TabPanelTypeMap<{}, "div">>;
|
|
367
372
|
};
|
|
368
373
|
};
|
|
369
374
|
export {};
|
package/Tabs/TabsMui.js
CHANGED
|
@@ -4,21 +4,24 @@ exports.KoineTabs = exports.Tab = exports.Panel = exports.Indicator = exports.Li
|
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
6
6
|
var react_1 = require("react");
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
7
|
+
var Tabs_1 = tslib_1.__importDefault(require("@mui/base/Tabs"));
|
|
8
|
+
var TabsList_1 = tslib_1.__importDefault(require("@mui/base/TabsList"));
|
|
9
|
+
var Tab_1 = tslib_1.__importDefault(require("@mui/base/Tab"));
|
|
10
|
+
var useTab_1 = tslib_1.__importDefault(require("@mui/base/useTab"));
|
|
11
|
+
var TabPanel_1 = tslib_1.__importDefault(require("@mui/base/TabPanel"));
|
|
11
12
|
var helpers_1 = require("../helpers");
|
|
12
|
-
exports.Root =
|
|
13
|
-
exports.List =
|
|
13
|
+
exports.Root = Tabs_1.default;
|
|
14
|
+
exports.List = TabsList_1.default;
|
|
14
15
|
// export const Tab = TabUnstyled as unknown as Props["Tab"];
|
|
15
16
|
exports.Indicator = "span";
|
|
16
|
-
exports.Panel =
|
|
17
|
+
exports.Panel = TabPanel_1.default;
|
|
17
18
|
exports.Tab = (0, react_1.forwardRef)(function Tab(_a, ref) {
|
|
18
|
-
var children = _a.children,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
var children = _a.children,
|
|
20
|
+
// component,
|
|
21
|
+
slot = _a.slot, slotProps = _a.slotProps, slots = _a.slots, Indicator = _a.Indicator, props = tslib_1.__rest(_a, ["children", "slot", "slotProps", "slots", "Indicator"]);
|
|
22
|
+
var _b = (0, useTab_1.default)(tslib_1.__assign(tslib_1.__assign({}, props), { rootRef: ref })), active = _b.active, /* disabled, */ selected = _b.selected;
|
|
23
|
+
var indicatorProps = { active: active, /* disabled, */ selected: selected };
|
|
24
|
+
return ((0, jsx_runtime_1.jsxs)(Tab_1.default /* ref={ref} */, tslib_1.__assign({}, props, { children: [children, Indicator && (0, jsx_runtime_1.jsx)(Indicator, tslib_1.__assign({}, indicatorProps))] })));
|
|
22
25
|
});
|
|
23
26
|
/**
|
|
24
27
|
*
|
package/Tabs/TabsMui.mjs
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { __assign, __rest } from "tslib";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef } from "react";
|
|
4
|
-
import TabsUnstyled from "@mui/base/
|
|
5
|
-
import TabsListUnstyled from "@mui/base/
|
|
6
|
-
import TabUnstyled
|
|
7
|
-
import
|
|
4
|
+
import TabsUnstyled from "@mui/base/Tabs";
|
|
5
|
+
import TabsListUnstyled from "@mui/base/TabsList";
|
|
6
|
+
import TabUnstyled from "@mui/base/Tab";
|
|
7
|
+
import useTab from "@mui/base/useTab";
|
|
8
|
+
import TabPanelUnstyled from "@mui/base/TabPanel";
|
|
8
9
|
import { extendComponent, } from "../helpers";
|
|
9
10
|
export var Root = TabsUnstyled;
|
|
10
11
|
export var List = TabsListUnstyled;
|
|
@@ -12,9 +13,11 @@ export var List = TabsListUnstyled;
|
|
|
12
13
|
export var Indicator = "span";
|
|
13
14
|
export var Panel = TabPanelUnstyled;
|
|
14
15
|
export var Tab = forwardRef(function Tab(_a, ref) {
|
|
15
|
-
var children = _a.children,
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
var children = _a.children,
|
|
17
|
+
// component,
|
|
18
|
+
slot = _a.slot, slotProps = _a.slotProps, slots = _a.slots, Indicator = _a.Indicator, props = __rest(_a, ["children", "slot", "slotProps", "slots", "Indicator"]);
|
|
19
|
+
var _b = useTab(__assign(__assign({}, props), { rootRef: ref })), active = _b.active, /* disabled, */ selected = _b.selected;
|
|
20
|
+
var indicatorProps = { active: active, /* disabled, */ selected: selected };
|
|
18
21
|
return (_jsxs(TabUnstyled /* ref={ref} */, __assign({}, props, { children: [children, Indicator && _jsx(Indicator, __assign({}, indicatorProps))] })));
|
|
19
22
|
});
|
|
20
23
|
/**
|
package/Tabs/tw/bare.d.ts
CHANGED
|
@@ -1,38 +1,37 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
/// <reference types="react" />
|
|
2
3
|
export type { KoineTabsProps } from "../TabsMui";
|
|
3
4
|
export declare const Root: import("react").ForwardRefExoticComponent<Omit<{
|
|
4
5
|
className?: string | undefined;
|
|
5
6
|
ref?: import("react").Ref<any> | undefined;
|
|
6
|
-
}, "ref"> & import("react").RefAttributes<import("@mui/
|
|
7
|
+
}, "ref"> & import("react").RefAttributes<import("@mui/base/utils").PolymorphicComponent<import("@mui/base/Tabs").TabsTypeMap<{}, "div">>>>;
|
|
7
8
|
export declare const List: import("react").ForwardRefExoticComponent<Omit<{
|
|
8
9
|
className?: string | undefined;
|
|
9
10
|
ref?: import("react").Ref<any> | undefined;
|
|
10
|
-
}, "ref"> & import("react").RefAttributes<import("@mui/
|
|
11
|
+
}, "ref"> & import("react").RefAttributes<import("@mui/base/utils").PolymorphicComponent<import("@mui/base/TabsList").TabsListTypeMap<{}, "div">>>>;
|
|
11
12
|
export declare const Tab: import("react").ForwardRefExoticComponent<Omit<{
|
|
12
13
|
className?: string | undefined;
|
|
13
14
|
ref?: import("react").Ref<any> | undefined;
|
|
14
|
-
}, "ref"> & import("react").RefAttributes<import("react").ForwardRefExoticComponent<Omit<import("@mui/base/
|
|
15
|
+
}, "ref"> & import("react").RefAttributes<import("react").ForwardRefExoticComponent<Omit<import("@mui/base/Tab").TabOwnProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
15
16
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
16
|
-
}, keyof import("@mui/base/
|
|
17
|
-
|
|
18
|
-
} & {
|
|
19
|
-
Indicator?: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & Pick<import("@mui/base/TabUnstyled").UseTabReturnValue, "disabled" | "selected" | "active"> & {
|
|
17
|
+
}, keyof import("@mui/base/Tab").TabOwnProps> & {
|
|
18
|
+
Indicator?: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & Pick<import("@mui/base/useTab").UseTabReturnValue, "selected" | "active"> & {
|
|
20
19
|
children?: import("react").ReactNode;
|
|
21
20
|
}>> | undefined;
|
|
22
21
|
}, "ref"> & import("react").RefAttributes<unknown>>>>;
|
|
23
22
|
export declare const Indicator: import("react").ForwardRefExoticComponent<Omit<{
|
|
24
23
|
className?: string | undefined;
|
|
25
24
|
ref?: import("react").Ref<any> | undefined;
|
|
26
|
-
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & Pick<import("@mui/base/
|
|
25
|
+
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & Pick<import("@mui/base/useTab").UseTabReturnValue, "selected" | "active"> & {
|
|
27
26
|
children?: import("react").ReactNode;
|
|
28
27
|
}>>>>;
|
|
29
28
|
export declare const Panel: import("react").ForwardRefExoticComponent<Omit<{
|
|
30
29
|
className?: string | undefined;
|
|
31
30
|
ref?: import("react").Ref<any> | undefined;
|
|
32
|
-
}, "ref"> & import("react").RefAttributes<import("@mui/
|
|
31
|
+
}, "ref"> & import("react").RefAttributes<import("@mui/base/utils").PolymorphicComponent<import("@mui/base/TabPanel").TabPanelTypeMap<{}, "div">>>>;
|
|
33
32
|
export declare const KoineTabs: ((props: Omit<{
|
|
34
33
|
key?: import("react").Key | null | undefined;
|
|
35
|
-
value?: string | number |
|
|
34
|
+
value?: string | number | null | undefined;
|
|
36
35
|
id?: string | undefined;
|
|
37
36
|
title?: string | undefined;
|
|
38
37
|
color?: string | undefined;
|
|
@@ -40,10 +39,11 @@ export declare const KoineTabs: ((props: Omit<{
|
|
|
40
39
|
style?: import("react").CSSProperties | undefined;
|
|
41
40
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
42
41
|
defaultChecked?: boolean | undefined;
|
|
43
|
-
defaultValue?: string | number |
|
|
42
|
+
defaultValue?: string | number | null | undefined;
|
|
44
43
|
suppressContentEditableWarning?: boolean | undefined;
|
|
45
44
|
suppressHydrationWarning?: boolean | undefined;
|
|
46
45
|
accessKey?: string | undefined;
|
|
46
|
+
autoFocus?: boolean | undefined;
|
|
47
47
|
className?: string | undefined;
|
|
48
48
|
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
|
|
49
49
|
contextMenu?: string | undefined;
|
|
@@ -59,11 +59,14 @@ export declare const KoineTabs: ((props: Omit<{
|
|
|
59
59
|
radioGroup?: string | undefined;
|
|
60
60
|
role?: import("react").AriaRole | undefined;
|
|
61
61
|
about?: string | undefined;
|
|
62
|
+
content?: string | undefined;
|
|
62
63
|
datatype?: string | undefined;
|
|
63
64
|
inlist?: any;
|
|
64
65
|
prefix?: string | undefined;
|
|
65
66
|
property?: string | undefined;
|
|
67
|
+
rel?: string | undefined;
|
|
66
68
|
resource?: string | undefined;
|
|
69
|
+
rev?: string | undefined;
|
|
67
70
|
typeof?: string | undefined;
|
|
68
71
|
vocab?: string | undefined;
|
|
69
72
|
autoCapitalize?: string | undefined;
|
|
@@ -82,14 +85,18 @@ export declare const KoineTabs: ((props: Omit<{
|
|
|
82
85
|
'aria-activedescendant'?: string | undefined;
|
|
83
86
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
84
87
|
'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
|
|
88
|
+
'aria-braillelabel'?: string | undefined;
|
|
89
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
85
90
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
86
91
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
87
92
|
'aria-colcount'?: number | undefined;
|
|
88
93
|
'aria-colindex'?: number | undefined;
|
|
94
|
+
'aria-colindextext'?: string | undefined;
|
|
89
95
|
'aria-colspan'?: number | undefined;
|
|
90
96
|
'aria-controls'?: string | undefined;
|
|
91
97
|
'aria-current'?: boolean | "location" | "time" | "true" | "false" | "page" | "step" | "date" | undefined;
|
|
92
98
|
'aria-describedby'?: string | undefined;
|
|
99
|
+
'aria-description'?: string | undefined;
|
|
93
100
|
'aria-details'?: string | undefined;
|
|
94
101
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
95
102
|
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
@@ -119,6 +126,7 @@ export declare const KoineTabs: ((props: Omit<{
|
|
|
119
126
|
'aria-roledescription'?: string | undefined;
|
|
120
127
|
'aria-rowcount'?: number | undefined;
|
|
121
128
|
'aria-rowindex'?: number | undefined;
|
|
129
|
+
'aria-rowindextext'?: string | undefined;
|
|
122
130
|
'aria-rowspan'?: number | undefined;
|
|
123
131
|
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
124
132
|
'aria-setsize'?: number | undefined;
|
|
@@ -129,7 +137,7 @@ export declare const KoineTabs: ((props: Omit<{
|
|
|
129
137
|
'aria-valuetext'?: string | undefined;
|
|
130
138
|
children?: import("react").ReactNode;
|
|
131
139
|
dangerouslySetInnerHTML?: {
|
|
132
|
-
__html: string;
|
|
140
|
+
__html: string | TrustedHTML;
|
|
133
141
|
} | undefined;
|
|
134
142
|
onCopy?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
135
143
|
onCopyCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
@@ -147,7 +155,7 @@ export declare const KoineTabs: ((props: Omit<{
|
|
|
147
155
|
onFocusCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
148
156
|
onBlur?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
149
157
|
onBlurCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
150
|
-
onChange?: ((event: import("react").SyntheticEvent<Element, Event
|
|
158
|
+
onChange?: ((event: import("react").SyntheticEvent<Element, Event> | null, value: string | number | null) => void) | undefined;
|
|
151
159
|
onChangeCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
152
160
|
onBeforeInput?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
153
161
|
onBeforeInputCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
@@ -297,75 +305,71 @@ export declare const KoineTabs: ((props: Omit<{
|
|
|
297
305
|
orientation?: ("horizontal" | "vertical") | undefined;
|
|
298
306
|
selectionFollowsFocus?: boolean | undefined;
|
|
299
307
|
mTab?: import("framer-motion").MotionProps | undefined;
|
|
300
|
-
Root: import("@mui/
|
|
301
|
-
List: import("@mui/
|
|
302
|
-
Tab: import("@mui/
|
|
303
|
-
Indicator: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & Pick<import("@mui/base/
|
|
308
|
+
Root: import("@mui/base/utils").PolymorphicComponent<import("@mui/base/Tabs").TabsTypeMap<{}, "div">>;
|
|
309
|
+
List: import("@mui/base/utils").PolymorphicComponent<import("@mui/base/TabsList").TabsListTypeMap<{}, "div">>;
|
|
310
|
+
Tab: import("@mui/base/utils").PolymorphicComponent<import("@mui/base/Tab").TabTypeMap<{}, "button">>;
|
|
311
|
+
Indicator: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & Pick<import("@mui/base/useTab").UseTabReturnValue, "selected" | "active"> & {
|
|
304
312
|
children?: import("react").ReactNode;
|
|
305
313
|
}>>;
|
|
306
|
-
Panel: import("@mui/
|
|
314
|
+
Panel: import("@mui/base/utils").PolymorphicComponent<import("@mui/base/TabPanel").TabPanelTypeMap<{}, "div">>;
|
|
307
315
|
}, "ref"> & import("react").RefAttributes<HTMLDivElement>) => import("react").FunctionComponentElement<any>) & {
|
|
308
316
|
Root: import("react").ForwardRefExoticComponent<Omit<{
|
|
309
317
|
className?: string | undefined;
|
|
310
318
|
ref?: import("react").Ref<any> | undefined;
|
|
311
|
-
}, "ref"> & import("react").RefAttributes<import("@mui/
|
|
319
|
+
}, "ref"> & import("react").RefAttributes<import("@mui/base/utils").PolymorphicComponent<import("@mui/base/Tabs").TabsTypeMap<{}, "div">>>>;
|
|
312
320
|
List: import("react").ForwardRefExoticComponent<Omit<{
|
|
313
321
|
className?: string | undefined;
|
|
314
322
|
ref?: import("react").Ref<any> | undefined;
|
|
315
|
-
}, "ref"> & import("react").RefAttributes<import("@mui/
|
|
323
|
+
}, "ref"> & import("react").RefAttributes<import("@mui/base/utils").PolymorphicComponent<import("@mui/base/TabsList").TabsListTypeMap<{}, "div">>>>;
|
|
316
324
|
Tab: import("react").ForwardRefExoticComponent<Omit<{
|
|
317
325
|
className?: string | undefined;
|
|
318
326
|
ref?: import("react").Ref<any> | undefined;
|
|
319
|
-
}, "ref"> & import("react").RefAttributes<import("react").ForwardRefExoticComponent<Omit<import("@mui/base/
|
|
327
|
+
}, "ref"> & import("react").RefAttributes<import("react").ForwardRefExoticComponent<Omit<import("@mui/base/Tab").TabOwnProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
320
328
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
321
|
-
}, keyof import("@mui/base/
|
|
322
|
-
|
|
323
|
-
} & {
|
|
324
|
-
Indicator?: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & Pick<import("@mui/base/TabUnstyled").UseTabReturnValue, "disabled" | "selected" | "active"> & {
|
|
329
|
+
}, keyof import("@mui/base/Tab").TabOwnProps> & {
|
|
330
|
+
Indicator?: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & Pick<import("@mui/base/useTab").UseTabReturnValue, "selected" | "active"> & {
|
|
325
331
|
children?: import("react").ReactNode;
|
|
326
332
|
}>> | undefined;
|
|
327
333
|
}, "ref"> & import("react").RefAttributes<unknown>>>>;
|
|
328
334
|
Indicator: import("react").ForwardRefExoticComponent<Omit<{
|
|
329
335
|
className?: string | undefined;
|
|
330
336
|
ref?: import("react").Ref<any> | undefined;
|
|
331
|
-
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & Pick<import("@mui/base/
|
|
337
|
+
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & Pick<import("@mui/base/useTab").UseTabReturnValue, "selected" | "active"> & {
|
|
332
338
|
children?: import("react").ReactNode;
|
|
333
339
|
}>>>>;
|
|
334
340
|
Panel: import("react").ForwardRefExoticComponent<Omit<{
|
|
335
341
|
className?: string | undefined;
|
|
336
342
|
ref?: import("react").Ref<any> | undefined;
|
|
337
|
-
}, "ref"> & import("react").RefAttributes<import("@mui/
|
|
343
|
+
}, "ref"> & import("react").RefAttributes<import("@mui/base/utils").PolymorphicComponent<import("@mui/base/TabPanel").TabPanelTypeMap<{}, "div">>>>;
|
|
338
344
|
} & {
|
|
339
345
|
defaultProps: {
|
|
340
346
|
Root: import("react").ForwardRefExoticComponent<Omit<{
|
|
341
347
|
className?: string | undefined;
|
|
342
348
|
ref?: import("react").Ref<any> | undefined;
|
|
343
|
-
}, "ref"> & import("react").RefAttributes<import("@mui/
|
|
349
|
+
}, "ref"> & import("react").RefAttributes<import("@mui/base/utils").PolymorphicComponent<import("@mui/base/Tabs").TabsTypeMap<{}, "div">>>>;
|
|
344
350
|
List: import("react").ForwardRefExoticComponent<Omit<{
|
|
345
351
|
className?: string | undefined;
|
|
346
352
|
ref?: import("react").Ref<any> | undefined;
|
|
347
|
-
}, "ref"> & import("react").RefAttributes<import("@mui/
|
|
353
|
+
}, "ref"> & import("react").RefAttributes<import("@mui/base/utils").PolymorphicComponent<import("@mui/base/TabsList").TabsListTypeMap<{}, "div">>>>;
|
|
348
354
|
Tab: import("react").ForwardRefExoticComponent<Omit<{
|
|
349
355
|
className?: string | undefined;
|
|
350
356
|
ref?: import("react").Ref<any> | undefined;
|
|
351
|
-
}, "ref"> & import("react").RefAttributes<import("react").ForwardRefExoticComponent<Omit<import("@mui/base/
|
|
357
|
+
}, "ref"> & import("react").RefAttributes<import("react").ForwardRefExoticComponent<Omit<import("@mui/base/Tab").TabOwnProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
352
358
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
353
|
-
}, keyof import("@mui/base/
|
|
354
|
-
|
|
355
|
-
} & {
|
|
356
|
-
Indicator?: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & Pick<import("@mui/base/TabUnstyled").UseTabReturnValue, "disabled" | "selected" | "active"> & {
|
|
359
|
+
}, keyof import("@mui/base/Tab").TabOwnProps> & {
|
|
360
|
+
Indicator?: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & Pick<import("@mui/base/useTab").UseTabReturnValue, "selected" | "active"> & {
|
|
357
361
|
children?: import("react").ReactNode;
|
|
358
362
|
}>> | undefined;
|
|
359
363
|
}, "ref"> & import("react").RefAttributes<unknown>>>>;
|
|
360
364
|
Indicator: import("react").ForwardRefExoticComponent<Omit<{
|
|
361
365
|
className?: string | undefined;
|
|
362
366
|
ref?: import("react").Ref<any> | undefined;
|
|
363
|
-
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & Pick<import("@mui/base/
|
|
367
|
+
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & Pick<import("@mui/base/useTab").UseTabReturnValue, "selected" | "active"> & {
|
|
364
368
|
children?: import("react").ReactNode;
|
|
365
369
|
}>>>>;
|
|
366
370
|
Panel: import("react").ForwardRefExoticComponent<Omit<{
|
|
367
371
|
className?: string | undefined;
|
|
368
372
|
ref?: import("react").Ref<any> | undefined;
|
|
369
|
-
}, "ref"> & import("react").RefAttributes<import("@mui/
|
|
373
|
+
}, "ref"> & import("react").RefAttributes<import("@mui/base/utils").PolymorphicComponent<import("@mui/base/TabPanel").TabPanelTypeMap<{}, "div">>>>;
|
|
370
374
|
};
|
|
371
375
|
};
|