@chakra-ui/stat
Advanced tools
Comparing version 1.1.6 to 1.1.7
# Change Log | ||
## 1.1.7 | ||
### Patch Changes | ||
- [`a13252624`](https://github.com/chakra-ui/chakra-ui/commit/a13252624fdc69eab2dc4dbd3fa228b86380f091) | ||
[#3810](https://github.com/chakra-ui/chakra-ui/pull/3810) Thanks | ||
[@davidsonsns](https://github.com/davidsonsns)! - Fixed a11y issue related to | ||
`StatHelpText`. It was using an invalid `dl` child tag. | ||
- Updated dependencies | ||
[[`0974e547c`](https://github.com/chakra-ui/chakra-ui/commit/0974e547c29e4efc1ba4d1eb1507d0dad7d7a77a), | ||
[`59ea894a7`](https://github.com/chakra-ui/chakra-ui/commit/59ea894a7e03d16cd7a1b89d00816eafa9fab65d)]: | ||
- @chakra-ui/utils@1.6.0 | ||
- @chakra-ui/icon@1.1.7 | ||
- @chakra-ui/visually-hidden@1.0.10 | ||
## 1.1.6 | ||
@@ -4,0 +19,0 @@ |
@@ -41,3 +41,3 @@ "use strict"; | ||
var styles = (0, _system.useStyles)(); | ||
return /*#__PURE__*/React.createElement(_system.chakra.p, _extends({ | ||
return /*#__PURE__*/React.createElement(_system.chakra.dd, _extends({ | ||
ref: ref | ||
@@ -44,0 +44,0 @@ }, props, { |
@@ -26,3 +26,3 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } | ||
var styles = useStyles(); | ||
return /*#__PURE__*/React.createElement(chakra.p, _extends({ | ||
return /*#__PURE__*/React.createElement(chakra.dd, _extends({ | ||
ref: ref | ||
@@ -29,0 +29,0 @@ }, props, { |
@@ -7,5 +7,5 @@ import { IconProps } from "@chakra-ui/icon"; | ||
export declare const StatLabel: import("@chakra-ui/system").ComponentWithAs<"dt", StatLabelProps>; | ||
export interface StatHelpTextProps extends HTMLChakraProps<"p"> { | ||
export interface StatHelpTextProps extends HTMLChakraProps<"dd"> { | ||
} | ||
export declare const StatHelpText: import("@chakra-ui/system").ComponentWithAs<"p", StatHelpTextProps>; | ||
export declare const StatHelpText: import("@chakra-ui/system").ComponentWithAs<"dd", StatHelpTextProps>; | ||
export interface StatNumberProps extends HTMLChakraProps<"dd"> { | ||
@@ -12,0 +12,0 @@ } |
{ | ||
"name": "@chakra-ui/stat", | ||
"version": "1.1.6", | ||
"version": "1.1.7", | ||
"description": "A React component for displaying statistics", | ||
@@ -56,8 +56,8 @@ "keywords": [ | ||
"dependencies": { | ||
"@chakra-ui/icon": "1.1.6", | ||
"@chakra-ui/utils": "1.5.2", | ||
"@chakra-ui/visually-hidden": "1.0.9" | ||
"@chakra-ui/icon": "1.1.7", | ||
"@chakra-ui/utils": "1.6.0", | ||
"@chakra-ui/visually-hidden": "1.0.10" | ||
}, | ||
"devDependencies": { | ||
"@chakra-ui/system": "1.6.2", | ||
"@chakra-ui/system": "1.6.3", | ||
"react": "^17.0.1" | ||
@@ -64,0 +64,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
43646
+ Added@chakra-ui/icon@1.1.7(transitive)
+ Added@chakra-ui/utils@1.6.0(transitive)
+ Added@chakra-ui/visually-hidden@1.0.10(transitive)
+ Addedframesync@5.3.0(transitive)
+ Addedtslib@2.8.1(transitive)
- Removed@chakra-ui/icon@1.1.6(transitive)
- Removed@chakra-ui/utils@1.5.2(transitive)
- Removed@chakra-ui/visually-hidden@1.0.9(transitive)
Updated@chakra-ui/icon@1.1.7
Updated@chakra-ui/utils@1.6.0