@patternfly/react-table 6.5.0-prerelease.44 → 6.5.0-prerelease.45
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 +6 -0
- package/components/package.json +1 -1
- package/deprecated/package.json +1 -1
- package/dist/dynamic/components/Table/package.json +1 -1
- package/dist/dynamic/components/Table/utils/decorators/package.json +1 -1
- package/dist/dynamic/components/Table/utils/package.json +1 -1
- package/dist/dynamic/deprecated/components/Table/base/package.json +1 -1
- package/dist/dynamic/deprecated/components/Table/package.json +1 -1
- package/dist/dynamic/deprecated/components/package.json +1 -1
- package/dist/esm/components/Table/EditColumn.js +2 -2
- package/dist/esm/components/Table/EditColumn.js.map +1 -1
- package/dist/js/components/Table/EditColumn.js +2 -2
- package/dist/js/components/Table/EditColumn.js.map +1 -1
- package/dist/umd/assets/{output-D4bGglDL.css → output-Bp8EmFFS.css} +4522 -4521
- package/dist/umd/react-table.min.js +1 -1
- package/package.json +3 -3
- package/src/components/Table/EditColumn.tsx +2 -2
- package/src/components/Table/examples/Table.md +1 -1
- package/src/components/Table/examples/TableEditable.tsx +2 -2
- package/src/deprecated/components/Table/__tests__/__snapshots__/Table.test.tsx.snap +8 -32
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/react-table",
|
|
3
|
-
"version": "6.5.0-prerelease.
|
|
3
|
+
"version": "6.5.0-prerelease.45",
|
|
4
4
|
"description": "This library provides a set of React table components for use with the PatternFly 4",
|
|
5
5
|
"main": "dist/js/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"subpaths": "node ../../scripts/exportSubpaths.mjs --config subpaths.config.json"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@patternfly/react-core": "^6.5.0-prerelease.
|
|
43
|
+
"@patternfly/react-core": "^6.5.0-prerelease.44",
|
|
44
44
|
"@patternfly/react-icons": "^6.5.0-prerelease.17",
|
|
45
45
|
"@patternfly/react-styles": "^6.5.0-prerelease.14",
|
|
46
46
|
"@patternfly/react-tokens": "^6.5.0-prerelease.13",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"react": "^17 || ^18 || ^19",
|
|
52
52
|
"react-dom": "^17 || ^18 || ^19"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "6d97743fee78a3a92027e771c507664b76e51de2"
|
|
55
55
|
}
|
|
@@ -2,7 +2,7 @@ import { Fragment } from 'react';
|
|
|
2
2
|
import { Button } from '@patternfly/react-core/dist/esm/components/Button';
|
|
3
3
|
import PencilAltIcon from '@patternfly/react-icons/dist/esm/icons/pencil-alt-icon';
|
|
4
4
|
import CheckIcon from '@patternfly/react-icons/dist/esm/icons/check-icon';
|
|
5
|
-
import
|
|
5
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
6
6
|
import { OnRowEdit } from './TableTypes';
|
|
7
7
|
import inlineStyles from '@patternfly/react-styles/css/components/InlineEdit/inline-edit';
|
|
8
8
|
import { css } from '@patternfly/react-styles';
|
|
@@ -47,7 +47,7 @@ export const EditColumn: React.FunctionComponent<EditColumnProps> = ({
|
|
|
47
47
|
{...props}
|
|
48
48
|
onClick={(e) => onClick(e, 'cancel')}
|
|
49
49
|
variant="plain"
|
|
50
|
-
icon={<
|
|
50
|
+
icon={<RhMicronsCloseIcon />}
|
|
51
51
|
/>
|
|
52
52
|
</div>
|
|
53
53
|
</div>
|
|
@@ -54,7 +54,7 @@ import BlueprintIcon from '@patternfly/react-icons/dist/esm/icons/blueprint-icon
|
|
|
54
54
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
55
55
|
import PencilAltIcon from '@patternfly/react-icons/dist/esm/icons/pencil-alt-icon';
|
|
56
56
|
import CheckIcon from '@patternfly/react-icons/dist/esm/icons/check-icon';
|
|
57
|
-
import
|
|
57
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
58
58
|
|
|
59
59
|
import { css } from '@patternfly/react-styles';
|
|
60
60
|
import styles from '@patternfly/react-styles/css/components/Table/table';
|
|
@@ -3,7 +3,7 @@ import { Table, Thead, Tr, Th, Tbody, Td } from '@patternfly/react-table';
|
|
|
3
3
|
import { Button, Checkbox, Radio, TextInput, KeyTypes, getUniqueId } from '@patternfly/react-core';
|
|
4
4
|
import PencilAltIcon from '@patternfly/react-icons/dist/esm/icons/pencil-alt-icon';
|
|
5
5
|
import CheckIcon from '@patternfly/react-icons/dist/esm/icons/check-icon';
|
|
6
|
-
import
|
|
6
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
7
7
|
import inlineEditStyles from '@patternfly/react-styles/css/components/InlineEdit/inline-edit';
|
|
8
8
|
import { css } from '@patternfly/react-styles';
|
|
9
9
|
|
|
@@ -60,7 +60,7 @@ const EditButtonsCell: React.FunctionComponent<EditButtonsCellProps> = ({
|
|
|
60
60
|
onKeyDown={(event) => onKeyDown(event, 'stopEditing')}
|
|
61
61
|
variant="plain"
|
|
62
62
|
>
|
|
63
|
-
<
|
|
63
|
+
<RhMicronsCloseIcon />
|
|
64
64
|
</Button>
|
|
65
65
|
</div>
|
|
66
66
|
</Td>
|
|
@@ -11153,24 +11153,12 @@ exports[`Table simple Editable table 1`] = `
|
|
|
11153
11153
|
fill="currentColor"
|
|
11154
11154
|
height="1em"
|
|
11155
11155
|
role="img"
|
|
11156
|
+
viewBox="0 0 20 20"
|
|
11156
11157
|
width="1em"
|
|
11157
11158
|
>
|
|
11158
|
-
<
|
|
11159
|
-
|
|
11160
|
-
|
|
11161
|
-
>
|
|
11162
|
-
<path
|
|
11163
|
-
d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"
|
|
11164
|
-
/>
|
|
11165
|
-
</svg>
|
|
11166
|
-
<svg
|
|
11167
|
-
class="pf-v6-icon-rh-ui"
|
|
11168
|
-
viewBox="0 0 32 32"
|
|
11169
|
-
>
|
|
11170
|
-
<path
|
|
11171
|
-
d="M28.707 27.293a.999.999 0 1 1-1.414 1.414L16 17.414 4.707 28.707a.997.997 0 0 1-1.414 0 .999.999 0 0 1 0-1.414L14.586 16 3.293 4.707a.999.999 0 1 1 1.414-1.414L16 14.586 27.293 3.293a.999.999 0 1 1 1.414 1.414L17.414 16l11.293 11.293Z"
|
|
11172
|
-
/>
|
|
11173
|
-
</svg>
|
|
11159
|
+
<path
|
|
11160
|
+
d="M17.8 16.2 11.59 10l6.21-6.21c.42-.46.39-1.17-.07-1.59-.43-.4-1.09-.4-1.52 0l-6.2 6.2-6.22-6.19c-.44-.44-1.15-.44-1.59 0-.44.44-.44 1.15 0 1.59l6.2 6.21-6.2 6.2c-.42.46-.39 1.17.07 1.59.43.4 1.09.4 1.52 0L10 11.59l6.2 6.2c.44.44 1.15.44 1.59 0 .44-.45.44-1.16 0-1.6Z"
|
|
11161
|
+
/>
|
|
11174
11162
|
</svg>
|
|
11175
11163
|
</span>
|
|
11176
11164
|
</button>
|
|
@@ -11429,24 +11417,12 @@ exports[`Table simple Editable table 1`] = `
|
|
|
11429
11417
|
fill="currentColor"
|
|
11430
11418
|
height="1em"
|
|
11431
11419
|
role="img"
|
|
11420
|
+
viewBox="0 0 20 20"
|
|
11432
11421
|
width="1em"
|
|
11433
11422
|
>
|
|
11434
|
-
<
|
|
11435
|
-
|
|
11436
|
-
|
|
11437
|
-
>
|
|
11438
|
-
<path
|
|
11439
|
-
d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"
|
|
11440
|
-
/>
|
|
11441
|
-
</svg>
|
|
11442
|
-
<svg
|
|
11443
|
-
class="pf-v6-icon-rh-ui"
|
|
11444
|
-
viewBox="0 0 32 32"
|
|
11445
|
-
>
|
|
11446
|
-
<path
|
|
11447
|
-
d="M28.707 27.293a.999.999 0 1 1-1.414 1.414L16 17.414 4.707 28.707a.997.997 0 0 1-1.414 0 .999.999 0 0 1 0-1.414L14.586 16 3.293 4.707a.999.999 0 1 1 1.414-1.414L16 14.586 27.293 3.293a.999.999 0 1 1 1.414 1.414L17.414 16l11.293 11.293Z"
|
|
11448
|
-
/>
|
|
11449
|
-
</svg>
|
|
11423
|
+
<path
|
|
11424
|
+
d="M17.8 16.2 11.59 10l6.21-6.21c.42-.46.39-1.17-.07-1.59-.43-.4-1.09-.4-1.52 0l-6.2 6.2-6.22-6.19c-.44-.44-1.15-.44-1.59 0-.44.44-.44 1.15 0 1.59l6.2 6.21-6.2 6.2c-.42.46-.39 1.17.07 1.59.43.4 1.09.4 1.52 0L10 11.59l6.2 6.2c.44.44 1.15.44 1.59 0 .44-.45.44-1.16 0-1.6Z"
|
|
11425
|
+
/>
|
|
11450
11426
|
</svg>
|
|
11451
11427
|
</span>
|
|
11452
11428
|
</button>
|