react-magma-dom 4.10.0-next.12 → 4.10.0-next.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Popover/Popover.d.ts +2 -0
- package/dist/components/Tabs/CustomTab.d.ts +7 -0
- package/dist/components/Tabs/Tab.d.ts +6 -0
- package/dist/esm/index.js +66 -41
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/properties.json +13 -13
- package/dist/react-magma-dom.cjs.development.js +66 -40
- package/dist/react-magma-dom.cjs.development.js.map +1 -1
- package/dist/react-magma-dom.cjs.production.min.js +1 -1
- package/dist/react-magma-dom.cjs.production.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -6,6 +6,7 @@ export declare enum PopoverPosition {
|
|
|
6
6
|
}
|
|
7
7
|
export interface PopoverApi {
|
|
8
8
|
closePopoverManually(event: any): void;
|
|
9
|
+
openPopoverManually(event: any): void;
|
|
9
10
|
}
|
|
10
11
|
export interface PopoverProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
11
12
|
/**
|
|
@@ -64,6 +65,7 @@ export interface PopoverProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
64
65
|
* The ref object that allows Popover manipulation.
|
|
65
66
|
* Actions available:
|
|
66
67
|
* closePopoverManually(event): void - Closes the popover manually.
|
|
68
|
+
* openPopoverManually(event): void - Opens the popover manually.
|
|
67
69
|
*/
|
|
68
70
|
apiRef?: React.MutableRefObject<PopoverApi | undefined>;
|
|
69
71
|
/**
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TabProps } from './Tab';
|
|
3
|
+
/**
|
|
4
|
+
* CustomTab allows full customization of the tab content while preserving tab behavior.
|
|
5
|
+
* You can pass any children (e.g., a Button) and all tab context/props will be handled.
|
|
6
|
+
*/
|
|
7
|
+
export declare const CustomTab: React.ForwardRefExoticComponent<TabProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -8,6 +8,11 @@ export interface TabProps extends React.ButtonHTMLAttributes<HTMLButtonElement>
|
|
|
8
8
|
*/
|
|
9
9
|
icon?: React.ReactElement<any> | React.ReactElement<any>[];
|
|
10
10
|
isInverse?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* If true, the tab will have no styles and will render the children directly.
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
unstyled?: boolean;
|
|
11
16
|
/**
|
|
12
17
|
* Determines whether the tab appears in all-caps
|
|
13
18
|
* @default TabsTextTransform.uppercase
|
|
@@ -33,6 +38,7 @@ export declare const StyledTabsChild: import("@emotion/styled").StyledComponent<
|
|
|
33
38
|
isInverse?: boolean;
|
|
34
39
|
orientation: TabsOrientation;
|
|
35
40
|
theme: ThemeInterface;
|
|
41
|
+
unstyled?: boolean;
|
|
36
42
|
}, React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {}>;
|
|
37
43
|
export declare const TabStyles: (props: any) => import("@emotion/react").SerializedStyles;
|
|
38
44
|
export declare const StyledIcon: import("@emotion/styled").StyledComponent<{
|