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 0.2.0 to 1.0.0

16

CHANGELOG.md

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

# [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)
### chore
* **field|selection:** remove utility re-exports ([#32](https://github.com/zendeskgarden/react-containers/issues/32)) ([8dbc27f](https://github.com/zendeskgarden/react-containers/commit/8dbc27f))
### BREAKING CHANGES
* **field|selection:** remove temporary re-exports of `@zendeskgarden/container-utilities` made in https://github.com/zendeskgarden/react-containers/pull/30.
# [0.2.0](https://github.com/zendeskgarden/react-containers/compare/@zendeskgarden/container-field@0.1.0...@zendeskgarden/container-field@0.2.0) (2019-05-06)

@@ -8,0 +24,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("@zendeskgarden/container-utilities")},function(e,r){e.exports=require("prop-types")},function(e,r){e.exports=require("react")},function(e,r,t){"use strict";t.r(r);var n=t(2),o=t(0);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(1),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}),t.d(r,"generateId",function(){return o.generateId}),t.d(r,"setIdCounter",function(){return o.setIdCounter})}]));
!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})}]));
//# sourceMappingURL=index.js.map

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

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

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

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

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