Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@zendeskgarden/container-field

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zendeskgarden/container-field - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [1.0.1](https://github.com/zendeskgarden/react-containers/compare/@zendeskgarden/container-field@1.0.0...@zendeskgarden/container-field@1.0.1) (2019-07-25)
**Note:** Version bump only for package @zendeskgarden/container-field
# [1.0.0](https://github.com/zendeskgarden/react-containers/compare/@zendeskgarden/container-field@0.2.0...@zendeskgarden/container-field@1.0.0) (2019-05-07)

@@ -8,0 +16,0 @@

2

dist/index.js

@@ -6,3 +6,3 @@ /*!

*/
!function(e,r){for(var t in r)e[t]=r[t]}(exports,function(e){var r={};function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(r){return e[r]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=3)}([function(e,r){e.exports=require("prop-types")},function(e,r){e.exports=require("react")},function(e,r){e.exports=require("@zendeskgarden/container-utilities")},function(e,r,t){"use strict";t.r(r);var n=t(1),o=t(2);function i(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},n=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.forEach(function(r){u(e,r,t[r])})}return e}function u(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function c(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}function l(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=[],n=!0,o=!1,i=void 0;try{for(var u,c=e[Symbol.iterator]();!(n=(u=c.next()).done)&&(t.push(u.value),!r||t.length!==r);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return t}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function a(e){var r=l(Object(n.useState)(e||Object(o.generateId)("garden-field-container")),1)[0],t="".concat(r,"--input"),u="".concat(r,"--label"),a="".concat(r,"--hint");return{getLabelProps:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.id,n=void 0===r?u:r,o=e.htmlFor;return i({id:n,htmlFor:void 0===o?t:o},c(e,["id","htmlFor"]))},getInputProps:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.id,n=void 0===r?t:r,o=c(e,["id"]),l=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isDescribed;return i({id:n,"aria-labelledby":u,"aria-describedby":void 0!==l&&l?a:null},o)},getHintProps:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.id;return i({id:void 0===r?a:r},c(e,["id"]))}}}var f=t(0),d=t.n(f);function p(e){var r=e.children,t=e.render;return(void 0===t?r:t)(a(e.id))}p.propTypes={children:d.a.func,render:d.a.func,id:d.a.string},t.d(r,"useField",function(){return a}),t.d(r,"FieldContainer",function(){return p})}]));
!function(e,r){for(var t in r)e[t]=r[t]}(exports,function(e){var r={};function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(r){return e[r]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=3)}([function(e,r){e.exports=require("prop-types")},function(e,r){e.exports=require("react")},function(e,r){e.exports=require("@zendeskgarden/container-utilities")},function(e,r,t){"use strict";t.r(r);var n=t(1),o=t(2);function i(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,n)}return t}function u(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?i(t,!0).forEach(function(r){c(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):i(t).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function c(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function a(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}function l(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=[],n=!0,o=!1,i=void 0;try{for(var u,c=e[Symbol.iterator]();!(n=(u=c.next()).done)&&(t.push(u.value),!r||t.length!==r);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return t}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function f(e){var r=l(Object(n.useState)(e||Object(o.generateId)("garden-field-container")),1)[0],t="".concat(r,"--input"),i="".concat(r,"--label"),c="".concat(r,"--hint");return{getLabelProps:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.id,n=void 0===r?i:r,o=e.htmlFor,c=void 0===o?t:o,l=a(e,["id","htmlFor"]);return u({id:n,htmlFor:c,"data-garden-container-id":"field","data-garden-container-version":"1.0.1"},l)},getInputProps:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.id,n=void 0===r?t:r,o=a(e,["id"]),l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},f=l.isDescribed,d=void 0!==f&&f;return u({id:n,"aria-labelledby":i,"aria-describedby":d?c:null},o)},getHintProps:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.id,t=void 0===r?c:r,n=a(e,["id"]);return u({id:t},n)}}}var d=t(0),p=t.n(d);function s(e){var r=e.children,t=e.render;return(void 0===t?r:t)(f(e.id))}s.propTypes={children:p.a.func,render:p.a.func,id:p.a.string},t.d(r,"useField",function(){return f}),t.d(r,"FieldContainer",function(){return s})}]));
//# sourceMappingURL=index.js.map

@@ -11,3 +11,3 @@ {

},
"version": "1.0.0",
"version": "1.0.1",
"main": "./dist/index.js",

@@ -41,3 +41,3 @@ "files": [

"zendeskgarden:src": "src/index.js",
"gitHead": "ed4f56756a32261c43ebbdd73f2f3d2b8650ffa8"
"gitHead": "ee22eb52940810d5a146889c1766a08ddb256f9a"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc