@patternfly/react-drag-drop 6.0.0-alpha.51 → 6.0.0-alpha.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/dist/cjs.tsbuildinfo +1 -1
- package/dist/esm/components/DragDrop/DraggableDualListSelectorListItem.js +2 -2
- package/dist/esm/components/DragDrop/DraggableDualListSelectorListItem.js.map +1 -1
- package/dist/esm/next/components/DragDrop/DraggableDualListSelectorListItem.js +1 -1
- package/dist/esm/next/components/DragDrop/DraggableDualListSelectorListItem.js.map +1 -1
- package/dist/esm.tsbuildinfo +1 -1
- package/dist/js/components/DragDrop/DraggableDualListSelectorListItem.js +1 -1
- package/dist/js/components/DragDrop/DraggableDualListSelectorListItem.js.map +1 -1
- package/dist/js/next/components/DragDrop/DraggableDualListSelectorListItem.js +1 -1
- package/package.json +4 -4
- package/src/components/DragDrop/DraggableDualListSelectorListItem.tsx +2 -2
- package/src/next/components/DragDrop/DraggableDualListSelectorListItem.tsx +1 -1
|
@@ -9,7 +9,7 @@ const react_styles_1 = require("@patternfly/react-styles");
|
|
|
9
9
|
const dual_list_selector_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/DualListSelector/dual-list-selector"));
|
|
10
10
|
const drag_drop_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/DragDrop/drag-drop"));
|
|
11
11
|
const DragButton_1 = require("./DragButton");
|
|
12
|
-
const DualListSelector_1 = require('@patternfly/react-core/dist/js/components/DualListSelector');
|
|
12
|
+
const DualListSelector_1 = require('@patternfly/react-core/dist/js/deprecated/components/DualListSelector');
|
|
13
13
|
const DraggableDualListSelectorListItem = (_a) => {
|
|
14
14
|
var { children, id, className, orderIndex, isSelected, onOptionSelect } = _a, props = tslib_1.__rest(_a, ["children", "id", "className", "orderIndex", "isSelected", "onOptionSelect"]);
|
|
15
15
|
const { attributes, listeners, setNodeRef, transform, transition, isDragging } = (0, sortable_1.useSortable)({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DraggableDualListSelectorListItem.js","sourceRoot":"","sources":["../../../../src/components/DragDrop/DraggableDualListSelectorListItem.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,gDAAgD;AAChD,kDAAyC;AACzC,2DAA+C;AAC/C,6IAAiG;AACjG,mHAAoF;AACpF,6CAA0C;;AAwBnC,MAAM,iCAAiC,GAAoE,CAAC,EAQ1E,EAAE,EAAE;QARsE,EACjH,QAAQ,EACR,EAAE,EACF,SAAS,EACT,UAAU,EACV,UAAU,EACV,cAAc,OAEyB,EADpC,KAAK,sBAPyG,6EAQlH,CADS;IAER,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,GAAG,IAAA,sBAAW,EAAC;QAC3F,EAAE;QACF,oBAAoB,EAAE,GAAG,EAAE,CAAC,KAAK;KAClC,CAAC,CAAC;IAEH,MAAM,EAAE,gBAAgB,EAAE,GAAG,KAAK,CAAC,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"DraggableDualListSelectorListItem.js","sourceRoot":"","sources":["../../../../src/components/DragDrop/DraggableDualListSelectorListItem.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,gDAAgD;AAChD,kDAAyC;AACzC,2DAA+C;AAC/C,6IAAiG;AACjG,mHAAoF;AACpF,6CAA0C;;AAwBnC,MAAM,iCAAiC,GAAoE,CAAC,EAQ1E,EAAE,EAAE;QARsE,EACjH,QAAQ,EACR,EAAE,EACF,SAAS,EACT,UAAU,EACV,UAAU,EACV,cAAc,OAEyB,EADpC,KAAK,sBAPyG,6EAQlH,CADS;IAER,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,GAAG,IAAA,sBAAW,EAAC;QAC3F,EAAE;QACF,oBAAoB,EAAE,GAAG,EAAE,CAAC,KAA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AAC;gBACxB,CAAC,EACD,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,CAAC,CAAC;gBAEZ,8BAAM,SAAS,EAAE,IAAA,kBAAG,EAAC,4BAAM,CAAC,wBAAwB,CAAC;oBACnD,8BAAM,SAAS,EAAE,IAAA,kBAAG,EAAC,4BAAM,CAAC,wBAAwB,CAAC,IAAG,QAAQ,CAAQ,CACnE,CACF,CACH,CACH,CACN,CAAC;AACJ,CAAC,CAAC;AA7DW,QAAA,iCAAiC,qCA6D5C;AACF,yCAAiC,CAAC,WAAW,GAAG,mCAAmC,CAAC"}
|
|
@@ -9,7 +9,7 @@ const react_styles_1 = require("@patternfly/react-styles");
|
|
|
9
9
|
const dual_list_selector_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/DualListSelector/dual-list-selector"));
|
|
10
10
|
const drag_drop_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/DragDrop/drag-drop"));
|
|
11
11
|
const DragButton_1 = require("./DragButton");
|
|
12
|
-
const DualListSelector_1 = require('@patternfly/react-core/dist/js/components/DualListSelector');
|
|
12
|
+
const DualListSelector_1 = require('@patternfly/react-core/dist/js/deprecated/components/DualListSelector');
|
|
13
13
|
const DraggableDualListSelectorListItem = (_a) => {
|
|
14
14
|
var { children, id, className, orderIndex, isSelected, onOptionSelect } = _a, props = tslib_1.__rest(_a, ["children", "id", "className", "orderIndex", "isSelected", "onOptionSelect"]);
|
|
15
15
|
const { attributes, listeners, setNodeRef, transform, transition, isDragging } = (0, sortable_1.useSortable)({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/react-drag-drop",
|
|
3
|
-
"version": "6.0.0-alpha.
|
|
3
|
+
"version": "6.0.0-alpha.53",
|
|
4
4
|
"description": "PatternFly drag and drop solution",
|
|
5
5
|
"main": "dist/js/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"@dnd-kit/core": "^6.0.8",
|
|
33
33
|
"@dnd-kit/modifiers": "^6.0.1",
|
|
34
34
|
"@dnd-kit/sortable": "^7.0.2",
|
|
35
|
-
"@patternfly/react-core": "^6.0.0-alpha.
|
|
36
|
-
"@patternfly/react-icons": "^6.0.0-alpha.
|
|
35
|
+
"@patternfly/react-core": "^6.0.0-alpha.71",
|
|
36
|
+
"@patternfly/react-icons": "^6.0.0-alpha.25",
|
|
37
37
|
"@patternfly/react-styles": "^6.0.0-alpha.24",
|
|
38
38
|
"memoize-one": "^5.1.0",
|
|
39
39
|
"resize-observer-polyfill": "^1.5.1"
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"react": "^17 || ^18",
|
|
43
43
|
"react-dom": "^17 || ^18"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "74b0b00a5b489551ae02aef64d22e6f3fb3557e0"
|
|
46
46
|
}
|
|
@@ -5,7 +5,7 @@ import { css } from '@patternfly/react-styles';
|
|
|
5
5
|
import styles from '@patternfly/react-styles/css/components/DualListSelector/dual-list-selector';
|
|
6
6
|
import dragStyles from '@patternfly/react-styles/css/components/DragDrop/drag-drop';
|
|
7
7
|
import { DragButton } from './DragButton';
|
|
8
|
-
import { DualListSelectorListContext } from '@patternfly/react-core/dist/esm/components/DualListSelector';
|
|
8
|
+
import { DualListSelectorListContext as DLSListContextDeprecated } from '@patternfly/react-core/dist/esm/deprecated/components/DualListSelector';
|
|
9
9
|
|
|
10
10
|
export interface DraggableDualListSelectorListItemProps extends React.HTMLProps<HTMLLIElement> {
|
|
11
11
|
/** Content rendered inside DragDrop */
|
|
@@ -42,7 +42,7 @@ export const DraggableDualListSelectorListItem: React.FunctionComponent<Draggabl
|
|
|
42
42
|
animateLayoutChanges: () => false
|
|
43
43
|
});
|
|
44
44
|
|
|
45
|
-
const { setFocusedOption } = React.useContext(
|
|
45
|
+
const { setFocusedOption } = React.useContext(DLSListContextDeprecated);
|
|
46
46
|
|
|
47
47
|
const style = {
|
|
48
48
|
transform: CSS.Transform.toString(transform),
|
|
@@ -5,7 +5,7 @@ import { css } from '@patternfly/react-styles';
|
|
|
5
5
|
import styles from '@patternfly/react-styles/css/components/DualListSelector/dual-list-selector';
|
|
6
6
|
import dragStyles from '@patternfly/react-styles/css/components/DragDrop/drag-drop';
|
|
7
7
|
import { DragButton } from './DragButton';
|
|
8
|
-
import { DualListSelectorListContext } from '@patternfly/react-core/dist/esm/components/DualListSelector';
|
|
8
|
+
import { DualListSelectorListContext } from '@patternfly/react-core/dist/esm/deprecated/components/DualListSelector';
|
|
9
9
|
|
|
10
10
|
export interface DraggableDualListSelectorListItemProps extends React.HTMLProps<HTMLLIElement> {
|
|
11
11
|
/** Content rendered inside DragDrop */
|