bonree-icons 4.1.5 → 4.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ !function(r,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.index=e(require("react")):r.index=e(r.react)}(self,(function(r){return function(){"use strict";var e={40879:function(r,e,n){var o=n(8081),t=n.n(o),a=n(23645),i=n.n(a)()(t());i.push([r.id,".bonree-icons-wrapper-CustomHeaderM {\r\n font-size: 24px;\r\n box-sizing: border-box;\r\n color: #888888;\r\n font-style: normal;\r\n line-height: 0;\r\n display: inline-block;\r\n text-align: center;\r\n text-transform: none;\r\n vertical-align: middle;\r\n text-rendering: optimizeLegibility;\r\n -webkit-font-smoothing: antialiased;\r\n -moz-osx-font-smoothing: grayscale;\r\n}\r\n\r\n/* 绿色-按钮 */\r\n.bonree-icons-button-CustomHeaderM:hover {\r\n cursor: pointer;\r\n background-color: rgba(0, 204, 217, 0.1);\r\n color: #00D8E6;\r\n border-radius: 3px;\r\n}\r\n\r\n.bonree-icons-button-CustomHeaderM:active {\r\n cursor: pointer;\r\n background-color: rgba(0, 204, 217, 0.1);\r\n color: #00A3BD;\r\n border-radius: 3px;\r\n}\r\n\r\n.bonree-icons-button-CustomHeaderM:focus {\r\n cursor: pointer;\r\n background-color: rgba(0, 204, 217, 0.1);\r\n color: #00D8E6;\r\n border-radius: 3px;\r\n}\r\n\r\n/* 蓝色-按钮 */\r\n.bonree-icons-blue-button-CustomHeaderM:hover {\r\n cursor: pointer;\r\n background-color: rgba(0, 124, 248, 0.08);\r\n color: #299BFF;\r\n border-radius: 3px;\r\n}\r\n\r\n.bonree-icons-blue-button-CustomHeaderM:active {\r\n cursor: pointer;\r\n background-color: rgba(0, 124, 248, 0.08);\r\n color: #0062D1;\r\n border-radius: 3px;\r\n}\r\n\r\n.bonree-icons-blue-button-CustomHeaderM:focus {\r\n cursor: pointer;\r\n background-color: rgba(0, 124, 248, 0.08);\r\n color: #299BFF;\r\n border-radius: 3px;\r\n}\r\n\r\n/* 绿色-边框 */\r\n.bonree-icons-border-CustomHeaderM {\r\n font-size: calc(24px - 2px);\r\n border-radius: 3px;\r\n border: 1px solid #d9d9d9;\r\n}\r\n\r\n.bonree-icons-border-CustomHeaderM:hover {\r\n border-radius: 3px;\r\n border: 1px solid #00D8E6;\r\n}\r\n\r\n.bonree-icons-border-CustomHeaderM:active {\r\n border-radius: 3px;\r\n border: 1px solid #00A3BD;\r\n box-shadow: 0 0 0 3px rgba(0, 204, 217, 0.1);\r\n}\r\n\r\n.bonree-icons-border-CustomHeaderM:focus {\r\n border-radius: 3px;\r\n border: 1px solid #00D8E6;\r\n}\r\n\r\n/* 蓝色-边框 */\r\n.bonree-icons-blue-border-CustomHeaderM {\r\n font-size: calc(24px - 2px);\r\n border-radius: 3px;\r\n border: 1px solid #d9d9d9;\r\n}\r\n\r\n.bonree-icons-blue-border-CustomHeaderM:hover {\r\n border-radius: 3px;\r\n border: 1px solid #299BFF;\r\n}\r\n\r\n.bonree-icons-blue-border-CustomHeaderM:active {\r\n border-radius: 3px;\r\n border: 1px solid #0062D1;\r\n box-shadow: 0 0 0 3px rgba(0, 124, 248, 0.08);\r\n}\r\n\r\n.bonree-icons-blue-border-CustomHeaderM:focus {\r\n border-radius: 3px;\r\n border: 1px solid #299BFF;\r\n}\r\n\r\n/* 禁止 */\r\n.bonree-icons-border-disabled-CustomHeaderM {\r\n cursor: not-allowed;\r\n color: #B5B5B5;\r\n background-color: #f5f5f5;\r\n border: 1px solid #d9d9d9;\r\n}\r\n\r\n.bonree-icons-border-disabled-CustomHeaderM:hover {\r\n cursor: not-allowed;\r\n color: #B5B5B5;\r\n background-color: #f5f5f5;\r\n border: 1px solid #d9d9d9;\r\n}\r\n\r\n.bonree-icons-border-disabled-CustomHeaderM:active {\r\n border: 1px solid #d9d9d9;\r\n box-shadow: none;\r\n}\r\n\r\n.bonree-icons-disabled-CustomHeaderM {\r\n cursor: not-allowed;\r\n color: #B5B5B5;\r\n background-color: #f5f5f5;\r\n}\r\n\r\n.bonree-icons-disabled-CustomHeaderM:hover {\r\n cursor: not-allowed;\r\n color: #B5B5B5;\r\n background-color: #f5f5f5;\r\n}\r\n\r\n.bonree-icons-disabled-CustomHeaderM:active {\r\n box-shadow: none;\r\n}",""]),e.Z=i},23645:function(r){r.exports=function(r){var e=[];return e.toString=function(){return this.map((function(e){var n="",o=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),o&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=r(e),o&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(r,n,o,t,a){"string"==typeof r&&(r=[[null,r,void 0]]);var i={};if(o)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(i[c]=!0)}for(var u=0;u<r.length;u++){var d=[].concat(r[u]);o&&i[d[0]]||(void 0!==a&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=a),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),t&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=t):d[4]="".concat(t)),e.push(d))}},e}},8081:function(r){r.exports=function(r){return r[1]}},27418:function(r){var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function t(r){if(null==r)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(r)}r.exports=function(){try{if(!Object.assign)return!1;var r=new String("abc");if(r[5]="de","5"===Object.getOwnPropertyNames(r)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(r){return e[r]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(r){o[r]=r})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(r){return!1}}()?Object.assign:function(r,a){for(var i,s,c=t(r),u=1;u<arguments.length;u++){for(var d in i=Object(arguments[u]))n.call(i,d)&&(c[d]=i[d]);if(e){s=e(i);for(var l=0;l<s.length;l++)o.call(i,s[l])&&(c[s[l]]=i[s[l]])}}return c}},75251:function(r,e,n){n(27418);var o=n(8156),t=60103;if(60107,"function"==typeof Symbol&&Symbol.for){var a=Symbol.for;t=a("react.element"),a("react.fragment")}var i=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,c={key:!0,ref:!0,__self:!0,__source:!0};function u(r,e,n){var o,a={},u=null,d=null;for(o in void 0!==n&&(u=""+n),void 0!==e.key&&(u=""+e.key),void 0!==e.ref&&(d=e.ref),e)s.call(e,o)&&!c.hasOwnProperty(o)&&(a[o]=e[o]);if(r&&r.defaultProps)for(o in e=r.defaultProps)void 0===a[o]&&(a[o]=e[o]);return{$$typeof:t,type:r,key:u,ref:d,props:a,_owner:i.current}}e.jsx=u},85893:function(r,e,n){r.exports=n(75251)},93379:function(r){var e=[];function n(r){for(var n=-1,o=0;o<e.length;o++)if(e[o].identifier===r){n=o;break}return n}function o(r,o){for(var a={},i=[],s=0;s<r.length;s++){var c=r[s],u=o.base?c[0]+o.base:c[0],d=a[u]||0,l="".concat(u," ").concat(d);a[u]=d+1;var b=n(l),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==b)e[b].references++,e[b].updater(f);else{var p=t(f,o);o.byIndex=s,e.splice(s,0,{identifier:l,updater:p,references:1})}i.push(l)}return i}function t(r,e){var n=e.domAPI(e);n.update(r);return function(e){if(e){if(e.css===r.css&&e.media===r.media&&e.sourceMap===r.sourceMap&&e.supports===r.supports&&e.layer===r.layer)return;n.update(r=e)}else n.remove()}}r.exports=function(r,t){var a=o(r=r||[],t=t||{});return function(r){r=r||[];for(var i=0;i<a.length;i++){var s=n(a[i]);e[s].references--}for(var c=o(r,t),u=0;u<a.length;u++){var d=n(a[u]);0===e[d].references&&(e[d].updater(),e.splice(d,1))}a=c}}},90569:function(r){var e={};r.exports=function(r,n){var o=function(r){if(void 0===e[r]){var n=document.querySelector(r);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(r){n=null}e[r]=n}return e[r]}(r);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(n)}},19216:function(r){r.exports=function(r){var e=document.createElement("style");return r.setAttributes(e,r.attributes),r.insert(e,r.options),e}},3565:function(r,e,n){r.exports=function(r){var e=n.nc;e&&r.setAttribute("nonce",e)}},7795:function(r){r.exports=function(r){var e=r.insertStyleElement(r);return{update:function(n){!function(r,e,n){var o="";n.supports&&(o+="@supports (".concat(n.supports,") {")),n.media&&(o+="@media ".concat(n.media," {"));var t=void 0!==n.layer;t&&(o+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),o+=n.css,t&&(o+="}"),n.media&&(o+="}"),n.supports&&(o+="}");var a=n.sourceMap;a&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleTagTransform(o,r,e.options)}(e,r,n)},remove:function(){!function(r){if(null===r.parentNode)return!1;r.parentNode.removeChild(r)}(e)}}}},44589:function(r){r.exports=function(r,e){if(e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}},8156:function(e){e.exports=r}},n={};function o(r){var t=n[r];if(void 0!==t)return t.exports;var a=n[r]={id:r,exports:{}};return e[r](a,a.exports,o),a.exports}o.n=function(r){var e=r&&r.__esModule?function(){return r.default}:function(){return r};return o.d(e,{a:e}),e},o.d=function(r,e){for(var n in e)o.o(e,n)&&!o.o(r,n)&&Object.defineProperty(r,n,{enumerable:!0,get:e[n]})},o.o=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)};var t={};return function(){o.d(t,{default:function(){return x}});var r=o(85893),e=o(93379),n=o.n(e),a=o(7795),i=o.n(a),s=o(90569),c=o.n(s),u=o(3565),d=o.n(u),l=o(19216),b=o.n(l),f=o(44589),p=o.n(f),v=o(40879),m={};m.styleTagTransform=p(),m.setAttributes=d(),m.insert=c().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=b();n()(v.Z,m),v.Z&&v.Z.locals&&v.Z.locals;var h=function(){return h=Object.assign||function(r){for(var e,n=1,o=arguments.length;n<o;n++)for(var t in e=arguments[n])Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r},h.apply(this,arguments)},x=function(e){return(0,r.jsx)("span",h({id:e.id,style:e.style,onMouseEnter:function(r){return e.onMouseEnter&&e.onMouseEnter(r)},onMouseLeave:function(r){return e.onMouseLeave&&e.onMouseLeave(r)},className:"bonree-icons-wrapper bonree-icons-wrapper-CustomHeaderM "+(1==e.button?1==e.blue?"bonree-icons-blue-button-CustomHeaderM":"bonree-icons-button-CustomHeaderM":"")+" "+(1==e.border?1==e.blue?"bonree-icons-blue-border-CustomHeaderM":"bonree-icons-border-CustomHeaderM":"")+" "+(1==e.disabled?1==e.border?"bonree-icons-border-disabled-CustomHeaderM":"bonree-icons-disabled-CustomHeaderM":"")+" "+(e.className||""),onClick:function(r){return function(r){e.onClick&&e.onClick(r)}(r)}},{children:(0,r.jsx)("svg",h({focusable:"false",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 24 24"},{children:(0,r.jsx)("path",{d:"M14.237 7.4c.193 0 .373.103.47.271l1.898 3.288a.542.542 0 0 1 0 .542l-1.899 3.288a.542.542 0 0 1-.47.271H10.44a.542.542 0 0 1-.47-.271L8.074 11.5a.542.542 0 0 1 0-.542L9.972 7.67a.542.542 0 0 1 .47-.271l3.795.001zM13.5 0a1.5 1.5 0 0 1 1.493 1.356L15 1.5v4a.5.5 0 0 1-.992.09L14 5.5H5.5V14H7a.5.5 0 0 1 .09.992L7 15H1.5a1.5 1.5 0 0 1-1.493-1.356L0 13.5v-12A1.5 1.5 0 0 1 1.356.007L1.5 0h12zm.47 8.399h-3.266l-1.634 2.83 1.634 2.83h3.267l1.634-2.83-1.634-2.83h-.001zM4.5 5.5H1v8a.5.5 0 0 0 .41.492L1.5 14h3V5.5zm7.84 4.73a1 1 0 1 1 0 2 1 1 0 0 1 0-2zM13.5 1h-12a.5.5 0 0 0-.492.41L1 1.5v3h13v-3a.5.5 0 0 0-.41-.492L13.5 1z",transform:"translate(4 4)"},void 0)}),void 0)}),void 0)}}(),t=t.default}()}));