@zendeskgarden/react-breadcrumbs
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -6,2 +6,10 @@ # Change Log | ||
## [0.1.3](https://github.com/zendeskgarden/react-components/compare/@zendeskgarden/react-breadcrumbs@0.1.2...@zendeskgarden/react-breadcrumbs@0.1.3) (2018-12-05) | ||
**Note:** Version bump only for package @zendeskgarden/react-breadcrumbs | ||
## [0.1.2](https://github.com/zendeskgarden/react-components/compare/@zendeskgarden/react-breadcrumbs@0.1.1...@zendeskgarden/react-breadcrumbs@0.1.2) (2018-12-04) | ||
@@ -8,0 +16,0 @@ |
@@ -276,3 +276,3 @@ /*! | ||
'data-garden-id': COMPONENT_ID, | ||
'data-garden-version': "0.1.2" | ||
'data-garden-version': "0.1.3" | ||
}).withConfig({ | ||
@@ -315,3 +315,3 @@ displayName: "BreadcrumbView", | ||
'data-garden-id': List_COMPONENT_ID, | ||
'data-garden-version': "0.1.2", | ||
'data-garden-version': "0.1.3", | ||
className: function className(props) { | ||
@@ -350,3 +350,3 @@ return external_classnames_default()(dist_default.a['c-breadcrumb'], List_defineProperty({}, dist_default.a['is-rtl'], Object(react_theming_["isRtl"])(props))); | ||
'data-garden-id': Item_COMPONENT_ID, | ||
'data-garden-version': "0.1.2", | ||
'data-garden-version': "0.1.3", | ||
className: function className(props) { | ||
@@ -353,0 +353,0 @@ return external_classnames_default()(dist_default.a['c-breadcrumb__item'], Item_defineProperty({}, dist_default.a['is-current'], props.current)); |
@@ -31,3 +31,3 @@ /*! | ||
*/ | ||
!function(e,r){for(var t in r)e[t]=r[t]}(r,function(t){var n={};function o(e){if(n[e])return n[e].exports;var r=n[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.m=t,o.c=n,o.d=function(e,r,t){o.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(r,e){if(1&e&&(r=o(r)),8&e)return r;if(4&e&&"object"===u(r)&&r&&r.__esModule)return r;var t=Object.create(null);if(o.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)o.d(t,n,function(e){return r[e]}.bind(null,n));return t},o.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(r,"a",r),r},o.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},o.p="",o(o.s=0)}([function(e,r,t){"use strict";t.r(r);var n=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},r=1<arguments.length?arguments[1]:void 0;if(!e)return!1;var t,n=e.type,o=void 0===n?{}:n,u=o.target,i=o.hasType;return i?t=i()===r:u&&u.hasType&&(t=u.hasType()===r),t},o=function(e,r){if(r)throw new Error(r);throw new Error('"'.concat(e,'" is required'))};t.d(r,"hasType",function(){return n}),t.d(r,"requiredParam",function(){return o})}]))},function(e,r,t){"use strict";t.r(r);var a=t(0),f=t.n(a),n=t(1),o=t.n(n),l=t(6);function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t,n,o={},u=Object.keys(e);for(n=0;n<u.length;n++)t=u[n],0<=r.indexOf(t)||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(n=0;n<u.length;n++)t=u[n],0<=r.indexOf(t)||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}function u(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function i(e,r){return(i=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e})(e,r)}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var m=function(e){function c(){var e,r,t,n;!function(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}(this,c);for(var o=arguments.length,u=new Array(o),i=0;i<o;i++)u[i]=arguments[i];return t=this,d(y(y(r=!(n=(e=b(c)).call.apply(e,[this].concat(u)))||"object"!==p(n)&&"function"!=typeof n?y(t):n)),"getContainerProps",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},r=e.role;return function(r){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{},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(e){d(r,e,t[e])})}return r}({role:void 0===r?"navigation":r,"aria-label":"Breadcrumb navigation"},s(e,["role"]))}),r}var r,t,n;return function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&i(e,r)}(c,a["Component"]),r=c,(t=[{key:"render",value:function(){var e=this.props,r=e.children,t=e.render,n=void 0===t?r:t;return n({getContainerProps:this.getContainerProps})}}])&&u(r.prototype,t),n&&u(r,n),c}();d(m,"propTypes",{children:o.a.func,render:o.a.func});var c=t(3),v=t.n(c),h=t(2),g="breadcrumbs.breadcrumb_view",O=v.a.nav.attrs({"data-garden-id":g,"data-garden-version":"0.1.2"}).withConfig({displayName:"BreadcrumbView",componentId:"xwepvu-0"})(["",";"],function(e){return Object(h.retrieveTheme)(g,e)}),j=t(5),_=t.n(j),w=t(4),P=t.n(w);var x="breadcrumbs.list",S=v.a.ol.attrs({"data-garden-id":x,"data-garden-version":"0.1.2",className:function(e){return _()(P.a["c-breadcrumb"],(r={},t=P.a["is-rtl"],n=Object(h.isRtl)(e),t in r?Object.defineProperty(r,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[t]=n,r));var r,t,n}}).withConfig({displayName:"List",componentId:"sc-17jz7sh-0"})(["",";"],function(e){return Object(h.retrieveTheme)(x,e)});var T="breadcrumbs.item",E=v.a.li.attrs({"data-garden-id":T,"data-garden-version":"0.1.2",className:function(e){return _()(P.a["c-breadcrumb__item"],(r={},t=P.a["is-current"],n=e.current,t in r?Object.defineProperty(r,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[t]=n,r));var r,t,n}}).withConfig({displayName:"Item",componentId:"sc-1nva45q-0"})(["",";"],function(e){return Object(h.retrieveTheme)(T,e)});E.propTypes={current:o.a.bool},E.hasType=function(){return E};var C=E;function k(e){return(k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function q(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t,n,o={},u=Object.keys(e);for(n=0;n<u.length;n++)t=u[n],0<=r.indexOf(t)||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(n=0;n<u.length;n++)t=u[n],0<=r.indexOf(t)||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}function I(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function M(e){return(M=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function B(e,r){return(B=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e})(e,r)}function A(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var z=function(e){function c(){var e,r,t,n;!function(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}(this,c);for(var o=arguments.length,u=new Array(o),i=0;i<o;i++)u[i]=arguments[i];return t=this,N(A(A(r=!(n=(e=M(c)).call.apply(e,[this].concat(u)))||"object"!==k(n)&&"function"!=typeof n?A(t):n)),"renderItems",function(e){var n=a.Children.count(e);return a.Children.map(e,function(e,r){var t={current:r===n-1,key:r};return Object(l.hasType)(e,C)?Object(a.cloneElement)(e,t):f.a.createElement(C,t,e)})}),r}var r,t,n;return function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&B(e,r)}(c,a["Component"]),r=c,(t=[{key:"render",value:function(){var t=this,e=this.props,n=e.children,o=q(e,["children"]);return f.a.createElement(m,null,function(e){var r=e.getContainerProps;return f.a.createElement(O,r({role:null}),f.a.createElement(S,o,t.renderItems(n)))})}}])&&I(r.prototype,t),n&&I(r,n),c}();N(z,"propTypes",{children:o.a.any}),t.d(r,"Breadcrumb",function(){return z}),t.d(r,"BreadcrumbContainer",function(){return m}),t.d(r,"BreadcrumbView",function(){return O}),t.d(r,"List",function(){return S}),t.d(r,"Item",function(){return C})}])}); | ||
!function(e,r){for(var t in r)e[t]=r[t]}(r,function(t){var n={};function o(e){if(n[e])return n[e].exports;var r=n[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.m=t,o.c=n,o.d=function(e,r,t){o.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(r,e){if(1&e&&(r=o(r)),8&e)return r;if(4&e&&"object"===u(r)&&r&&r.__esModule)return r;var t=Object.create(null);if(o.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)o.d(t,n,function(e){return r[e]}.bind(null,n));return t},o.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(r,"a",r),r},o.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},o.p="",o(o.s=0)}([function(e,r,t){"use strict";t.r(r);var n=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},r=1<arguments.length?arguments[1]:void 0;if(!e)return!1;var t,n=e.type,o=void 0===n?{}:n,u=o.target,i=o.hasType;return i?t=i()===r:u&&u.hasType&&(t=u.hasType()===r),t},o=function(e,r){if(r)throw new Error(r);throw new Error('"'.concat(e,'" is required'))};t.d(r,"hasType",function(){return n}),t.d(r,"requiredParam",function(){return o})}]))},function(e,r,t){"use strict";t.r(r);var a=t(0),f=t.n(a),n=t(1),o=t.n(n),l=t(6);function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t,n,o={},u=Object.keys(e);for(n=0;n<u.length;n++)t=u[n],0<=r.indexOf(t)||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(n=0;n<u.length;n++)t=u[n],0<=r.indexOf(t)||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}function u(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function i(e,r){return(i=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e})(e,r)}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var m=function(e){function c(){var e,r,t,n;!function(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}(this,c);for(var o=arguments.length,u=new Array(o),i=0;i<o;i++)u[i]=arguments[i];return t=this,d(y(y(r=!(n=(e=b(c)).call.apply(e,[this].concat(u)))||"object"!==p(n)&&"function"!=typeof n?y(t):n)),"getContainerProps",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},r=e.role;return function(r){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{},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(e){d(r,e,t[e])})}return r}({role:void 0===r?"navigation":r,"aria-label":"Breadcrumb navigation"},s(e,["role"]))}),r}var r,t,n;return function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&i(e,r)}(c,a["Component"]),r=c,(t=[{key:"render",value:function(){var e=this.props,r=e.children,t=e.render,n=void 0===t?r:t;return n({getContainerProps:this.getContainerProps})}}])&&u(r.prototype,t),n&&u(r,n),c}();d(m,"propTypes",{children:o.a.func,render:o.a.func});var c=t(3),v=t.n(c),h=t(2),g="breadcrumbs.breadcrumb_view",O=v.a.nav.attrs({"data-garden-id":g,"data-garden-version":"0.1.3"}).withConfig({displayName:"BreadcrumbView",componentId:"xwepvu-0"})(["",";"],function(e){return Object(h.retrieveTheme)(g,e)}),j=t(5),_=t.n(j),w=t(4),P=t.n(w);var x="breadcrumbs.list",S=v.a.ol.attrs({"data-garden-id":x,"data-garden-version":"0.1.3",className:function(e){return _()(P.a["c-breadcrumb"],(r={},t=P.a["is-rtl"],n=Object(h.isRtl)(e),t in r?Object.defineProperty(r,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[t]=n,r));var r,t,n}}).withConfig({displayName:"List",componentId:"sc-17jz7sh-0"})(["",";"],function(e){return Object(h.retrieveTheme)(x,e)});var T="breadcrumbs.item",E=v.a.li.attrs({"data-garden-id":T,"data-garden-version":"0.1.3",className:function(e){return _()(P.a["c-breadcrumb__item"],(r={},t=P.a["is-current"],n=e.current,t in r?Object.defineProperty(r,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[t]=n,r));var r,t,n}}).withConfig({displayName:"Item",componentId:"sc-1nva45q-0"})(["",";"],function(e){return Object(h.retrieveTheme)(T,e)});E.propTypes={current:o.a.bool},E.hasType=function(){return E};var C=E;function k(e){return(k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function q(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t,n,o={},u=Object.keys(e);for(n=0;n<u.length;n++)t=u[n],0<=r.indexOf(t)||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(n=0;n<u.length;n++)t=u[n],0<=r.indexOf(t)||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}function I(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function M(e){return(M=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function B(e,r){return(B=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e})(e,r)}function A(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var z=function(e){function c(){var e,r,t,n;!function(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}(this,c);for(var o=arguments.length,u=new Array(o),i=0;i<o;i++)u[i]=arguments[i];return t=this,N(A(A(r=!(n=(e=M(c)).call.apply(e,[this].concat(u)))||"object"!==k(n)&&"function"!=typeof n?A(t):n)),"renderItems",function(e){var n=a.Children.count(e);return a.Children.map(e,function(e,r){var t={current:r===n-1,key:r};return Object(l.hasType)(e,C)?Object(a.cloneElement)(e,t):f.a.createElement(C,t,e)})}),r}var r,t,n;return function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&B(e,r)}(c,a["Component"]),r=c,(t=[{key:"render",value:function(){var t=this,e=this.props,n=e.children,o=q(e,["children"]);return f.a.createElement(m,null,function(e){var r=e.getContainerProps;return f.a.createElement(O,r({role:null}),f.a.createElement(S,o,t.renderItems(n)))})}}])&&I(r.prototype,t),n&&I(r,n),c}();N(z,"propTypes",{children:o.a.any}),t.d(r,"Breadcrumb",function(){return z}),t.d(r,"BreadcrumbContainer",function(){return m}),t.d(r,"BreadcrumbView",function(){return O}),t.d(r,"List",function(){return S}),t.d(r,"Item",function(){return C})}])}); | ||
//# sourceMappingURL=bundle.min.js.map |
@@ -11,3 +11,3 @@ { | ||
}, | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"main": "./dist/index.js", | ||
@@ -34,4 +34,4 @@ "files": [ | ||
"@zendeskgarden/css-breadcrumbs": "0.1.2", | ||
"@zendeskgarden/react-theming": "^3.2.0", | ||
"@zendeskgarden/react-utilities": "^0.2.4" | ||
"@zendeskgarden/react-theming": "^3.2.1", | ||
"@zendeskgarden/react-utilities": "^0.2.5" | ||
}, | ||
@@ -49,3 +49,3 @@ "keywords": [ | ||
"zendeskgarden:src": "src/index.js", | ||
"gitHead": "100dd0814a481ce46eecd0246a9ea35b024aa154" | ||
"gitHead": "a74838be2feefe68ed27f587dcd50de286d5bae6" | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
86972
0