carbon-react 114.18.2 → 115.0.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/esm/__internal__/checkable-input/checkable-input.component.d.ts +1 -1
- package/esm/__internal__/checkable-input/checkable-input.component.js +3 -4
- package/esm/__internal__/checkable-input/hidden-checkable-input.component.d.ts +2 -0
- package/esm/__internal__/checkable-input/hidden-checkable-input.component.js +5 -5
- package/esm/__internal__/input/input.component.js +2 -1
- package/esm/__internal__/input-behaviour/input-behaviour.component.js +2 -7
- package/esm/__internal__/input-behaviour/useInputBehaviour.d.ts +0 -1
- package/esm/components/checkbox/checkbox.component.d.ts +2 -0
- package/esm/components/checkbox/checkbox.component.js +2 -0
- package/esm/components/draggable/draggable-container.component.d.ts +17 -0
- package/esm/components/draggable/draggable-container.component.js +174 -61
- package/esm/components/draggable/draggable-item.component.d.ts +30 -0
- package/esm/components/draggable/draggable-item.component.js +180 -36
- package/esm/components/draggable/draggable-item.style.d.ts +9 -0
- package/esm/components/draggable/index.d.ts +4 -2
- package/esm/components/draggable/internal/drop-target.component.d.ts +8 -0
- package/esm/components/draggable/internal/drop-target.component.js +187 -0
- package/esm/components/grouped-character/grouped-character.component.js +0 -1
- package/esm/components/inline-inputs/index.d.ts +1 -1
- package/esm/components/inline-inputs/index.js +1 -1
- package/esm/components/inline-inputs/inline-inputs.component.d.ts +6 -5
- package/esm/components/inline-inputs/inline-inputs.component.js +8 -13
- package/esm/components/number/number.component.js +0 -1
- package/esm/components/select/filterable-select/filterable-select.component.js +11 -4
- package/esm/components/select/multi-select/multi-select.component.js +13 -4
- package/esm/components/select/select-textbox/select-textbox.component.js +2 -0
- package/esm/components/select/simple-select/simple-select.component.js +13 -4
- package/esm/components/settings-row/index.d.ts +2 -1
- package/esm/components/settings-row/settings-row.component.d.ts +22 -0
- package/esm/components/settings-row/settings-row.component.js +165 -23
- package/esm/components/settings-row/settings-row.style.d.ts +7 -0
- package/esm/components/textarea/textarea.component.d.ts +2 -0
- package/esm/components/textarea/textarea.component.js +2 -2
- package/esm/components/textbox/textbox.component.d.ts +7 -3
- package/esm/components/textbox/textbox.component.js +3 -5
- package/esm/hooks/__internal__/useInputAccessibility/useInputAccessibility.d.ts +0 -1
- package/esm/hooks/__internal__/useInputAccessibility/useInputAccessibility.js +1 -3
- package/lib/__internal__/checkable-input/checkable-input.component.d.ts +1 -1
- package/lib/__internal__/checkable-input/checkable-input.component.js +3 -4
- package/lib/__internal__/checkable-input/hidden-checkable-input.component.d.ts +2 -0
- package/lib/__internal__/checkable-input/hidden-checkable-input.component.js +5 -5
- package/lib/__internal__/input/input.component.js +2 -1
- package/lib/__internal__/input-behaviour/input-behaviour.component.js +2 -12
- package/lib/__internal__/input-behaviour/useInputBehaviour.d.ts +0 -1
- package/lib/components/checkbox/checkbox.component.d.ts +2 -0
- package/lib/components/checkbox/checkbox.component.js +2 -0
- package/lib/components/draggable/draggable-container.component.d.ts +17 -0
- package/lib/components/draggable/draggable-container.component.js +174 -64
- package/lib/components/draggable/draggable-item.component.d.ts +30 -0
- package/lib/components/draggable/draggable-item.component.js +179 -37
- package/lib/components/draggable/draggable-item.style.d.ts +9 -0
- package/lib/components/draggable/index.d.ts +4 -2
- package/lib/components/draggable/internal/drop-target.component.d.ts +8 -0
- package/lib/components/draggable/internal/drop-target.component.js +200 -0
- package/lib/components/grouped-character/grouped-character.component.js +0 -1
- package/lib/components/inline-inputs/index.d.ts +1 -1
- package/lib/components/inline-inputs/index.js +2 -10
- package/lib/components/inline-inputs/inline-inputs.component.d.ts +6 -5
- package/lib/components/inline-inputs/inline-inputs.component.js +11 -20
- package/lib/components/number/number.component.js +0 -1
- package/lib/components/select/filterable-select/filterable-select.component.js +12 -4
- package/lib/components/select/multi-select/multi-select.component.js +14 -4
- package/lib/components/select/select-textbox/select-textbox.component.js +2 -0
- package/lib/components/select/simple-select/simple-select.component.js +14 -4
- package/lib/components/settings-row/index.d.ts +2 -1
- package/lib/components/settings-row/settings-row.component.d.ts +22 -0
- package/lib/components/settings-row/settings-row.component.js +166 -26
- package/lib/components/settings-row/settings-row.style.d.ts +7 -0
- package/lib/components/textarea/textarea.component.d.ts +2 -0
- package/lib/components/textarea/textarea.component.js +2 -2
- package/lib/components/textbox/textbox.component.d.ts +7 -3
- package/lib/components/textbox/textbox.component.js +3 -5
- package/lib/hooks/__internal__/useInputAccessibility/useInputAccessibility.d.ts +0 -1
- package/lib/hooks/__internal__/useInputAccessibility/useInputAccessibility.js +1 -3
- package/package.json +1 -1
- package/esm/components/draggable/draggable-container.d.ts +0 -28
- package/esm/components/draggable/draggable-item.d.ts +0 -18
- package/esm/components/settings-row/settings-row.d.ts +0 -21
- package/lib/components/draggable/draggable-container.d.ts +0 -28
- package/lib/components/draggable/draggable-item.d.ts +0 -18
- package/lib/components/settings-row/settings-row.d.ts +0 -21
|
@@ -193,7 +193,6 @@ Number.propTypes = {
|
|
|
193
193
|
"label": _propTypes.default.string,
|
|
194
194
|
"labelAlign": _propTypes.default.oneOf(["left", "right"]),
|
|
195
195
|
"labelHelp": _propTypes.default.node,
|
|
196
|
-
"labelId": _propTypes.default.string,
|
|
197
196
|
"labelInline": _propTypes.default.bool,
|
|
198
197
|
"labelSpacing": _propTypes.default.oneOf([1, 2]),
|
|
199
198
|
"labelWidth": _propTypes.default.number,
|
|
@@ -33,6 +33,8 @@ var _useStableCallback = _interopRequireDefault(require("../../../hooks/__intern
|
|
|
33
33
|
|
|
34
34
|
var _useFormSpacing = _interopRequireDefault(require("../../../hooks/__internal__/useFormSpacing"));
|
|
35
35
|
|
|
36
|
+
var _useInputAccessibility = _interopRequireDefault(require("../../../hooks/__internal__/useInputAccessibility/useInputAccessibility"));
|
|
37
|
+
|
|
36
38
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
37
39
|
|
|
38
40
|
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
|
|
@@ -83,7 +85,6 @@ const FilterableSelect = /*#__PURE__*/_react.default.forwardRef(({
|
|
|
83
85
|
}, ref) => {
|
|
84
86
|
const [activeDescendantId, setActiveDescendantId] = (0, _react.useState)();
|
|
85
87
|
const selectListId = (0, _react.useRef)((0, _guid.default)());
|
|
86
|
-
const labelId = (0, _react.useRef)(label ? (0, _guid.default)() : undefined);
|
|
87
88
|
const containerRef = (0, _react.useRef)();
|
|
88
89
|
const listboxRef = (0, _react.useRef)();
|
|
89
90
|
const isControlled = (0, _react.useRef)(value !== undefined);
|
|
@@ -96,6 +97,13 @@ const FilterableSelect = /*#__PURE__*/_react.default.forwardRef(({
|
|
|
96
97
|
const [selectedValue, setSelectedValue] = (0, _react.useState)(value || defaultValue || "");
|
|
97
98
|
const [highlightedValue, setHighlightedValue] = (0, _react.useState)("");
|
|
98
99
|
const [filterText, setFilterText] = (0, _react.useState)("");
|
|
100
|
+
const inputId = (0, _react.useRef)(id || (0, _guid.default)());
|
|
101
|
+
const {
|
|
102
|
+
labelId
|
|
103
|
+
} = (0, _useInputAccessibility.default)({
|
|
104
|
+
id: inputId.current,
|
|
105
|
+
label
|
|
106
|
+
});
|
|
99
107
|
|
|
100
108
|
if (!deprecateInputRefWarnTriggered && inputRef) {
|
|
101
109
|
deprecateInputRefWarnTriggered = true;
|
|
@@ -418,7 +426,7 @@ const FilterableSelect = /*#__PURE__*/_react.default.forwardRef(({
|
|
|
418
426
|
|
|
419
427
|
function getTextboxProps() {
|
|
420
428
|
return {
|
|
421
|
-
id,
|
|
429
|
+
id: inputId.current,
|
|
422
430
|
name,
|
|
423
431
|
label,
|
|
424
432
|
disabled,
|
|
@@ -443,7 +451,7 @@ const FilterableSelect = /*#__PURE__*/_react.default.forwardRef(({
|
|
|
443
451
|
const selectList = /*#__PURE__*/_react.default.createElement(FilterableSelectList, {
|
|
444
452
|
ref: listboxRef,
|
|
445
453
|
id: selectListId.current,
|
|
446
|
-
labelId:
|
|
454
|
+
labelId: labelId,
|
|
447
455
|
anchorElement: textboxRef && textboxRef.parentElement,
|
|
448
456
|
onSelect: onSelectOption,
|
|
449
457
|
onSelectListClose: onSelectListClose,
|
|
@@ -481,7 +489,7 @@ const FilterableSelect = /*#__PURE__*/_react.default.forwardRef(({
|
|
|
481
489
|
ref: containerRef
|
|
482
490
|
}, /*#__PURE__*/_react.default.createElement(_selectTextbox.default, _extends({
|
|
483
491
|
activeDescendantId: activeDescendantId,
|
|
484
|
-
labelId:
|
|
492
|
+
labelId: labelId,
|
|
485
493
|
"aria-controls": selectListId.current,
|
|
486
494
|
isOpen: isOpen,
|
|
487
495
|
hasTextCursor: true,
|
|
@@ -37,6 +37,8 @@ var _useStableCallback = _interopRequireDefault(require("../../../hooks/__intern
|
|
|
37
37
|
|
|
38
38
|
var _useFormSpacing = _interopRequireDefault(require("../../../hooks/__internal__/useFormSpacing"));
|
|
39
39
|
|
|
40
|
+
var _useInputAccessibility = _interopRequireDefault(require("../../../hooks/__internal__/useInputAccessibility/useInputAccessibility"));
|
|
41
|
+
|
|
40
42
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
41
43
|
|
|
42
44
|
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
|
|
@@ -52,6 +54,7 @@ const MultiSelect = /*#__PURE__*/_react.default.forwardRef(({
|
|
|
52
54
|
value,
|
|
53
55
|
defaultValue,
|
|
54
56
|
id,
|
|
57
|
+
label,
|
|
55
58
|
name,
|
|
56
59
|
disabled,
|
|
57
60
|
readOnly,
|
|
@@ -87,7 +90,6 @@ const MultiSelect = /*#__PURE__*/_react.default.forwardRef(({
|
|
|
87
90
|
const [activeDescendantId, setActiveDescendantId] = (0, _react.useState)();
|
|
88
91
|
const selectListId = (0, _react.useRef)((0, _guid.default)());
|
|
89
92
|
const accessibilityLabelId = (0, _react.useRef)((0, _guid.default)());
|
|
90
|
-
const labelId = (0, _react.useRef)((0, _guid.default)());
|
|
91
93
|
const containerRef = (0, _react.useRef)();
|
|
92
94
|
const listboxRef = (0, _react.useRef)();
|
|
93
95
|
const isInputFocused = (0, _react.useRef)(false);
|
|
@@ -102,6 +104,13 @@ const MultiSelect = /*#__PURE__*/_react.default.forwardRef(({
|
|
|
102
104
|
const [highlightedValue, setHighlightedValue] = (0, _react.useState)("");
|
|
103
105
|
const [filterText, setFilterText] = (0, _react.useState)("");
|
|
104
106
|
const [placeholderOverride, setPlaceholderOverride] = (0, _react.useState)();
|
|
107
|
+
const inputId = (0, _react.useRef)(id || (0, _guid.default)());
|
|
108
|
+
const {
|
|
109
|
+
labelId
|
|
110
|
+
} = (0, _useInputAccessibility.default)({
|
|
111
|
+
id: inputId.current,
|
|
112
|
+
label
|
|
113
|
+
});
|
|
105
114
|
const actualValue = isControlled.current ? value : selectedValue;
|
|
106
115
|
|
|
107
116
|
if (!deprecateInputRefWarnTriggered && inputRef) {
|
|
@@ -434,9 +443,10 @@ const MultiSelect = /*#__PURE__*/_react.default.forwardRef(({
|
|
|
434
443
|
|
|
435
444
|
function getTextboxProps() {
|
|
436
445
|
return {
|
|
437
|
-
id,
|
|
446
|
+
id: inputId.current,
|
|
438
447
|
name,
|
|
439
448
|
disabled,
|
|
449
|
+
label,
|
|
440
450
|
readOnly,
|
|
441
451
|
placeholder: placeholderOverride,
|
|
442
452
|
leftChildren: mapValuesToPills,
|
|
@@ -461,7 +471,7 @@ const MultiSelect = /*#__PURE__*/_react.default.forwardRef(({
|
|
|
461
471
|
const selectList = /*#__PURE__*/_react.default.createElement(FilterableSelectList, {
|
|
462
472
|
ref: listboxRef,
|
|
463
473
|
id: selectListId.current,
|
|
464
|
-
labelId: labelId
|
|
474
|
+
labelId: labelId,
|
|
465
475
|
anchorElement: textboxRef && textboxRef.parentElement,
|
|
466
476
|
onSelect: onSelectOption,
|
|
467
477
|
onSelectListClose: onSelectListClose,
|
|
@@ -504,7 +514,7 @@ const MultiSelect = /*#__PURE__*/_react.default.forwardRef(({
|
|
|
504
514
|
"aria-controls": selectListId.current,
|
|
505
515
|
hasTextCursor: true,
|
|
506
516
|
isOpen: isOpen,
|
|
507
|
-
labelId: labelId
|
|
517
|
+
labelId: labelId,
|
|
508
518
|
textboxRef: textboxRef
|
|
509
519
|
}, getTextboxProps()))), selectList);
|
|
510
520
|
});
|
|
@@ -51,6 +51,7 @@ const SelectTextbox = /*#__PURE__*/_react.default.forwardRef(({
|
|
|
51
51
|
value,
|
|
52
52
|
disabled,
|
|
53
53
|
isOpen,
|
|
54
|
+
id,
|
|
54
55
|
readOnly,
|
|
55
56
|
placeholder,
|
|
56
57
|
size = "medium",
|
|
@@ -110,6 +111,7 @@ const SelectTextbox = /*#__PURE__*/_react.default.forwardRef(({
|
|
|
110
111
|
function getTextboxProps() {
|
|
111
112
|
return {
|
|
112
113
|
disabled,
|
|
114
|
+
id,
|
|
113
115
|
readOnly,
|
|
114
116
|
required,
|
|
115
117
|
onClick: handleTextboxClick,
|
|
@@ -33,6 +33,8 @@ var _logger = _interopRequireDefault(require("../../../__internal__/utils/logger
|
|
|
33
33
|
|
|
34
34
|
var _useFormSpacing = _interopRequireDefault(require("../../../hooks/__internal__/useFormSpacing"));
|
|
35
35
|
|
|
36
|
+
var _useInputAccessibility = _interopRequireDefault(require("../../../hooks/__internal__/useInputAccessibility/useInputAccessibility"));
|
|
37
|
+
|
|
36
38
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
37
39
|
|
|
38
40
|
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
|
|
@@ -47,6 +49,7 @@ const SimpleSelect = /*#__PURE__*/_react.default.forwardRef(({
|
|
|
47
49
|
value,
|
|
48
50
|
defaultValue,
|
|
49
51
|
id,
|
|
52
|
+
label,
|
|
50
53
|
name,
|
|
51
54
|
disabled,
|
|
52
55
|
readOnly,
|
|
@@ -77,7 +80,6 @@ const SimpleSelect = /*#__PURE__*/_react.default.forwardRef(({
|
|
|
77
80
|
...props
|
|
78
81
|
}, ref) => {
|
|
79
82
|
const selectListId = (0, _react.useRef)((0, _guid.default)());
|
|
80
|
-
const labelId = (0, _react.useRef)((0, _guid.default)());
|
|
81
83
|
const containerRef = (0, _react.useRef)();
|
|
82
84
|
const listboxRef = (0, _react.useRef)();
|
|
83
85
|
const filterTimer = (0, _react.useRef)();
|
|
@@ -91,6 +93,13 @@ const SimpleSelect = /*#__PURE__*/_react.default.forwardRef(({
|
|
|
91
93
|
const [activeDescendantId, setActiveDescendantId] = (0, _react.useState)();
|
|
92
94
|
const [textValue, setTextValue] = (0, _react.useState)("");
|
|
93
95
|
const [selectedValue, setSelectedValue] = (0, _react.useState)(value || defaultValue || "");
|
|
96
|
+
const inputId = (0, _react.useRef)(id || (0, _guid.default)());
|
|
97
|
+
const {
|
|
98
|
+
labelId
|
|
99
|
+
} = (0, _useInputAccessibility.default)({
|
|
100
|
+
id: inputId.current,
|
|
101
|
+
label
|
|
102
|
+
});
|
|
94
103
|
|
|
95
104
|
if (!deprecateInputRefWarnTriggered && inputRef) {
|
|
96
105
|
deprecateInputRefWarnTriggered = true;
|
|
@@ -343,7 +352,7 @@ const SimpleSelect = /*#__PURE__*/_react.default.forwardRef(({
|
|
|
343
352
|
|
|
344
353
|
function getTextboxProps() {
|
|
345
354
|
return {
|
|
346
|
-
id,
|
|
355
|
+
id: inputId.current,
|
|
347
356
|
name,
|
|
348
357
|
disabled,
|
|
349
358
|
readOnly,
|
|
@@ -352,6 +361,8 @@ const SimpleSelect = /*#__PURE__*/_react.default.forwardRef(({
|
|
|
352
361
|
formattedValue: textValue,
|
|
353
362
|
onClick: handleTextboxClick,
|
|
354
363
|
iconOnClick: handleDropdownIconClick,
|
|
364
|
+
label,
|
|
365
|
+
labelId,
|
|
355
366
|
onMouseDown: handleTextboxMouseDown,
|
|
356
367
|
onFocus: handleTextboxFocus,
|
|
357
368
|
onKeyDown: handleTextboxKeydown,
|
|
@@ -366,7 +377,7 @@ const SimpleSelect = /*#__PURE__*/_react.default.forwardRef(({
|
|
|
366
377
|
const selectList = /*#__PURE__*/_react.default.createElement(_selectList.default, {
|
|
367
378
|
ref: listboxRef,
|
|
368
379
|
id: selectListId.current,
|
|
369
|
-
labelId: labelId
|
|
380
|
+
labelId: labelId,
|
|
370
381
|
anchorElement: textboxRef && textboxRef.parentElement,
|
|
371
382
|
onSelect: onSelectOption,
|
|
372
383
|
onMouseDown: handleListMouseDown,
|
|
@@ -400,7 +411,6 @@ const SimpleSelect = /*#__PURE__*/_react.default.forwardRef(({
|
|
|
400
411
|
}, /*#__PURE__*/_react.default.createElement(_selectTextbox.default, _extends({
|
|
401
412
|
"aria-controls": selectListId.current,
|
|
402
413
|
activeDescendantId: activeDescendantId,
|
|
403
|
-
labelId: labelId.current,
|
|
404
414
|
isOpen: isOpen,
|
|
405
415
|
textboxRef: textboxRef
|
|
406
416
|
}, getTextboxProps()))), selectList);
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { default } from "./settings-row";
|
|
1
|
+
export { default } from "./settings-row.component";
|
|
2
|
+
export type { SettingsRowProps } from "./settings-row.component";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { MarginProps } from "styled-system";
|
|
3
|
+
import { HeadingType } from "../heading";
|
|
4
|
+
export interface SettingsRowProps extends MarginProps {
|
|
5
|
+
/** A title for this group of settings. */
|
|
6
|
+
title?: string;
|
|
7
|
+
/** Defines the HTML heading element of the `title` within the component. */
|
|
8
|
+
headingType?: HeadingType;
|
|
9
|
+
/** Content to be rendered inside the component. */
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
/** A string or JSX object that provides a short description about the group of settings. */
|
|
12
|
+
description?: React.ReactNode;
|
|
13
|
+
/** Shows a divider below the component. */
|
|
14
|
+
divider?: boolean;
|
|
15
|
+
/** The CSS classes to apply to the component. */
|
|
16
|
+
className?: string;
|
|
17
|
+
}
|
|
18
|
+
export declare const SettingsRow: {
|
|
19
|
+
({ title, headingType, children, description, divider, className, ...rest }: SettingsRowProps): JSX.Element;
|
|
20
|
+
displayName: string;
|
|
21
|
+
};
|
|
22
|
+
export default SettingsRow;
|
|
@@ -3,14 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.default = void 0;
|
|
6
|
+
exports.default = exports.SettingsRow = void 0;
|
|
7
7
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
|
|
10
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
11
|
|
|
12
|
-
var _propTypes2 = _interopRequireDefault(require("@styled-system/prop-types"));
|
|
13
|
-
|
|
14
12
|
var _heading = _interopRequireDefault(require("../heading"));
|
|
15
13
|
|
|
16
14
|
var _tags = _interopRequireDefault(require("../../__internal__/utils/helpers/tags/tags"));
|
|
@@ -23,15 +21,13 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
23
21
|
|
|
24
22
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
25
23
|
|
|
26
|
-
const marginPropTypes = (0, _utils.filterStyledSystemMarginProps)(_propTypes2.default.space);
|
|
27
|
-
|
|
28
24
|
const SettingsRow = ({
|
|
29
25
|
title,
|
|
30
26
|
headingType = "h3",
|
|
31
|
-
description,
|
|
32
27
|
children,
|
|
33
|
-
|
|
28
|
+
description,
|
|
34
29
|
divider = true,
|
|
30
|
+
className,
|
|
35
31
|
...rest
|
|
36
32
|
}) => {
|
|
37
33
|
const heading = () => {
|
|
@@ -53,25 +49,169 @@ const SettingsRow = ({
|
|
|
53
49
|
}, (0, _utils.filterStyledSystemMarginProps)(rest)), /*#__PURE__*/_react.default.createElement(_settingsRow.StyledSettingsRowHeader, null, heading()), /*#__PURE__*/_react.default.createElement(_settingsRow.StyledSettingsRowInput, null, children));
|
|
54
50
|
};
|
|
55
51
|
|
|
56
|
-
SettingsRow
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
52
|
+
exports.SettingsRow = SettingsRow;
|
|
53
|
+
SettingsRow.propTypes = {
|
|
54
|
+
"children": _propTypes.default.node,
|
|
55
|
+
"className": _propTypes.default.string,
|
|
56
|
+
"description": _propTypes.default.node,
|
|
57
|
+
"divider": _propTypes.default.bool,
|
|
58
|
+
"headingType": _propTypes.default.oneOf(["h1", "h2", "h3", "h4", "h5"]),
|
|
59
|
+
"m": _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf([null]), _propTypes.default.number, _propTypes.default.shape({
|
|
60
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
61
|
+
"description": _propTypes.default.string,
|
|
62
|
+
"toString": _propTypes.default.func.isRequired,
|
|
63
|
+
"valueOf": _propTypes.default.func.isRequired
|
|
64
|
+
}), _propTypes.default.string])), _propTypes.default.number, _propTypes.default.object, _propTypes.default.shape({
|
|
65
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
66
|
+
"description": _propTypes.default.string,
|
|
67
|
+
"toString": _propTypes.default.func.isRequired,
|
|
68
|
+
"valueOf": _propTypes.default.func.isRequired
|
|
69
|
+
}), _propTypes.default.string]),
|
|
70
|
+
"margin": _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf([null]), _propTypes.default.number, _propTypes.default.shape({
|
|
71
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
72
|
+
"description": _propTypes.default.string,
|
|
73
|
+
"toString": _propTypes.default.func.isRequired,
|
|
74
|
+
"valueOf": _propTypes.default.func.isRequired
|
|
75
|
+
}), _propTypes.default.string])), _propTypes.default.number, _propTypes.default.object, _propTypes.default.shape({
|
|
76
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
77
|
+
"description": _propTypes.default.string,
|
|
78
|
+
"toString": _propTypes.default.func.isRequired,
|
|
79
|
+
"valueOf": _propTypes.default.func.isRequired
|
|
80
|
+
}), _propTypes.default.string]),
|
|
81
|
+
"marginBottom": _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf([null]), _propTypes.default.number, _propTypes.default.shape({
|
|
82
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
83
|
+
"description": _propTypes.default.string,
|
|
84
|
+
"toString": _propTypes.default.func.isRequired,
|
|
85
|
+
"valueOf": _propTypes.default.func.isRequired
|
|
86
|
+
}), _propTypes.default.string])), _propTypes.default.number, _propTypes.default.object, _propTypes.default.shape({
|
|
87
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
88
|
+
"description": _propTypes.default.string,
|
|
89
|
+
"toString": _propTypes.default.func.isRequired,
|
|
90
|
+
"valueOf": _propTypes.default.func.isRequired
|
|
91
|
+
}), _propTypes.default.string]),
|
|
92
|
+
"marginLeft": _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf([null]), _propTypes.default.number, _propTypes.default.shape({
|
|
93
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
94
|
+
"description": _propTypes.default.string,
|
|
95
|
+
"toString": _propTypes.default.func.isRequired,
|
|
96
|
+
"valueOf": _propTypes.default.func.isRequired
|
|
97
|
+
}), _propTypes.default.string])), _propTypes.default.number, _propTypes.default.object, _propTypes.default.shape({
|
|
98
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
99
|
+
"description": _propTypes.default.string,
|
|
100
|
+
"toString": _propTypes.default.func.isRequired,
|
|
101
|
+
"valueOf": _propTypes.default.func.isRequired
|
|
102
|
+
}), _propTypes.default.string]),
|
|
103
|
+
"marginRight": _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf([null]), _propTypes.default.number, _propTypes.default.shape({
|
|
104
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
105
|
+
"description": _propTypes.default.string,
|
|
106
|
+
"toString": _propTypes.default.func.isRequired,
|
|
107
|
+
"valueOf": _propTypes.default.func.isRequired
|
|
108
|
+
}), _propTypes.default.string])), _propTypes.default.number, _propTypes.default.object, _propTypes.default.shape({
|
|
109
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
110
|
+
"description": _propTypes.default.string,
|
|
111
|
+
"toString": _propTypes.default.func.isRequired,
|
|
112
|
+
"valueOf": _propTypes.default.func.isRequired
|
|
113
|
+
}), _propTypes.default.string]),
|
|
114
|
+
"marginTop": _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf([null]), _propTypes.default.number, _propTypes.default.shape({
|
|
115
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
116
|
+
"description": _propTypes.default.string,
|
|
117
|
+
"toString": _propTypes.default.func.isRequired,
|
|
118
|
+
"valueOf": _propTypes.default.func.isRequired
|
|
119
|
+
}), _propTypes.default.string])), _propTypes.default.number, _propTypes.default.object, _propTypes.default.shape({
|
|
120
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
121
|
+
"description": _propTypes.default.string,
|
|
122
|
+
"toString": _propTypes.default.func.isRequired,
|
|
123
|
+
"valueOf": _propTypes.default.func.isRequired
|
|
124
|
+
}), _propTypes.default.string]),
|
|
125
|
+
"marginX": _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf([null]), _propTypes.default.number, _propTypes.default.shape({
|
|
126
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
127
|
+
"description": _propTypes.default.string,
|
|
128
|
+
"toString": _propTypes.default.func.isRequired,
|
|
129
|
+
"valueOf": _propTypes.default.func.isRequired
|
|
130
|
+
}), _propTypes.default.string])), _propTypes.default.number, _propTypes.default.object, _propTypes.default.shape({
|
|
131
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
132
|
+
"description": _propTypes.default.string,
|
|
133
|
+
"toString": _propTypes.default.func.isRequired,
|
|
134
|
+
"valueOf": _propTypes.default.func.isRequired
|
|
135
|
+
}), _propTypes.default.string]),
|
|
136
|
+
"marginY": _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf([null]), _propTypes.default.number, _propTypes.default.shape({
|
|
137
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
138
|
+
"description": _propTypes.default.string,
|
|
139
|
+
"toString": _propTypes.default.func.isRequired,
|
|
140
|
+
"valueOf": _propTypes.default.func.isRequired
|
|
141
|
+
}), _propTypes.default.string])), _propTypes.default.number, _propTypes.default.object, _propTypes.default.shape({
|
|
142
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
143
|
+
"description": _propTypes.default.string,
|
|
144
|
+
"toString": _propTypes.default.func.isRequired,
|
|
145
|
+
"valueOf": _propTypes.default.func.isRequired
|
|
146
|
+
}), _propTypes.default.string]),
|
|
147
|
+
"mb": _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf([null]), _propTypes.default.number, _propTypes.default.shape({
|
|
148
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
149
|
+
"description": _propTypes.default.string,
|
|
150
|
+
"toString": _propTypes.default.func.isRequired,
|
|
151
|
+
"valueOf": _propTypes.default.func.isRequired
|
|
152
|
+
}), _propTypes.default.string])), _propTypes.default.number, _propTypes.default.object, _propTypes.default.shape({
|
|
153
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
154
|
+
"description": _propTypes.default.string,
|
|
155
|
+
"toString": _propTypes.default.func.isRequired,
|
|
156
|
+
"valueOf": _propTypes.default.func.isRequired
|
|
157
|
+
}), _propTypes.default.string]),
|
|
158
|
+
"ml": _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf([null]), _propTypes.default.number, _propTypes.default.shape({
|
|
159
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
160
|
+
"description": _propTypes.default.string,
|
|
161
|
+
"toString": _propTypes.default.func.isRequired,
|
|
162
|
+
"valueOf": _propTypes.default.func.isRequired
|
|
163
|
+
}), _propTypes.default.string])), _propTypes.default.number, _propTypes.default.object, _propTypes.default.shape({
|
|
164
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
165
|
+
"description": _propTypes.default.string,
|
|
166
|
+
"toString": _propTypes.default.func.isRequired,
|
|
167
|
+
"valueOf": _propTypes.default.func.isRequired
|
|
168
|
+
}), _propTypes.default.string]),
|
|
169
|
+
"mr": _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf([null]), _propTypes.default.number, _propTypes.default.shape({
|
|
170
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
171
|
+
"description": _propTypes.default.string,
|
|
172
|
+
"toString": _propTypes.default.func.isRequired,
|
|
173
|
+
"valueOf": _propTypes.default.func.isRequired
|
|
174
|
+
}), _propTypes.default.string])), _propTypes.default.number, _propTypes.default.object, _propTypes.default.shape({
|
|
175
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
176
|
+
"description": _propTypes.default.string,
|
|
177
|
+
"toString": _propTypes.default.func.isRequired,
|
|
178
|
+
"valueOf": _propTypes.default.func.isRequired
|
|
179
|
+
}), _propTypes.default.string]),
|
|
180
|
+
"mt": _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf([null]), _propTypes.default.number, _propTypes.default.shape({
|
|
181
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
182
|
+
"description": _propTypes.default.string,
|
|
183
|
+
"toString": _propTypes.default.func.isRequired,
|
|
184
|
+
"valueOf": _propTypes.default.func.isRequired
|
|
185
|
+
}), _propTypes.default.string])), _propTypes.default.number, _propTypes.default.object, _propTypes.default.shape({
|
|
186
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
187
|
+
"description": _propTypes.default.string,
|
|
188
|
+
"toString": _propTypes.default.func.isRequired,
|
|
189
|
+
"valueOf": _propTypes.default.func.isRequired
|
|
190
|
+
}), _propTypes.default.string]),
|
|
191
|
+
"mx": _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf([null]), _propTypes.default.number, _propTypes.default.shape({
|
|
192
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
193
|
+
"description": _propTypes.default.string,
|
|
194
|
+
"toString": _propTypes.default.func.isRequired,
|
|
195
|
+
"valueOf": _propTypes.default.func.isRequired
|
|
196
|
+
}), _propTypes.default.string])), _propTypes.default.number, _propTypes.default.object, _propTypes.default.shape({
|
|
197
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
198
|
+
"description": _propTypes.default.string,
|
|
199
|
+
"toString": _propTypes.default.func.isRequired,
|
|
200
|
+
"valueOf": _propTypes.default.func.isRequired
|
|
201
|
+
}), _propTypes.default.string]),
|
|
202
|
+
"my": _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf([null]), _propTypes.default.number, _propTypes.default.shape({
|
|
203
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
204
|
+
"description": _propTypes.default.string,
|
|
205
|
+
"toString": _propTypes.default.func.isRequired,
|
|
206
|
+
"valueOf": _propTypes.default.func.isRequired
|
|
207
|
+
}), _propTypes.default.string])), _propTypes.default.number, _propTypes.default.object, _propTypes.default.shape({
|
|
208
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
209
|
+
"description": _propTypes.default.string,
|
|
210
|
+
"toString": _propTypes.default.func.isRequired,
|
|
211
|
+
"valueOf": _propTypes.default.func.isRequired
|
|
212
|
+
}), _propTypes.default.string]),
|
|
213
|
+
"title": _propTypes.default.string
|
|
75
214
|
};
|
|
215
|
+
SettingsRow.displayName = "SettingsRow";
|
|
76
216
|
var _default = SettingsRow;
|
|
77
217
|
exports.default = _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface DividerProps {
|
|
2
|
+
hasDivider: boolean;
|
|
3
|
+
}
|
|
4
|
+
export declare const StyledSettingsRow: import("styled-components").StyledComponent<"div", any, DividerProps, never>;
|
|
5
|
+
export declare const StyledSettingsRowHeader: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
export declare const StyledSettingsRowInput: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
+
export {};
|
|
@@ -4,6 +4,8 @@ import { IconType } from "../icon";
|
|
|
4
4
|
import { ValidationProps } from "../../__internal__/validations";
|
|
5
5
|
import { CommonInputProps } from "../../__internal__/input";
|
|
6
6
|
export interface TextareaProps extends ValidationProps, MarginProps, Omit<CommonInputProps, "size"> {
|
|
7
|
+
/** Prop to specify the aria-labelledby property of the component */
|
|
8
|
+
"aria-labelledby"?: string;
|
|
7
9
|
/** Identifier used for testing purposes, applied to the root element of the component. */
|
|
8
10
|
"data-component"?: string;
|
|
9
11
|
/** Identifier used for testing purposes, applied to the root element of the component. */
|
|
@@ -52,6 +52,7 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
|
|
|
52
52
|
let deprecateInputRefWarnTriggered = false;
|
|
53
53
|
|
|
54
54
|
const Textarea = /*#__PURE__*/_react.default.forwardRef(({
|
|
55
|
+
"aria-labelledby": ariaLabelledBy,
|
|
55
56
|
autoFocus,
|
|
56
57
|
fieldHelp,
|
|
57
58
|
label,
|
|
@@ -137,8 +138,7 @@ const Textarea = /*#__PURE__*/_react.default.forwardRef(({
|
|
|
137
138
|
labelId,
|
|
138
139
|
validationIconId,
|
|
139
140
|
fieldHelpId,
|
|
140
|
-
ariaDescribedBy
|
|
141
|
-
ariaLabelledBy
|
|
141
|
+
ariaDescribedBy
|
|
142
142
|
} = (0, _useInputAccessibility.default)({
|
|
143
143
|
id,
|
|
144
144
|
error,
|
|
@@ -4,6 +4,8 @@ import { CommonInputProps } from "../../__internal__/input";
|
|
|
4
4
|
import { ValidationProps } from "../../__internal__/validations";
|
|
5
5
|
import { IconType } from "../icon";
|
|
6
6
|
export interface CommonTextboxProps extends ValidationProps, MarginProps, Omit<CommonInputProps, "size"> {
|
|
7
|
+
/** Prop to specify the aria-labelledby property of the component */
|
|
8
|
+
"aria-labelledby"?: string;
|
|
7
9
|
/** Identifier used for testing purposes, applied to the root element of the component. */
|
|
8
10
|
"data-component"?: string;
|
|
9
11
|
/** Identifier used for testing purposes, applied to the root element of the component. */
|
|
@@ -21,7 +23,11 @@ export interface CommonTextboxProps extends ValidationProps, MarginProps, Omit<C
|
|
|
21
23
|
* real value is an ID but you want to show a human-readable version.
|
|
22
24
|
*/
|
|
23
25
|
formattedValue?: string;
|
|
24
|
-
/**
|
|
26
|
+
/**
|
|
27
|
+
* Unique identifier for the input.
|
|
28
|
+
* Label id will be based on it, using following pattern: <id>-label.
|
|
29
|
+
* Will use a randomly generated GUID if none is provided.
|
|
30
|
+
*/
|
|
25
31
|
id?: string;
|
|
26
32
|
/** Type of the icon that will be rendered next to the input */
|
|
27
33
|
inputIcon?: IconType;
|
|
@@ -84,8 +90,6 @@ export interface TextboxProps extends CommonTextboxProps {
|
|
|
84
90
|
isOptional?: boolean;
|
|
85
91
|
/** Container for DatePicker or SelectList components */
|
|
86
92
|
positionedChildren?: React.ReactNode;
|
|
87
|
-
/** Label id passed from Select component */
|
|
88
|
-
labelId?: string;
|
|
89
93
|
/** Character limit of the textarea */
|
|
90
94
|
characterLimit?: string | number;
|
|
91
95
|
/** Stop the user typing over the characterLimit */
|
|
@@ -52,13 +52,13 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
|
|
|
52
52
|
let deprecateInputRefWarnTriggered = false;
|
|
53
53
|
|
|
54
54
|
const Textbox = /*#__PURE__*/_react.default.forwardRef(({
|
|
55
|
+
"aria-labelledby": ariaLabelledBy,
|
|
55
56
|
align = "left",
|
|
56
57
|
autoFocus,
|
|
57
58
|
children,
|
|
58
59
|
disabled,
|
|
59
60
|
inputIcon,
|
|
60
61
|
leftChildren,
|
|
61
|
-
labelId: externalLabelId,
|
|
62
62
|
label,
|
|
63
63
|
labelAlign,
|
|
64
64
|
labelHelp,
|
|
@@ -127,7 +127,7 @@ const Textbox = /*#__PURE__*/_react.default.forwardRef(({
|
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
const {
|
|
130
|
-
labelId
|
|
130
|
+
labelId,
|
|
131
131
|
validationIconId,
|
|
132
132
|
fieldHelpId,
|
|
133
133
|
ariaDescribedBy
|
|
@@ -139,7 +139,6 @@ const Textbox = /*#__PURE__*/_react.default.forwardRef(({
|
|
|
139
139
|
label,
|
|
140
140
|
fieldHelp
|
|
141
141
|
});
|
|
142
|
-
const labelId = label ? externalLabelId || internalLabelId : "";
|
|
143
142
|
const hasIconInside = !!(inputIcon || validationIconId && !validationOnLabel);
|
|
144
143
|
|
|
145
144
|
const input = /*#__PURE__*/_react.default.createElement(_input.InputPresentation, {
|
|
@@ -162,7 +161,7 @@ const Textbox = /*#__PURE__*/_react.default.forwardRef(({
|
|
|
162
161
|
}, {
|
|
163
162
|
align: align,
|
|
164
163
|
"aria-invalid": !!error,
|
|
165
|
-
"aria-labelledby":
|
|
164
|
+
"aria-labelledby": ariaLabelledBy,
|
|
166
165
|
"aria-describedby": validationRedesignOptIn ? undefined : ariaDescribedBy,
|
|
167
166
|
autoFocus: autoFocus,
|
|
168
167
|
deferTimeout: deferTimeout,
|
|
@@ -356,7 +355,6 @@ Textbox.propTypes = {
|
|
|
356
355
|
"label": _propTypes.default.string,
|
|
357
356
|
"labelAlign": _propTypes.default.oneOf(["left", "right"]),
|
|
358
357
|
"labelHelp": _propTypes.default.node,
|
|
359
|
-
"labelId": _propTypes.default.string,
|
|
360
358
|
"labelInline": _propTypes.default.bool,
|
|
361
359
|
"labelSpacing": _propTypes.default.oneOf([1, 2]),
|
|
362
360
|
"labelWidth": _propTypes.default.number,
|
|
@@ -17,12 +17,10 @@ function useInputAccessibility({
|
|
|
17
17
|
const validationIconId = [error, warning, info].filter(validation => validation && typeof validation === "string").length ? `${id}-validation-icon` : undefined;
|
|
18
18
|
const fieldHelpId = fieldHelp ? `${id}-field-help` : undefined;
|
|
19
19
|
const ariaDescribedBy = [fieldHelpId, validationIconId].filter(Boolean).join(" ");
|
|
20
|
-
const ariaLabelledBy = labelId;
|
|
21
20
|
return {
|
|
22
21
|
labelId,
|
|
23
22
|
validationIconId,
|
|
24
23
|
fieldHelpId,
|
|
25
|
-
ariaDescribedBy
|
|
26
|
-
ariaLabelledBy
|
|
24
|
+
ariaDescribedBy
|
|
27
25
|
};
|
|
28
26
|
}
|
package/package.json
CHANGED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { DraggableItemProps } from "./draggable-item";
|
|
3
|
-
|
|
4
|
-
type DraggableContainerChild =
|
|
5
|
-
| React.ReactElement<DraggableItemProps>
|
|
6
|
-
| boolean
|
|
7
|
-
| null
|
|
8
|
-
| undefined;
|
|
9
|
-
|
|
10
|
-
export interface DraggableContainerProps {
|
|
11
|
-
/** Callback fired when order is changed */
|
|
12
|
-
getOrder?: (
|
|
13
|
-
draggableItemIds: (number | string)[],
|
|
14
|
-
movedItemId: string | number
|
|
15
|
-
) => void;
|
|
16
|
-
/**
|
|
17
|
-
* The content of the component
|
|
18
|
-
*
|
|
19
|
-
* `<DraggableItem />` is required to make `Draggable` works
|
|
20
|
-
*/
|
|
21
|
-
children?: DraggableContainerChild | DraggableContainerChild[];
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
declare function DraggableContainer(
|
|
25
|
-
props: DraggableContainerProps
|
|
26
|
-
): JSX.Element;
|
|
27
|
-
|
|
28
|
-
export default DraggableContainer;
|