@galaxy-ds/core 1.1.45 → 1.1.46
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/Tabs/Tabs.d.ts +2 -2
- package/dist/Tabs/Tabs.types.d.ts +2 -3
- package/dist/Tooltip/Tooltip.types.d.ts +2 -11
- package/dist/index.esm.js +9 -8
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +9 -8
- package/dist/index.js.map +1 -1
- package/dist/package.json +2 -2
- package/package.json +2 -2
package/dist/Tabs/Tabs.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { TabsProps } from "@material-ui/core/Tabs";
|
|
2
|
-
export interface
|
|
3
|
-
|
|
4
|
-
orientation?: 'horizontal' | 'vertical';
|
|
2
|
+
export interface CustomTabsProps extends TabsProps {
|
|
3
|
+
orientation?: "horizontal" | "vertical";
|
|
5
4
|
value?: any;
|
|
6
5
|
children: any;
|
|
7
6
|
}
|
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export interface TooltipProps {
|
|
3
|
-
/**
|
|
4
|
-
* Tooltip reference element.
|
|
5
|
-
*/
|
|
6
|
-
children: React.ReactElement;
|
|
7
|
-
/**
|
|
8
|
-
* Tooltip title. Zero-length titles string are never displayed.
|
|
9
|
-
*/
|
|
10
|
-
title: React.ReactNode;
|
|
11
|
-
placement?: 'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top';
|
|
1
|
+
import { TooltipProps as MuiTooltipProps } from "@material-ui/core";
|
|
2
|
+
export interface TooltipProps extends MuiTooltipProps {
|
|
12
3
|
}
|
package/dist/index.esm.js
CHANGED
|
@@ -34482,22 +34482,22 @@ var useStyles$e = makeStyles(createStyles({
|
|
|
34482
34482
|
root: {
|
|
34483
34483
|
flexGrow: 1,
|
|
34484
34484
|
backgroundColor: common.brand.background.tabs,
|
|
34485
|
-
|
|
34485
|
+
"& .Mui-selected": {
|
|
34486
34486
|
// backgroundColor: common.brand.primary.contrastText,
|
|
34487
34487
|
},
|
|
34488
34488
|
},
|
|
34489
34489
|
tabsRoot: {
|
|
34490
34490
|
borderBottom: "1px solid " + common.brand.utility.border,
|
|
34491
|
-
|
|
34492
|
-
borderBottom:
|
|
34491
|
+
"&.MuiTabs-vertical": {
|
|
34492
|
+
borderBottom: "none",
|
|
34493
34493
|
},
|
|
34494
34494
|
},
|
|
34495
34495
|
indicator: {
|
|
34496
|
-
display:
|
|
34496
|
+
display: "none",
|
|
34497
34497
|
},
|
|
34498
34498
|
}));
|
|
34499
34499
|
var Tabs = function (_a) {
|
|
34500
|
-
var children = _a.children, _b = _a.orientation, orientation = _b === void 0 ?
|
|
34500
|
+
var children = _a.children, _b = _a.orientation, orientation = _b === void 0 ? "horizontal" : _b, props = __rest(_a, ["children", "orientation"]);
|
|
34501
34501
|
var classes = useStyles$e();
|
|
34502
34502
|
return (React__default.createElement("div", { className: classes.root },
|
|
34503
34503
|
React__default.createElement(MuiTabs, __assign$1({ orientation: orientation }, props, { classes: { root: classes.tabsRoot, indicator: classes.indicator }, indicatorColor: "secondary" }), children)));
|
|
@@ -34684,9 +34684,10 @@ var Toolbar = function (props) {
|
|
|
34684
34684
|
React__default.createElement(Toolbar$2, null, props.children)));
|
|
34685
34685
|
};
|
|
34686
34686
|
|
|
34687
|
-
var Tooltip = function (props) {
|
|
34688
|
-
|
|
34689
|
-
};
|
|
34687
|
+
var Tooltip = React__default.forwardRef(function (props, ref) {
|
|
34688
|
+
var children = props.children, TransitionProps = props.TransitionProps, defaultProps = __rest(props, ["children", "TransitionProps"]);
|
|
34689
|
+
return (React__default.createElement(Tooltip$2, __assign$1({ arrow: true, TransitionProps: __assign$1(__assign$1({}, TransitionProps), { timeout: 0 }), ref: ref }, defaultProps), children));
|
|
34690
|
+
});
|
|
34690
34691
|
|
|
34691
34692
|
function DocTypeAppointment$2(props) {
|
|
34692
34693
|
return (React__default.createElement(SvgIcon$1, __assign$1({}, props, { viewBox: "0 0 48 48" }),
|