bonree-icons 6.0.63 → 6.0.64
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.
- package/ContainerInside.js +1 -0
- package/index.js +1 -1
- package/index.min.js +1 -1
- package/package.json +1 -1
- package/types/ContainerInside.d.ts +31 -0
- package/types/ContainerInside.d.ts.map +1 -0
- package/types/index.d.ts +2 -0
- package/types/index.d.ts.map +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(r,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("react")):"function"==typeof define&&define.amd?define(["react"],n):"object"==typeof exports?exports.index=n(require("react")):r.index=n(r.react)}(self,(function(r){return function(){"use strict";var n={84649:function(r,n,e){var o=e(8081),t=e.n(o),i=e(23645),a=e.n(i)()(t());a.push([r.id,".bonree-icons-wrapper-ContainerInside {\r\n font-size: 16px;\r\n box-sizing: border-box;\r\n color: #6F7782;\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.bonree-icons-wrapper-ContainerInside.bonree-icons-cancel-font-size {\r\n font-size: inherit;\r\n}\r\n\r\n/* 绿色-按钮 */\r\n.bonree-icons-button-ContainerInside {\r\n width: 24px;\r\n height: 24px;\r\n}\r\n\r\n.bonree-icons-button-ContainerInside: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-ContainerInside: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-ContainerInside: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-ContainerInside {\r\n width: 24px;\r\n height: 24px;\r\n}\r\n\r\n.bonree-icons-blue-button-ContainerInside:hover {\r\n cursor: pointer;\r\n background-color: rgba(0, 106, 255, 0.08);\r\n color: #2989ff;\r\n border-radius: 3px;\r\n}\r\n\r\n.bonree-icons-blue-button-ContainerInside:active {\r\n cursor: pointer;\r\n background-color: rgba(0, 106, 255, 0.08);\r\n color: #0053d9;\r\n border-radius: 3px;\r\n}\r\n\r\n.bonree-icons-blue-button-ContainerInside:focus {\r\n cursor: pointer;\r\n background-color: rgba(0, 106, 255, 0.08);\r\n color: #2989ff;\r\n border-radius: 3px;\r\n}\r\n\r\n/* 绿色-边框 */\r\n.bonree-icons-border-ContainerInside {\r\n font-size: calc(16px - 2px);\r\n border-radius: 3px;\r\n border: 1px solid #d3d8df;\r\n width: 32px;\r\n height: 32px;\r\n}\r\n\r\n.bonree-icons-border-ContainerInside:hover {\r\n border-radius: 3px;\r\n border: 1px solid #00D8E6;\r\n}\r\n\r\n.bonree-icons-border-ContainerInside: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-ContainerInside:focus {\r\n border-radius: 3px;\r\n border: 1px solid #00D8E6;\r\n}\r\n\r\n/* 蓝色-边框 */\r\n.bonree-icons-blue-border-ContainerInside {\r\n font-size: calc(16px - 2px);\r\n border-radius: 3px;\r\n border: 1px solid #d3d8df;\r\n width: 32px;\r\n height: 32px;\r\n}\r\n\r\n.bonree-icons-blue-border-ContainerInside:hover {\r\n border-radius: 3px;\r\n border: 1px solid #2989ff;\r\n}\r\n\r\n.bonree-icons-blue-border-ContainerInside:active {\r\n border-radius: 3px;\r\n border: 1px solid #0053d9;\r\n box-shadow: 0 0 0 3px rgba(0, 106, 255, 0.08);\r\n}\r\n\r\n.bonree-icons-blue-border-ContainerInside:focus {\r\n border-radius: 3px;\r\n border: 1px solid #2989ff;\r\n}\r\n\r\n/* 禁止 */\r\n.bonree-icons-border-disabled-ContainerInside {\r\n cursor: not-allowed;\r\n color: #a7b1be;\r\n background-color: #f5f7fa;\r\n border: 1px solid #d3d8df;\r\n}\r\n\r\n.bonree-icons-border-disabled-ContainerInside:hover {\r\n cursor: not-allowed;\r\n color: #a7b1be;\r\n background-color: #f5f7fa;\r\n border: 1px solid #d3d8df;\r\n}\r\n\r\n.bonree-icons-border-disabled-ContainerInside:active {\r\n border: 1px solid #d3d8df;\r\n box-shadow: none;\r\n}\r\n\r\n.bonree-icons-disabled-ContainerInside {\r\n cursor: not-allowed;\r\n color: #a7b1be;\r\n background-color: #f5f7fa;\r\n}\r\n\r\n.bonree-icons-disabled-ContainerInside:hover {\r\n cursor: not-allowed;\r\n color: #a7b1be;\r\n background-color: #f5f7fa;\r\n}\r\n\r\n.bonree-icons-disabled-ContainerInside:active {\r\n box-shadow: none;\r\n}",""]),n.Z=a},23645:function(r){r.exports=function(r){var n=[];return n.toString=function(){return this.map((function(n){var e="",o=void 0!==n[5];return n[4]&&(e+="@supports (".concat(n[4],") {")),n[2]&&(e+="@media ".concat(n[2]," {")),o&&(e+="@layer".concat(n[5].length>0?" ".concat(n[5]):""," {")),e+=r(n),o&&(e+="}"),n[2]&&(e+="}"),n[4]&&(e+="}"),e})).join("")},n.i=function(r,e,o,t,i){"string"==typeof r&&(r=[[null,r,void 0]]);var a={};if(o)for(var c=0;c<this.length;c++){var s=this[c][0];null!=s&&(a[s]=!0)}for(var d=0;d<r.length;d++){var u=[].concat(r[d]);o&&a[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),e&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=e):u[2]=e),t&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=t):u[4]="".concat(t)),n.push(u))}},n}},8081:function(r){r.exports=function(r){return r[1]}},27418:function(r){var n=Object.getOwnPropertySymbols,e=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 n={},e=0;e<10;e++)n["_"+String.fromCharCode(e)]=e;if("0123456789"!==Object.getOwnPropertyNames(n).map((function(r){return n[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,i){for(var a,c,s=t(r),d=1;d<arguments.length;d++){for(var u in a=Object(arguments[d]))e.call(a,u)&&(s[u]=a[u]);if(n){c=n(a);for(var l=0;l<c.length;l++)o.call(a,c[l])&&(s[c[l]]=a[c[l]])}}return s}},75251:function(r,n,e){e(27418);var o=e(8156),t=60103;if(60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;t=i("react.element"),i("react.fragment")}var a=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c=Object.prototype.hasOwnProperty,s={key:!0,ref:!0,__self:!0,__source:!0};function d(r,n,e){var o,i={},d=null,u=null;for(o in void 0!==e&&(d=""+e),void 0!==n.key&&(d=""+n.key),void 0!==n.ref&&(u=n.ref),n)c.call(n,o)&&!s.hasOwnProperty(o)&&(i[o]=n[o]);if(r&&r.defaultProps)for(o in n=r.defaultProps)void 0===i[o]&&(i[o]=n[o]);return{$$typeof:t,type:r,key:d,ref:u,props:i,_owner:a.current}}n.jsx=d},85893:function(r,n,e){r.exports=e(75251)},93379:function(r){var n=[];function e(r){for(var e=-1,o=0;o<n.length;o++)if(n[o].identifier===r){e=o;break}return e}function o(r,o){for(var i={},a=[],c=0;c<r.length;c++){var s=r[c],d=o.base?s[0]+o.base:s[0],u=i[d]||0,l="".concat(d," ").concat(u);i[d]=u+1;var b=e(l),f={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==b)n[b].references++,n[b].updater(f);else{var p=t(f,o);o.byIndex=c,n.splice(c,0,{identifier:l,updater:p,references:1})}a.push(l)}return a}function t(r,n){var e=n.domAPI(n);e.update(r);return function(n){if(n){if(n.css===r.css&&n.media===r.media&&n.sourceMap===r.sourceMap&&n.supports===r.supports&&n.layer===r.layer)return;e.update(r=n)}else e.remove()}}r.exports=function(r,t){var i=o(r=r||[],t=t||{});return function(r){r=r||[];for(var a=0;a<i.length;a++){var c=e(i[a]);n[c].references--}for(var s=o(r,t),d=0;d<i.length;d++){var u=e(i[d]);0===n[u].references&&(n[u].updater(),n.splice(u,1))}i=s}}},90569:function(r){var n={};r.exports=function(r,e){var o=function(r){if(void 0===n[r]){var e=document.querySelector(r);if(window.HTMLIFrameElement&&e instanceof window.HTMLIFrameElement)try{e=e.contentDocument.head}catch(r){e=null}n[r]=e}return n[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(e)}},19216:function(r){r.exports=function(r){var n=document.createElement("style");return r.setAttributes(n,r.attributes),r.insert(n,r.options),n}},3565:function(r,n,e){r.exports=function(r){var n=e.nc;n&&r.setAttribute("nonce",n)}},7795:function(r){r.exports=function(r){var n=r.insertStyleElement(r);return{update:function(e){!function(r,n,e){var o="";e.supports&&(o+="@supports (".concat(e.supports,") {")),e.media&&(o+="@media ".concat(e.media," {"));var t=void 0!==e.layer;t&&(o+="@layer".concat(e.layer.length>0?" ".concat(e.layer):""," {")),o+=e.css,t&&(o+="}"),e.media&&(o+="}"),e.supports&&(o+="}");var i=e.sourceMap;i&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),n.styleTagTransform(o,r,n.options)}(n,r,e)},remove:function(){!function(r){if(null===r.parentNode)return!1;r.parentNode.removeChild(r)}(n)}}}},44589:function(r){r.exports=function(r,n){if(n.styleSheet)n.styleSheet.cssText=r;else{for(;n.firstChild;)n.removeChild(n.firstChild);n.appendChild(document.createTextNode(r))}}},8156:function(n){n.exports=r}},e={};function o(r){var t=e[r];if(void 0!==t)return t.exports;var i=e[r]={id:r,exports:{}};return n[r](i,i.exports,o),i.exports}o.n=function(r){var n=r&&r.__esModule?function(){return r.default}:function(){return r};return o.d(n,{a:n}),n},o.d=function(r,n){for(var e in n)o.o(n,e)&&!o.o(r,e)&&Object.defineProperty(r,e,{enumerable:!0,get:n[e]})},o.o=function(r,n){return Object.prototype.hasOwnProperty.call(r,n)};var t={};return function(){o.d(t,{default:function(){return g}});var r=o(85893),n=o(93379),e=o.n(n),i=o(7795),a=o.n(i),c=o(90569),s=o.n(c),d=o(3565),u=o.n(d),l=o(19216),b=o.n(l),f=o(44589),p=o.n(f),h=o(84649),v={};v.styleTagTransform=p(),v.setAttributes=u(),v.insert=s().bind(null,"head"),v.domAPI=a(),v.insertStyleElement=b();e()(h.Z,v),h.Z&&h.Z.locals&&h.Z.locals;var x=function(){return x=Object.assign||function(r){for(var n,e=1,o=arguments.length;e<o;e++)for(var t in n=arguments[e])Object.prototype.hasOwnProperty.call(n,t)&&(r[t]=n[t]);return r},x.apply(this,arguments)},g=function(n){return(0,r.jsx)("span",x({id:n.id,style:(e=n.style,null==n.height&&null==n.width||null!=e&&null!=e.fontSize&&delete e.fontSize,e),onMouseEnter:function(r){return n.onMouseEnter&&n.onMouseEnter(r)},onMouseLeave:function(r){return n.onMouseLeave&&n.onMouseLeave(r)},className:"bonree-icons-wrapper bonree-icons-wrapper-ContainerInside "+(1==n.button?1==n.blue?"bonree-icons-blue-button-ContainerInside":"bonree-icons-button-ContainerInside":"")+" "+(1==n.border?1==n.blue?"bonree-icons-blue-border-ContainerInside":"bonree-icons-border-ContainerInside":"")+" "+(1==n.disabled?1==n.border?"bonree-icons-border-disabled-ContainerInside":"bonree-icons-disabled-ContainerInside":"")+" "+(null!=n.height||null!=n.width?"bonree-icons-cancel-font-size":"")+" "+(n.className||""),onClick:function(r){return function(r){n.onClick&&n.onClick(r)}(r)}},{children:(0,r.jsx)("svg",x({focusable:"false",width:n.width?n.width:n.height?void 0:"1em",height:n.height?n.height:n.width?void 0:"1em",fill:"currentColor",viewBox:"0 0 16 16"},{children:(0,r.jsx)("g",{children:(0,r.jsx)("path",{d:"M13.144 1.892c.444 0 .846.272 1.003.735l1.3 5.498a.97.97 0 0 1 .048.42l.005.063v4.429c0 .54-.376 1.005-.888 1.065l-.112.006h-13c-.53 0-.942-.43-.995-.957L.5 13.037V8.608l.006-.063L.5 8.443c0-.081.01-.162.024-.22l.015-.05L1.866 2.58a1.04 1.04 0 0 1 .99-.688zM14.5 9.446l-.043.002h-4.55l-.017.07a1.975 1.975 0 0 1-1.743 1.398L8 10.922c-.867 0-1.61-.56-1.874-1.363l-.032-.111H1.5v3.589l.007.068-.007.003h13l-.007-.003.007-.068V9.446zM2.822 2.876 1.5 8.443c0-.006.011.005.042.005h4.984a.5.5 0 0 1 .5.476l.005.118a.974.974 0 0 0 1.942-.094.5.5 0 0 1 .5-.5h4.996l.024-.008c.004-.004.001-.011-.006-.036l-1.3-5.498c0-.003-.017-.014-.043-.014H2.826c-.006-.003-.007-.012 0-.034zm.054 4.865a.147.147 0 0 1-.144-.178l.784-3.697a.147.147 0 0 1 .145-.117h8.678c.07 0 .13.049.144.117l.784 3.697a.147.147 0 0 1-.144.178H9.105a1.105 1.105 0 0 1-2.204.106l-.006-.106H2.876z"},void 0)},void 0)}),void 0)}),void 0);var e}}(),t=t.default}()}));
|