@koine/react 2.0.0-alpha.1 → 2.0.0-alpha.3

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.
Files changed (150) hide show
  1. package/Alert/Alert.d.ts +1 -1
  2. package/Animations/Reveal.d.ts +1 -1
  3. package/Animations/Reveal.js +1 -1
  4. package/Animations/Reveal.mjs +1 -1
  5. package/Animations/useReveal.d.ts +1 -0
  6. package/Autocomplete/AutocompleteMui.d.ts +3 -3
  7. package/Autocomplete/AutocompleteMui.js +7 -7
  8. package/Autocomplete/AutocompleteMui.mjs +6 -6
  9. package/Bg/BgColor.d.ts +1 -1
  10. package/Bg/BgColor.js +1 -1
  11. package/Bg/BgColor.mjs +1 -1
  12. package/Bg/BgPhoto.d.ts +1 -1
  13. package/Bg/BgPhoto.js +1 -1
  14. package/Bg/BgPhoto.mjs +1 -1
  15. package/Bg/BgSvg.d.ts +1 -1
  16. package/Bg/BgSvg.js +1 -1
  17. package/Bg/BgSvg.mjs +2 -2
  18. package/Breadcrumbs/Breadcrumbs.d.ts +1 -1
  19. package/Breadcrumbs/Breadcrumbs.js +2 -2
  20. package/Breadcrumbs/Breadcrumbs.mjs +2 -2
  21. package/Buttons/ButtonComposite.d.ts +1 -1
  22. package/Buttons/ButtonComposite.js +1 -1
  23. package/Buttons/ButtonComposite.mjs +1 -1
  24. package/Buttons/ButtonLink.d.ts +1 -1
  25. package/Calendar/CalendarDaygridCell.d.ts +1 -1
  26. package/Calendar/CalendarDaygridCell.js +3 -3
  27. package/Calendar/CalendarDaygridCell.mjs +3 -3
  28. package/Calendar/CalendarDaygridNav.d.ts +1 -1
  29. package/Calendar/CalendarDaygridTable.d.ts +1 -1
  30. package/Calendar/CalendarDaygridTable.js +2 -11
  31. package/Calendar/CalendarDaygridTable.mjs +2 -11
  32. package/Calendar/CalendarLegend.d.ts +1 -1
  33. package/Calendar/CalendarLegend.js +1 -2
  34. package/Calendar/CalendarLegend.mjs +1 -2
  35. package/Calendar/useCalendar.d.ts +1 -0
  36. package/Carousel/CarouselCss.d.ts +1 -1
  37. package/Carousel/CarouselCss.js +1 -1
  38. package/Carousel/CarouselCss.mjs +1 -1
  39. package/Debug/Debug.d.ts +1 -1
  40. package/Details/Details.d.ts +11 -1
  41. package/Details/Details.js +3 -3
  42. package/Details/Details.mjs +3 -3
  43. package/Dialog/DialogMui.d.ts +54 -13
  44. package/Dialog/DialogMui.js +3 -3
  45. package/Dialog/DialogMui.mjs +2 -2
  46. package/Dialog/css/bare.d.ts +54 -12
  47. package/Dialog/m/bare.d.ts +54 -11
  48. package/Dialog/m/bare.js +2 -2
  49. package/Dialog/m/bare.mjs +2 -2
  50. package/Dialog/m/index.d.ts +1 -0
  51. package/Dialog/sc/bare.d.ts +54 -12
  52. package/Dialog/sc/framer.d.ts +54 -11
  53. package/Dialog/sc/framerMaterial.d.ts +54 -11
  54. package/Dialog/sc/material.d.ts +54 -12
  55. package/Dialog/tw/bare.d.ts +54 -12
  56. package/Dialog/tw/elegant.d.ts +54 -12
  57. package/Dialog/tw/framer.d.ts +54 -11
  58. package/Dialog/tw/framerMaterial.d.ts +54 -11
  59. package/Dialog/tw/material.d.ts +54 -12
  60. package/Editor/Editor--tiptap.d.ts +2 -2
  61. package/Editor/Editor--tiptap.js +3 -3
  62. package/Editor/Editor--tiptap.mjs +3 -3
  63. package/FaviconTags/FaviconTags.d.ts +1 -1
  64. package/FaviconTags/index.d.ts +1 -1
  65. package/FaviconTags/index.js +4 -4
  66. package/FaviconTags/index.mjs +1 -1
  67. package/Form/Form.d.ts +1 -1
  68. package/Form/sc/bare.d.ts +7 -7
  69. package/Forms/Checkbox/Checkbox.d.ts +1 -1
  70. package/Forms/Feedback/Feedback.d.ts +1 -1
  71. package/Forms/Feedback/Feedback.js +1 -1
  72. package/Forms/Feedback/Feedback.mjs +2 -2
  73. package/Forms/Field/Field.d.ts +1 -1
  74. package/Forms/Field/Field.js +1 -1
  75. package/Forms/Field/Field.mjs +1 -1
  76. package/Forms/Field/FieldControl.d.ts +1 -1
  77. package/Forms/InputGroup/InputGroup.d.ts +1 -1
  78. package/Forms/Password/Password.js +1 -1
  79. package/Forms/Password/Password.mjs +1 -1
  80. package/Forms/Toggle/Toggle.d.ts +2 -2
  81. package/Forms/Toggle/Toggle.js +2 -2
  82. package/Forms/Toggle/Toggle.mjs +3 -3
  83. package/Forms/Toggle/useToggle.d.ts +1 -1
  84. package/Forms/antispam.d.ts +4 -4
  85. package/Forms/styles.d.ts +1 -1
  86. package/Hamburger/Hamburger.d.ts +1 -1
  87. package/Hamburger/Hamburger.js +1 -1
  88. package/Hamburger/Hamburger.mjs +1 -1
  89. package/Link/LinkBlank.d.ts +2 -2
  90. package/MenuItem/useMenuItem.d.ts +2 -4
  91. package/MenuItem/useMenuItem.js +16 -14
  92. package/MenuItem/useMenuItem.mjs +17 -15
  93. package/Meta/Meta.d.ts +1 -1
  94. package/NoJs/NoJs.d.ts +1 -1
  95. package/Pagination/PaginationNav.d.ts +1 -1
  96. package/Pagination/PaginationNav.js +5 -5
  97. package/Pagination/PaginationNav.mjs +6 -6
  98. package/Pagination/PaginationResults.d.ts +1 -1
  99. package/Pagination/PaginationResults.js +1 -1
  100. package/Pagination/PaginationResults.mjs +2 -2
  101. package/Progress/ProgressCircular.d.ts +1 -1
  102. package/Progress/ProgressLinear.d.ts +1 -1
  103. package/Progress/ProgressOverlay.d.ts +1 -1
  104. package/Progress/ProgressOverlay.js +3 -3
  105. package/Progress/ProgressOverlay.mjs +4 -4
  106. package/Rating/Rating.d.ts +2 -2
  107. package/Rating/Rating.js +1 -1
  108. package/Rating/Rating.mjs +1 -1
  109. package/Sidebar/Sidebar.d.ts +1 -1
  110. package/Sidebar/Sidebar.js +1 -1
  111. package/Sidebar/Sidebar.mjs +2 -2
  112. package/Spacing/Spacing.d.ts +1 -1
  113. package/Sticky/StickyCss.d.ts +1 -1
  114. package/Sticky/index.d.ts +1 -1
  115. package/Sticky/index.js +3 -2
  116. package/Sticky/index.mjs +1 -1
  117. package/Tabs/TabsMui.d.ts +46 -41
  118. package/Tabs/TabsMui.js +14 -11
  119. package/Tabs/TabsMui.mjs +10 -7
  120. package/Tabs/tw/bare.d.ts +40 -36
  121. package/Tabs/tw/material.d.ts +52 -54
  122. package/Typography/ReadMore.d.ts +1 -1
  123. package/Typography/ReadMore.js +1 -1
  124. package/Typography/ReadMore.mjs +1 -1
  125. package/Typography/TextLoop.d.ts +2 -2
  126. package/Typography/TextLoop.js +3 -3
  127. package/Typography/TextLoop.mjs +3 -3
  128. package/Typography/TypeStairs.js +1 -2
  129. package/Typography/TypeStairs.mjs +1 -2
  130. package/hooks/useFocus.d.ts +1 -0
  131. package/m/MotionProvider.d.ts +1 -1
  132. package/m/MotionProvider.js +1 -2
  133. package/m/MotionProvider.mjs +1 -2
  134. package/package.json +14 -18
  135. package/styles/index.d.ts +7 -7
  136. package/styles/index.js +39 -8
  137. package/styles/index.mjs +7 -7
  138. package/styles/styled.d.ts +1 -1
  139. package/styles/styled.js +2 -2
  140. package/styles/styled.mjs +2 -2
  141. package/styles/theme--vanilla.d.ts +1 -1
  142. package/styles/theme--vanilla.js +1 -1
  143. package/styles/theme--vanilla.mjs +1 -2
  144. package/typings.d.ts +6 -6
  145. package/hooks/useEffectOnce.d.ts +0 -6
  146. package/hooks/useEffectOnce.js +0 -13
  147. package/hooks/useEffectOnce.mjs +0 -9
  148. package/hooks/useMount.d.ts +0 -5
  149. package/hooks/useMount.js +0 -14
  150. package/hooks/useMount.mjs +0 -10
package/Tabs/TabsMui.d.ts CHANGED
@@ -1,8 +1,10 @@
1
1
  /// <reference types="react" />
2
- import TabsUnstyled, { type TabsUnstyledProps } from "@mui/base/TabsUnstyled";
3
- import TabsListUnstyled, { TabsListUnstyledProps } from "@mui/base/TabsListUnstyled";
4
- import TabUnstyled, { TabUnstyledProps, useTab } from "@mui/base/TabUnstyled";
5
- import TabPanelUnstyled, { TabPanelUnstyledProps } from "@mui/base/TabPanelUnstyled";
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<ReturnType<typeof useTab>, "active" | "disabled" | "selected">>;
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/types").OverridableComponent<import("@mui/base/TabsUnstyled").TabsUnstyledTypeMap<{}, "div">>;
46
- export declare const List: import("@mui/types").OverridableComponent<import("@mui/base/TabsListUnstyled").TabsListUnstyledTypeMap<{}, "div">>;
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<import("@mui/base/TabUnstyled").UseTabReturnValue, "disabled" | "selected" | "active"> & {
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/types").OverridableComponent<import("@mui/base/TabPanelUnstyled").TabPanelUnstyledTypeMap<{}, "div">>;
51
- export declare const Tab: import("react").ForwardRefExoticComponent<Omit<import("@mui/base/TabUnstyled").TabUnstyledOwnProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
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/TabUnstyled").TabUnstyledOwnProps> & {
54
- component?: "button" | undefined;
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 | false | undefined;
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 | false | undefined;
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>, value: string | number | boolean) => void) | undefined;
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/types").OverridableComponent<import("@mui/base/TabsUnstyled").TabsUnstyledTypeMap<{}, "div">>;
328
- List: import("@mui/types").OverridableComponent<import("@mui/base/TabsListUnstyled").TabsListUnstyledTypeMap<{}, "div">>;
329
- Tab: import("@mui/types").OverridableComponent<import("@mui/base/TabUnstyled").TabUnstyledTypeMap<{}, "button">>;
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/TabUnstyled").UseTabReturnValue, "disabled" | "selected" | "active"> & {
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/types").OverridableComponent<import("@mui/base/TabPanelUnstyled").TabPanelUnstyledTypeMap<{}, "div">>;
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/types").OverridableComponent<import("@mui/base/TabsUnstyled").TabsUnstyledTypeMap<{}, "div">>;
336
- List: import("@mui/types").OverridableComponent<import("@mui/base/TabsListUnstyled").TabsListUnstyledTypeMap<{}, "div">>;
337
- Tab: import("react").ForwardRefExoticComponent<Omit<import("@mui/base/TabUnstyled").TabUnstyledOwnProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
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/TabUnstyled").TabUnstyledOwnProps> & {
340
- component?: "button" | undefined;
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<import("@mui/base/TabUnstyled").UseTabReturnValue, "disabled" | "selected" | "active"> & {
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/types").OverridableComponent<import("@mui/base/TabPanelUnstyled").TabPanelUnstyledTypeMap<{}, "div">>;
356
+ Panel: import("@mui/base/utils").PolymorphicComponent<import("@mui/base/TabPanel").TabPanelTypeMap<{}, "div">>;
350
357
  } & {
351
358
  defaultProps: {
352
- Root: import("@mui/types").OverridableComponent<import("@mui/base/TabsUnstyled").TabsUnstyledTypeMap<{}, "div">>;
353
- List: import("@mui/types").OverridableComponent<import("@mui/base/TabsListUnstyled").TabsListUnstyledTypeMap<{}, "div">>;
354
- Tab: import("react").ForwardRefExoticComponent<Omit<import("@mui/base/TabUnstyled").TabUnstyledOwnProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
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/TabUnstyled").TabUnstyledOwnProps> & {
357
- component?: "button" | undefined;
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<import("@mui/base/TabUnstyled").UseTabReturnValue, "disabled" | "selected" | "active"> & {
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/types").OverridableComponent<import("@mui/base/TabPanelUnstyled").TabPanelUnstyledTypeMap<{}, "div">>;
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 TabsUnstyled_1 = tslib_1.__importDefault(require("@mui/base/TabsUnstyled"));
8
- var TabsListUnstyled_1 = tslib_1.__importDefault(require("@mui/base/TabsListUnstyled"));
9
- var TabUnstyled_1 = tslib_1.__importStar(require("@mui/base/TabUnstyled"));
10
- var TabPanelUnstyled_1 = tslib_1.__importDefault(require("@mui/base/TabPanelUnstyled"));
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 = TabsUnstyled_1.default;
13
- exports.List = TabsListUnstyled_1.default;
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 = TabPanelUnstyled_1.default;
17
+ exports.Panel = TabPanel_1.default;
17
18
  exports.Tab = (0, react_1.forwardRef)(function Tab(_a, ref) {
18
- var children = _a.children, component = _a.component, slotProps = _a.slotProps, slots = _a.slots, Indicator = _a.Indicator, props = tslib_1.__rest(_a, ["children", "component", "slotProps", "slots", "Indicator"]);
19
- var _b = (0, TabUnstyled_1.useTab)(tslib_1.__assign(tslib_1.__assign({}, props), { ref: ref })), active = _b.active, disabled = _b.disabled, selected = _b.selected;
20
- var indicatorProps = { active: active, disabled: disabled, selected: selected };
21
- return ((0, jsx_runtime_1.jsxs)(TabUnstyled_1.default /* ref={ref} */, tslib_1.__assign({}, props, { children: [children, Indicator && (0, jsx_runtime_1.jsx)(Indicator, tslib_1.__assign({}, indicatorProps))] })));
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/TabsUnstyled";
5
- import TabsListUnstyled from "@mui/base/TabsListUnstyled";
6
- import TabUnstyled, { useTab } from "@mui/base/TabUnstyled";
7
- import TabPanelUnstyled from "@mui/base/TabPanelUnstyled";
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, component = _a.component, slotProps = _a.slotProps, slots = _a.slots, Indicator = _a.Indicator, props = __rest(_a, ["children", "component", "slotProps", "slots", "Indicator"]);
16
- var _b = useTab(__assign(__assign({}, props), { ref: ref })), active = _b.active, disabled = _b.disabled, selected = _b.selected;
17
- var indicatorProps = { active: active, disabled: disabled, selected: selected };
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/types").OverridableComponent<import("@mui/base/TabsUnstyled").TabsUnstyledTypeMap<{}, "div">>>>;
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/types").OverridableComponent<import("@mui/base/TabsListUnstyled").TabsListUnstyledTypeMap<{}, "div">>>>;
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/TabUnstyled").TabUnstyledOwnProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
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/TabUnstyled").TabUnstyledOwnProps> & {
17
- component?: "button" | undefined;
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/TabUnstyled").UseTabReturnValue, "disabled" | "selected" | "active"> & {
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/types").OverridableComponent<import("@mui/base/TabPanelUnstyled").TabPanelUnstyledTypeMap<{}, "div">>>>;
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 | false | undefined;
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 | false | undefined;
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>, value: string | number | boolean) => void) | undefined;
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/types").OverridableComponent<import("@mui/base/TabsUnstyled").TabsUnstyledTypeMap<{}, "div">>;
301
- List: import("@mui/types").OverridableComponent<import("@mui/base/TabsListUnstyled").TabsListUnstyledTypeMap<{}, "div">>;
302
- Tab: import("@mui/types").OverridableComponent<import("@mui/base/TabUnstyled").TabUnstyledTypeMap<{}, "button">>;
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/TabUnstyled").UseTabReturnValue, "disabled" | "selected" | "active"> & {
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/types").OverridableComponent<import("@mui/base/TabPanelUnstyled").TabPanelUnstyledTypeMap<{}, "div">>;
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/types").OverridableComponent<import("@mui/base/TabsUnstyled").TabsUnstyledTypeMap<{}, "div">>>>;
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/types").OverridableComponent<import("@mui/base/TabsListUnstyled").TabsListUnstyledTypeMap<{}, "div">>>>;
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/TabUnstyled").TabUnstyledOwnProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
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/TabUnstyled").TabUnstyledOwnProps> & {
322
- component?: "button" | undefined;
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/TabUnstyled").UseTabReturnValue, "disabled" | "selected" | "active"> & {
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/types").OverridableComponent<import("@mui/base/TabPanelUnstyled").TabPanelUnstyledTypeMap<{}, "div">>>>;
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/types").OverridableComponent<import("@mui/base/TabsUnstyled").TabsUnstyledTypeMap<{}, "div">>>>;
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/types").OverridableComponent<import("@mui/base/TabsListUnstyled").TabsListUnstyledTypeMap<{}, "div">>>>;
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/TabUnstyled").TabUnstyledOwnProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
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/TabUnstyled").TabUnstyledOwnProps> & {
354
- component?: "button" | undefined;
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/TabUnstyled").UseTabReturnValue, "disabled" | "selected" | "active"> & {
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/types").OverridableComponent<import("@mui/base/TabPanelUnstyled").TabPanelUnstyledTypeMap<{}, "div">>>>;
373
+ }, "ref"> & import("react").RefAttributes<import("@mui/base/utils").PolymorphicComponent<import("@mui/base/TabPanel").TabPanelTypeMap<{}, "div">>>>;
370
374
  };
371
375
  };