ak-droplist-group
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -1,6 +0,16 @@ | ||
<a name="2.2.0"></a> | ||
# 2.2.0 (2017-01-15) | ||
<a name="2.2.1"></a> | ||
## 2.2.1 (2017-01-18) | ||
<a name="ak-droplist-group@2.2.1"></a> | ||
## ak-droplist-group@2.2.1 (2017-01-18) | ||
### Bug Fixes | ||
* **types:** Fix TypeScript declarations, add validate/typescript and enable it for CI. ([70064dc](https://bitbucket.org/atlassian/atlaskit/commits/70064dc)) | ||
<a name="ak-droplist-group@2.2.0"></a> | ||
@@ -7,0 +17,0 @@ # ak-droplist-group@2.2.0 (2017-01-15) |
@@ -169,13 +169,13 @@ module.exports = /******/ | ||
// module | ||
exports.push([ module.id, "._3U6j0HAXbIELeIVdU4Qj5m{box-sizing:border-box;display:block;margin-top:8px}._3U6j0HAXbIELeIVdU4Qj5m:first-child{margin-top:0}._3rYdbxZFkIbH_PHrqcyu4t{-webkit-box-align:baseline;align-items:baseline;color:#5e6c84;display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1 1 auto;font-weight:400;font-size:14px;line-height:1;margin:0;padding:8px 24px}._2HNZuolJmyuPw4_GQH1AMk{-webkit-box-flex:0;flex:0 0 auto}._3foEU7KasWQLTWpN7MarIq{-webkit-box-flex:1;flex:1 1 auto;font-size:12px;text-transform:uppercase}", "" ]), | ||
exports.push([ module.id, "._1ZoR0sEEaGhVHgcYQinsJc{box-sizing:border-box;display:block;margin-top:8px}._1ZoR0sEEaGhVHgcYQinsJc:first-child{margin-top:0}._22uUVIh5TQkBELUwu42DsA{-webkit-box-align:baseline;align-items:baseline;color:#5e6c84;display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1 1 auto;font-weight:400;font-size:14px;line-height:1;margin:0;padding:8px 24px}._2Zx6kJLtFe5Dpk3sh36m2S{-webkit-box-flex:0;flex:0 0 auto}._1ayO6e8yukEoLWdpNoIChD{-webkit-box-flex:1;flex:1 1 auto;font-size:12px;text-transform:uppercase}", "" ]), | ||
// exports | ||
exports.locals = { | ||
group: "_3U6j0HAXbIELeIVdU4Qj5m", | ||
group: "_3U6j0HAXbIELeIVdU4Qj5m", | ||
heading: "_3rYdbxZFkIbH_PHrqcyu4t", | ||
heading: "_3rYdbxZFkIbH_PHrqcyu4t", | ||
elemAfter: "_2HNZuolJmyuPw4_GQH1AMk", | ||
elemAfter: "_2HNZuolJmyuPw4_GQH1AMk", | ||
content: "_3foEU7KasWQLTWpN7MarIq", | ||
content: "_3foEU7KasWQLTWpN7MarIq" | ||
group: "_1ZoR0sEEaGhVHgcYQinsJc", | ||
group: "_1ZoR0sEEaGhVHgcYQinsJc", | ||
heading: "_22uUVIh5TQkBELUwu42DsA", | ||
heading: "_22uUVIh5TQkBELUwu42DsA", | ||
elemAfter: "_2Zx6kJLtFe5Dpk3sh36m2S", | ||
elemAfter: "_2Zx6kJLtFe5Dpk3sh36m2S", | ||
content: "_1ayO6e8yukEoLWdpNoIChD", | ||
content: "_1ayO6e8yukEoLWdpNoIChD" | ||
}; | ||
@@ -182,0 +182,0 @@ }, /* 12 */ |
@@ -1,1 +0,1 @@ | ||
module.exports=function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){e.exports=r(3)},,,function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(4),i=n(o),a=r(5),s=n(a),l=r(6),u=n(l),f=r(7),p=n(f),c=r(8),d=n(c),h=r(9),m=n(h),b=r(10),g=n(b),v=function(e){function t(){var e,r,n,o;(0,s.default)(this,t);for(var a=arguments.length,l=Array(a),f=0;f<a;f++)l[f]=arguments[f];return r=n=(0,u.default)(this,(e=t.__proto__||(0,i.default)(t)).call.apply(e,[this].concat(l))),n.state={ariaLabel:n.props.heading},n.componentDidMount=function(){(n.props.heading||n.props.elemAfter)&&n.setState({ariaLabel:n.getAriaLabel()})},n.componentDidUpdate=function(){(n.props.heading||n.props.elemAfter)&&n.setState({ariaLabel:n.getAriaLabel()})},n.getAriaLabel=function(){var e=n,t=e.props,r=t.elemAfter&&("string"==typeof t.elemAfter?t.elemAfter:m.default.findDOMNode(n).querySelector("."+g.default.elemAfter).textContent);return t.heading+" "+(r||"")},n.render=function(){var e=n,t=e.props;return d.default.createElement("div",{className:g.default.group,role:"group","aria-label":n.state.ariaLabel},t.heading?d.default.createElement("div",{className:g.default.heading,"aria-hidden":"true"},d.default.createElement("span",{className:g.default.content},t.heading),t.elemAfter?d.default.createElement("span",{className:g.default.elemAfter},t.elemAfter):null):null,t.children)},o=r,(0,u.default)(n,o)}return(0,p.default)(t,e),t}(c.PureComponent);v.propTypes={heading:c.PropTypes.string,elemAfter:c.PropTypes.oneOfType([c.PropTypes.node,c.PropTypes.string]),children:c.PropTypes.node},v.defaultProps={heading:null,children:null,elemAfter:null},t.default=v},function(e,t){e.exports=require("babel-runtime/core-js/object/get-prototype-of")},function(e,t){e.exports=require("babel-runtime/helpers/classCallCheck")},function(e,t){e.exports=require("babel-runtime/helpers/possibleConstructorReturn")},function(e,t){e.exports=require("babel-runtime/helpers/inherits")},function(e,t){e.exports=require("react")},function(e,t){e.exports=require("react-dom")},function(e,t,r){var n=r(11);"string"==typeof n&&(n=[[e.id,n,""]]),r(13)(n,{}),n.locals&&(e.exports=n.locals)},function(e,t,r){t=e.exports=r(12)(),t.push([e.id,"._3U6j0HAXbIELeIVdU4Qj5m{box-sizing:border-box;display:block;margin-top:8px}._3U6j0HAXbIELeIVdU4Qj5m:first-child{margin-top:0}._3rYdbxZFkIbH_PHrqcyu4t{-webkit-box-align:baseline;align-items:baseline;color:#5e6c84;display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1 1 auto;font-weight:400;font-size:14px;line-height:1;margin:0;padding:8px 24px}._2HNZuolJmyuPw4_GQH1AMk{-webkit-box-flex:0;flex:0 0 auto}._3foEU7KasWQLTWpN7MarIq{-webkit-box-flex:1;flex:1 1 auto;font-size:12px;text-transform:uppercase}",""]),t.locals={group:"_3U6j0HAXbIELeIVdU4Qj5m",group:"_3U6j0HAXbIELeIVdU4Qj5m",heading:"_3rYdbxZFkIbH_PHrqcyu4t",heading:"_3rYdbxZFkIbH_PHrqcyu4t",elemAfter:"_2HNZuolJmyuPw4_GQH1AMk",elemAfter:"_2HNZuolJmyuPw4_GQH1AMk",content:"_3foEU7KasWQLTWpN7MarIq",content:"_3foEU7KasWQLTWpN7MarIq"}},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var r=this[t];r[2]?e.push("@media "+r[2]+"{"+r[1]+"}"):e.push(r[1])}return e.join("")},e.i=function(t,r){"string"==typeof t&&(t=[[null,t,""]]);for(var n={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(n[i]=!0)}for(o=0;o<t.length;o++){var a=t[o];"number"==typeof a[0]&&n[a[0]]||(r&&!a[2]?a[2]=r:r&&(a[2]="("+a[2]+") and ("+r+")"),e.push(a))}},e}},function(e,t,r){function n(e,t){for(var r=0;r<e.length;r++){var n=e[r],o=d[n.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](n.parts[i]);for(;i<n.parts.length;i++)o.parts.push(u(n.parts[i],t))}else{for(var a=[],i=0;i<n.parts.length;i++)a.push(u(n.parts[i],t));d[n.id]={id:n.id,refs:1,parts:a}}}}function o(e){for(var t=[],r={},n=0;n<e.length;n++){var o=e[n],i=o[0],a=o[1],s=o[2],l=o[3],u={css:a,media:s,sourceMap:l};r[i]?r[i].parts.push(u):t.push(r[i]={id:i,parts:[u]})}return t}function i(e,t){var r=b(),n=x[x.length-1];if("top"===e.insertAt)n?n.nextSibling?r.insertBefore(t,n.nextSibling):r.appendChild(t):r.insertBefore(t,r.firstChild),x.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");r.appendChild(t)}}function a(e){e.parentNode.removeChild(e);var t=x.indexOf(e);t>=0&&x.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",i(e,t),t}function l(e){var t=document.createElement("link");return t.rel="stylesheet",i(e,t),t}function u(e,t){var r,n,o;if(t.singleton){var i=v++;r=g||(g=s(t)),n=f.bind(null,r,i,!1),o=f.bind(null,r,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(r=l(t),n=c.bind(null,r),o=function(){a(r),r.href&&URL.revokeObjectURL(r.href)}):(r=s(t),n=p.bind(null,r),o=function(){a(r)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else o()}}function f(e,t,r,n){var o=r?"":n.css;if(e.styleSheet)e.styleSheet.cssText=y(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function p(e,t){var r=t.css,n=t.media;if(n&&e.setAttribute("media",n),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}function c(e,t){var r=t.css,n=t.sourceMap;n&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");var o=new Blob([r],{type:"text/css"}),i=e.href;e.href=URL.createObjectURL(o),i&&URL.revokeObjectURL(i)}var d={},h=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},m=h(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),b=h(function(){return document.head||document.getElementsByTagName("head")[0]}),g=null,v=0,x=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=m()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var r=o(e);return n(r,t),function(e){for(var i=[],a=0;a<r.length;a++){var s=r[a],l=d[s.id];l.refs--,i.push(l)}if(e){var u=o(e);n(u,t)}for(var a=0;a<i.length;a++){var l=i[a];if(0===l.refs){for(var f=0;f<l.parts.length;f++)l.parts[f]();delete d[l.id]}}}};var y=function(){var e=[];return function(t,r){return e[t]=r,e.filter(Boolean).join("\n")}}()}]); | ||
module.exports=function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){e.exports=r(3)},,,function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(4),i=n(o),a=r(5),s=n(a),l=r(6),u=n(l),f=r(7),p=n(f),c=r(8),d=n(c),h=r(9),m=n(h),g=r(10),b=n(g),v=function(e){function t(){var e,r,n,o;(0,s.default)(this,t);for(var a=arguments.length,l=Array(a),f=0;f<a;f++)l[f]=arguments[f];return r=n=(0,u.default)(this,(e=t.__proto__||(0,i.default)(t)).call.apply(e,[this].concat(l))),n.state={ariaLabel:n.props.heading},n.componentDidMount=function(){(n.props.heading||n.props.elemAfter)&&n.setState({ariaLabel:n.getAriaLabel()})},n.componentDidUpdate=function(){(n.props.heading||n.props.elemAfter)&&n.setState({ariaLabel:n.getAriaLabel()})},n.getAriaLabel=function(){var e=n,t=e.props,r=t.elemAfter&&("string"==typeof t.elemAfter?t.elemAfter:m.default.findDOMNode(n).querySelector("."+b.default.elemAfter).textContent);return t.heading+" "+(r||"")},n.render=function(){var e=n,t=e.props;return d.default.createElement("div",{className:b.default.group,role:"group","aria-label":n.state.ariaLabel},t.heading?d.default.createElement("div",{className:b.default.heading,"aria-hidden":"true"},d.default.createElement("span",{className:b.default.content},t.heading),t.elemAfter?d.default.createElement("span",{className:b.default.elemAfter},t.elemAfter):null):null,t.children)},o=r,(0,u.default)(n,o)}return(0,p.default)(t,e),t}(c.PureComponent);v.propTypes={heading:c.PropTypes.string,elemAfter:c.PropTypes.oneOfType([c.PropTypes.node,c.PropTypes.string]),children:c.PropTypes.node},v.defaultProps={heading:null,children:null,elemAfter:null},t.default=v},function(e,t){e.exports=require("babel-runtime/core-js/object/get-prototype-of")},function(e,t){e.exports=require("babel-runtime/helpers/classCallCheck")},function(e,t){e.exports=require("babel-runtime/helpers/possibleConstructorReturn")},function(e,t){e.exports=require("babel-runtime/helpers/inherits")},function(e,t){e.exports=require("react")},function(e,t){e.exports=require("react-dom")},function(e,t,r){var n=r(11);"string"==typeof n&&(n=[[e.id,n,""]]),r(13)(n,{}),n.locals&&(e.exports=n.locals)},function(e,t,r){t=e.exports=r(12)(),t.push([e.id,"._1ZoR0sEEaGhVHgcYQinsJc{box-sizing:border-box;display:block;margin-top:8px}._1ZoR0sEEaGhVHgcYQinsJc:first-child{margin-top:0}._22uUVIh5TQkBELUwu42DsA{-webkit-box-align:baseline;align-items:baseline;color:#5e6c84;display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1 1 auto;font-weight:400;font-size:14px;line-height:1;margin:0;padding:8px 24px}._2Zx6kJLtFe5Dpk3sh36m2S{-webkit-box-flex:0;flex:0 0 auto}._1ayO6e8yukEoLWdpNoIChD{-webkit-box-flex:1;flex:1 1 auto;font-size:12px;text-transform:uppercase}",""]),t.locals={group:"_1ZoR0sEEaGhVHgcYQinsJc",group:"_1ZoR0sEEaGhVHgcYQinsJc",heading:"_22uUVIh5TQkBELUwu42DsA",heading:"_22uUVIh5TQkBELUwu42DsA",elemAfter:"_2Zx6kJLtFe5Dpk3sh36m2S",elemAfter:"_2Zx6kJLtFe5Dpk3sh36m2S",content:"_1ayO6e8yukEoLWdpNoIChD",content:"_1ayO6e8yukEoLWdpNoIChD"}},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var r=this[t];r[2]?e.push("@media "+r[2]+"{"+r[1]+"}"):e.push(r[1])}return e.join("")},e.i=function(t,r){"string"==typeof t&&(t=[[null,t,""]]);for(var n={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(n[i]=!0)}for(o=0;o<t.length;o++){var a=t[o];"number"==typeof a[0]&&n[a[0]]||(r&&!a[2]?a[2]=r:r&&(a[2]="("+a[2]+") and ("+r+")"),e.push(a))}},e}},function(e,t,r){function n(e,t){for(var r=0;r<e.length;r++){var n=e[r],o=d[n.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](n.parts[i]);for(;i<n.parts.length;i++)o.parts.push(u(n.parts[i],t))}else{for(var a=[],i=0;i<n.parts.length;i++)a.push(u(n.parts[i],t));d[n.id]={id:n.id,refs:1,parts:a}}}}function o(e){for(var t=[],r={},n=0;n<e.length;n++){var o=e[n],i=o[0],a=o[1],s=o[2],l=o[3],u={css:a,media:s,sourceMap:l};r[i]?r[i].parts.push(u):t.push(r[i]={id:i,parts:[u]})}return t}function i(e,t){var r=g(),n=x[x.length-1];if("top"===e.insertAt)n?n.nextSibling?r.insertBefore(t,n.nextSibling):r.appendChild(t):r.insertBefore(t,r.firstChild),x.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");r.appendChild(t)}}function a(e){e.parentNode.removeChild(e);var t=x.indexOf(e);t>=0&&x.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",i(e,t),t}function l(e){var t=document.createElement("link");return t.rel="stylesheet",i(e,t),t}function u(e,t){var r,n,o;if(t.singleton){var i=v++;r=b||(b=s(t)),n=f.bind(null,r,i,!1),o=f.bind(null,r,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(r=l(t),n=c.bind(null,r),o=function(){a(r),r.href&&URL.revokeObjectURL(r.href)}):(r=s(t),n=p.bind(null,r),o=function(){a(r)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else o()}}function f(e,t,r,n){var o=r?"":n.css;if(e.styleSheet)e.styleSheet.cssText=y(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function p(e,t){var r=t.css,n=t.media;if(n&&e.setAttribute("media",n),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}function c(e,t){var r=t.css,n=t.sourceMap;n&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");var o=new Blob([r],{type:"text/css"}),i=e.href;e.href=URL.createObjectURL(o),i&&URL.revokeObjectURL(i)}var d={},h=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},m=h(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),g=h(function(){return document.head||document.getElementsByTagName("head")[0]}),b=null,v=0,x=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=m()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var r=o(e);return n(r,t),function(e){for(var i=[],a=0;a<r.length;a++){var s=r[a],l=d[s.id];l.refs--,i.push(l)}if(e){var u=o(e);n(u,t)}for(var a=0;a<i.length;a++){var l=i[a];if(0===l.refs){for(var f=0;f<l.parts.length;f++)l.parts[f]();delete d[l.id]}}}};var y=function(){var e=[];return function(t,r){return e[t]=r,e.filter(Boolean).join("\n")}}()}]); |
@@ -172,13 +172,13 @@ !function(root, factory) { | ||
// module | ||
exports.push([ module.id, "._3U6j0HAXbIELeIVdU4Qj5m{box-sizing:border-box;display:block;margin-top:8px}._3U6j0HAXbIELeIVdU4Qj5m:first-child{margin-top:0}._3rYdbxZFkIbH_PHrqcyu4t{-webkit-box-align:baseline;align-items:baseline;color:#5e6c84;display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1 1 auto;font-weight:400;font-size:14px;line-height:1;margin:0;padding:8px 24px}._2HNZuolJmyuPw4_GQH1AMk{-webkit-box-flex:0;flex:0 0 auto}._3foEU7KasWQLTWpN7MarIq{-webkit-box-flex:1;flex:1 1 auto;font-size:12px;text-transform:uppercase}", "" ]), | ||
exports.push([ module.id, "._1ZoR0sEEaGhVHgcYQinsJc{box-sizing:border-box;display:block;margin-top:8px}._1ZoR0sEEaGhVHgcYQinsJc:first-child{margin-top:0}._22uUVIh5TQkBELUwu42DsA{-webkit-box-align:baseline;align-items:baseline;color:#5e6c84;display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1 1 auto;font-weight:400;font-size:14px;line-height:1;margin:0;padding:8px 24px}._2Zx6kJLtFe5Dpk3sh36m2S{-webkit-box-flex:0;flex:0 0 auto}._1ayO6e8yukEoLWdpNoIChD{-webkit-box-flex:1;flex:1 1 auto;font-size:12px;text-transform:uppercase}", "" ]), | ||
// exports | ||
exports.locals = { | ||
group: "_3U6j0HAXbIELeIVdU4Qj5m", | ||
group: "_3U6j0HAXbIELeIVdU4Qj5m", | ||
heading: "_3rYdbxZFkIbH_PHrqcyu4t", | ||
heading: "_3rYdbxZFkIbH_PHrqcyu4t", | ||
elemAfter: "_2HNZuolJmyuPw4_GQH1AMk", | ||
elemAfter: "_2HNZuolJmyuPw4_GQH1AMk", | ||
content: "_3foEU7KasWQLTWpN7MarIq", | ||
content: "_3foEU7KasWQLTWpN7MarIq" | ||
group: "_1ZoR0sEEaGhVHgcYQinsJc", | ||
group: "_1ZoR0sEEaGhVHgcYQinsJc", | ||
heading: "_22uUVIh5TQkBELUwu42DsA", | ||
heading: "_22uUVIh5TQkBELUwu42DsA", | ||
elemAfter: "_2Zx6kJLtFe5Dpk3sh36m2S", | ||
elemAfter: "_2Zx6kJLtFe5Dpk3sh36m2S", | ||
content: "_1ayO6e8yukEoLWdpNoIChD", | ||
content: "_1ayO6e8yukEoLWdpNoIChD" | ||
}; | ||
@@ -185,0 +185,0 @@ }, /* 12 */ |
@@ -1,1 +0,1 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("babel-runtime/core-js/object/get-prototype-of"),require("babel-runtime/helpers/classCallCheck"),require("babel-runtime/helpers/possibleConstructorReturn"),require("babel-runtime/helpers/inherits"),require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["babel-runtime/core-js/object/get-prototype-of","babel-runtime/helpers/classCallCheck","babel-runtime/helpers/possibleConstructorReturn","babel-runtime/helpers/inherits","react","react-dom"],t):"object"==typeof exports?exports.akDroplistGroup=t(require("babel-runtime/core-js/object/get-prototype-of"),require("babel-runtime/helpers/classCallCheck"),require("babel-runtime/helpers/possibleConstructorReturn"),require("babel-runtime/helpers/inherits"),require("react"),require("react-dom")):e.akDroplistGroup=t(e["babel-runtime/core-js/object/get-prototype-of"],e["babel-runtime/helpers/classCallCheck"],e["babel-runtime/helpers/possibleConstructorReturn"],e["babel-runtime/helpers/inherits"],e.react,e["react-dom"])}(this,function(e,t,r,n,o,i){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){e.exports=r(3)},,,function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(4),i=n(o),a=r(5),s=n(a),l=r(6),u=n(l),p=r(7),f=n(p),c=r(8),d=n(c),b=r(9),h=n(b),m=r(10),g=n(m),v=function(e){function t(){var e,r,n,o;(0,s.default)(this,t);for(var a=arguments.length,l=Array(a),p=0;p<a;p++)l[p]=arguments[p];return r=n=(0,u.default)(this,(e=t.__proto__||(0,i.default)(t)).call.apply(e,[this].concat(l))),n.state={ariaLabel:n.props.heading},n.componentDidMount=function(){(n.props.heading||n.props.elemAfter)&&n.setState({ariaLabel:n.getAriaLabel()})},n.componentDidUpdate=function(){(n.props.heading||n.props.elemAfter)&&n.setState({ariaLabel:n.getAriaLabel()})},n.getAriaLabel=function(){var e=n,t=e.props,r=t.elemAfter&&("string"==typeof t.elemAfter?t.elemAfter:h.default.findDOMNode(n).querySelector("."+g.default.elemAfter).textContent);return t.heading+" "+(r||"")},n.render=function(){var e=n,t=e.props;return d.default.createElement("div",{className:g.default.group,role:"group","aria-label":n.state.ariaLabel},t.heading?d.default.createElement("div",{className:g.default.heading,"aria-hidden":"true"},d.default.createElement("span",{className:g.default.content},t.heading),t.elemAfter?d.default.createElement("span",{className:g.default.elemAfter},t.elemAfter):null):null,t.children)},o=r,(0,u.default)(n,o)}return(0,f.default)(t,e),t}(c.PureComponent);v.propTypes={heading:c.PropTypes.string,elemAfter:c.PropTypes.oneOfType([c.PropTypes.node,c.PropTypes.string]),children:c.PropTypes.node},v.defaultProps={heading:null,children:null,elemAfter:null},t.default=v},function(t,r){t.exports=e},function(e,r){e.exports=t},function(e,t){e.exports=r},function(e,t){e.exports=n},function(e,t){e.exports=o},function(e,t){e.exports=i},function(e,t,r){var n=r(11);"string"==typeof n&&(n=[[e.id,n,""]]),r(13)(n,{}),n.locals&&(e.exports=n.locals)},function(e,t,r){t=e.exports=r(12)(),t.push([e.id,"._3U6j0HAXbIELeIVdU4Qj5m{box-sizing:border-box;display:block;margin-top:8px}._3U6j0HAXbIELeIVdU4Qj5m:first-child{margin-top:0}._3rYdbxZFkIbH_PHrqcyu4t{-webkit-box-align:baseline;align-items:baseline;color:#5e6c84;display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1 1 auto;font-weight:400;font-size:14px;line-height:1;margin:0;padding:8px 24px}._2HNZuolJmyuPw4_GQH1AMk{-webkit-box-flex:0;flex:0 0 auto}._3foEU7KasWQLTWpN7MarIq{-webkit-box-flex:1;flex:1 1 auto;font-size:12px;text-transform:uppercase}",""]),t.locals={group:"_3U6j0HAXbIELeIVdU4Qj5m",group:"_3U6j0HAXbIELeIVdU4Qj5m",heading:"_3rYdbxZFkIbH_PHrqcyu4t",heading:"_3rYdbxZFkIbH_PHrqcyu4t",elemAfter:"_2HNZuolJmyuPw4_GQH1AMk",elemAfter:"_2HNZuolJmyuPw4_GQH1AMk",content:"_3foEU7KasWQLTWpN7MarIq",content:"_3foEU7KasWQLTWpN7MarIq"}},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var r=this[t];r[2]?e.push("@media "+r[2]+"{"+r[1]+"}"):e.push(r[1])}return e.join("")},e.i=function(t,r){"string"==typeof t&&(t=[[null,t,""]]);for(var n={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(n[i]=!0)}for(o=0;o<t.length;o++){var a=t[o];"number"==typeof a[0]&&n[a[0]]||(r&&!a[2]?a[2]=r:r&&(a[2]="("+a[2]+") and ("+r+")"),e.push(a))}},e}},function(e,t,r){function n(e,t){for(var r=0;r<e.length;r++){var n=e[r],o=d[n.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](n.parts[i]);for(;i<n.parts.length;i++)o.parts.push(u(n.parts[i],t))}else{for(var a=[],i=0;i<n.parts.length;i++)a.push(u(n.parts[i],t));d[n.id]={id:n.id,refs:1,parts:a}}}}function o(e){for(var t=[],r={},n=0;n<e.length;n++){var o=e[n],i=o[0],a=o[1],s=o[2],l=o[3],u={css:a,media:s,sourceMap:l};r[i]?r[i].parts.push(u):t.push(r[i]={id:i,parts:[u]})}return t}function i(e,t){var r=m(),n=x[x.length-1];if("top"===e.insertAt)n?n.nextSibling?r.insertBefore(t,n.nextSibling):r.appendChild(t):r.insertBefore(t,r.firstChild),x.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");r.appendChild(t)}}function a(e){e.parentNode.removeChild(e);var t=x.indexOf(e);t>=0&&x.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",i(e,t),t}function l(e){var t=document.createElement("link");return t.rel="stylesheet",i(e,t),t}function u(e,t){var r,n,o;if(t.singleton){var i=v++;r=g||(g=s(t)),n=p.bind(null,r,i,!1),o=p.bind(null,r,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(r=l(t),n=c.bind(null,r),o=function(){a(r),r.href&&URL.revokeObjectURL(r.href)}):(r=s(t),n=f.bind(null,r),o=function(){a(r)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else o()}}function p(e,t,r,n){var o=r?"":n.css;if(e.styleSheet)e.styleSheet.cssText=y(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function f(e,t){var r=t.css,n=t.media;if(n&&e.setAttribute("media",n),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}function c(e,t){var r=t.css,n=t.sourceMap;n&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");var o=new Blob([r],{type:"text/css"}),i=e.href;e.href=URL.createObjectURL(o),i&&URL.revokeObjectURL(i)}var d={},b=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},h=b(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),m=b(function(){return document.head||document.getElementsByTagName("head")[0]}),g=null,v=0,x=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=h()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var r=o(e);return n(r,t),function(e){for(var i=[],a=0;a<r.length;a++){var s=r[a],l=d[s.id];l.refs--,i.push(l)}if(e){var u=o(e);n(u,t)}for(var a=0;a<i.length;a++){var l=i[a];if(0===l.refs){for(var p=0;p<l.parts.length;p++)l.parts[p]();delete d[l.id]}}}};var y=function(){var e=[];return function(t,r){return e[t]=r,e.filter(Boolean).join("\n")}}()}])}); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("babel-runtime/core-js/object/get-prototype-of"),require("babel-runtime/helpers/classCallCheck"),require("babel-runtime/helpers/possibleConstructorReturn"),require("babel-runtime/helpers/inherits"),require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["babel-runtime/core-js/object/get-prototype-of","babel-runtime/helpers/classCallCheck","babel-runtime/helpers/possibleConstructorReturn","babel-runtime/helpers/inherits","react","react-dom"],t):"object"==typeof exports?exports.akDroplistGroup=t(require("babel-runtime/core-js/object/get-prototype-of"),require("babel-runtime/helpers/classCallCheck"),require("babel-runtime/helpers/possibleConstructorReturn"),require("babel-runtime/helpers/inherits"),require("react"),require("react-dom")):e.akDroplistGroup=t(e["babel-runtime/core-js/object/get-prototype-of"],e["babel-runtime/helpers/classCallCheck"],e["babel-runtime/helpers/possibleConstructorReturn"],e["babel-runtime/helpers/inherits"],e.react,e["react-dom"])}(this,function(e,t,r,n,o,i){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){e.exports=r(3)},,,function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(4),i=n(o),a=r(5),s=n(a),l=r(6),u=n(l),p=r(7),f=n(p),c=r(8),d=n(c),h=r(9),b=n(h),m=r(10),g=n(m),v=function(e){function t(){var e,r,n,o;(0,s.default)(this,t);for(var a=arguments.length,l=Array(a),p=0;p<a;p++)l[p]=arguments[p];return r=n=(0,u.default)(this,(e=t.__proto__||(0,i.default)(t)).call.apply(e,[this].concat(l))),n.state={ariaLabel:n.props.heading},n.componentDidMount=function(){(n.props.heading||n.props.elemAfter)&&n.setState({ariaLabel:n.getAriaLabel()})},n.componentDidUpdate=function(){(n.props.heading||n.props.elemAfter)&&n.setState({ariaLabel:n.getAriaLabel()})},n.getAriaLabel=function(){var e=n,t=e.props,r=t.elemAfter&&("string"==typeof t.elemAfter?t.elemAfter:b.default.findDOMNode(n).querySelector("."+g.default.elemAfter).textContent);return t.heading+" "+(r||"")},n.render=function(){var e=n,t=e.props;return d.default.createElement("div",{className:g.default.group,role:"group","aria-label":n.state.ariaLabel},t.heading?d.default.createElement("div",{className:g.default.heading,"aria-hidden":"true"},d.default.createElement("span",{className:g.default.content},t.heading),t.elemAfter?d.default.createElement("span",{className:g.default.elemAfter},t.elemAfter):null):null,t.children)},o=r,(0,u.default)(n,o)}return(0,f.default)(t,e),t}(c.PureComponent);v.propTypes={heading:c.PropTypes.string,elemAfter:c.PropTypes.oneOfType([c.PropTypes.node,c.PropTypes.string]),children:c.PropTypes.node},v.defaultProps={heading:null,children:null,elemAfter:null},t.default=v},function(t,r){t.exports=e},function(e,r){e.exports=t},function(e,t){e.exports=r},function(e,t){e.exports=n},function(e,t){e.exports=o},function(e,t){e.exports=i},function(e,t,r){var n=r(11);"string"==typeof n&&(n=[[e.id,n,""]]),r(13)(n,{}),n.locals&&(e.exports=n.locals)},function(e,t,r){t=e.exports=r(12)(),t.push([e.id,"._1ZoR0sEEaGhVHgcYQinsJc{box-sizing:border-box;display:block;margin-top:8px}._1ZoR0sEEaGhVHgcYQinsJc:first-child{margin-top:0}._22uUVIh5TQkBELUwu42DsA{-webkit-box-align:baseline;align-items:baseline;color:#5e6c84;display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1 1 auto;font-weight:400;font-size:14px;line-height:1;margin:0;padding:8px 24px}._2Zx6kJLtFe5Dpk3sh36m2S{-webkit-box-flex:0;flex:0 0 auto}._1ayO6e8yukEoLWdpNoIChD{-webkit-box-flex:1;flex:1 1 auto;font-size:12px;text-transform:uppercase}",""]),t.locals={group:"_1ZoR0sEEaGhVHgcYQinsJc",group:"_1ZoR0sEEaGhVHgcYQinsJc",heading:"_22uUVIh5TQkBELUwu42DsA",heading:"_22uUVIh5TQkBELUwu42DsA",elemAfter:"_2Zx6kJLtFe5Dpk3sh36m2S",elemAfter:"_2Zx6kJLtFe5Dpk3sh36m2S",content:"_1ayO6e8yukEoLWdpNoIChD",content:"_1ayO6e8yukEoLWdpNoIChD"}},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var r=this[t];r[2]?e.push("@media "+r[2]+"{"+r[1]+"}"):e.push(r[1])}return e.join("")},e.i=function(t,r){"string"==typeof t&&(t=[[null,t,""]]);for(var n={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(n[i]=!0)}for(o=0;o<t.length;o++){var a=t[o];"number"==typeof a[0]&&n[a[0]]||(r&&!a[2]?a[2]=r:r&&(a[2]="("+a[2]+") and ("+r+")"),e.push(a))}},e}},function(e,t,r){function n(e,t){for(var r=0;r<e.length;r++){var n=e[r],o=d[n.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](n.parts[i]);for(;i<n.parts.length;i++)o.parts.push(u(n.parts[i],t))}else{for(var a=[],i=0;i<n.parts.length;i++)a.push(u(n.parts[i],t));d[n.id]={id:n.id,refs:1,parts:a}}}}function o(e){for(var t=[],r={},n=0;n<e.length;n++){var o=e[n],i=o[0],a=o[1],s=o[2],l=o[3],u={css:a,media:s,sourceMap:l};r[i]?r[i].parts.push(u):t.push(r[i]={id:i,parts:[u]})}return t}function i(e,t){var r=m(),n=x[x.length-1];if("top"===e.insertAt)n?n.nextSibling?r.insertBefore(t,n.nextSibling):r.appendChild(t):r.insertBefore(t,r.firstChild),x.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");r.appendChild(t)}}function a(e){e.parentNode.removeChild(e);var t=x.indexOf(e);t>=0&&x.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",i(e,t),t}function l(e){var t=document.createElement("link");return t.rel="stylesheet",i(e,t),t}function u(e,t){var r,n,o;if(t.singleton){var i=v++;r=g||(g=s(t)),n=p.bind(null,r,i,!1),o=p.bind(null,r,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(r=l(t),n=c.bind(null,r),o=function(){a(r),r.href&&URL.revokeObjectURL(r.href)}):(r=s(t),n=f.bind(null,r),o=function(){a(r)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else o()}}function p(e,t,r,n){var o=r?"":n.css;if(e.styleSheet)e.styleSheet.cssText=y(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function f(e,t){var r=t.css,n=t.media;if(n&&e.setAttribute("media",n),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}function c(e,t){var r=t.css,n=t.sourceMap;n&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");var o=new Blob([r],{type:"text/css"}),i=e.href;e.href=URL.createObjectURL(o),i&&URL.revokeObjectURL(i)}var d={},h=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},b=h(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),m=h(function(){return document.head||document.getElementsByTagName("head")[0]}),g=null,v=0,x=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=b()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var r=o(e);return n(r,t),function(e){for(var i=[],a=0;a<r.length;a++){var s=r[a],l=d[s.id];l.refs--,i.push(l)}if(e){var u=o(e);n(u,t)}for(var a=0;a<i.length;a++){var l=i[a];if(0===l.refs){for(var p=0;p<l.parts.length;p++)l.parts[p]();delete d[l.id]}}}};var y=function(){var e=[];return function(t,r){return e[t]=r,e.filter(Boolean).join("\n")}}()}])}); |
{ | ||
"name": "ak-droplist-group", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "ak-droplist-group component", | ||
@@ -5,0 +5,0 @@ "main": "dist/bundle.js", |
@@ -5,3 +5,3 @@ [![AtlasKit component registry](https://img.shields.io/badge/AtlasKit-components-FF5230.svg)](http://aui-cdn.atlassian.com/atlaskit/registry/) | ||
[![Report an issue](https://img.shields.io/badge/Report-an_issue-6554C0.svg)](https://ecosystem.atlassian.net/browse/AK) | ||
[![Ask in our forum](https://img.shields.io/badge/Ask-in_our_forum-6554C0.svg)](https://answers.atlassian.com/questions/ask?title=AtlasKit%3A%20&topics=atlaskit,ak-droplist-group,ak-droplist-group@2.2.0) | ||
[![Ask in our forum](https://img.shields.io/badge/Ask-in_our_forum-6554C0.svg)](https://answers.atlassian.com/questions/ask?title=AtlasKit%3A%20&topics=atlaskit,ak-droplist-group,ak-droplist-group@2.2.1) | ||
@@ -14,3 +14,3 @@ # Group | ||
Interact with a [live demo of the ak-droplist-group component](https://aui-cdn.atlassian.com/atlaskit/stories/ak-droplist-group/2.2.0/). | ||
Interact with a [live demo of the ak-droplist-group component](https://aui-cdn.atlassian.com/atlaskit/stories/ak-droplist-group/2.2.1/). | ||
@@ -52,3 +52,3 @@ ## Installation | ||
Ask a question in our [forum](https://answers.atlassian.com/questions/ask?title=AtlasKit%3A%20&topics=atlaskit,ak-droplist-group,ak-droplist-group@2.2.0). | ||
Ask a question in our [forum](https://answers.atlassian.com/questions/ask?title=AtlasKit%3A%20&topics=atlaskit,ak-droplist-group,ak-droplist-group@2.2.1). | ||
@@ -55,0 +55,0 @@ Check [if someone has already asked the same question before](https://answers.atlassian.com/questions/topics/42926171/atlaskit). |
@@ -9,2 +9,2 @@ import { Component } from 'react'; | ||
export default class Group extends Component<Props, State> {}; | ||
export default class Group extends Component<Props, State> {} |
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
59662