@equinor/eds-core-react 0.20.3 → 0.21.0-dev.20220905
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/README.md +8 -0
- package/dist/eds-core-react.cjs.js +583 -313
- package/dist/esm/components/Accordion/Accordion.tokens.js +7 -0
- package/dist/esm/components/Accordion/AccordionHeader.js +4 -0
- package/dist/esm/components/Accordion/AccordionHeaderActions.js +3 -1
- package/dist/esm/components/Accordion/AccordionHeaderTitle.js +3 -1
- package/dist/esm/components/Accordion/AccordionPanel.js +2 -2
- package/dist/esm/components/Autocomplete/Autocomplete.js +93 -68
- package/dist/esm/components/Breadcrumbs/Breadcrumb.js +4 -2
- package/dist/esm/components/Button/Button.js +4 -1
- package/dist/esm/components/Button/ButtonGroup/ButtonGroup.js +37 -0
- package/dist/esm/components/Button/ButtonGroup/ButtonGroup.tokens.js +17 -0
- package/dist/esm/components/Button/index.js +8 -0
- package/dist/esm/components/Button/tokens/contained_icon.js +56 -0
- package/dist/esm/components/Button/tokens/index.js +7 -3
- package/dist/esm/components/Card/Card.js +3 -12
- package/dist/esm/components/Checkbox/Checkbox.js +4 -0
- package/dist/esm/components/Checkbox/Input.js +5 -1
- package/dist/esm/components/Icon/Icon.js +1 -1
- package/dist/esm/components/Menu/Menu.js +56 -40
- package/dist/esm/components/Menu/MenuItem.js +2 -2
- package/dist/esm/components/Pagination/Pagination.js +1 -1
- package/dist/esm/components/Pagination/PaginationItem.js +1 -1
- package/dist/esm/components/Popover/Popover.js +90 -35
- package/dist/esm/components/Radio/Radio.js +4 -0
- package/dist/esm/components/Scrim/Scrim.js +3 -3
- package/dist/esm/components/Search/Search.js +7 -4
- package/dist/esm/components/Select/NativeSelect/NativeSelect.js +3 -1
- package/dist/esm/components/Select/commonStyles.js +1 -1
- package/dist/esm/components/SideSheet/SideSheet.js +8 -6
- package/dist/esm/components/SideSheet/SideSheet.tokens.js +7 -0
- package/dist/esm/components/Switch/Switch.js +6 -0
- package/dist/esm/components/Switch/SwitchDefault.js +4 -0
- package/dist/esm/components/Switch/SwitchSmall.js +4 -0
- package/dist/esm/components/Tabs/TabList.js +2 -3
- package/dist/esm/components/Tabs/Tabs.js +3 -3
- package/dist/esm/components/TextField/TextField.js +2 -1
- package/dist/esm/components/Textarea/Textarea.js +4 -3
- package/dist/esm/components/Tooltip/Tooltip.js +102 -83
- package/dist/esm/components/TopBar/TopBar.tokens.js +2 -2
- package/dist/esm/index.js +1 -1
- package/dist/types/components/Autocomplete/Autocomplete.d.ts +4 -0
- package/dist/types/components/Breadcrumbs/Breadcrumb.d.ts +9 -6
- package/dist/types/components/Button/Button.d.ts +8 -26
- package/dist/types/components/Button/Button.types.d.ts +1 -0
- package/dist/types/components/Button/ButtonGroup/ButtonGroup.d.ts +9 -0
- package/dist/types/components/{Group/Group.tokens.d.ts → Button/ButtonGroup/ButtonGroup.tokens.d.ts} +0 -0
- package/dist/types/components/Button/ButtonGroup/index.d.ts +1 -0
- package/dist/types/components/Button/index.d.ts +8 -1
- package/dist/types/components/Button/tokens/contained_icon.d.ts +4 -0
- package/dist/types/components/Checkbox/Checkbox.d.ts +13 -5
- package/dist/types/components/Checkbox/Input.d.ts +10 -5
- package/dist/types/components/Icon/Icon.d.ts +1 -1
- package/dist/types/components/Menu/Menu.d.ts +1 -1
- package/dist/types/components/Popover/Popover.d.ts +1 -1
- package/dist/types/components/Progress/Circular/CircularProgress.d.ts +1 -1
- package/dist/types/components/Progress/Dots/DotProgress.d.ts +1 -1
- package/dist/types/components/Progress/Star/StarProgress.d.ts +1 -1
- package/dist/types/components/Radio/Radio.d.ts +8 -5
- package/dist/types/components/Select/commonStyles.d.ts +5 -9
- package/dist/types/components/SideSheet/SideSheet.d.ts +4 -0
- package/dist/types/components/Switch/Switch.d.ts +10 -5
- package/dist/types/components/Switch/SwitchDefault.d.ts +3 -5
- package/dist/types/components/Switch/SwitchSmall.d.ts +3 -5
- package/dist/types/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/types/components/Typography/Typography.d.ts +11 -3
- package/package.json +5 -6
- package/dist/types/components/Group/Group.d.ts +0 -3
- package/dist/types/components/Group/index.d.ts +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { forwardRef, useState } from 'react';
|
|
1
|
+
import { forwardRef, useState, useMemo } from 'react';
|
|
2
2
|
import styled, { css } from 'styled-components';
|
|
3
3
|
import * as Input_tokens from '../Input/Input.tokens.js';
|
|
4
4
|
import { input as input$1 } from '../Input/Input.tokens.js';
|
|
5
|
-
import { typographyTemplate, spacingsTemplate, outlineTemplate, useAutoResize,
|
|
5
|
+
import { typographyTemplate, spacingsTemplate, outlineTemplate, useAutoResize, mergeRefs } from '@equinor/eds-utils';
|
|
6
6
|
import { useEds } from '../EdsProvider/eds.context.js';
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
@@ -76,8 +76,9 @@ const Textarea = /*#__PURE__*/forwardRef(function Textarea(_ref2, ref) {
|
|
|
76
76
|
const padding = parseInt(top) + parseInt(bottom);
|
|
77
77
|
const maxHeight = parseFloat(lineHeight) * fontSize * rowsMax + padding;
|
|
78
78
|
useAutoResize(textareaEl, rowsMax ? maxHeight : null);
|
|
79
|
+
const combinedRef = useMemo(() => mergeRefs(ref, setTextareaEl), [setTextareaEl, ref]);
|
|
79
80
|
const inputProps = {
|
|
80
|
-
ref:
|
|
81
|
+
ref: combinedRef,
|
|
81
82
|
type,
|
|
82
83
|
disabled,
|
|
83
84
|
variant,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { forwardRef,
|
|
2
|
-
import * as ReactDom from 'react-dom';
|
|
1
|
+
import { forwardRef, useRef, useState, useMemo, cloneElement } from 'react';
|
|
3
2
|
import styled from 'styled-components';
|
|
4
|
-
import { typographyTemplate, spacingsTemplate, bordersTemplate,
|
|
3
|
+
import { typographyTemplate, spacingsTemplate, bordersTemplate, mergeRefs } from '@equinor/eds-utils';
|
|
5
4
|
import { tooltip } from './Tooltip.tokens.js';
|
|
5
|
+
import { useFloating, offset, flip, shift, arrow, autoUpdate, useInteractions, useHover, useFocus, useRole, useDismiss, FloatingPortal } from '@floating-ui/react-dom-interactions';
|
|
6
6
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
8
8
|
const StyledTooltip = styled.div.withConfig({
|
|
9
9
|
displayName: "Tooltip__StyledTooltip",
|
|
10
10
|
componentId: "sc-m2im2p-0"
|
|
11
|
-
})(["", " ", " ", " background:", ";z-index:1500;white-space:nowrap
|
|
11
|
+
})(["", " ", " ", " background:", ";z-index:1500;white-space:nowrap;"], typographyTemplate(tooltip.typography), spacingsTemplate(tooltip.spacings), bordersTemplate(tooltip.border), tooltip.background);
|
|
12
12
|
const ArrowWrapper = styled.div.withConfig({
|
|
13
13
|
displayName: "Tooltip__ArrowWrapper",
|
|
14
14
|
componentId: "sc-m2im2p-1"
|
|
15
|
-
})(["
|
|
15
|
+
})(["position:absolute;width:", ";height:", ";z-index:-1;"], tooltip.entities.arrow.width, tooltip.entities.arrow.height);
|
|
16
16
|
const TooltipArrow = styled.svg.withConfig({
|
|
17
17
|
displayName: "Tooltip__TooltipArrow",
|
|
18
18
|
componentId: "sc-m2im2p-2"
|
|
@@ -22,96 +22,115 @@ const Tooltip = /*#__PURE__*/forwardRef(function Tooltip(_ref, ref) {
|
|
|
22
22
|
title,
|
|
23
23
|
placement = 'bottom',
|
|
24
24
|
children,
|
|
25
|
-
enterDelay = 100,
|
|
26
|
-
id,
|
|
27
25
|
style,
|
|
26
|
+
enterDelay = 100,
|
|
28
27
|
...rest
|
|
29
28
|
} = _ref;
|
|
30
|
-
const
|
|
31
|
-
const [popperEl, setPopperEl] = useState(null);
|
|
32
|
-
const [arrowRef, setArrowRef] = useState(null);
|
|
29
|
+
const arrowRef = useRef(null);
|
|
33
30
|
const [open, setOpen] = useState(false);
|
|
34
|
-
const
|
|
35
|
-
const
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
31
|
+
const shouldOpen = title !== '';
|
|
32
|
+
const {
|
|
33
|
+
x,
|
|
34
|
+
y,
|
|
35
|
+
reference,
|
|
36
|
+
floating,
|
|
37
|
+
strategy,
|
|
38
|
+
context,
|
|
39
|
+
middlewareData: {
|
|
40
|
+
arrow: {
|
|
41
|
+
x: arrowX,
|
|
42
|
+
y: arrowY
|
|
43
|
+
} = {}
|
|
44
|
+
},
|
|
45
|
+
placement: finalPlacement
|
|
46
|
+
} = useFloating({
|
|
47
|
+
placement,
|
|
48
|
+
open,
|
|
49
|
+
onOpenChange: setOpen,
|
|
50
|
+
middleware: [offset(14), flip(), shift({
|
|
51
|
+
padding: 8
|
|
52
|
+
}), arrow({
|
|
53
|
+
element: arrowRef
|
|
54
|
+
})],
|
|
55
|
+
whileElementsMounted: autoUpdate
|
|
56
|
+
});
|
|
57
|
+
const anchorRef = useMemo(() => mergeRefs(reference, children === null || children === void 0 ? void 0 : children.ref), [reference, children === null || children === void 0 ? void 0 : children.ref]);
|
|
58
|
+
const tooltipRef = useMemo(() => mergeRefs(floating, ref), [floating, ref]);
|
|
59
|
+
const {
|
|
60
|
+
getReferenceProps,
|
|
61
|
+
getFloatingProps
|
|
62
|
+
} = useInteractions([useHover(context, {
|
|
63
|
+
delay: {
|
|
64
|
+
open: enterDelay
|
|
46
65
|
}
|
|
66
|
+
}), useFocus(context), useRole(context, {
|
|
67
|
+
role: 'tooltip'
|
|
68
|
+
}), useDismiss(context)]);
|
|
69
|
+
const staticSide = {
|
|
70
|
+
top: 'bottom',
|
|
71
|
+
right: 'left',
|
|
72
|
+
bottom: 'top',
|
|
73
|
+
left: 'right'
|
|
74
|
+
}[finalPlacement.split('-')[0]];
|
|
75
|
+
let arrowTransform = 'none';
|
|
47
76
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
77
|
+
switch (staticSide) {
|
|
78
|
+
case 'right':
|
|
79
|
+
arrowTransform = 'rotateY(180deg)';
|
|
80
|
+
break;
|
|
52
81
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
openTimer.current = setTimeout(() => {
|
|
57
|
-
setOpen(true);
|
|
58
|
-
}, enterDelay);
|
|
59
|
-
}
|
|
60
|
-
};
|
|
82
|
+
case 'left':
|
|
83
|
+
arrowTransform = 'none';
|
|
84
|
+
break;
|
|
61
85
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
};
|
|
86
|
+
case 'top':
|
|
87
|
+
arrowTransform = 'rotate(90deg)';
|
|
88
|
+
break;
|
|
66
89
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
const updatedChildren = /*#__PURE__*/cloneElement(children, {
|
|
88
|
-
ref: combinedChilddRef,
|
|
89
|
-
'aria-describedby': open ? tooltipId : null,
|
|
90
|
-
onMouseOver: joinHandlers(openTooltip, childProps.onMouseOver),
|
|
91
|
-
onMouseLeave: joinHandlers(closeTooltip, childProps.onMouseLeave),
|
|
92
|
-
onPointerEnter: joinHandlers(openTooltip, childProps.onPointerEnter),
|
|
93
|
-
onPointerLeave: joinHandlers(closeTooltip, childProps.onPointerLeave),
|
|
94
|
-
onBlur: joinHandlers(closeTooltip, childProps.onBlur),
|
|
95
|
-
onFocus: joinHandlers(openTooltip, childProps.onFocus)
|
|
90
|
+
case 'bottom':
|
|
91
|
+
arrowTransform = 'rotate(-90deg)';
|
|
92
|
+
break;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
if (arrowRef.current) {
|
|
96
|
+
Object.assign(arrowRef.current.style, {
|
|
97
|
+
left: arrowX != null ? "".concat(arrowX, "px") : '',
|
|
98
|
+
top: arrowY != null ? "".concat(arrowY, "px") : '',
|
|
99
|
+
right: '',
|
|
100
|
+
bottom: '',
|
|
101
|
+
[staticSide]: '-6px',
|
|
102
|
+
transform: arrowTransform
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
const updatedChildren = /*#__PURE__*/cloneElement(children, { ...getReferenceProps({
|
|
107
|
+
ref: anchorRef,
|
|
108
|
+
...children.props
|
|
109
|
+
})
|
|
96
110
|
});
|
|
97
111
|
return /*#__PURE__*/jsxs(Fragment, {
|
|
98
|
-
children: [
|
|
99
|
-
id:
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
112
|
+
children: [/*#__PURE__*/jsx(FloatingPortal, {
|
|
113
|
+
id: "eds-tooltip-container",
|
|
114
|
+
children: shouldOpen && open && /*#__PURE__*/jsxs(StyledTooltip, { ...rest,
|
|
115
|
+
...getFloatingProps({
|
|
116
|
+
ref: tooltipRef,
|
|
117
|
+
style: { ...style,
|
|
118
|
+
position: strategy,
|
|
119
|
+
top: y !== null && y !== void 0 ? y : 0,
|
|
120
|
+
left: x !== null && x !== void 0 ? x : 0
|
|
121
|
+
}
|
|
122
|
+
}),
|
|
123
|
+
children: [title, /*#__PURE__*/jsx(ArrowWrapper, {
|
|
124
|
+
ref: arrowRef,
|
|
125
|
+
children: /*#__PURE__*/jsx(TooltipArrow, {
|
|
126
|
+
className: "arrowSvg",
|
|
127
|
+
children: /*#__PURE__*/jsx("path", {
|
|
128
|
+
d: "M0.504838 4.86885C-0.168399 4.48524 -0.168399 3.51476 0.504838 3.13115L6 8.59227e-08L6 8L0.504838 4.86885Z"
|
|
129
|
+
})
|
|
111
130
|
})
|
|
112
|
-
})
|
|
113
|
-
})
|
|
114
|
-
}),
|
|
131
|
+
})]
|
|
132
|
+
})
|
|
133
|
+
}), updatedChildren]
|
|
115
134
|
});
|
|
116
135
|
});
|
|
117
136
|
|
|
@@ -14,8 +14,8 @@ const topbar = {
|
|
|
14
14
|
background: colors.ui.background__default.rgba,
|
|
15
15
|
typography: navigation.menu_title,
|
|
16
16
|
spacings: {
|
|
17
|
-
left: comfortable.
|
|
18
|
-
right: comfortable.
|
|
17
|
+
left: comfortable.large,
|
|
18
|
+
right: comfortable.large,
|
|
19
19
|
top: comfortable.small,
|
|
20
20
|
bottom: comfortable.small
|
|
21
21
|
},
|
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Button } from './components/Button/
|
|
1
|
+
export { Button } from './components/Button/index.js';
|
|
2
2
|
export { Typography } from './components/Typography/Typography.js';
|
|
3
3
|
export { Table } from './components/Table/index.js';
|
|
4
4
|
export { Divider } from './components/Divider/Divider.js';
|
|
@@ -15,6 +15,8 @@ export declare type AutocompleteProps<T> = {
|
|
|
15
15
|
disabled?: boolean;
|
|
16
16
|
/** Read Only */
|
|
17
17
|
readOnly?: boolean;
|
|
18
|
+
/** Hide clear button even when items are selected */
|
|
19
|
+
hideClearButton?: boolean;
|
|
18
20
|
/** If this prop is used, the select will become a controlled component. Use an empty
|
|
19
21
|
* array [] if there will be no initial selected items
|
|
20
22
|
* Note that this prop replaces the need for ```initialSelectedItems```
|
|
@@ -53,6 +55,8 @@ export declare const Autocomplete: <T>(props: {
|
|
|
53
55
|
disabled?: boolean;
|
|
54
56
|
/** Read Only */
|
|
55
57
|
readOnly?: boolean;
|
|
58
|
+
/** Hide clear button even when items are selected */
|
|
59
|
+
hideClearButton?: boolean;
|
|
56
60
|
/** If this prop is used, the select will become a controlled component. Use an empty
|
|
57
61
|
* array [] if there will be no initial selected items
|
|
58
62
|
* Note that this prop replaces the need for ```initialSelectedItems```
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import { ElementType } from 'react';
|
|
2
|
+
import { OverridableComponent } from '@equinor/eds-utils';
|
|
3
|
+
declare type OverridableSubComponent = OverridableComponent<BreadcrumbProps, HTMLAnchorElement> & {
|
|
4
|
+
displayName?: string;
|
|
5
|
+
};
|
|
2
6
|
export declare type BreadcrumbProps = {
|
|
3
7
|
maxWidth?: number;
|
|
4
8
|
/** Children is breadcrumb text */
|
|
5
9
|
children: string;
|
|
10
|
+
/** Override element type */
|
|
11
|
+
as?: ElementType;
|
|
6
12
|
} & React.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
7
|
-
export declare const Breadcrumb:
|
|
8
|
-
|
|
9
|
-
/** Children is breadcrumb text */
|
|
10
|
-
children: string;
|
|
11
|
-
} & import("react").AnchorHTMLAttributes<HTMLAnchorElement> & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
13
|
+
export declare const Breadcrumb: OverridableSubComponent;
|
|
14
|
+
export {};
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ButtonHTMLAttributes } from 'react';
|
|
2
|
+
import { OverridableComponent } from '@equinor/eds-utils';
|
|
3
|
+
declare type Colors = 'primary' | 'secondary' | 'danger';
|
|
4
|
+
declare type Variants = 'contained' | 'contained_icon' | 'outlined' | 'ghost' | 'ghost_icon';
|
|
2
5
|
export declare type ButtonProps = {
|
|
3
6
|
/** Specifies color */
|
|
4
|
-
color?:
|
|
7
|
+
color?: Colors;
|
|
5
8
|
/** Specifies which variant to use */
|
|
6
|
-
variant?:
|
|
9
|
+
variant?: Variants;
|
|
7
10
|
/**
|
|
8
11
|
* URL link destination
|
|
9
12
|
* If defined, an 'a' element is used as root instead of 'button'
|
|
@@ -11,8 +14,6 @@ export declare type ButtonProps = {
|
|
|
11
14
|
href?: string;
|
|
12
15
|
/** Is the button disabled */
|
|
13
16
|
disabled?: boolean;
|
|
14
|
-
/** Change html element. */
|
|
15
|
-
as?: ElementType;
|
|
16
17
|
/** Type of button
|
|
17
18
|
* @default 'button'
|
|
18
19
|
*/
|
|
@@ -20,24 +21,5 @@ export declare type ButtonProps = {
|
|
|
20
21
|
/** FullWidth (stretched) button */
|
|
21
22
|
fullWidth?: boolean;
|
|
22
23
|
} & ButtonHTMLAttributes<HTMLButtonElement>;
|
|
23
|
-
export declare const Button:
|
|
24
|
-
|
|
25
|
-
color?: 'primary' | 'secondary' | 'danger';
|
|
26
|
-
/** Specifies which variant to use */
|
|
27
|
-
variant?: 'contained' | 'outlined' | 'ghost' | 'ghost_icon';
|
|
28
|
-
/**
|
|
29
|
-
* URL link destination
|
|
30
|
-
* If defined, an 'a' element is used as root instead of 'button'
|
|
31
|
-
*/
|
|
32
|
-
href?: string;
|
|
33
|
-
/** Is the button disabled */
|
|
34
|
-
disabled?: boolean;
|
|
35
|
-
/** Change html element. */
|
|
36
|
-
as?: ElementType;
|
|
37
|
-
/** Type of button
|
|
38
|
-
* @default 'button'
|
|
39
|
-
*/
|
|
40
|
-
type?: string;
|
|
41
|
-
/** FullWidth (stretched) button */
|
|
42
|
-
fullWidth?: boolean;
|
|
43
|
-
} & ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
24
|
+
export declare const Button: OverridableComponent<ButtonProps, HTMLButtonElement>;
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
export declare type ButtonGroupProps = {
|
|
3
|
+
/** Display ButtonGroup vertically. */
|
|
4
|
+
vertical?: boolean;
|
|
5
|
+
} & HTMLAttributes<HTMLDivElement>;
|
|
6
|
+
export declare const ButtonGroup: import("react").ForwardRefExoticComponent<{
|
|
7
|
+
/** Display ButtonGroup vertically. */
|
|
8
|
+
vertical?: boolean;
|
|
9
|
+
} & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
package/dist/types/components/{Group/Group.tokens.d.ts → Button/ButtonGroup/ButtonGroup.tokens.d.ts}
RENAMED
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ButtonGroup';
|
|
@@ -1 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import { Button as ButtonWrapper, ButtonProps } from './Button';
|
|
2
|
+
import { ButtonGroup, ButtonGroupProps } from './ButtonGroup/ButtonGroup';
|
|
3
|
+
declare type ButtonCompoundProps = typeof ButtonWrapper & {
|
|
4
|
+
Group: typeof ButtonGroup;
|
|
5
|
+
};
|
|
6
|
+
declare const Button: ButtonCompoundProps;
|
|
7
|
+
export { Button };
|
|
8
|
+
export type { ButtonProps, ButtonGroupProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InputHTMLAttributes } from 'react';
|
|
2
2
|
export declare type CheckboxProps = {
|
|
3
3
|
/** Label for the checkbox
|
|
4
4
|
*/
|
|
@@ -9,7 +9,15 @@ export declare type CheckboxProps = {
|
|
|
9
9
|
* set the native element to indeterminate yourself.
|
|
10
10
|
*/
|
|
11
11
|
indeterminate?: boolean;
|
|
12
|
-
} &
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
} & InputHTMLAttributes<HTMLInputElement>;
|
|
13
|
+
export declare const Checkbox: import("react").ForwardRefExoticComponent<{
|
|
14
|
+
/** Label for the checkbox
|
|
15
|
+
*/
|
|
16
|
+
label?: string;
|
|
17
|
+
/** If true, the checkbox will be disabled */
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
/** If true, the checkbox appears indeterminate. Important! You'll have to
|
|
20
|
+
* set the native element to indeterminate yourself.
|
|
21
|
+
*/
|
|
22
|
+
indeterminate?: boolean;
|
|
23
|
+
} & InputHTMLAttributes<HTMLInputElement> & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InputHTMLAttributes } from 'react';
|
|
2
2
|
export declare type InputProps = {
|
|
3
3
|
/** If true, the checkbox will be disabled */
|
|
4
4
|
disabled?: boolean;
|
|
@@ -6,7 +6,12 @@ export declare type InputProps = {
|
|
|
6
6
|
* set the native element to indeterminate yourself.
|
|
7
7
|
*/
|
|
8
8
|
indeterminate?: boolean;
|
|
9
|
-
} &
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
} & InputHTMLAttributes<HTMLInputElement>;
|
|
10
|
+
export declare const CheckboxInput: import("react").ForwardRefExoticComponent<{
|
|
11
|
+
/** If true, the checkbox will be disabled */
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
/** If true, the checkbox appears indeterminate. Important! You'll have to
|
|
14
|
+
* set the native element to indeterminate yourself.
|
|
15
|
+
*/
|
|
16
|
+
indeterminate?: boolean;
|
|
17
|
+
} & InputHTMLAttributes<HTMLInputElement> & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -17,4 +17,4 @@ export declare type IconProps = {
|
|
|
17
17
|
/** @ignore */
|
|
18
18
|
ref?: Ref<SVGSVGElement>;
|
|
19
19
|
} & SVGProps<SVGSVGElement>;
|
|
20
|
-
export declare const Icon: import("react").ForwardRefExoticComponent<Pick<IconProps, "string" | "color" | "fontFamily" | "fontSize" | "fontWeight" | "letterSpacing" | "fontStyle" | "textDecoration" | "width" | "style" | "radius" | "x" | "y" | "filter" | "fill" | "values" | "height" | "type" | "offset" | "data" | "title" | "clipPath" | "mask" | "path" | "children" | "className" | "id" | "lang" | "tabIndex" | "role" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "name" | "
|
|
20
|
+
export declare const Icon: import("react").ForwardRefExoticComponent<Pick<IconProps, "string" | "color" | "fontFamily" | "fontSize" | "fontWeight" | "letterSpacing" | "fontStyle" | "textDecoration" | "width" | "style" | "radius" | "x" | "y" | "filter" | "fill" | "values" | "height" | "type" | "offset" | "data" | "title" | "clipPath" | "mask" | "path" | "children" | "className" | "id" | "lang" | "tabIndex" | "role" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "name" | "max" | "media" | "method" | "min" | "target" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "alignmentBaseline" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "azimuth" | "baseFrequency" | "baselineShift" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clip" | "clipPathUnits" | "clipRule" | "colorInterpolation" | "colorInterpolationFilters" | "colorProfile" | "colorRendering" | "contentScriptType" | "contentStyleType" | "cursor" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "direction" | "display" | "divisor" | "dominantBaseline" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "end" | "exponent" | "externalResourcesRequired" | "fillOpacity" | "fillRule" | "filterRes" | "filterUnits" | "floodColor" | "floodOpacity" | "focusable" | "fontSizeAdjust" | "fontStretch" | "fontVariant" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphOrientationVertical" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "href" | "ideographic" | "imageRendering" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "lightingColor" | "limitingConeAngle" | "local" | "markerEnd" | "markerHeight" | "markerMid" | "markerStart" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mathematical" | "mode" | "numOctaves" | "opacity" | "operator" | "order" | "orient" | "orientation" | "origin" | "overflow" | "overlinePosition" | "overlineThickness" | "paintOrder" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "pointerEvents" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rotate" | "rx" | "ry" | "scale" | "seed" | "shapeRendering" | "slope" | "spacing" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "stopColor" | "stopOpacity" | "strikethroughPosition" | "strikethroughThickness" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textAnchor" | "textLength" | "textRendering" | "to" | "transform" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeBidi" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "vectorEffect" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "visibility" | "vMathematical" | "widths" | "wordSpacing" | "writingMode" | "x1" | "x2" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "yChannelSelector" | "z" | "zoomAndPan" | "size" | "rotation"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
@@ -12,5 +12,5 @@ export declare type CircularProgressProps = {
|
|
|
12
12
|
/** @ignore */
|
|
13
13
|
ref?: Ref<SVGSVGElement>;
|
|
14
14
|
} & SVGProps<SVGSVGElement>;
|
|
15
|
-
declare const CircularProgress: import("react").ForwardRefExoticComponent<Pick<CircularProgressProps, "string" | "color" | "fontFamily" | "fontSize" | "fontWeight" | "letterSpacing" | "fontStyle" | "textDecoration" | "width" | "style" | "radius" | "x" | "y" | "filter" | "fill" | "values" | "height" | "type" | "offset" | "clipPath" | "mask" | "path" | "children" | "className" | "id" | "lang" | "tabIndex" | "role" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "value" | "name" | "
|
|
15
|
+
declare const CircularProgress: import("react").ForwardRefExoticComponent<Pick<CircularProgressProps, "string" | "color" | "fontFamily" | "fontSize" | "fontWeight" | "letterSpacing" | "fontStyle" | "textDecoration" | "width" | "style" | "radius" | "x" | "y" | "filter" | "fill" | "values" | "height" | "type" | "offset" | "clipPath" | "mask" | "path" | "children" | "className" | "id" | "lang" | "tabIndex" | "role" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "value" | "name" | "max" | "media" | "method" | "min" | "target" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "alignmentBaseline" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "azimuth" | "baseFrequency" | "baselineShift" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clip" | "clipPathUnits" | "clipRule" | "colorInterpolation" | "colorInterpolationFilters" | "colorProfile" | "colorRendering" | "contentScriptType" | "contentStyleType" | "cursor" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "direction" | "display" | "divisor" | "dominantBaseline" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "end" | "exponent" | "externalResourcesRequired" | "fillOpacity" | "fillRule" | "filterRes" | "filterUnits" | "floodColor" | "floodOpacity" | "focusable" | "fontSizeAdjust" | "fontStretch" | "fontVariant" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphOrientationVertical" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "href" | "ideographic" | "imageRendering" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "lightingColor" | "limitingConeAngle" | "local" | "markerEnd" | "markerHeight" | "markerMid" | "markerStart" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mathematical" | "mode" | "numOctaves" | "opacity" | "operator" | "order" | "orient" | "orientation" | "origin" | "overflow" | "overlinePosition" | "overlineThickness" | "paintOrder" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "pointerEvents" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rotate" | "rx" | "ry" | "scale" | "seed" | "shapeRendering" | "slope" | "spacing" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "stopColor" | "stopOpacity" | "strikethroughPosition" | "strikethroughThickness" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textAnchor" | "textLength" | "textRendering" | "to" | "transform" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeBidi" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "vectorEffect" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "visibility" | "vMathematical" | "widths" | "wordSpacing" | "writingMode" | "x1" | "x2" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "yChannelSelector" | "z" | "zoomAndPan" | "size" | "variant"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
16
16
|
export { CircularProgress };
|