@patternfly/react-table 4.64.1 → 4.66.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/CHANGELOG.md +38 -0
- package/dist/umd/react-table.css +198 -10
- package/dist/umd/react-table.js +1 -1
- package/dist/umd/react-table.min.css +198 -10
- package/dist/umd/react-table.min.js +1 -1
- package/package.json +6 -6
- package/src/demos/Table.md +11 -20
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/react-table",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.66.0",
|
|
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",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"clean": "rimraf dist"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@patternfly/react-core": "^4.
|
|
35
|
-
"@patternfly/react-icons": "^4.
|
|
36
|
-
"@patternfly/react-styles": "^4.
|
|
37
|
-
"@patternfly/react-tokens": "^4.
|
|
34
|
+
"@patternfly/react-core": "^4.197.0",
|
|
35
|
+
"@patternfly/react-icons": "^4.48.0",
|
|
36
|
+
"@patternfly/react-styles": "^4.47.0",
|
|
37
|
+
"@patternfly/react-tokens": "^4.49.0",
|
|
38
38
|
"lodash": "^4.17.19",
|
|
39
39
|
"tslib": "^2.0.0"
|
|
40
40
|
},
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"react": "^16.8.0 || ^17.0.0",
|
|
47
47
|
"react-dom": "^16.8.0 || ^17.0.0"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "7499c17163e7c53560600463ebd778dafe21d45b"
|
|
50
50
|
}
|
package/src/demos/Table.md
CHANGED
|
@@ -1886,7 +1886,7 @@ import {
|
|
|
1886
1886
|
Select,
|
|
1887
1887
|
SelectOption,
|
|
1888
1888
|
SelectVariant,
|
|
1889
|
-
|
|
1889
|
+
SearchInput,
|
|
1890
1890
|
EmptyState,
|
|
1891
1891
|
EmptyStateIcon,
|
|
1892
1892
|
EmptyStateBody,
|
|
@@ -2109,25 +2109,16 @@ class FilterTableDemo extends React.Component {
|
|
|
2109
2109
|
categoryName="Name"
|
|
2110
2110
|
showToolbarItem={currentCategory === 'Name'}
|
|
2111
2111
|
>
|
|
2112
|
-
<
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
/>
|
|
2123
|
-
<Button
|
|
2124
|
-
variant={ButtonVariant.control}
|
|
2125
|
-
aria-label="search button for search input"
|
|
2126
|
-
onClick={this.onNameInput}
|
|
2127
|
-
>
|
|
2128
|
-
<SearchIcon />
|
|
2129
|
-
</Button>
|
|
2130
|
-
</InputGroup>
|
|
2112
|
+
<SearchInput
|
|
2113
|
+
aria-label="name filter"
|
|
2114
|
+
placeholder="Filter by name..."
|
|
2115
|
+
onChange={this.onInputChange}
|
|
2116
|
+
value={inputValue}
|
|
2117
|
+
onClear={() => {
|
|
2118
|
+
this.onInputChange('');
|
|
2119
|
+
}}
|
|
2120
|
+
onSearch={this.onNameInput}
|
|
2121
|
+
/>
|
|
2131
2122
|
</ToolbarFilter>
|
|
2132
2123
|
<ToolbarFilter
|
|
2133
2124
|
chips={filters.status}
|