@patternfly/react-drag-drop 6.0.0-alpha.56 → 6.0.0-alpha.58
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/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.58",
|
|
4
4
|
"description": "PatternFly drag and drop solution",
|
|
5
5
|
"main": "dist/js/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -32,14 +32,14 @@
|
|
|
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.
|
|
37
|
-
"@patternfly/react-styles": "^6.0.0-alpha.
|
|
35
|
+
"@patternfly/react-core": "^6.0.0-alpha.76",
|
|
36
|
+
"@patternfly/react-icons": "^6.0.0-alpha.28",
|
|
37
|
+
"@patternfly/react-styles": "^6.0.0-alpha.27",
|
|
38
38
|
"resize-observer-polyfill": "^1.5.1"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"react": "^17 || ^18",
|
|
42
42
|
"react-dom": "^17 || ^18"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "625adc6f7459977f551a18d9a690bff56aea3f18"
|
|
45
45
|
}
|
|
@@ -102,30 +102,26 @@ export const ComposableDualListSelector: React.FunctionComponent = () => {
|
|
|
102
102
|
isDisabled={!availableOptions.some((option) => option.props.isSelected)}
|
|
103
103
|
onClick={() => moveSelected(true)}
|
|
104
104
|
aria-label="Add selected"
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
</DualListSelectorControl>
|
|
105
|
+
icon={<AngleRightIcon />}
|
|
106
|
+
/>
|
|
108
107
|
<DualListSelectorControl
|
|
109
108
|
isDisabled={availableOptions.length === 0}
|
|
110
109
|
onClick={() => moveAll(true)}
|
|
111
110
|
aria-label="Add all"
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
</DualListSelectorControl>
|
|
111
|
+
icon={<AngleDoubleRightIcon />}
|
|
112
|
+
/>
|
|
115
113
|
<DualListSelectorControl
|
|
116
114
|
isDisabled={chosenOptions.length === 0}
|
|
117
115
|
onClick={() => moveAll(false)}
|
|
118
116
|
aria-label="Remove all"
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
</DualListSelectorControl>
|
|
117
|
+
icon={<AngleDoubleLeftIcon />}
|
|
118
|
+
/>
|
|
122
119
|
<DualListSelectorControl
|
|
123
120
|
onClick={() => moveSelected(false)}
|
|
124
121
|
isDisabled={!chosenOptions.some((option) => option.props.isSelected)}
|
|
125
122
|
aria-label="Remove selected"
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
</DualListSelectorControl>
|
|
123
|
+
icon={<AngleLeftIcon />}
|
|
124
|
+
/>
|
|
129
125
|
</DualListSelectorControlsWrapper>
|
|
130
126
|
<DualListSelectorPane
|
|
131
127
|
title="Chosen"
|
|
@@ -102,30 +102,26 @@ export const ComposableDualListSelector: React.FunctionComponent = () => {
|
|
|
102
102
|
isDisabled={!availableOptions.some((option) => option.props.isSelected)}
|
|
103
103
|
onClick={() => moveSelected(true)}
|
|
104
104
|
aria-label="Add selected"
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
</DualListSelectorControl>
|
|
105
|
+
icon={<AngleRightIcon />}
|
|
106
|
+
/>
|
|
108
107
|
<DualListSelectorControl
|
|
109
108
|
isDisabled={availableOptions.length === 0}
|
|
110
109
|
onClick={() => moveAll(true)}
|
|
111
110
|
aria-label="Add all"
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
</DualListSelectorControl>
|
|
111
|
+
icon={<AngleDoubleRightIcon />}
|
|
112
|
+
/>
|
|
115
113
|
<DualListSelectorControl
|
|
116
114
|
isDisabled={chosenOptions.length === 0}
|
|
117
115
|
onClick={() => moveAll(false)}
|
|
118
116
|
aria-label="Remove all"
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
</DualListSelectorControl>
|
|
117
|
+
icon={<AngleDoubleLeftIcon />}
|
|
118
|
+
/>
|
|
122
119
|
<DualListSelectorControl
|
|
123
120
|
onClick={() => moveSelected(false)}
|
|
124
121
|
isDisabled={!chosenOptions.some((option) => option.props.isSelected)}
|
|
125
122
|
aria-label="Remove selected"
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
</DualListSelectorControl>
|
|
123
|
+
icon={<AngleLeftIcon />}
|
|
124
|
+
/>
|
|
129
125
|
</DualListSelectorControlsWrapper>
|
|
130
126
|
<DualListSelectorPane
|
|
131
127
|
title="Chosen"
|