td-stylekit 27.1.1 → 27.3.0
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/CHANGELOG.md +14 -0
- package/dist/es/DataGrid/elements.d.ts +1 -0
- package/dist/es/GrowthRateChart/GrowthRateChart.d.ts +1 -0
- package/dist/es/Icon/staticTypes.d.ts +4 -0
- package/dist/es/Icon/types.js +7 -1
- package/dist/es/Modal/Modal.d.ts +3 -1
- package/dist/es/Modal/Modal.js +7 -4
- package/dist/es/Modal/components/Flyout.d.ts +11 -0
- package/dist/es/Modal/components/Flyout.js +49 -0
- package/dist/es/Modal/components/elements.d.ts +22 -21
- package/dist/es/Modal/components/elements.js +27 -18
- package/dist/es/Modal/components/index.d.ts +1 -0
- package/dist/es/Modal/components/index.js +8 -0
- package/dist/es/Modal/constants.d.ts +2 -1
- package/dist/es/Modal/constants.js +9 -6
- package/dist/es/ThemeProvider/ThemeProvider.d.ts +2 -0
- package/dist/es/ThemeProvider/accessibility.js +2 -1
- package/dist/es/ThemeProvider/theme.d.ts +1 -0
- package/dist/es/ThemeProvider/theme.js +2 -1
- package/dist/es/utils/enzyme.d.ts +0 -14
- package/dist/es/utils/enzyme.js +1 -48
- package/dist/es/utils/testingLibrary.d.ts +18 -0
- package/dist/es/utils/testingLibrary.js +86 -0
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [27.3.0](https://github.com/treasure-data/td-stylekit/compare/v27.2.0...v27.3.0) (2022-09-26)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **Icons:** Add legacy rts and key icons ([#1334](https://github.com/treasure-data/td-stylekit/issues/1334)) ([f83d98a](https://github.com/treasure-data/td-stylekit/commit/f83d98a))
|
|
7
|
+
|
|
8
|
+
# [27.2.0](https://github.com/treasure-data/td-stylekit/compare/v27.1.1...v27.2.0) (2022-09-15)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **CON-10583:** Modal Flyout ([#1325](https://github.com/treasure-data/td-stylekit/issues/1325)) ([1e43329](https://github.com/treasure-data/td-stylekit/commit/1e43329))
|
|
14
|
+
|
|
1
15
|
## [27.1.1](https://github.com/treasure-data/td-stylekit/compare/v27.1.0...v27.1.1) (2022-09-13)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -536,6 +536,8 @@ export declare type IconTypes = {
|
|
|
536
536
|
QueryIcon: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
537
537
|
RealTimeSegment: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
538
538
|
RealTimeSegmentIcon: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
539
|
+
RealTimeSegmentLegacy: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
540
|
+
RealTimeSegmentLegacyIcon: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
539
541
|
Redo: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
540
542
|
RedoIcon: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
541
543
|
Refresh: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
@@ -570,6 +572,8 @@ export declare type IconTypes = {
|
|
|
570
572
|
SymbolMinusIcon: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
571
573
|
Table: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
572
574
|
TableIcon: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
575
|
+
ToolKeyStriped: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
576
|
+
ToolKeyStripedIcon: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
573
577
|
Train: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
574
578
|
TrainIcon: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
575
579
|
TreeNav: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
package/dist/es/Icon/types.js
CHANGED
|
@@ -1084,7 +1084,10 @@ React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
|
|
|
1084
1084
|
d: "M16.997 10.8l.388.318a.497.497 0 00.067-.532.503.503 0 00-.455-.286v.5zm-4.191 0l-.49-.116a.498.498 0 00.49.616v-.5zm1.504-6.3l.49.115a.499.499 0 00-.264-.562.505.505 0 00-.612.127l.386.32zm-7.307 8.7l-.386-.32a.498.498 0 00-.07.532c.083.176.26.288.456.288v-.5zm4.191 0l.491.108a.498.498 0 00-.491-.608v.5zm-1.397 6.3l-.491-.108a.5.5 0 00.271.558c.21.1.46.046.609-.132l-.389-.318zm7.2-9.2h-4.191v1h4.191v-1zm-3.702.615l1.505-6.3-.98-.23-.492 2.065-1.012 4.234.98.232zm.63-6.735l-7.308 8.7.772.64.69-.82 5.248-6.25 1.37-1.63-.773-.64zM7.002 13.7h4.191v-1H7.003v1zm3.7-.608l-1.397 6.3.982.216.451-2.034.946-4.266-.982-.216zm-.517 6.726l7.2-8.7-.778-.636-.676.818-5.193 6.274-1.33 1.608.777.636z"
|
|
1085
1085
|
}), /*#__PURE__*/React.createElement("path", {
|
|
1086
1086
|
d: "M12.411 11.11a.498.498 0 01-.095-.425l1.011-4.235-5.249 6.25h3.116c.152 0 .297.069.392.187a.498.498 0 01.1.42l-.947 4.267 5.193-6.274h-3.126c-.154 0-.3-.07-.395-.19z"
|
|
1087
|
-
})),
|
|
1087
|
+
})),RealTimeSegmentLegacy: /*#__PURE__*/
|
|
1088
|
+
React.createElement("path", {
|
|
1089
|
+
d: "M14.636 5.303l.164-.688a.495.495 0 00.006-.203l-.404-.404a.505.505 0 00-.478.172l-.188.223.9.9zM12.768 5.556l.484-.576 1.18 1.18-.205.855-1.46-1.459zM11.8 6.71l.484-.577 1.738 1.739-.204.856-2.019-2.019zM10.831 7.862l.484-.576 2.298 2.298-.17.716h.886l2.043 2.042-.48.58-5.061-5.06zM9.863 9.015l.484-.576 5.064 5.064-.48.58-5.068-5.068zM8.894 10.168l.484-.576 5.073 5.072-.48.58-5.077-5.076zM7.926 11.321l.484-.576 5.08 5.08-.48.58-2.49-2.49.048-.215h-.263l-2.38-2.379zM6.958 12.474l.484-.576L9.244 13.7h-1.06l-1.226-1.226zM9.365 19.124l.193-.868 1.05 1.05-.422.512a.497.497 0 01-.064.063l-.757-.757zM11.089 18.727L9.75 17.388l.193-.868 1.626 1.626-.48.58zM12.53 16.985l-.48.58-1.915-1.913.193-.868 2.202 2.201zM7.123 13.7h-.12a.503.503 0 01-.49-.61l.61.61zM17.332 11.182l-.48.58L15.39 10.3h1.06l.882.882z"
|
|
1090
|
+
}),Redo: /*#__PURE__*/
|
|
1088
1091
|
React.createElement("path", {
|
|
1089
1092
|
d: "M15.571 4.501a.5.5 0 01.854-.354l3.323 3.324a.5.5 0 010 .707l-3.323 3.323a.5.5 0 01-.854-.353V8.824h-5.285a4.286 4.286 0 100 8.572h2.265a1 1 0 110 2h-2.265a6.286 6.286 0 110-12.572h5.285V4.501z",
|
|
1090
1093
|
fillRule: "evenodd"
|
|
@@ -1212,6 +1215,9 @@ React.createElement("path", {
|
|
|
1212
1215
|
React.createElement("path", {
|
|
1213
1216
|
d: "M11.876 12.992A4.002 4.002 0 014 12a4 4 0 017.876-.992c.04-.005.082-.008.124-.008h7a1 1 0 110 2h-1v1.5a1 1 0 11-2 0V13h-4c-.042 0-.083-.003-.124-.008zM10 12a2 2 0 11-4 0 2 2 0 014 0z",
|
|
1214
1217
|
fillRule: "evenodd"
|
|
1218
|
+
}),ToolKeyStriped: /*#__PURE__*/
|
|
1219
|
+
React.createElement("path", {
|
|
1220
|
+
d: "M7.227 15.925a4.004 4.004 0 01-3.152-3.152l3.152 3.152zM8.347 15.985l-4.332-4.332c.026-.306.087-.601.178-.883l1.935 1.935c.202.537.63.965 1.167 1.167l1.935 1.935a3.979 3.979 0 01-.883.178zM10.591 15.047c-.193.165-.402.31-.624.437l-1.531-1.532c.268-.06.516-.173.732-.328l1.423 1.423zM11.536 13.87c-.12.228-.261.442-.421.64l-1.43-1.43c.146-.23.247-.49.291-.77l1.56 1.56zM12.787 13H12c-.042 0-.083-.003-.124-.008-.01.042-.022.083-.034.124l-2.101-2.101a2.01 2.01 0 00-.756-.756L6.884 8.158a3.99 3.99 0 01.908-.153L12.787 13zM13.848 13L8.965 8.117a4.007 4.007 0 012.911 2.89c.04-.004.082-.007.124-.007h.908l2 2h-1.06zM18 13.97v.53a.996.996 0 01-.098.433L16 13.03V13h-.031l-2-2h1.06L18 13.97zM18.09 13l-2-2h1.06l1.99 1.99c-.045.007-.092.01-.14.01h-.91zM19.805 12.594L18.21 11H19c.114 0 .224.02.327.055l.618.618a1 1 0 01-.14.92zM16 14.092l1.346 1.346A1 1 0 0116 14.5v-.408zM7.69 10.024l-1.56-1.56c-.228.12-.442.261-.64.421l1.43 1.43c.23-.146.49-.247.77-.291zM6.376 10.832L4.953 9.41c-.165.193-.31.402-.437.624l1.532 1.531a1.99 1.99 0 01.328-.732z"
|
|
1215
1221
|
}),ToolPen: /*#__PURE__*/
|
|
1216
1222
|
React.createElement("path", {
|
|
1217
1223
|
d: "M14.038 7.301a.5.5 0 00-.707 0l-9.184 9.184A.5.5 0 004 16.84V19.5a.5.5 0 00.5.5h2.662a.5.5 0 00.353-.146L16.7 10.67a.5.5 0 000-.707L14.038 7.3zm5.264-2.603a2.381 2.381 0 00-3.368 0l-.633.633a.5.5 0 000 .707L17.962 8.7a.5.5 0 00.707 0l.633-.634c.93-.93.93-2.438 0-3.368z"
|
package/dist/es/Modal/Modal.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Body, Footer, FooterConfirmation, ModalMessage } from './components';
|
|
1
|
+
import { Body, Footer, FooterConfirmation, ModalMessage, Flyout } from './components';
|
|
2
2
|
import type { DialogOverlayProps } from '@reach/dialog';
|
|
3
3
|
import React, { Component } from 'react';
|
|
4
4
|
export declare type ModalProps = {
|
|
@@ -12,6 +12,7 @@ export declare type ModalProps = {
|
|
|
12
12
|
onHide?: () => void;
|
|
13
13
|
show: boolean;
|
|
14
14
|
size: string;
|
|
15
|
+
flyout?: React.ReactNode;
|
|
15
16
|
} & DialogOverlayProps;
|
|
16
17
|
declare type ModalState = {
|
|
17
18
|
pageInstrumentation: string;
|
|
@@ -73,6 +74,7 @@ export declare class Modal extends Component<ModalProps, ModalState> {
|
|
|
73
74
|
};
|
|
74
75
|
static Header: ({ closeTitle, id, title, subtitle, dynamite, destructive, onHide, disableCancel, children, ...props }: import("./types").HeaderProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
75
76
|
static Message: typeof ModalMessage;
|
|
77
|
+
static Flyout: typeof Flyout;
|
|
76
78
|
state: ModalState;
|
|
77
79
|
setPageInstrumentation: (page: string) => void;
|
|
78
80
|
render(): import("@emotion/react/jsx-runtime").JSX.Element;
|
package/dist/es/Modal/Modal.js
CHANGED
|
@@ -15,7 +15,7 @@ var _context = require("./context");
|
|
|
15
15
|
|
|
16
16
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
17
17
|
|
|
18
|
-
var _excluded = ["aria-label", "dismissOnOverlayClick", "flex", "onHide", "show", "size", "children", "dialogIdentifier", "data-instrumentation"];
|
|
18
|
+
var _excluded = ["aria-label", "dismissOnOverlayClick", "flex", "onHide", "show", "size", "children", "flyout", "dialogIdentifier", "data-instrumentation"];
|
|
19
19
|
|
|
20
20
|
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
|
21
21
|
|
|
@@ -97,6 +97,7 @@ var Modal = /*#__PURE__*/function (_Component) {
|
|
|
97
97
|
show = _this$props.show,
|
|
98
98
|
size = _this$props.size,
|
|
99
99
|
children = _this$props.children,
|
|
100
|
+
flyout = _this$props.flyout,
|
|
100
101
|
dialogIdentifier = _this$props.dialogIdentifier,
|
|
101
102
|
dataInstrumentation = _this$props['data-instrumentation'],
|
|
102
103
|
props = _objectWithoutProperties(_this$props, _excluded);
|
|
@@ -115,15 +116,15 @@ var Modal = /*#__PURE__*/function (_Component) {
|
|
|
115
116
|
onHide: onHide,
|
|
116
117
|
show: show
|
|
117
118
|
}, props), {}, {
|
|
118
|
-
children: (0, _jsxRuntime.
|
|
119
|
-
"data-gs-c": gsC(children),
|
|
119
|
+
children: (0, _jsxRuntime.jsxs)(_components.ModalDialog, {
|
|
120
120
|
"data-gs": gs("src", "modal", "modal.tsx", "modalcontext-provider", "modal-overlay", "modal-dialog"),
|
|
121
121
|
"aria-label": ariaLabel,
|
|
122
122
|
size: size,
|
|
123
123
|
"data-dialog-id": dialogIdentifier,
|
|
124
124
|
"data-instrumentation": instrumentation,
|
|
125
125
|
flex: flex,
|
|
126
|
-
|
|
126
|
+
flyout: flyout,
|
|
127
|
+
children: [children, flyout]
|
|
127
128
|
})
|
|
128
129
|
}))
|
|
129
130
|
});
|
|
@@ -163,5 +164,7 @@ _defineProperty(Modal, "Header", _components.Header);
|
|
|
163
164
|
|
|
164
165
|
_defineProperty(Modal, "Message", _components.ModalMessage);
|
|
165
166
|
|
|
167
|
+
_defineProperty(Modal, "Flyout", _components.Flyout);
|
|
168
|
+
|
|
166
169
|
var _default = Modal;
|
|
167
170
|
exports["default"] = _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
export declare const Container: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
+
declare type ModalFlyoutProps = {
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
};
|
|
9
|
+
export default function ModalFlyout({ children }: ModalFlyoutProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=Flyout.d.ts.map
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.Container = void 0;
|
|
7
|
+
exports["default"] = ModalFlyout;
|
|
8
|
+
|
|
9
|
+
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
|
10
|
+
|
|
11
|
+
var _constants = require("../constants");
|
|
12
|
+
|
|
13
|
+
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
14
|
+
|
|
15
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
16
|
+
|
|
17
|
+
if (typeof window !== "undefined" && !window.gs) window.gs = function () {};
|
|
18
|
+
if (typeof window !== "undefined" && !window.gsC) window.gsC = function () {};
|
|
19
|
+
var Container = ( /*#__PURE__*/0, _base["default"])('div', process.env.NODE_ENV === "production" ? {
|
|
20
|
+
target: "e130n3ri0"
|
|
21
|
+
} : {
|
|
22
|
+
target: "e130n3ri0",
|
|
23
|
+
label: "Container"
|
|
24
|
+
})(function (_ref) {
|
|
25
|
+
var theme = _ref.theme;
|
|
26
|
+
return {
|
|
27
|
+
position: 'absolute',
|
|
28
|
+
right: -_constants.FLYOUT_WIDTH,
|
|
29
|
+
top: theme.space[5],
|
|
30
|
+
bottom: theme.space[5],
|
|
31
|
+
width: _constants.FLYOUT_WIDTH,
|
|
32
|
+
padding: theme.space[4],
|
|
33
|
+
overflow: 'hidden',
|
|
34
|
+
boxShadow: theme.shadows.flyout,
|
|
35
|
+
backgroundColor: theme.palette.neutral[2],
|
|
36
|
+
borderTopRightRadius: theme.radius[2],
|
|
37
|
+
borderBottomRightRadius: theme.radius[2]
|
|
38
|
+
};
|
|
39
|
+
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9Nb2RhbC9jb21wb25lbnRzL0ZseW91dC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSXlCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uL3NyYy9Nb2RhbC9jb21wb25lbnRzL0ZseW91dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgdHlwZSB7IFJlYWN0Tm9kZSB9IGZyb20gJ3JlYWN0J1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5pbXBvcnQgeyBGTFlPVVRfV0lEVEggfSBmcm9tICcuLi9jb25zdGFudHMnXG5cbmV4cG9ydCBjb25zdCBDb250YWluZXIgPSBzdHlsZWQoJ2RpdicpKCh7IHRoZW1lIH0pID0+ICh7XG4gIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICByaWdodDogLUZMWU9VVF9XSURUSCxcbiAgdG9wOiB0aGVtZS5zcGFjZVs1XSxcbiAgYm90dG9tOiB0aGVtZS5zcGFjZVs1XSxcbiAgd2lkdGg6IEZMWU9VVF9XSURUSCxcbiAgcGFkZGluZzogdGhlbWUuc3BhY2VbNF0sXG4gIG92ZXJmbG93OiAnaGlkZGVuJyxcbiAgYm94U2hhZG93OiB0aGVtZS5zaGFkb3dzLmZseW91dCxcbiAgYmFja2dyb3VuZENvbG9yOiB0aGVtZS5wYWxldHRlLm5ldXRyYWxbMl0sXG4gIGJvcmRlclRvcFJpZ2h0UmFkaXVzOiB0aGVtZS5yYWRpdXNbMl0sXG4gIGJvcmRlckJvdHRvbVJpZ2h0UmFkaXVzOiB0aGVtZS5yYWRpdXNbMl1cbn0pKVxuXG50eXBlIE1vZGFsRmx5b3V0UHJvcHMgPSB7XG4gIGNoaWxkcmVuOiBSZWFjdE5vZGVcbn1cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIE1vZGFsRmx5b3V0KHsgY2hpbGRyZW4gfTogTW9kYWxGbHlvdXRQcm9wcykge1xuICByZXR1cm4gPENvbnRhaW5lcj57Y2hpbGRyZW59PC9Db250YWluZXI+XG59XG4iXX0= */");
|
|
40
|
+
exports.Container = Container;
|
|
41
|
+
|
|
42
|
+
function ModalFlyout(_ref2) {
|
|
43
|
+
var children = _ref2.children;
|
|
44
|
+
return (0, _jsxRuntime.jsx)(Container, {
|
|
45
|
+
"data-gs-c": gsC(children),
|
|
46
|
+
"data-gs": gs("src", "modal", "components", "modal-flyout", "container"),
|
|
47
|
+
children: children
|
|
48
|
+
});
|
|
49
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { BoxProps } from '../../Box';
|
|
3
2
|
import type { HeaderProps } from '../types';
|
|
3
|
+
import type React from 'react';
|
|
4
4
|
export declare const FooterContainer: import("@emotion/styled").StyledComponent<{
|
|
5
5
|
theme?: import("@emotion/react").Theme | undefined;
|
|
6
|
-
as?:
|
|
7
|
-
} & BoxProps & Partial<import("../../mixins").Border & import("../../mixins").Spacing> &
|
|
8
|
-
children?:
|
|
6
|
+
as?: React.ElementType<any> | undefined;
|
|
7
|
+
} & BoxProps & Partial<import("../../mixins").Border & import("../../mixins").Spacing> & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
8
|
+
children?: React.ReactNode;
|
|
9
9
|
} & {
|
|
10
10
|
theme?: import("@emotion/react").Theme | undefined;
|
|
11
11
|
} & {
|
|
@@ -13,14 +13,14 @@ export declare const FooterContainer: import("@emotion/styled").StyledComponent<
|
|
|
13
13
|
}, {}, {}>;
|
|
14
14
|
export declare const Spacer: import("@emotion/styled").StyledComponent<{
|
|
15
15
|
theme?: import("@emotion/react").Theme | undefined;
|
|
16
|
-
as?:
|
|
17
|
-
},
|
|
16
|
+
as?: React.ElementType<any> | undefined;
|
|
17
|
+
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
18
18
|
export declare const ConfirmationLabel: import("@emotion/styled").StyledComponent<any, {}, {}>;
|
|
19
19
|
export declare const HeaderContainer: import("@emotion/styled").StyledComponent<{
|
|
20
20
|
theme?: import("@emotion/react").Theme | undefined;
|
|
21
|
-
as?:
|
|
22
|
-
} & import("../../Grid/Grid").GridProps &
|
|
23
|
-
children?:
|
|
21
|
+
as?: React.ElementType<any> | undefined;
|
|
22
|
+
} & import("../../Grid/Grid").GridProps & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
23
|
+
children?: React.ReactNode;
|
|
24
24
|
} & {
|
|
25
25
|
theme?: import("@emotion/react").Theme | undefined;
|
|
26
26
|
} & HeaderProps, {}, {}>;
|
|
@@ -32,44 +32,45 @@ export declare const ModalTitle: import("@emotion/styled").StyledComponent<impor
|
|
|
32
32
|
export declare const ModalSubtitle: import("@emotion/styled").StyledComponent<any, {}, {}>;
|
|
33
33
|
export declare const CloseIcon: import("@emotion/styled").StyledComponent<{
|
|
34
34
|
theme?: import("@emotion/react").Theme | undefined;
|
|
35
|
-
as?:
|
|
35
|
+
as?: React.ElementType<any> | undefined;
|
|
36
36
|
} & {
|
|
37
37
|
destructive?: boolean | undefined;
|
|
38
38
|
dynamite?: boolean | undefined;
|
|
39
39
|
disabled: boolean;
|
|
40
|
-
},
|
|
40
|
+
}, React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
|
|
41
41
|
export declare const ModalBody: import("@emotion/styled").StyledComponent<{
|
|
42
42
|
theme?: import("@emotion/react").Theme | undefined;
|
|
43
|
-
as?:
|
|
43
|
+
as?: React.ElementType<any> | undefined;
|
|
44
44
|
} & {
|
|
45
45
|
noPadding?: boolean | undefined;
|
|
46
46
|
height?: number | undefined;
|
|
47
|
-
},
|
|
47
|
+
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
48
48
|
export declare const ModalDialog: import("@emotion/styled").StyledComponent<{
|
|
49
|
-
children?:
|
|
50
|
-
} &
|
|
49
|
+
children?: React.ReactNode;
|
|
50
|
+
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement> & {
|
|
51
51
|
theme?: import("@emotion/react").Theme | undefined;
|
|
52
52
|
} & {
|
|
53
53
|
size: any;
|
|
54
54
|
flex: boolean;
|
|
55
|
+
flyout?: React.ReactNode;
|
|
55
56
|
}, {}, {}>;
|
|
56
57
|
export declare const ModalBackdrop: import("@emotion/styled").StyledComponent<{
|
|
57
58
|
allowPinchZoom?: boolean | undefined;
|
|
58
|
-
children?:
|
|
59
|
-
initialFocusRef?:
|
|
59
|
+
children?: React.ReactNode;
|
|
60
|
+
initialFocusRef?: React.RefObject<any> | undefined;
|
|
60
61
|
isOpen?: boolean | undefined;
|
|
61
|
-
onDismiss?: ((event?:
|
|
62
|
+
onDismiss?: ((event?: React.SyntheticEvent<Element, Event> | undefined) => void) | undefined;
|
|
62
63
|
unstable_lockFocusAcrossFrames?: boolean | undefined;
|
|
63
|
-
} &
|
|
64
|
+
} & React.HTMLAttributes<HTMLDivElement> & {
|
|
64
65
|
dangerouslyBypassFocusLock?: boolean | undefined;
|
|
65
66
|
dangerouslyBypassScrollLock?: boolean | undefined;
|
|
66
|
-
} &
|
|
67
|
+
} & React.RefAttributes<HTMLDivElement> & {
|
|
67
68
|
theme?: import("@emotion/react").Theme | undefined;
|
|
68
69
|
} & {
|
|
69
70
|
backdrop?: boolean | undefined;
|
|
70
71
|
flex?: boolean | undefined;
|
|
71
72
|
}, {}, {}>;
|
|
72
|
-
export declare const SecondaryActionButton: import("@emotion/styled").StyledComponent<Partial<import("../../Button").UnstyledButtonProps> &
|
|
73
|
+
export declare const SecondaryActionButton: import("@emotion/styled").StyledComponent<Partial<import("../../Button").UnstyledButtonProps> & React.RefAttributes<import("../../Button").UnstyledButton> & {
|
|
73
74
|
theme?: import("@emotion/react").Theme | undefined;
|
|
74
75
|
}, {}, {}>;
|
|
75
76
|
//# sourceMappingURL=elements.d.ts.map
|