@patternfly/react-table 6.0.0-alpha.66 → 6.0.0-alpha.67

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-table",
3
- "version": "6.0.0-alpha.66",
3
+ "version": "6.0.0-alpha.67",
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.js --config subpaths.config.json"
41
41
  },
42
42
  "dependencies": {
43
- "@patternfly/react-core": "^6.0.0-alpha.66",
43
+ "@patternfly/react-core": "^6.0.0-alpha.67",
44
44
  "@patternfly/react-icons": "^6.0.0-alpha.24",
45
45
  "@patternfly/react-styles": "^6.0.0-alpha.24",
46
46
  "@patternfly/react-tokens": "^6.0.0-alpha.24",
@@ -51,5 +51,5 @@
51
51
  "react": "^17 || ^18",
52
52
  "react-dom": "^17 || ^18"
53
53
  },
54
- "gitHead": "d7db1e1e0a2d23d6f755f2ffd5722e7cc8b5c661"
54
+ "gitHead": "d9e64b4ebcc17b91ea3ea8a1e3f8b60e901d496b"
55
55
  }
@@ -160,8 +160,7 @@ export const TableNestedHeaders: React.FunctionComponent = () => {
160
160
  <Td dataLabel={columnNames.destination}>{connection.destination.podName}</Td>\
161
161
  <Td dataLabel={columnNames.datetime}>
162
162
  <div>
163
- <span>{new Date(connection.timestamp).toDateString()}</span>{' '}
164
- <Timestamp>{new Date(connection.timestamp).toLocaleTimeString()}</Timestamp>
163
+ <Timestamp dateFormat="full" timeFormat="medium" date={new Date(connection.timestamp)} />
165
164
  </div>
166
165
  </Td>
167
166
  <Td dataLabel={columnNames.source}>
@@ -170,7 +169,7 @@ export const TableNestedHeaders: React.FunctionComponent = () => {
170
169
  <span>{connection.source.port.num}</span>
171
170
  </StackItem>
172
171
  <StackItem>
173
- <Timestamp>({connection.source.port.protocol})</Timestamp>
172
+ <small>({connection.source.port.protocol})</small>
174
173
  </StackItem>
175
174
  </Stack>
176
175
  </Td>
@@ -180,7 +179,7 @@ export const TableNestedHeaders: React.FunctionComponent = () => {
180
179
  <span>{connection.destination.port.num}</span>
181
180
  </StackItem>
182
181
  <StackItem>
183
- <Timestamp>({connection.destination.port.protocol})</Timestamp>
182
+ <small>({connection.destination.port.protocol})</small>
184
183
  </StackItem>
185
184
  </Stack>
186
185
  </Td>
@@ -160,8 +160,7 @@ export const TableNestedHeaders: React.FunctionComponent = () => {
160
160
  <Td dataLabel={columnNames.destination}>{connection.destination.podName}</Td>\
161
161
  <Td dataLabel={columnNames.datetime}>
162
162
  <div>
163
- <span>{new Date(connection.timestamp).toDateString()}</span>{' '}
164
- <Timestamp>{new Date(connection.timestamp).toLocaleTimeString()}</Timestamp>
163
+ <Timestamp dateFormat="full" timeFormat="medium" date={new Date(connection.timestamp)} />
165
164
  </div>
166
165
  </Td>
167
166
  <Td dataLabel={columnNames.source}>
@@ -170,7 +169,7 @@ export const TableNestedHeaders: React.FunctionComponent = () => {
170
169
  <span>{connection.source.port.num}</span>
171
170
  </StackItem>
172
171
  <StackItem>
173
- <Timestamp>({connection.source.port.protocol})</Timestamp>
172
+ <small>({connection.source.port.protocol})</small>
174
173
  </StackItem>
175
174
  </Stack>
176
175
  </Td>
@@ -180,7 +179,7 @@ export const TableNestedHeaders: React.FunctionComponent = () => {
180
179
  <span>{connection.destination.port.num}</span>
181
180
  </StackItem>
182
181
  <StackItem>
183
- <Timestamp>({connection.destination.port.protocol})</Timestamp>
182
+ <small>({connection.destination.port.protocol})</small>
184
183
  </StackItem>
185
184
  </Stack>
186
185
  </Td>