@equinor/eds-core-react 0.29.2-dev14022023 → 0.31.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/README.md +9 -6
- package/dist/eds-core-react.cjs.js +805 -427
- package/dist/esm/components/Accordion/AccordionItem.js +17 -7
- package/dist/esm/components/Autocomplete/Autocomplete.js +21 -6
- package/dist/esm/components/Autocomplete/Autocomplete.tokens.js +1 -1
- package/dist/esm/components/Autocomplete/Option.js +17 -13
- package/dist/esm/components/Breadcrumbs/Breadcrumb.js +4 -3
- package/dist/esm/components/Breadcrumbs/Breadcrumbs.js +18 -9
- package/dist/esm/components/Button/tokens/contained.js +1 -1
- package/dist/esm/components/Button/tokens/contained_icon.js +1 -1
- package/dist/esm/components/Button/tokens/ghost.js +1 -1
- package/dist/esm/components/Button/tokens/icon.js +1 -1
- package/dist/esm/components/Button/tokens/outlined.js +1 -1
- package/dist/esm/components/Checkbox/Checkbox.tokens.js +4 -0
- package/dist/esm/components/Checkbox/Input.js +12 -9
- package/dist/esm/components/Dialog/DialogHeader.js +1 -1
- package/dist/esm/components/Input/Input.js +1 -1
- package/dist/esm/components/Input/Input.tokens.js +1 -1
- package/dist/esm/components/InputWrapper/InputWrapper.tokens.js +1 -1
- package/dist/esm/components/Menu/Menu.js +20 -5
- package/dist/esm/components/Menu/MenuItem.js +8 -5
- package/dist/esm/components/Radio/Radio.js +12 -9
- package/dist/esm/components/Radio/Radio.tokens.js +4 -0
- package/dist/esm/components/Select/NativeSelect/NativeSelect.js +2 -1
- package/dist/esm/components/SideBar/SideBar.js +1 -1
- package/dist/esm/components/SideBar/SideBarAccordion/index.js +228 -0
- package/dist/esm/components/SideBar/SideBarAccordionItem/index.js +71 -0
- package/dist/esm/components/SideBar/SidebarLink/index.js +1 -1
- package/dist/esm/components/SideBar/index.js +6 -0
- package/dist/esm/components/Slider/Output.js +8 -9
- package/dist/esm/components/Slider/Slider.js +98 -61
- package/dist/esm/components/Switch/Switch.js +16 -12
- package/dist/esm/components/Switch/Switch.styles.js +3 -5
- package/dist/esm/components/Switch/Switch.tokens.js +2 -10
- package/dist/esm/components/Switch/SwitchDefault.js +1 -1
- package/dist/esm/components/Table/DataCell/DataCell.tokens.js +1 -1
- package/dist/esm/node_modules/.pnpm/{ramda@0.28.0 → ramda@0.29.0}/node_modules/ramda/es/mergeWithKey.js +2 -0
- package/dist/types/components/Accordion/AccordionItem.d.ts +12 -2
- package/dist/types/components/Autocomplete/Autocomplete.d.ts +71 -15
- package/dist/types/components/Autocomplete/Option.d.ts +11 -4
- package/dist/types/components/Breadcrumbs/Breadcrumb.d.ts +2 -0
- package/dist/types/components/Breadcrumbs/Breadcrumbs.d.ts +16 -0
- package/dist/types/components/Icon/Icon.d.ts +1 -1
- package/dist/types/components/Input/Input.tokens.d.ts +10 -5
- package/dist/types/components/InputWrapper/InputWrapper.tokens.d.ts +10 -5
- package/dist/types/components/Menu/Menu.d.ts +4 -0
- package/dist/types/components/Menu/MenuItem.d.ts +16 -14
- 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/SideBar/SideBarAccordion/index.d.ts +38 -0
- package/dist/types/components/SideBar/SideBarAccordionItem/index.d.ts +15 -0
- package/dist/types/components/SideBar/index.d.ts +4 -0
- package/package.json +17 -17
- /package/dist/esm/node_modules/.pnpm/{ramda@0.28.0 → ramda@0.29.0}/node_modules/ramda/es/internal/_curry1.js +0 -0
- /package/dist/esm/node_modules/.pnpm/{ramda@0.28.0 → ramda@0.29.0}/node_modules/ramda/es/internal/_curry2.js +0 -0
- /package/dist/esm/node_modules/.pnpm/{ramda@0.28.0 → ramda@0.29.0}/node_modules/ramda/es/internal/_curry3.js +0 -0
- /package/dist/esm/node_modules/.pnpm/{ramda@0.28.0 → ramda@0.29.0}/node_modules/ramda/es/internal/_has.js +0 -0
- /package/dist/esm/node_modules/.pnpm/{ramda@0.28.0 → ramda@0.29.0}/node_modules/ramda/es/internal/_isObject.js +0 -0
- /package/dist/esm/node_modules/.pnpm/{ramda@0.28.0 → ramda@0.29.0}/node_modules/ramda/es/internal/_isPlaceholder.js +0 -0
- /package/dist/esm/node_modules/.pnpm/{ramda@0.28.0 → ramda@0.29.0}/node_modules/ramda/es/mergeDeepRight.js +0 -0
- /package/dist/esm/node_modules/.pnpm/{ramda@0.28.0 → ramda@0.29.0}/node_modules/ramda/es/mergeDeepWithKey.js +0 -0
|
@@ -13,25 +13,28 @@ var _excluded = ["size", "disabled", "label", "className", "style"];
|
|
|
13
13
|
var StyledLabel = styled.label.withConfig({
|
|
14
14
|
displayName: "Switch__StyledLabel",
|
|
15
15
|
componentId: "sc-sdaahx-0"
|
|
16
|
-
})(["cursor:", ";border:none;background-color:transparent;vertical-align:middle;display:inline-flex;align-items:center;position:relative;"], function (_ref) {
|
|
16
|
+
})(["cursor:", ";border:none;background-color:transparent;vertical-align:middle;display:inline-flex;align-items:center;position:relative;gap:", ";"], function (_ref) {
|
|
17
17
|
var isDisabled = _ref.isDisabled;
|
|
18
18
|
return isDisabled ? 'not-allowed' : 'pointer';
|
|
19
|
+
}, function (_ref2) {
|
|
20
|
+
var size = _ref2.size;
|
|
21
|
+
return size === 'small' ? '12px' : '8px';
|
|
19
22
|
});
|
|
20
23
|
var Label = styled.span.withConfig({
|
|
21
24
|
displayName: "Switch__Label",
|
|
22
25
|
componentId: "sc-sdaahx-1"
|
|
23
|
-
})(function (
|
|
24
|
-
var theme =
|
|
25
|
-
return css(["", "
|
|
26
|
+
})(function (_ref3) {
|
|
27
|
+
var theme = _ref3.theme;
|
|
28
|
+
return css(["", ";"], typographyTemplate(theme.typography));
|
|
26
29
|
});
|
|
27
|
-
var Switch = /*#__PURE__*/forwardRef(function Switch(
|
|
28
|
-
var
|
|
29
|
-
size =
|
|
30
|
-
disabled =
|
|
31
|
-
label =
|
|
32
|
-
className =
|
|
33
|
-
style =
|
|
34
|
-
rest = _objectWithoutProperties(
|
|
30
|
+
var Switch = /*#__PURE__*/forwardRef(function Switch(_ref4, ref) {
|
|
31
|
+
var _ref4$size = _ref4.size,
|
|
32
|
+
size = _ref4$size === void 0 ? 'default' : _ref4$size,
|
|
33
|
+
disabled = _ref4.disabled,
|
|
34
|
+
label = _ref4.label,
|
|
35
|
+
className = _ref4.className,
|
|
36
|
+
style = _ref4.style,
|
|
37
|
+
rest = _objectWithoutProperties(_ref4, _excluded);
|
|
35
38
|
var _useEds = useEds(),
|
|
36
39
|
density = _useEds.density;
|
|
37
40
|
// TODO Temporary workaround untill we can deprecate "size" property (controlled by EdsProvider in the future)
|
|
@@ -42,6 +45,7 @@ var Switch = /*#__PURE__*/forwardRef(function Switch(_ref3, ref) {
|
|
|
42
45
|
return /*#__PURE__*/jsx(ThemeProvider, {
|
|
43
46
|
theme: token,
|
|
44
47
|
children: label ? /*#__PURE__*/jsxs(StyledLabel, {
|
|
48
|
+
size: size,
|
|
45
49
|
isDisabled: disabled,
|
|
46
50
|
className: className,
|
|
47
51
|
style: style,
|
|
@@ -5,12 +5,10 @@ var BaseInputWrapper = styled.span.withConfig({
|
|
|
5
5
|
displayName: "Switchstyles__BaseInputWrapper",
|
|
6
6
|
componentId: "sc-x39lde-0"
|
|
7
7
|
})(function (_ref) {
|
|
8
|
-
var _clickbound$offset, _clickbound$offset2;
|
|
9
8
|
var _ref$theme = _ref.theme,
|
|
10
|
-
clickbound = _ref$theme.clickbound,
|
|
11
9
|
width = _ref$theme.width,
|
|
12
10
|
height = _ref$theme.height;
|
|
13
|
-
return css(["width:", ";height:", ";border-radius:50%;position:relative;grid-area:input;
|
|
11
|
+
return css(["width:", ";height:", ";border-radius:50%;position:relative;grid-area:input;"], width, height);
|
|
14
12
|
});
|
|
15
13
|
var BaseInput = styled.input.attrs(function (_ref2) {
|
|
16
14
|
var _ref2$type = _ref2.type,
|
|
@@ -24,11 +22,11 @@ var BaseInput = styled.input.attrs(function (_ref2) {
|
|
|
24
22
|
})(function (_ref3) {
|
|
25
23
|
var disabled = _ref3.disabled,
|
|
26
24
|
theme = _ref3.theme;
|
|
27
|
-
return css(["appearance:none;width:100%;height:100%;grid-area:input;margin:0;cursor:", ";&:focus{outline:none;}&[data-focus-visible-added]:focus + span{", "}&:focus-visible + span{", "}"], disabled ? 'not-allowed' : 'pointer', outlineTemplate(theme.states.focus.outline), outlineTemplate(theme.states.focus.outline));
|
|
25
|
+
return css(["appearance:none;width:100%;height:100%;grid-area:input;margin:0;position:relative;z-index:1;cursor:", ";&:focus{outline:none;}&[data-focus-visible-added]:focus + span{", "}&:focus-visible + span{", "}"], disabled ? 'not-allowed' : 'pointer', outlineTemplate(theme.states.focus.outline), outlineTemplate(theme.states.focus.outline));
|
|
28
26
|
});
|
|
29
27
|
var GridWrapper = styled.span.withConfig({
|
|
30
28
|
displayName: "Switchstyles__GridWrapper",
|
|
31
29
|
componentId: "sc-x39lde-2"
|
|
32
|
-
})(["display:inline-grid;vertical-align:middle;grid:[input] 1fr / [input] 1fr;"]);
|
|
30
|
+
})(["display:inline-grid;vertical-align:middle;grid:[input] 1fr / [input] 1fr;place-items:center;"]);
|
|
33
31
|
|
|
34
32
|
export { BaseInput, BaseInputWrapper, GridWrapper };
|
|
@@ -25,11 +25,7 @@ var comfortable = {
|
|
|
25
25
|
width: circle.minWidth,
|
|
26
26
|
clickbound: {
|
|
27
27
|
height: clickbounds.default__base,
|
|
28
|
-
width: clickbounds.default__base
|
|
29
|
-
offset: {
|
|
30
|
-
top: "".concat((parseInt(clickbounds.default__base) - parseInt(circle.minHeight)) / 2, "px"),
|
|
31
|
-
left: "".concat((parseInt(clickbounds.default__base) - parseInt(circle.minWidth)) / 2, "px")
|
|
32
|
-
}
|
|
28
|
+
width: clickbounds.default__base
|
|
33
29
|
},
|
|
34
30
|
entities: {
|
|
35
31
|
label: {
|
|
@@ -75,11 +71,7 @@ var comfortable = {
|
|
|
75
71
|
width: compactIconButton.minWidth,
|
|
76
72
|
clickbound: {
|
|
77
73
|
height: clickbounds.compact__standard,
|
|
78
|
-
width: clickbounds.compact__standard
|
|
79
|
-
offset: {
|
|
80
|
-
top: "".concat((parseInt(clickbounds.compact__standard) - parseInt(compactIconButton.minHeight)) / 2, "px"),
|
|
81
|
-
left: "".concat((parseInt(clickbounds.compact__standard) - parseInt(compactIconButton.minWidth)) / 2, "px")
|
|
82
|
-
}
|
|
74
|
+
width: clickbounds.compact__standard
|
|
83
75
|
},
|
|
84
76
|
entities: {
|
|
85
77
|
track: {
|
|
@@ -13,7 +13,7 @@ var Input = styled(BaseInput).withConfig({
|
|
|
13
13
|
})(function (_ref) {
|
|
14
14
|
var disabled = _ref.disabled,
|
|
15
15
|
theme = _ref.theme;
|
|
16
|
-
return css(["
|
|
16
|
+
return css(["width:", ";aspect-ratio:1/1;&:checked + span > span{background-color:", ";}&:checked + span > span:last-child{transform:translate(105%,-50%);background-color:", ";}&:hover + span{background-color:", ";}&:hover + span > span:last-child{background-color:", ";}"], theme.clickbound.height, disabled ? theme.states.disabled.background : theme.entities.track.states.active.background, disabled ? theme.states.disabled.background : theme.entities.handle.states.active.background, disabled ? 'transparent' : theme.states.hover.background, disabled ? theme.states.disabled.background : theme.states.hover.entities.handle.background);
|
|
17
17
|
});
|
|
18
18
|
var Track = styled.span.withConfig({
|
|
19
19
|
displayName: "SwitchDefault__Track",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
2
2
|
import { tokens } from '@equinor/eds-tokens';
|
|
3
|
-
import mergeDeepRight from '../../../node_modules/.pnpm/ramda@0.
|
|
3
|
+
import mergeDeepRight from '../../../node_modules/.pnpm/ramda@0.29.0/node_modules/ramda/es/mergeDeepRight.js';
|
|
4
4
|
|
|
5
5
|
var _tokens$typography = tokens.typography,
|
|
6
6
|
_tokens$typography$ta = _tokens$typography.table,
|
|
@@ -5,7 +5,12 @@ export type AccordionItemProps = {
|
|
|
5
5
|
accordionId?: string;
|
|
6
6
|
/** Is AccordionItem expanded */
|
|
7
7
|
isExpanded?: boolean;
|
|
8
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* Callback fired with expanded state change.
|
|
10
|
+
* When this prop is present, the accordion is in controlled state
|
|
11
|
+
*/
|
|
12
|
+
onExpandedChange?: (isExpanded: boolean) => void;
|
|
13
|
+
/** Accordion item is disabled */
|
|
9
14
|
disabled?: boolean;
|
|
10
15
|
} & HTMLAttributes<HTMLDivElement> & AccordionProps;
|
|
11
16
|
declare const AccordionItem: import("react").ForwardRefExoticComponent<{
|
|
@@ -13,7 +18,12 @@ declare const AccordionItem: import("react").ForwardRefExoticComponent<{
|
|
|
13
18
|
accordionId?: string;
|
|
14
19
|
/** Is AccordionItem expanded */
|
|
15
20
|
isExpanded?: boolean;
|
|
16
|
-
/**
|
|
21
|
+
/**
|
|
22
|
+
* Callback fired with expanded state change.
|
|
23
|
+
* When this prop is present, the accordion is in controlled state
|
|
24
|
+
*/
|
|
25
|
+
onExpandedChange?: (isExpanded: boolean) => void;
|
|
26
|
+
/** Accordion item is disabled */
|
|
17
27
|
disabled?: boolean;
|
|
18
28
|
} & HTMLAttributes<HTMLDivElement> & AccordionProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
19
29
|
export { AccordionItem };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HTMLAttributes } from 'react';
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
export type AutocompleteChanges<T> = {
|
|
3
3
|
selectedItems: T[];
|
|
4
4
|
};
|
|
@@ -7,15 +7,27 @@ export type AutocompleteProps<T> = {
|
|
|
7
7
|
options: T[];
|
|
8
8
|
/** Label for the select element */
|
|
9
9
|
label: string;
|
|
10
|
-
/** Array of initial selected items
|
|
10
|
+
/** Array of initial selected items
|
|
11
|
+
* @default []
|
|
12
|
+
*/
|
|
11
13
|
initialSelectedOptions?: T[];
|
|
12
14
|
/** Meta text, for instance unit */
|
|
13
15
|
meta?: string;
|
|
14
|
-
/** Disabled state
|
|
16
|
+
/** Disabled state
|
|
17
|
+
* @default false
|
|
18
|
+
*/
|
|
15
19
|
disabled?: boolean;
|
|
16
|
-
/**
|
|
20
|
+
/** Set loading state (shows a spinner in the right side of the input field)
|
|
21
|
+
* @default false
|
|
22
|
+
*/
|
|
23
|
+
loading?: boolean;
|
|
24
|
+
/** Read Only
|
|
25
|
+
* @default false
|
|
26
|
+
*/
|
|
17
27
|
readOnly?: boolean;
|
|
18
|
-
/** Hide clear button even when items are selected
|
|
28
|
+
/** Hide clear button even when items are selected
|
|
29
|
+
* @default false
|
|
30
|
+
*/
|
|
19
31
|
hideClearButton?: boolean;
|
|
20
32
|
/** If this prop is used, the select will become a controlled component. Use an empty
|
|
21
33
|
* array [] if there will be no initial selected items.
|
|
@@ -26,13 +38,21 @@ export type AutocompleteProps<T> = {
|
|
|
26
38
|
* changes.selectedItems gives the selected items
|
|
27
39
|
*/
|
|
28
40
|
onOptionsChange?: (changes: AutocompleteChanges<T>) => void;
|
|
41
|
+
/** Callback for input changes.
|
|
42
|
+
* Returns input value
|
|
43
|
+
*/
|
|
44
|
+
onInputChange?: (text: string) => void;
|
|
29
45
|
/** Enable multiselect */
|
|
30
46
|
multiple?: boolean;
|
|
31
47
|
/** Custom option label */
|
|
32
48
|
optionLabel?: (option: T) => string;
|
|
49
|
+
/** Custom option template */
|
|
50
|
+
optionComponent?: (option: T, isSelected: boolean) => ReactNode;
|
|
33
51
|
/** Disable use of react portal for dropdown */
|
|
34
52
|
disablePortal?: boolean;
|
|
35
|
-
/** Disable option
|
|
53
|
+
/** Disable option
|
|
54
|
+
* @default () => false
|
|
55
|
+
*/
|
|
36
56
|
optionDisabled?: (option: T) => boolean;
|
|
37
57
|
/** Custom filter function for options */
|
|
38
58
|
optionsFilter?: (option: T, inputValue: string) => boolean;
|
|
@@ -40,10 +60,18 @@ export type AutocompleteProps<T> = {
|
|
|
40
60
|
autoWidth?: boolean;
|
|
41
61
|
/** Descriptive text for whats selected or about to be selected */
|
|
42
62
|
placeholder?: string;
|
|
43
|
-
/** Toggle if input is cleared when an option is selected when `multiple` is `true
|
|
63
|
+
/** Toggle if input is cleared when an option is selected when `multiple` is `true`
|
|
64
|
+
* @default true
|
|
65
|
+
*/
|
|
44
66
|
clearSearchOnChange?: boolean;
|
|
45
|
-
/** Will wrap overflowing text at the expence of some performance overhead to calculate item heigths. Mostly relevant in combination with autoWidth
|
|
67
|
+
/** Will wrap overflowing text at the expence of some performance overhead to calculate item heigths. Mostly relevant in combination with autoWidth
|
|
68
|
+
* @default false
|
|
69
|
+
*/
|
|
46
70
|
multiline?: boolean;
|
|
71
|
+
/** Override default max height on dropdown (in px)
|
|
72
|
+
* @default 300
|
|
73
|
+
*/
|
|
74
|
+
dropdownHeight?: number;
|
|
47
75
|
} & HTMLAttributes<HTMLDivElement>;
|
|
48
76
|
declare function AutocompleteInner<T>(props: AutocompleteProps<T>, ref: React.ForwardedRef<HTMLDivElement>): JSX.Element;
|
|
49
77
|
export declare const Autocomplete: <T>(props: {
|
|
@@ -51,15 +79,27 @@ export declare const Autocomplete: <T>(props: {
|
|
|
51
79
|
options: T[];
|
|
52
80
|
/** Label for the select element */
|
|
53
81
|
label: string;
|
|
54
|
-
/** Array of initial selected items
|
|
82
|
+
/** Array of initial selected items
|
|
83
|
+
* @default []
|
|
84
|
+
*/
|
|
55
85
|
initialSelectedOptions?: T[];
|
|
56
86
|
/** Meta text, for instance unit */
|
|
57
87
|
meta?: string;
|
|
58
|
-
/** Disabled state
|
|
88
|
+
/** Disabled state
|
|
89
|
+
* @default false
|
|
90
|
+
*/
|
|
59
91
|
disabled?: boolean;
|
|
60
|
-
/**
|
|
92
|
+
/** Set loading state (shows a spinner in the right side of the input field)
|
|
93
|
+
* @default false
|
|
94
|
+
*/
|
|
95
|
+
loading?: boolean;
|
|
96
|
+
/** Read Only
|
|
97
|
+
* @default false
|
|
98
|
+
*/
|
|
61
99
|
readOnly?: boolean;
|
|
62
|
-
/** Hide clear button even when items are selected
|
|
100
|
+
/** Hide clear button even when items are selected
|
|
101
|
+
* @default false
|
|
102
|
+
*/
|
|
63
103
|
hideClearButton?: boolean;
|
|
64
104
|
/** If this prop is used, the select will become a controlled component. Use an empty
|
|
65
105
|
* array [] if there will be no initial selected items.
|
|
@@ -70,13 +110,21 @@ export declare const Autocomplete: <T>(props: {
|
|
|
70
110
|
* changes.selectedItems gives the selected items
|
|
71
111
|
*/
|
|
72
112
|
onOptionsChange?: (changes: AutocompleteChanges<T>) => void;
|
|
113
|
+
/** Callback for input changes.
|
|
114
|
+
* Returns input value
|
|
115
|
+
*/
|
|
116
|
+
onInputChange?: (text: string) => void;
|
|
73
117
|
/** Enable multiselect */
|
|
74
118
|
multiple?: boolean;
|
|
75
119
|
/** Custom option label */
|
|
76
120
|
optionLabel?: (option: T) => string;
|
|
121
|
+
/** Custom option template */
|
|
122
|
+
optionComponent?: (option: T, isSelected: boolean) => ReactNode;
|
|
77
123
|
/** Disable use of react portal for dropdown */
|
|
78
124
|
disablePortal?: boolean;
|
|
79
|
-
/** Disable option
|
|
125
|
+
/** Disable option
|
|
126
|
+
* @default () => false
|
|
127
|
+
*/
|
|
80
128
|
optionDisabled?: (option: T) => boolean;
|
|
81
129
|
/** Custom filter function for options */
|
|
82
130
|
optionsFilter?: (option: T, inputValue: string) => boolean;
|
|
@@ -84,10 +132,18 @@ export declare const Autocomplete: <T>(props: {
|
|
|
84
132
|
autoWidth?: boolean;
|
|
85
133
|
/** Descriptive text for whats selected or about to be selected */
|
|
86
134
|
placeholder?: string;
|
|
87
|
-
/** Toggle if input is cleared when an option is selected when `multiple` is `true
|
|
135
|
+
/** Toggle if input is cleared when an option is selected when `multiple` is `true`
|
|
136
|
+
* @default true
|
|
137
|
+
*/
|
|
88
138
|
clearSearchOnChange?: boolean;
|
|
89
|
-
/** Will wrap overflowing text at the expence of some performance overhead to calculate item heigths. Mostly relevant in combination with autoWidth
|
|
139
|
+
/** Will wrap overflowing text at the expence of some performance overhead to calculate item heigths. Mostly relevant in combination with autoWidth
|
|
140
|
+
* @default false
|
|
141
|
+
*/
|
|
90
142
|
multiline?: boolean;
|
|
143
|
+
/** Override default max height on dropdown (in px)
|
|
144
|
+
* @default 300
|
|
145
|
+
*/
|
|
146
|
+
dropdownHeight?: number;
|
|
91
147
|
} & HTMLAttributes<HTMLDivElement> & {
|
|
92
148
|
ref?: React.ForwardedRef<HTMLDivElement>;
|
|
93
149
|
displayName?: string | undefined;
|
|
@@ -1,17 +1,24 @@
|
|
|
1
|
-
import { LiHTMLAttributes } from 'react';
|
|
2
|
-
export type AutocompleteOptionProps = {
|
|
1
|
+
import { LiHTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export type AutocompleteOptionProps<T> = {
|
|
3
3
|
value: string;
|
|
4
4
|
multiple: boolean;
|
|
5
5
|
highlighted: string;
|
|
6
6
|
isSelected: boolean;
|
|
7
7
|
isDisabled?: boolean;
|
|
8
8
|
multiline: boolean;
|
|
9
|
+
optionComponent?: (option: T, isSelected: boolean) => ReactNode;
|
|
9
10
|
} & LiHTMLAttributes<HTMLLIElement>;
|
|
10
|
-
|
|
11
|
+
declare function AutocompleteOptionInner<T>(props: AutocompleteOptionProps<T>, ref: React.ForwardedRef<HTMLLIElement>): JSX.Element;
|
|
12
|
+
export declare const AutocompleteOption: <T>(props: {
|
|
11
13
|
value: string;
|
|
12
14
|
multiple: boolean;
|
|
13
15
|
highlighted: string;
|
|
14
16
|
isSelected: boolean;
|
|
15
17
|
isDisabled?: boolean;
|
|
16
18
|
multiline: boolean;
|
|
17
|
-
|
|
19
|
+
optionComponent?: (option: T, isSelected: boolean) => ReactNode;
|
|
20
|
+
} & LiHTMLAttributes<HTMLLIElement> & {
|
|
21
|
+
ref?: React.ForwardedRef<HTMLLIElement>;
|
|
22
|
+
displayName?: string | undefined;
|
|
23
|
+
}) => ReturnType<typeof AutocompleteOptionInner>;
|
|
24
|
+
export {};
|
|
@@ -7,6 +7,8 @@ export type BreadcrumbProps = {
|
|
|
7
7
|
maxWidth?: number;
|
|
8
8
|
/** Children is breadcrumb text */
|
|
9
9
|
children: string;
|
|
10
|
+
/** Always show tooltip */
|
|
11
|
+
forceTooltip?: boolean;
|
|
10
12
|
/** Override element type */
|
|
11
13
|
as?: ElementType;
|
|
12
14
|
} & React.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
@@ -1,11 +1,27 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
export type BreadcrumbsProps = {
|
|
3
|
+
/** Collapses the list of breadcrumbs so that only the first
|
|
4
|
+
* and last breadcrumb will be shown, with an ellipsis in between
|
|
5
|
+
* @default false
|
|
6
|
+
*/
|
|
3
7
|
collapse?: boolean;
|
|
8
|
+
/** Will not wrap breadcrumbs when set to false, but will instead trunkate each breadcrumb when viewport narrows
|
|
9
|
+
* @default true
|
|
10
|
+
*/
|
|
11
|
+
wrap?: boolean;
|
|
4
12
|
/** Children should be of Breadcrumb component */
|
|
5
13
|
children: ReactNode;
|
|
6
14
|
} & HTMLAttributes<HTMLElement>;
|
|
7
15
|
export declare const Breadcrumbs: import("react").ForwardRefExoticComponent<{
|
|
16
|
+
/** Collapses the list of breadcrumbs so that only the first
|
|
17
|
+
* and last breadcrumb will be shown, with an ellipsis in between
|
|
18
|
+
* @default false
|
|
19
|
+
*/
|
|
8
20
|
collapse?: boolean;
|
|
21
|
+
/** Will not wrap breadcrumbs when set to false, but will instead trunkate each breadcrumb when viewport narrows
|
|
22
|
+
* @default true
|
|
23
|
+
*/
|
|
24
|
+
wrap?: boolean;
|
|
9
25
|
/** Children should be of Breadcrumb component */
|
|
10
26
|
children: ReactNode;
|
|
11
27
|
} & HTMLAttributes<HTMLElement> & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -17,4 +17,4 @@ export 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" | "
|
|
20
|
+
export declare const Icon: import("react").ForwardRefExoticComponent<Pick<IconProps, "string" | "color" | "fontFamily" | "fontSize" | "fontWeight" | "letterSpacing" | "fontStyle" | "textDecoration" | "width" | "style" | "radius" | "x" | "y" | "height" | "type" | "offset" | "data" | "title" | "clipPath" | "filter" | "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" | "fill" | "values" | "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>>;
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import type { ComponentToken } from '@equinor/eds-tokens';
|
|
2
|
-
export type InputToken = ComponentToken
|
|
2
|
+
export type InputToken = ComponentToken & {
|
|
3
|
+
entities: {
|
|
4
|
+
placeholder: ComponentToken;
|
|
5
|
+
adornment: ComponentToken;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
3
8
|
export declare const input: InputToken;
|
|
4
9
|
export declare const error: InputToken;
|
|
5
10
|
export declare const warning: InputToken;
|
|
6
11
|
export declare const success: InputToken;
|
|
7
12
|
export declare const inputToken: {
|
|
8
|
-
input:
|
|
9
|
-
error:
|
|
10
|
-
warning:
|
|
11
|
-
success:
|
|
13
|
+
input: InputToken;
|
|
14
|
+
error: InputToken;
|
|
15
|
+
warning: InputToken;
|
|
16
|
+
success: InputToken;
|
|
12
17
|
};
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import type { ComponentToken } from '@equinor/eds-tokens';
|
|
2
|
-
export type InputToken = ComponentToken
|
|
2
|
+
export type InputToken = ComponentToken & {
|
|
3
|
+
entities: {
|
|
4
|
+
placeholder: ComponentToken;
|
|
5
|
+
helperText: ComponentToken;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
3
8
|
export declare const input: InputToken;
|
|
4
9
|
export declare const error: InputToken;
|
|
5
10
|
export declare const warning: InputToken;
|
|
6
11
|
export declare const success: InputToken;
|
|
7
12
|
export declare const inputToken: {
|
|
8
|
-
input:
|
|
9
|
-
error:
|
|
10
|
-
warning:
|
|
11
|
-
success:
|
|
13
|
+
input: InputToken;
|
|
14
|
+
error: InputToken;
|
|
15
|
+
warning: InputToken;
|
|
16
|
+
success: InputToken;
|
|
12
17
|
};
|
|
@@ -9,6 +9,8 @@ export type MenuProps = {
|
|
|
9
9
|
onClose?: () => void;
|
|
10
10
|
/** Menu placement relative to anchorEl */
|
|
11
11
|
placement?: Placement;
|
|
12
|
+
/** Match the width of the menu with the width of the anchorEl */
|
|
13
|
+
matchAnchorWidth?: boolean;
|
|
12
14
|
} & HTMLAttributes<HTMLDivElement>;
|
|
13
15
|
export declare const Menu: import("react").ForwardRefExoticComponent<{
|
|
14
16
|
/** Anchor element for Menu */
|
|
@@ -19,4 +21,6 @@ export declare const Menu: import("react").ForwardRefExoticComponent<{
|
|
|
19
21
|
onClose?: () => void;
|
|
20
22
|
/** Menu placement relative to anchorEl */
|
|
21
23
|
placement?: Placement;
|
|
24
|
+
/** Match the width of the menu with the width of the anchorEl */
|
|
25
|
+
matchAnchorWidth?: boolean;
|
|
22
26
|
} & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementType } from 'react';
|
|
2
|
+
import { OverridableComponent } from '@equinor/eds-utils';
|
|
3
|
+
type OverridableSubComponent = OverridableComponent<MenuItemProps, HTMLButtonElement> & {
|
|
4
|
+
displayName?: string;
|
|
5
|
+
};
|
|
2
6
|
export type MenuItemProps = {
|
|
3
7
|
/** @ignore */
|
|
4
8
|
index?: number;
|
|
@@ -8,18 +12,16 @@ export type MenuItemProps = {
|
|
|
8
12
|
disabled?: boolean;
|
|
9
13
|
/** onClick handler */
|
|
10
14
|
onClick?: (e: React.MouseEvent) => void;
|
|
11
|
-
/**
|
|
15
|
+
/**
|
|
16
|
+
* Close menu when item is clicked
|
|
17
|
+
* @default true
|
|
18
|
+
*/
|
|
12
19
|
closeMenuOnClick?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Override element type
|
|
22
|
+
* @default 'button'
|
|
23
|
+
*/
|
|
24
|
+
as?: ElementType;
|
|
13
25
|
} & React.HTMLAttributes<HTMLButtonElement>;
|
|
14
|
-
export declare const MenuItem:
|
|
15
|
-
|
|
16
|
-
index?: number;
|
|
17
|
-
/** Is active */
|
|
18
|
-
active?: boolean;
|
|
19
|
-
/** Is disabled */
|
|
20
|
-
disabled?: boolean;
|
|
21
|
-
/** onClick handler */
|
|
22
|
-
onClick?: (e: React.MouseEvent) => void;
|
|
23
|
-
/** Close menu when item is clicked */
|
|
24
|
-
closeMenuOnClick?: boolean;
|
|
25
|
-
} & import("react").HTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
26
|
+
export declare const MenuItem: OverridableSubComponent;
|
|
27
|
+
export {};
|
|
@@ -12,5 +12,5 @@ export 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" | "
|
|
15
|
+
declare const CircularProgress: import("react").ForwardRefExoticComponent<Pick<CircularProgressProps, "string" | "color" | "fontFamily" | "fontSize" | "fontWeight" | "letterSpacing" | "fontStyle" | "textDecoration" | "width" | "style" | "radius" | "x" | "y" | "height" | "type" | "offset" | "clipPath" | "filter" | "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" | "fill" | "values" | "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 };
|