@redsift/products 11.6.0-muiv5-alpha.5 → 11.6.0-muiv5-alpha.6
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/_internal/RadarButton.d.ts +8 -0
- package/_internal/RadarButton.js +19 -2
- package/_internal/RadarItem.d.ts +9 -0
- package/_internal/RadarItem.js +17 -3
- package/_internal/RadarSimpleDialog.d.ts +104 -0
- package/_internal/RadarSimpleDialog.js +8782 -76
- package/_internal/RadarSimpleMenuButton.d.ts +44 -0
- package/_internal/RadarSimpleMenuButton.js +86 -33
- package/_internal/radar-button.d.ts +2 -0
- package/_internal/radar-button.js +1 -1
- package/_internal/radar-dialog.d.ts +38 -0
- package/_internal/radar-dialog.js +2 -38
- package/_internal/radar-item.d.ts +3 -0
- package/_internal/radar-item.js +1 -2
- package/_internal/radar-menu-button.d.ts +4 -0
- package/_internal/radar-menu-button.js +1 -3
- package/_internal/radar.d.ts +50 -0
- package/_internal/radar.js +18 -45
- package/index.d.ts +8 -0
- package/index.js +1 -4
- package/package.json +5 -5
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as _redsift_pickers from '@redsift/pickers';
|
|
2
|
+
import { MenuButtonProps, MenuButtonContentProps, MenuButtonContentHeaderProps, MenuButtonContentMenuProps } from '@redsift/pickers';
|
|
3
|
+
import React__default from 'react';
|
|
4
|
+
import { Comp, IconProps } from '@redsift/design-system';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* The RadarMenuButton component.
|
|
8
|
+
*/
|
|
9
|
+
declare const BaseRadarMenuButton: React__default.FC<MenuButtonProps> & {
|
|
10
|
+
displayName?: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
};
|
|
13
|
+
declare const RadarMenuButtonTrigger: Comp<_redsift_pickers.MenuButtonTriggerProps, HTMLButtonElement>;
|
|
14
|
+
declare const BaseRadarMenuButtonContent: Comp<MenuButtonContentProps, HTMLDivElement>;
|
|
15
|
+
declare const RadarMenuButtonContentHeader: Comp<MenuButtonContentHeaderProps, HTMLDivElement>;
|
|
16
|
+
declare const RadarMenuButtonContentMenu: Comp<MenuButtonContentMenuProps, HTMLDivElement>;
|
|
17
|
+
declare const RadarMenuButtonContentFooter: Comp<_redsift_pickers.MenuButtonContentFooterProps, HTMLDivElement>;
|
|
18
|
+
declare const RadarMenuButtonContent: Comp<MenuButtonContentProps, HTMLDivElement> & {
|
|
19
|
+
Header: Comp<MenuButtonContentHeaderProps, HTMLDivElement>;
|
|
20
|
+
Menu: Comp<MenuButtonContentMenuProps, HTMLDivElement>;
|
|
21
|
+
Footer: Comp<_redsift_pickers.MenuButtonContentFooterProps, HTMLDivElement>;
|
|
22
|
+
};
|
|
23
|
+
declare const RadarMenuButton: React__default.FC<MenuButtonProps> & {
|
|
24
|
+
displayName?: string | undefined;
|
|
25
|
+
className?: string | undefined;
|
|
26
|
+
} & {
|
|
27
|
+
Trigger: Comp<_redsift_pickers.MenuButtonTriggerProps, HTMLButtonElement>;
|
|
28
|
+
Content: Comp<MenuButtonContentProps, HTMLDivElement> & {
|
|
29
|
+
Header: Comp<MenuButtonContentHeaderProps, HTMLDivElement>;
|
|
30
|
+
Menu: Comp<MenuButtonContentMenuProps, HTMLDivElement>;
|
|
31
|
+
Footer: Comp<_redsift_pickers.MenuButtonContentFooterProps, HTMLDivElement>;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* The RadarSimpleMenuButton component.
|
|
37
|
+
*/
|
|
38
|
+
declare const RadarSimpleMenuButton: Comp<Omit<MenuButtonProps, 'children'> & {
|
|
39
|
+
title: string;
|
|
40
|
+
subtitle?: string;
|
|
41
|
+
icon?: Omit<IconProps, 'ref'>;
|
|
42
|
+
} & Pick<MenuButtonContentMenuProps, 'children'>, HTMLDivElement>;
|
|
43
|
+
|
|
44
|
+
export { BaseRadarMenuButton as B, RadarMenuButtonTrigger as R, BaseRadarMenuButtonContent as a, RadarMenuButtonContentHeader as b, RadarMenuButtonContentMenu as c, RadarMenuButtonContentFooter as d, RadarMenuButtonContent as e, RadarMenuButton as f, RadarSimpleMenuButton as g };
|
|
@@ -1,44 +1,97 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
1
|
+
import { _ as _extends, a as _objectWithoutProperties } from './_rollupPluginBabelHelpers.js';
|
|
2
|
+
import React__default, { forwardRef } from 'react';
|
|
3
|
+
import { Flexbox, Icon, Text } from '@redsift/design-system';
|
|
4
|
+
import { rsiSparkleGradient } from '@redsift/icons';
|
|
5
|
+
import { MenuButton, MenuButtonTrigger, MenuButtonContent, MenuButtonContentHeader, MenuButtonContentMenu, MenuButtonContentFooter } from '@redsift/pickers';
|
|
6
|
+
import styled from 'styled-components';
|
|
7
|
+
import { R as RadarButton } from './RadarButton.js';
|
|
5
8
|
|
|
6
9
|
/**
|
|
7
10
|
* The RadarMenuButton component.
|
|
8
11
|
*/
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
declare const RadarMenuButtonContentMenu: Comp<MenuButtonContentMenuProps, HTMLDivElement>;
|
|
17
|
-
declare const RadarMenuButtonContentFooter: Comp<_redsift_pickers.MenuButtonContentFooterProps, HTMLDivElement>;
|
|
18
|
-
declare const RadarMenuButtonContent: Comp<MenuButtonContentProps, HTMLDivElement> & {
|
|
19
|
-
Header: Comp<MenuButtonContentHeaderProps, HTMLDivElement>;
|
|
20
|
-
Menu: Comp<MenuButtonContentMenuProps, HTMLDivElement>;
|
|
21
|
-
Footer: Comp<_redsift_pickers.MenuButtonContentFooterProps, HTMLDivElement>;
|
|
22
|
-
};
|
|
23
|
-
declare const RadarMenuButton: React__default.FC<MenuButtonProps> & {
|
|
24
|
-
displayName?: string | undefined;
|
|
25
|
-
className?: string | undefined;
|
|
26
|
-
} & {
|
|
27
|
-
Trigger: Comp<_redsift_pickers.MenuButtonTriggerProps, HTMLButtonElement>;
|
|
28
|
-
Content: Comp<MenuButtonContentProps, HTMLDivElement> & {
|
|
29
|
-
Header: Comp<MenuButtonContentHeaderProps, HTMLDivElement>;
|
|
30
|
-
Menu: Comp<MenuButtonContentMenuProps, HTMLDivElement>;
|
|
31
|
-
Footer: Comp<_redsift_pickers.MenuButtonContentFooterProps, HTMLDivElement>;
|
|
32
|
-
};
|
|
12
|
+
|
|
13
|
+
const BaseRadarMenuButton = props => {
|
|
14
|
+
return /*#__PURE__*/React__default.createElement(MenuButton, _extends({
|
|
15
|
+
offset: 0,
|
|
16
|
+
minWidth: 545,
|
|
17
|
+
color: "radar"
|
|
18
|
+
}, props));
|
|
33
19
|
};
|
|
20
|
+
BaseRadarMenuButton.displayName = 'MenuButton';
|
|
21
|
+
const RadarMenuButtonTrigger = MenuButtonTrigger;
|
|
22
|
+
RadarMenuButtonTrigger.displayName = 'MenuButtonTrigger';
|
|
23
|
+
const StyledMenuButtonContent = styled(MenuButtonContent)`
|
|
24
|
+
background: transparent;
|
|
25
|
+
background-image: linear-gradient(90deg, white, white), linear-gradient(90deg, #51b7a4, #0081c3);
|
|
26
|
+
background-clip: padding-box, border-box;
|
|
27
|
+
background-origin: border-box;
|
|
28
|
+
border: 2px solid transparent;
|
|
29
|
+
border-radius: 4px;
|
|
30
|
+
`;
|
|
31
|
+
const BaseRadarMenuButtonContent = /*#__PURE__*/forwardRef((props, ref) => /*#__PURE__*/React__default.createElement(StyledMenuButtonContent, _extends({}, props, {
|
|
32
|
+
ref: ref
|
|
33
|
+
})));
|
|
34
|
+
BaseRadarMenuButtonContent.displayName = 'MenuButtonContent';
|
|
35
|
+
const RadarMenuButtonContentHeader = /*#__PURE__*/forwardRef((props, ref) => /*#__PURE__*/React__default.createElement(MenuButtonContentHeader, _extends({
|
|
36
|
+
margin: "24px 16px 8px",
|
|
37
|
+
display: "flex",
|
|
38
|
+
flexDirection: "column",
|
|
39
|
+
gap: "8px"
|
|
40
|
+
}, props, {
|
|
41
|
+
ref: ref
|
|
42
|
+
})));
|
|
43
|
+
RadarMenuButtonContentHeader.displayName = 'MenuButtonContentHeader';
|
|
44
|
+
const RadarMenuButtonContentMenu = /*#__PURE__*/forwardRef((props, ref) => /*#__PURE__*/React__default.createElement(MenuButtonContentMenu, _extends({
|
|
45
|
+
margin: "0 16px 20px 49px",
|
|
46
|
+
width: "calc(100% - 64px)"
|
|
47
|
+
}, props, {
|
|
48
|
+
ref: ref
|
|
49
|
+
})));
|
|
50
|
+
RadarMenuButtonContentMenu.displayName = 'MenuButtonContentMenu';
|
|
51
|
+
const RadarMenuButtonContentFooter = MenuButtonContentFooter;
|
|
52
|
+
RadarMenuButtonContentFooter.displayName = 'MenuButtonContentFooter';
|
|
53
|
+
const RadarMenuButtonContent = Object.assign(BaseRadarMenuButtonContent, {
|
|
54
|
+
Header: RadarMenuButtonContentHeader,
|
|
55
|
+
Menu: RadarMenuButtonContentMenu,
|
|
56
|
+
Footer: RadarMenuButtonContentFooter
|
|
57
|
+
});
|
|
58
|
+
const RadarMenuButton = Object.assign(BaseRadarMenuButton, {
|
|
59
|
+
Trigger: RadarMenuButtonTrigger,
|
|
60
|
+
Content: RadarMenuButtonContent
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
const _excluded = ["icon", "children", "title", "subtitle"];
|
|
34
64
|
|
|
35
65
|
/**
|
|
36
66
|
* The RadarSimpleMenuButton component.
|
|
37
67
|
*/
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
68
|
+
|
|
69
|
+
const RadarSimpleMenuButton = props => {
|
|
70
|
+
const {
|
|
71
|
+
icon,
|
|
72
|
+
children,
|
|
73
|
+
title,
|
|
74
|
+
subtitle
|
|
75
|
+
} = props,
|
|
76
|
+
forwardedProps = _objectWithoutProperties(props, _excluded);
|
|
77
|
+
return /*#__PURE__*/React__default.createElement(RadarMenuButton, forwardedProps, /*#__PURE__*/React__default.createElement(RadarMenuButton.Trigger, null, /*#__PURE__*/React__default.createElement(RadarButton, null)), /*#__PURE__*/React__default.createElement(RadarMenuButton.Content, null, /*#__PURE__*/React__default.createElement(RadarMenuButton.Content.Header, null, /*#__PURE__*/React__default.createElement(Flexbox, {
|
|
78
|
+
flexDirection: "row",
|
|
79
|
+
gap: "0"
|
|
80
|
+
}, /*#__PURE__*/React__default.createElement(Icon, _extends({
|
|
81
|
+
icon: rsiSparkleGradient,
|
|
82
|
+
size: "medium",
|
|
83
|
+
marginRight: "8px"
|
|
84
|
+
}, icon)), /*#__PURE__*/React__default.createElement(Text, {
|
|
85
|
+
fontSize: "20px",
|
|
86
|
+
fontWeight: "500"
|
|
87
|
+
}, title)), subtitle ? /*#__PURE__*/React__default.createElement(Flexbox, {
|
|
88
|
+
marginLeft: "32px",
|
|
89
|
+
marginRight: "16px"
|
|
90
|
+
}, /*#__PURE__*/React__default.createElement(Text, {
|
|
91
|
+
fontSize: "12px"
|
|
92
|
+
}, subtitle)) : null), /*#__PURE__*/React__default.createElement(RadarMenuButton.Content.Menu, null, children)));
|
|
93
|
+
};
|
|
94
|
+
RadarSimpleMenuButton.displayName = 'MenuButton';
|
|
43
95
|
|
|
44
96
|
export { BaseRadarMenuButton as B, RadarMenuButtonTrigger as R, BaseRadarMenuButtonContent as a, RadarMenuButtonContentHeader as b, RadarMenuButtonContentMenu as c, RadarMenuButtonContentFooter as d, RadarMenuButtonContent as e, RadarMenuButton as f, RadarSimpleMenuButton as g };
|
|
97
|
+
//# sourceMappingURL=RadarSimpleMenuButton.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { R as RadarButton } from './RadarButton.js';
|
|
2
|
-
|
|
2
|
+
//# sourceMappingURL=radar-button.js.map
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { Comp } from '@redsift/design-system';
|
|
3
|
+
import { D as DialogProps, c as DialogContentHeaderProps, d as DialogContentBodyProps, a as DialogTriggerProps, b as DialogContentProps } from './RadarSimpleDialog.js';
|
|
4
|
+
export { e as RadarSimpleDialog, R as RadarSimpleDialogProps } from './RadarSimpleDialog.js';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* The RadarDialog component.
|
|
8
|
+
*/
|
|
9
|
+
declare const BaseRadarDialog: React__default.FC<DialogProps> & {
|
|
10
|
+
displayName?: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
};
|
|
13
|
+
declare const RadarDialogContentHeader: Comp<DialogContentHeaderProps, HTMLDivElement>;
|
|
14
|
+
declare const RadarDialogContentBody: Comp<DialogContentBodyProps, HTMLDivElement>;
|
|
15
|
+
declare const RadarDialogTrigger: Comp<DialogTriggerProps, HTMLButtonElement>;
|
|
16
|
+
declare const BaseRadarDialogContent: Comp<DialogContentProps & {
|
|
17
|
+
backgroundPosition?: 'top' | 'bottom';
|
|
18
|
+
}, HTMLDivElement>;
|
|
19
|
+
declare const RadarDialogContent: Comp<DialogContentProps & {
|
|
20
|
+
backgroundPosition?: "top" | "bottom" | undefined;
|
|
21
|
+
}, HTMLDivElement> & {
|
|
22
|
+
Header: Comp<DialogContentHeaderProps, HTMLDivElement>;
|
|
23
|
+
Body: Comp<DialogContentBodyProps, HTMLDivElement>;
|
|
24
|
+
};
|
|
25
|
+
declare const RadarDialog: React__default.FC<DialogProps> & {
|
|
26
|
+
displayName?: string | undefined;
|
|
27
|
+
className?: string | undefined;
|
|
28
|
+
} & {
|
|
29
|
+
Trigger: Comp<DialogTriggerProps, HTMLButtonElement>;
|
|
30
|
+
Content: Comp<DialogContentProps & {
|
|
31
|
+
backgroundPosition?: "top" | "bottom" | undefined;
|
|
32
|
+
}, HTMLDivElement> & {
|
|
33
|
+
Header: Comp<DialogContentHeaderProps, HTMLDivElement>;
|
|
34
|
+
Body: Comp<DialogContentBodyProps, HTMLDivElement>;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export { BaseRadarDialog, BaseRadarDialogContent, RadarDialog, RadarDialogContent, RadarDialogContentBody, RadarDialogContentHeader, RadarDialogTrigger };
|
|
@@ -1,38 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { D as DialogProps, c as DialogContentHeaderProps, d as DialogContentBodyProps, a as DialogTriggerProps, b as DialogContentProps } from './RadarSimpleDialog.js';
|
|
4
|
-
export { e as RadarSimpleDialog, R as RadarSimpleDialogProps } from './RadarSimpleDialog.js';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* The RadarDialog component.
|
|
8
|
-
*/
|
|
9
|
-
declare const BaseRadarDialog: React__default.FC<DialogProps> & {
|
|
10
|
-
displayName?: string;
|
|
11
|
-
className?: string;
|
|
12
|
-
};
|
|
13
|
-
declare const RadarDialogContentHeader: Comp<DialogContentHeaderProps, HTMLDivElement>;
|
|
14
|
-
declare const RadarDialogContentBody: Comp<DialogContentBodyProps, HTMLDivElement>;
|
|
15
|
-
declare const RadarDialogTrigger: Comp<DialogTriggerProps, HTMLButtonElement>;
|
|
16
|
-
declare const BaseRadarDialogContent: Comp<DialogContentProps & {
|
|
17
|
-
backgroundPosition?: 'top' | 'bottom';
|
|
18
|
-
}, HTMLDivElement>;
|
|
19
|
-
declare const RadarDialogContent: Comp<DialogContentProps & {
|
|
20
|
-
backgroundPosition?: "top" | "bottom" | undefined;
|
|
21
|
-
}, HTMLDivElement> & {
|
|
22
|
-
Header: Comp<DialogContentHeaderProps, HTMLDivElement>;
|
|
23
|
-
Body: Comp<DialogContentBodyProps, HTMLDivElement>;
|
|
24
|
-
};
|
|
25
|
-
declare const RadarDialog: React__default.FC<DialogProps> & {
|
|
26
|
-
displayName?: string | undefined;
|
|
27
|
-
className?: string | undefined;
|
|
28
|
-
} & {
|
|
29
|
-
Trigger: Comp<DialogTriggerProps, HTMLButtonElement>;
|
|
30
|
-
Content: Comp<DialogContentProps & {
|
|
31
|
-
backgroundPosition?: "top" | "bottom" | undefined;
|
|
32
|
-
}, HTMLDivElement> & {
|
|
33
|
-
Header: Comp<DialogContentHeaderProps, HTMLDivElement>;
|
|
34
|
-
Body: Comp<DialogContentBodyProps, HTMLDivElement>;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
export { BaseRadarDialog, BaseRadarDialogContent, RadarDialog, RadarDialogContent, RadarDialogContentBody, RadarDialogContentHeader, RadarDialogTrigger };
|
|
1
|
+
export { B as BaseRadarDialog, e as BaseRadarDialogContent, a as RadarDialog, f as RadarDialogContent, c as RadarDialogContentBody, b as RadarDialogContentHeader, d as RadarDialogTrigger, R as RadarSimpleDialog } from './RadarSimpleDialog.js';
|
|
2
|
+
//# sourceMappingURL=radar-dialog.js.map
|
package/_internal/radar-item.js
CHANGED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { B as BaseRadarMenuButton, a as BaseRadarMenuButtonContent, f as RadarMenuButton, e as RadarMenuButtonContent, d as RadarMenuButtonContentFooter, b as RadarMenuButtonContentHeader, c as RadarMenuButtonContentMenu, R as RadarMenuButtonTrigger, g as RadarSimpleMenuButton } from './RadarSimpleMenuButton.js';
|
|
2
|
+
import '@redsift/pickers';
|
|
3
|
+
import 'react';
|
|
4
|
+
import '@redsift/design-system';
|
|
@@ -1,4 +1,2 @@
|
|
|
1
1
|
export { B as BaseRadarMenuButton, a as BaseRadarMenuButtonContent, f as RadarMenuButton, e as RadarMenuButtonContent, d as RadarMenuButtonContentFooter, b as RadarMenuButtonContentHeader, c as RadarMenuButtonContentMenu, R as RadarMenuButtonTrigger, g as RadarSimpleMenuButton } from './RadarSimpleMenuButton.js';
|
|
2
|
-
|
|
3
|
-
import 'react';
|
|
4
|
-
import '@redsift/design-system';
|
|
2
|
+
//# sourceMappingURL=radar-menu-button.js.map
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as _redsift_design_system from '@redsift/design-system';
|
|
3
|
+
import * as _redsift_pickers from '@redsift/pickers';
|
|
4
|
+
import { R as RadarSimpleDialogProps, D as DialogProps, a as DialogTriggerProps, b as DialogContentProps, c as DialogContentHeaderProps, d as DialogContentBodyProps } from './RadarSimpleDialog.js';
|
|
5
|
+
|
|
6
|
+
declare const RadarSimple: {
|
|
7
|
+
Dialog: RadarSimpleDialogProps;
|
|
8
|
+
MenuButton: _redsift_design_system.Comp<Omit<_redsift_pickers.MenuButtonProps, "children"> & {
|
|
9
|
+
title: string;
|
|
10
|
+
subtitle?: string | undefined;
|
|
11
|
+
icon?: Omit<_redsift_design_system.IconProps, "ref"> | undefined;
|
|
12
|
+
} & Pick<_redsift_pickers.MenuButtonContentMenuProps, "children">, HTMLDivElement>;
|
|
13
|
+
};
|
|
14
|
+
declare const Radar: {
|
|
15
|
+
Button: _redsift_design_system.Comp<_redsift_design_system.ButtonProps, HTMLButtonElement>;
|
|
16
|
+
Dialog: React.FC<DialogProps> & {
|
|
17
|
+
displayName?: string | undefined;
|
|
18
|
+
className?: string | undefined;
|
|
19
|
+
} & {
|
|
20
|
+
Trigger: _redsift_design_system.Comp<DialogTriggerProps, HTMLButtonElement>;
|
|
21
|
+
Content: _redsift_design_system.Comp<DialogContentProps & {
|
|
22
|
+
backgroundPosition?: "top" | "bottom" | undefined;
|
|
23
|
+
}, HTMLDivElement> & {
|
|
24
|
+
Header: _redsift_design_system.Comp<DialogContentHeaderProps, HTMLDivElement>;
|
|
25
|
+
Body: _redsift_design_system.Comp<DialogContentBodyProps, HTMLDivElement>;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
Item: _redsift_design_system.Comp<_redsift_design_system.ItemProps, HTMLDivElement>;
|
|
29
|
+
MenuButton: React.FC<_redsift_pickers.MenuButtonProps> & {
|
|
30
|
+
displayName?: string | undefined;
|
|
31
|
+
className?: string | undefined;
|
|
32
|
+
} & {
|
|
33
|
+
Trigger: _redsift_design_system.Comp<_redsift_pickers.MenuButtonTriggerProps, HTMLButtonElement>;
|
|
34
|
+
Content: _redsift_design_system.Comp<_redsift_pickers.MenuButtonContentProps, HTMLDivElement> & {
|
|
35
|
+
Header: _redsift_design_system.Comp<_redsift_pickers.MenuButtonContentHeaderProps, HTMLDivElement>;
|
|
36
|
+
Menu: _redsift_design_system.Comp<_redsift_pickers.MenuButtonContentMenuProps, HTMLDivElement>;
|
|
37
|
+
Footer: _redsift_design_system.Comp<_redsift_pickers.MenuButtonContentFooterProps, HTMLDivElement>;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
Simple: {
|
|
41
|
+
Dialog: RadarSimpleDialogProps;
|
|
42
|
+
MenuButton: _redsift_design_system.Comp<Omit<_redsift_pickers.MenuButtonProps, "children"> & {
|
|
43
|
+
title: string;
|
|
44
|
+
subtitle?: string | undefined;
|
|
45
|
+
icon?: Omit<_redsift_design_system.IconProps, "ref"> | undefined;
|
|
46
|
+
} & Pick<_redsift_pickers.MenuButtonContentMenuProps, "children">, HTMLDivElement>;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
export { Radar, RadarSimple };
|
package/_internal/radar.js
CHANGED
|
@@ -1,50 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { R as
|
|
1
|
+
import { R as RadarItem } from './RadarItem.js';
|
|
2
|
+
import { f as RadarMenuButton, g as RadarSimpleMenuButton } from './RadarSimpleMenuButton.js';
|
|
3
|
+
import { R as RadarSimpleDialog, a as RadarDialog } from './RadarSimpleDialog.js';
|
|
4
|
+
import { R as RadarButton } from './RadarButton.js';
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
RadarButton.displayName = 'Button';
|
|
7
|
+
RadarItem.displayName = 'Item';
|
|
8
|
+
RadarMenuButton.displayName = 'MenuButton';
|
|
9
|
+
RadarSimpleMenuButton.displayName = 'MenuButton';
|
|
10
|
+
const RadarSimple = {
|
|
11
|
+
Dialog: RadarSimpleDialog,
|
|
12
|
+
MenuButton: RadarSimpleMenuButton
|
|
13
13
|
};
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
Trigger: _redsift_design_system.Comp<DialogTriggerProps, HTMLButtonElement>;
|
|
21
|
-
Content: _redsift_design_system.Comp<DialogContentProps & {
|
|
22
|
-
backgroundPosition?: "top" | "bottom" | undefined;
|
|
23
|
-
}, HTMLDivElement> & {
|
|
24
|
-
Header: _redsift_design_system.Comp<DialogContentHeaderProps, HTMLDivElement>;
|
|
25
|
-
Body: _redsift_design_system.Comp<DialogContentBodyProps, HTMLDivElement>;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
Item: _redsift_design_system.Comp<_redsift_design_system.ItemProps, HTMLDivElement>;
|
|
29
|
-
MenuButton: React.FC<_redsift_pickers.MenuButtonProps> & {
|
|
30
|
-
displayName?: string | undefined;
|
|
31
|
-
className?: string | undefined;
|
|
32
|
-
} & {
|
|
33
|
-
Trigger: _redsift_design_system.Comp<_redsift_pickers.MenuButtonTriggerProps, HTMLButtonElement>;
|
|
34
|
-
Content: _redsift_design_system.Comp<_redsift_pickers.MenuButtonContentProps, HTMLDivElement> & {
|
|
35
|
-
Header: _redsift_design_system.Comp<_redsift_pickers.MenuButtonContentHeaderProps, HTMLDivElement>;
|
|
36
|
-
Menu: _redsift_design_system.Comp<_redsift_pickers.MenuButtonContentMenuProps, HTMLDivElement>;
|
|
37
|
-
Footer: _redsift_design_system.Comp<_redsift_pickers.MenuButtonContentFooterProps, HTMLDivElement>;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
Simple: {
|
|
41
|
-
Dialog: RadarSimpleDialogProps;
|
|
42
|
-
MenuButton: _redsift_design_system.Comp<Omit<_redsift_pickers.MenuButtonProps, "children"> & {
|
|
43
|
-
title: string;
|
|
44
|
-
subtitle?: string | undefined;
|
|
45
|
-
icon?: Omit<_redsift_design_system.IconProps, "ref"> | undefined;
|
|
46
|
-
} & Pick<_redsift_pickers.MenuButtonContentMenuProps, "children">, HTMLDivElement>;
|
|
47
|
-
};
|
|
14
|
+
const Radar = {
|
|
15
|
+
Button: RadarButton,
|
|
16
|
+
Dialog: RadarDialog,
|
|
17
|
+
Item: RadarItem,
|
|
18
|
+
MenuButton: RadarMenuButton,
|
|
19
|
+
Simple: RadarSimple
|
|
48
20
|
};
|
|
49
21
|
|
|
50
22
|
export { Radar, RadarSimple };
|
|
23
|
+
//# sourceMappingURL=radar.js.map
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { Radar, RadarSimple } from './_internal/radar.js';
|
|
2
|
+
export { R as RadarButton } from './_internal/RadarButton.js';
|
|
3
|
+
export { R as RadarItem } from './_internal/RadarItem.js';
|
|
4
|
+
export { B as BaseRadarMenuButton, a as BaseRadarMenuButtonContent, f as RadarMenuButton, e as RadarMenuButtonContent, d as RadarMenuButtonContentFooter, b as RadarMenuButtonContentHeader, c as RadarMenuButtonContentMenu, R as RadarMenuButtonTrigger, g as RadarSimpleMenuButton } from './_internal/RadarSimpleMenuButton.js';
|
|
5
|
+
import 'react';
|
|
6
|
+
import '@redsift/design-system';
|
|
7
|
+
import '@redsift/pickers';
|
|
8
|
+
import './_internal/RadarSimpleDialog.js';
|
package/index.js
CHANGED
|
@@ -2,7 +2,4 @@ export { Radar, RadarSimple } from './_internal/radar.js';
|
|
|
2
2
|
export { R as RadarButton } from './_internal/RadarButton.js';
|
|
3
3
|
export { R as RadarItem } from './_internal/RadarItem.js';
|
|
4
4
|
export { B as BaseRadarMenuButton, a as BaseRadarMenuButtonContent, f as RadarMenuButton, e as RadarMenuButtonContent, d as RadarMenuButtonContentFooter, b as RadarMenuButtonContentHeader, c as RadarMenuButtonContentMenu, R as RadarMenuButtonTrigger, g as RadarSimpleMenuButton } from './_internal/RadarSimpleMenuButton.js';
|
|
5
|
-
|
|
6
|
-
import '@redsift/design-system';
|
|
7
|
-
import '@redsift/pickers';
|
|
8
|
-
import './_internal/RadarSimpleDialog.js';
|
|
5
|
+
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"test": "yarn test:unit && yarn test:storybook"
|
|
31
31
|
},
|
|
32
32
|
"types": "index.d.ts",
|
|
33
|
-
"version": "11.6.0-muiv5-alpha.
|
|
33
|
+
"version": "11.6.0-muiv5-alpha.6",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@redsift/design-system": "^11.6.0-muiv5-alpha.
|
|
36
|
-
"@redsift/icons": "^11.6.0-muiv5-alpha.
|
|
37
|
-
"@redsift/pickers": "^11.6.0-muiv5-alpha.
|
|
35
|
+
"@redsift/design-system": "^11.6.0-muiv5-alpha.6",
|
|
36
|
+
"@redsift/icons": "^11.6.0-muiv5-alpha.6",
|
|
37
|
+
"@redsift/pickers": "^11.6.0-muiv5-alpha.6",
|
|
38
38
|
"classnames": "^2.3.1",
|
|
39
39
|
"styled-components": "^5.3.5"
|
|
40
40
|
},
|
|
@@ -95,5 +95,5 @@
|
|
|
95
95
|
"react-dom": ">=17",
|
|
96
96
|
"styled-components": "^5.3.5"
|
|
97
97
|
},
|
|
98
|
-
"gitHead": "
|
|
98
|
+
"gitHead": "c10cd42a94d8705dab7e947fa3fdc0ef0d93767e"
|
|
99
99
|
}
|