@zendeskgarden/container-field
Advanced tools
Comparing version 1.3.7 to 1.3.8
@@ -6,2 +6,10 @@ # Change Log | ||
## [1.3.8](https://github.com/zendeskgarden/react-containers/compare/@zendeskgarden/container-field@1.3.7...@zendeskgarden/container-field@1.3.8) (2021-08-16) | ||
**Note:** Version bump only for package @zendeskgarden/container-field | ||
## [1.3.7](https://github.com/zendeskgarden/react-containers/compare/@zendeskgarden/container-field@1.3.6...@zendeskgarden/container-field@1.3.7) (2021-02-25) | ||
@@ -8,0 +16,0 @@ |
@@ -49,5 +49,8 @@ /** | ||
var _excluded = ["id", "htmlFor"], | ||
_excluded2 = ["id"], | ||
_excluded3 = ["id"]; | ||
function useField(idPrefix) { | ||
var seed = reactUid.useUIDSeed(); | ||
var _useState = React.useState(idPrefix || seed("field_" + '1.3.7')), | ||
var _useState = React.useState(idPrefix || seed("field_" + '1.3.8')), | ||
prefix = _useState[0]; | ||
@@ -63,3 +66,3 @@ var inputId = prefix + "--input"; | ||
htmlFor = _ref$htmlFor === void 0 ? inputId : _ref$htmlFor, | ||
other = _objectWithoutPropertiesLoose(_ref, ["id", "htmlFor"]); | ||
other = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
return _extends({ | ||
@@ -69,3 +72,3 @@ id: id, | ||
'data-garden-container-id': 'containers.field', | ||
'data-garden-container-version': '1.3.7' | ||
'data-garden-container-version': '1.3.8' | ||
}, other); | ||
@@ -77,3 +80,3 @@ }; | ||
id = _ref2$id === void 0 ? inputId : _ref2$id, | ||
other = _objectWithoutPropertiesLoose(_ref2, ["id"]); | ||
other = _objectWithoutPropertiesLoose(_ref2, _excluded2); | ||
var _ref3 = _temp3 === void 0 ? {} : _temp3, | ||
@@ -92,3 +95,3 @@ _ref3$isDescribed = _ref3.isDescribed, | ||
id = _ref4$id === void 0 ? hintId : _ref4$id, | ||
other = _objectWithoutPropertiesLoose(_ref4, ["id"]); | ||
other = _objectWithoutPropertiesLoose(_ref4, _excluded3); | ||
return _extends({ | ||
@@ -95,0 +98,0 @@ id: id |
@@ -40,5 +40,8 @@ /** | ||
var _excluded = ["id", "htmlFor"], | ||
_excluded2 = ["id"], | ||
_excluded3 = ["id"]; | ||
function useField(idPrefix) { | ||
var seed = useUIDSeed(); | ||
var _useState = useState(idPrefix || seed("field_" + '1.3.7')), | ||
var _useState = useState(idPrefix || seed("field_" + '1.3.8')), | ||
prefix = _useState[0]; | ||
@@ -54,3 +57,3 @@ var inputId = prefix + "--input"; | ||
htmlFor = _ref$htmlFor === void 0 ? inputId : _ref$htmlFor, | ||
other = _objectWithoutPropertiesLoose(_ref, ["id", "htmlFor"]); | ||
other = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
return _extends({ | ||
@@ -60,3 +63,3 @@ id: id, | ||
'data-garden-container-id': 'containers.field', | ||
'data-garden-container-version': '1.3.7' | ||
'data-garden-container-version': '1.3.8' | ||
}, other); | ||
@@ -68,3 +71,3 @@ }; | ||
id = _ref2$id === void 0 ? inputId : _ref2$id, | ||
other = _objectWithoutPropertiesLoose(_ref2, ["id"]); | ||
other = _objectWithoutPropertiesLoose(_ref2, _excluded2); | ||
var _ref3 = _temp3 === void 0 ? {} : _temp3, | ||
@@ -83,3 +86,3 @@ _ref3$isDescribed = _ref3.isDescribed, | ||
id = _ref4$id === void 0 ? hintId : _ref4$id, | ||
other = _objectWithoutPropertiesLoose(_ref4, ["id"]); | ||
other = _objectWithoutPropertiesLoose(_ref4, _excluded3); | ||
return _extends({ | ||
@@ -86,0 +89,0 @@ id: id |
{ | ||
"name": "@zendeskgarden/container-field", | ||
"version": "1.3.8", | ||
"description": "Containers relating to field in the Garden Design System", | ||
@@ -11,3 +12,2 @@ "license": "Apache-2.0", | ||
}, | ||
"version": "1.3.7", | ||
"main": "dist/index.cjs.js", | ||
@@ -45,3 +45,3 @@ "module": "dist/index.esm.js", | ||
"zendeskgarden:src": "src/index.ts", | ||
"gitHead": "04a6e4ad2cdf51bcdf5c8f327ade071957e29367" | ||
"gitHead": "50b2858c76dd3ad64190fe1b9e639ea6173c96cd" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28761
248