@patternfly/react-table 6.5.0-prerelease.46 → 6.5.0-prerelease.47
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/CollapseColumn.js +2 -2
- package/dist/esm/components/Table/CollapseColumn.js.map +1 -1
- package/dist/esm/components/Table/utils/decorators/treeRow.js +2 -2
- package/dist/esm/components/Table/utils/decorators/treeRow.js.map +1 -1
- package/dist/js/components/Table/CollapseColumn.js +2 -2
- package/dist/js/components/Table/CollapseColumn.js.map +1 -1
- package/dist/js/components/Table/utils/decorators/treeRow.js +2 -2
- package/dist/js/components/Table/utils/decorators/treeRow.js.map +1 -1
- package/dist/umd/assets/{output-BwnRe0zx.css → output-Du1c1rZY.css} +3629 -3629
- package/dist/umd/react-table.min.js +2 -2
- package/package.json +3 -3
- package/src/components/Table/CollapseColumn.tsx +2 -2
- package/src/components/Table/utils/decorators/treeRow.tsx +2 -2
- package/src/demos/Table.md +2 -2
- package/src/deprecated/components/Table/__tests__/__snapshots__/Table.test.tsx.snap +20 -80
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.47",
|
|
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.46",
|
|
44
44
|
"@patternfly/react-icons": "^6.5.0-prerelease.18",
|
|
45
45
|
"@patternfly/react-styles": "^6.5.0-prerelease.15",
|
|
46
46
|
"@patternfly/react-tokens": "^6.5.0-prerelease.14",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"react": "^17 || ^18 || ^19",
|
|
52
52
|
"react-dom": "^17 || ^18 || ^19"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "88447932726124eab07413b447d8bad641ec3ce9"
|
|
55
55
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Fragment } from 'react';
|
|
2
|
-
import
|
|
2
|
+
import RhMicronsCaretDownIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-icon';
|
|
3
3
|
import { css } from '@patternfly/react-styles';
|
|
4
4
|
import { Button } from '@patternfly/react-core/dist/esm/components/Button';
|
|
5
5
|
import styles from '@patternfly/react-styles/css/components/Table/table';
|
|
@@ -34,7 +34,7 @@ export const CollapseColumn: React.FunctionComponent<CollapseColumnProps> = ({
|
|
|
34
34
|
aria-expanded={isOpen}
|
|
35
35
|
icon={
|
|
36
36
|
<div className={css(styles.tableToggleIcon)}>
|
|
37
|
-
<
|
|
37
|
+
<RhMicronsCaretDownIcon />
|
|
38
38
|
</div>
|
|
39
39
|
}
|
|
40
40
|
/>
|
|
@@ -4,7 +4,7 @@ import styles from '@patternfly/react-styles/css/components/Table/table';
|
|
|
4
4
|
import stylesTreeView from '@patternfly/react-styles/css/components/Table/table-tree-view';
|
|
5
5
|
import { Button } from '@patternfly/react-core/dist/esm/components/Button';
|
|
6
6
|
import { Checkbox } from '@patternfly/react-core/dist/esm/components/Checkbox';
|
|
7
|
-
import
|
|
7
|
+
import RhMicronsCaretDownIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-icon';
|
|
8
8
|
import EllipsisHIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-h-icon';
|
|
9
9
|
|
|
10
10
|
export const treeRow =
|
|
@@ -54,7 +54,7 @@ export const treeRow =
|
|
|
54
54
|
aria-label={toggleAriaLabel || `${isExpanded ? 'Collapse' : 'Expand'} row ${rowIndex}`}
|
|
55
55
|
icon={
|
|
56
56
|
<div className={css(stylesTreeView.tableToggleIcon)}>
|
|
57
|
-
<
|
|
57
|
+
<RhMicronsCaretDownIcon />
|
|
58
58
|
</div>
|
|
59
59
|
}
|
|
60
60
|
/>
|
package/src/demos/Table.md
CHANGED
|
@@ -62,8 +62,8 @@ import ExclamationCircleIcon from '@patternfly/react-icons/dist/esm/icons/exclam
|
|
|
62
62
|
import CogIcon from '@patternfly/react-icons/dist/esm/icons/cog-icon';
|
|
63
63
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
64
64
|
import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-circle-icon';
|
|
65
|
-
import
|
|
66
|
-
import
|
|
65
|
+
import RhMicronsCaretDownIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-icon';
|
|
66
|
+
import RhMicronsCaretRightIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-right-icon';
|
|
67
67
|
import BarsIcon from '@patternfly/react-icons/dist/esm/icons/bars-icon';
|
|
68
68
|
import AttentionBellIcon from '@patternfly/react-icons/dist/esm/icons/attention-bell-icon';
|
|
69
69
|
import BlueprintIcon from '@patternfly/react-icons/dist/esm/icons/blueprint-icon';
|
|
@@ -1689,24 +1689,12 @@ exports[`Table Collapsible nested table 1`] = `
|
|
|
1689
1689
|
fill="currentColor"
|
|
1690
1690
|
height="1em"
|
|
1691
1691
|
role="img"
|
|
1692
|
+
viewBox="0 0 20 20"
|
|
1692
1693
|
width="1em"
|
|
1693
1694
|
>
|
|
1694
|
-
<
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
>
|
|
1698
|
-
<path
|
|
1699
|
-
d="M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"
|
|
1700
|
-
/>
|
|
1701
|
-
</svg>
|
|
1702
|
-
<svg
|
|
1703
|
-
class="pf-v6-icon-rh-ui"
|
|
1704
|
-
viewBox="0 0 32 32"
|
|
1705
|
-
>
|
|
1706
|
-
<path
|
|
1707
|
-
d="M16 24.792c-.384 0-.769-.146-1.061-.438L2.293 11.707a.999.999 0 1 1 1.414-1.414L16 22.586l12.293-12.293a.999.999 0 1 1 1.414 1.414L17.061 24.353a1.497 1.497 0 0 1-1.061.438Z"
|
|
1708
|
-
/>
|
|
1709
|
-
</svg>
|
|
1695
|
+
<path
|
|
1696
|
+
d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
|
|
1697
|
+
/>
|
|
1710
1698
|
</svg>
|
|
1711
1699
|
</div>
|
|
1712
1700
|
</span>
|
|
@@ -1792,24 +1780,12 @@ exports[`Table Collapsible nested table 1`] = `
|
|
|
1792
1780
|
fill="currentColor"
|
|
1793
1781
|
height="1em"
|
|
1794
1782
|
role="img"
|
|
1783
|
+
viewBox="0 0 20 20"
|
|
1795
1784
|
width="1em"
|
|
1796
1785
|
>
|
|
1797
|
-
<
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
>
|
|
1801
|
-
<path
|
|
1802
|
-
d="M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"
|
|
1803
|
-
/>
|
|
1804
|
-
</svg>
|
|
1805
|
-
<svg
|
|
1806
|
-
class="pf-v6-icon-rh-ui"
|
|
1807
|
-
viewBox="0 0 32 32"
|
|
1808
|
-
>
|
|
1809
|
-
<path
|
|
1810
|
-
d="M16 24.792c-.384 0-.769-.146-1.061-.438L2.293 11.707a.999.999 0 1 1 1.414-1.414L16 22.586l12.293-12.293a.999.999 0 1 1 1.414 1.414L17.061 24.353a1.497 1.497 0 0 1-1.061.438Z"
|
|
1811
|
-
/>
|
|
1812
|
-
</svg>
|
|
1786
|
+
<path
|
|
1787
|
+
d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
|
|
1788
|
+
/>
|
|
1813
1789
|
</svg>
|
|
1814
1790
|
</div>
|
|
1815
1791
|
</span>
|
|
@@ -1966,24 +1942,12 @@ exports[`Table Collapsible nested table 1`] = `
|
|
|
1966
1942
|
fill="currentColor"
|
|
1967
1943
|
height="1em"
|
|
1968
1944
|
role="img"
|
|
1945
|
+
viewBox="0 0 20 20"
|
|
1969
1946
|
width="1em"
|
|
1970
1947
|
>
|
|
1971
|
-
<
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
>
|
|
1975
|
-
<path
|
|
1976
|
-
d="M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"
|
|
1977
|
-
/>
|
|
1978
|
-
</svg>
|
|
1979
|
-
<svg
|
|
1980
|
-
class="pf-v6-icon-rh-ui"
|
|
1981
|
-
viewBox="0 0 32 32"
|
|
1982
|
-
>
|
|
1983
|
-
<path
|
|
1984
|
-
d="M16 24.792c-.384 0-.769-.146-1.061-.438L2.293 11.707a.999.999 0 1 1 1.414-1.414L16 22.586l12.293-12.293a.999.999 0 1 1 1.414 1.414L17.061 24.353a1.497 1.497 0 0 1-1.061.438Z"
|
|
1985
|
-
/>
|
|
1986
|
-
</svg>
|
|
1948
|
+
<path
|
|
1949
|
+
d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
|
|
1950
|
+
/>
|
|
1987
1951
|
</svg>
|
|
1988
1952
|
</div>
|
|
1989
1953
|
</span>
|
|
@@ -2498,24 +2462,12 @@ exports[`Table Collapsible table 1`] = `
|
|
|
2498
2462
|
fill="currentColor"
|
|
2499
2463
|
height="1em"
|
|
2500
2464
|
role="img"
|
|
2465
|
+
viewBox="0 0 20 20"
|
|
2501
2466
|
width="1em"
|
|
2502
2467
|
>
|
|
2503
|
-
<
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
>
|
|
2507
|
-
<path
|
|
2508
|
-
d="M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"
|
|
2509
|
-
/>
|
|
2510
|
-
</svg>
|
|
2511
|
-
<svg
|
|
2512
|
-
class="pf-v6-icon-rh-ui"
|
|
2513
|
-
viewBox="0 0 32 32"
|
|
2514
|
-
>
|
|
2515
|
-
<path
|
|
2516
|
-
d="M16 24.792c-.384 0-.769-.146-1.061-.438L2.293 11.707a.999.999 0 1 1 1.414-1.414L16 22.586l12.293-12.293a.999.999 0 1 1 1.414 1.414L17.061 24.353a1.497 1.497 0 0 1-1.061.438Z"
|
|
2517
|
-
/>
|
|
2518
|
-
</svg>
|
|
2468
|
+
<path
|
|
2469
|
+
d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
|
|
2470
|
+
/>
|
|
2519
2471
|
</svg>
|
|
2520
2472
|
</div>
|
|
2521
2473
|
</span>
|
|
@@ -2727,24 +2679,12 @@ exports[`Table Collapsible table 1`] = `
|
|
|
2727
2679
|
fill="currentColor"
|
|
2728
2680
|
height="1em"
|
|
2729
2681
|
role="img"
|
|
2682
|
+
viewBox="0 0 20 20"
|
|
2730
2683
|
width="1em"
|
|
2731
2684
|
>
|
|
2732
|
-
<
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
>
|
|
2736
|
-
<path
|
|
2737
|
-
d="M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"
|
|
2738
|
-
/>
|
|
2739
|
-
</svg>
|
|
2740
|
-
<svg
|
|
2741
|
-
class="pf-v6-icon-rh-ui"
|
|
2742
|
-
viewBox="0 0 32 32"
|
|
2743
|
-
>
|
|
2744
|
-
<path
|
|
2745
|
-
d="M16 24.792c-.384 0-.769-.146-1.061-.438L2.293 11.707a.999.999 0 1 1 1.414-1.414L16 22.586l12.293-12.293a.999.999 0 1 1 1.414 1.414L17.061 24.353a1.497 1.497 0 0 1-1.061.438Z"
|
|
2746
|
-
/>
|
|
2747
|
-
</svg>
|
|
2685
|
+
<path
|
|
2686
|
+
d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
|
|
2687
|
+
/>
|
|
2748
2688
|
</svg>
|
|
2749
2689
|
</div>
|
|
2750
2690
|
</span>
|