bonree-icons 4.1.7 → 4.1.8
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/DataviewLwops.js +1 -0
- package/index.js +1 -1
- package/index.min.js +1 -1
- package/package.json +1 -1
- package/types/DataviewLwops.d.ts +27 -0
- package/types/DataviewLwops.d.ts.map +1 -0
- package/types/index.d.ts +2 -0
- package/types/index.d.ts.map +1 -1
package/DataviewLwops.js
ADDED
|
@@ -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={86046:function(r,n,e){var o=e(8081),t=e.n(o),a=e(23645),i=e.n(a)()(t());i.push([r.id,".bonree-icons-wrapper-DataviewLwops {\r\n font-size: 48px;\r\n box-sizing: border-box;\r\n color: #4E4E4E;\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-DataviewLwops: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-DataviewLwops: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-DataviewLwops: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-DataviewLwops: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-DataviewLwops: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-DataviewLwops: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-DataviewLwops {\r\n font-size: calc(48px - 2px);\r\n border-radius: 3px;\r\n border: 1px solid #d9d9d9;\r\n}\r\n\r\n.bonree-icons-border-DataviewLwops:hover {\r\n border-radius: 3px;\r\n border: 1px solid #00D8E6;\r\n}\r\n\r\n.bonree-icons-border-DataviewLwops: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-DataviewLwops:focus {\r\n border-radius: 3px;\r\n border: 1px solid #00D8E6;\r\n}\r\n\r\n/* 蓝色-边框 */\r\n.bonree-icons-blue-border-DataviewLwops {\r\n font-size: calc(48px - 2px);\r\n border-radius: 3px;\r\n border: 1px solid #d9d9d9;\r\n}\r\n\r\n.bonree-icons-blue-border-DataviewLwops:hover {\r\n border-radius: 3px;\r\n border: 1px solid #299BFF;\r\n}\r\n\r\n.bonree-icons-blue-border-DataviewLwops: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-DataviewLwops:focus {\r\n border-radius: 3px;\r\n border: 1px solid #299BFF;\r\n}\r\n\r\n/* 禁止 */\r\n.bonree-icons-border-disabled-DataviewLwops {\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-DataviewLwops: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-DataviewLwops:active {\r\n border: 1px solid #d9d9d9;\r\n box-shadow: none;\r\n}\r\n\r\n.bonree-icons-disabled-DataviewLwops {\r\n cursor: not-allowed;\r\n color: #B5B5B5;\r\n background-color: #f5f5f5;\r\n}\r\n\r\n.bonree-icons-disabled-DataviewLwops:hover {\r\n cursor: not-allowed;\r\n color: #B5B5B5;\r\n background-color: #f5f5f5;\r\n}\r\n\r\n.bonree-icons-disabled-DataviewLwops:active {\r\n box-shadow: none;\r\n}",""]),n.Z=i},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,a){"string"==typeof r&&(r=[[null,r,void 0]]);var i={};if(o)for(var c=0;c<this.length;c++){var s=this[c][0];null!=s&&(i[s]=!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),e&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=e):d[2]=e),t&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=t):d[4]="".concat(t)),n.push(d))}},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,a){for(var i,c,s=t(r),u=1;u<arguments.length;u++){for(var d in i=Object(arguments[u]))e.call(i,d)&&(s[d]=i[d]);if(n){c=n(i);for(var l=0;l<c.length;l++)o.call(i,c[l])&&(s[c[l]]=i[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 a=Symbol.for;t=a("react.element"),a("react.fragment")}var i=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 u(r,n,e){var o,a={},u=null,d=null;for(o in void 0!==e&&(u=""+e),void 0!==n.key&&(u=""+n.key),void 0!==n.ref&&(d=n.ref),n)c.call(n,o)&&!s.hasOwnProperty(o)&&(a[o]=n[o]);if(r&&r.defaultProps)for(o in n=r.defaultProps)void 0===a[o]&&(a[o]=n[o]);return{$$typeof:t,type:r,key:u,ref:d,props:a,_owner:i.current}}n.jsx=u},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 a={},i=[],c=0;c<r.length;c++){var s=r[c],u=o.base?s[0]+o.base:s[0],d=a[u]||0,l="".concat(u," ").concat(d);a[u]=d+1;var p=e(l),b={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==p)n[p].references++,n[p].updater(b);else{var f=t(b,o);o.byIndex=c,n.splice(c,0,{identifier:l,updater:f,references:1})}i.push(l)}return i}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 a=o(r=r||[],t=t||{});return function(r){r=r||[];for(var i=0;i<a.length;i++){var c=e(a[i]);n[c].references--}for(var s=o(r,t),u=0;u<a.length;u++){var d=e(a[u]);0===n[d].references&&(n[d].updater(),n.splice(d,1))}a=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 a=e.sourceMap;a&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),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 a=e[r]={id:r,exports:{}};return n[r](a,a.exports,o),a.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 x}});var r=o(85893),n=o(93379),e=o.n(n),a=o(7795),i=o.n(a),c=o(90569),s=o.n(c),u=o(3565),d=o.n(u),l=o(19216),p=o.n(l),b=o(44589),f=o.n(b),v=o(86046),w={};w.styleTagTransform=f(),w.setAttributes=d(),w.insert=s().bind(null,"head"),w.domAPI=i(),w.insertStyleElement=p();e()(v.Z,w),v.Z&&v.Z.locals&&v.Z.locals;var h=function(){return h=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},h.apply(this,arguments)},x=function(n){return(0,r.jsx)("span",h({id:n.id,style:n.style,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-DataviewLwops "+(1==n.button?1==n.blue?"bonree-icons-blue-button-DataviewLwops":"bonree-icons-button-DataviewLwops":"")+" "+(1==n.border?1==n.blue?"bonree-icons-blue-border-DataviewLwops":"bonree-icons-border-DataviewLwops":"")+" "+(1==n.disabled?1==n.border?"bonree-icons-border-disabled-DataviewLwops":"bonree-icons-disabled-DataviewLwops":"")+" "+(n.className||""),onClick:function(r){return function(r){n.onClick&&n.onClick(r)}(r)}},{children:(0,r.jsx)("svg",h({focusable:"false",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 48 48"},{children:(0,r.jsx)("path",{d:"M25.646 19.975c.68 0 1.3.11 1.857.333a4.093 4.093 0 0 1 1.436.944c.398.407.704.9.919 1.477.214.574.32 1.21.32 1.91 0 .698-.107 1.332-.32 1.901a4.18 4.18 0 0 1-.92 1.468c-.397.408-.877.72-1.436.937a5.096 5.096 0 0 1-1.856.323c-.68 0-1.296-.107-1.848-.323a4.016 4.016 0 0 1-1.428-.937 4.18 4.18 0 0 1-.919-1.468c-.214-.569-.32-1.203-.32-1.902 0-.698.106-1.335.32-1.91.215-.576.521-1.069.919-1.476a4.109 4.109 0 0 1 1.426-.944c.552-.222 1.17-.333 1.85-.333zM2.962 17v9.462l5.603.001v2.594H0V17h2.962zm7.748 3.203 1.37 5.114 1.242-5.114h2.56l1.27 5.107 1.374-5.107h2.814l-2.764 8.854H15.9l-1.327-5.055-1.269 5.055h-2.693l-2.78-8.854h2.878zm14.936 1.736c-.386 0-.708.079-.966.236-.257.157-.464.36-.62.61-.155.249-.265.536-.33.861a5.093 5.093 0 0 0 0 1.976c.065.32.175.607.33.862.156.254.363.458.62.61.258.151.58.227.966.227.387 0 .711-.076.974-.228.263-.151.472-.355.628-.61.156-.254.266-.541.33-.861a5.093 5.093 0 0 0 0-1.976 2.546 2.546 0 0 0-.33-.861 1.839 1.839 0 0 0-.628-.61c-.263-.157-.587-.236-.974-.236zm10.078-1.964c.688 0 1.285.133 1.79.4.5.263.916.615 1.247 1.053.33.435.573.94.73 1.515.156.568.234 1.16.234 1.777 0 .585-.078 1.148-.234 1.69a4.382 4.382 0 0 1-.722 1.456 3.617 3.617 0 0 1-1.216 1.02c-.488.256-1.055.382-1.7.382a3.426 3.426 0 0 1-1.517-.338 2.905 2.905 0 0 1-.558-.353l-.165-.145-.07-.072V32h-2.72V20.203h2.607v.69l.065-.07c.106-.109.22-.206.34-.292l.185-.121.196-.105c.459-.22.962-.33 1.508-.33zm-.499 2.398c-.375 0-.69.069-.941.206a1.79 1.79 0 0 0-.612.533 2.064 2.064 0 0 0-.33.753 3.971 3.971 0 0 0-.097.88c0 .294.035.583.105.867.07.284.182.532.338.745.155.213.362.386.62.519.257.132.569.199.933.199.376 0 .69-.067.942-.2.252-.132.456-.305.612-.518.156-.213.266-.461.33-.745s.097-.573.097-.867a3.62 3.62 0 0 0-.105-.866 2.161 2.161 0 0 0-.346-.76 1.836 1.836 0 0 0-.62-.54c-.252-.137-.56-.206-.926-.206zm8.662-2.398c-.464 0-.917.042-1.36.126a3.825 3.825 0 0 0-1.227.448 2.545 2.545 0 0 0-.906.898c-.233.385-.347.87-.347 1.451 0 .408.085.76.257 1.052.167.283.388.518.662.704.264.18.564.324.9.433.322.105.653.197.992.274.809.172 1.435.343 1.88.512.378.144.542.33.542.57 0 .16-.036.285-.103.38a.882.882 0 0 1-.291.26c-.126.071-.267.123-.424.157a2.212 2.212 0 0 1-.463.052 2.38 2.38 0 0 1-.599-.074 1.47 1.47 0 0 1-.485-.22 1.124 1.124 0 0 1-.33-.368 1.05 1.05 0 0 1-.123-.528v-.224h-2.617l.01.232c.022.601.158 1.108.411 1.518.249.403.568.728.955.973a3.93 3.93 0 0 0 1.302.517 7.227 7.227 0 0 0 2.895.009 3.723 3.723 0 0 0 1.288-.51c.384-.247.695-.573.932-.977.243-.411.362-.914.362-1.506 0-.428-.084-.794-.255-1.096a2.298 2.298 0 0 0-.658-.737 3.406 3.406 0 0 0-.902-.46 9.796 9.796 0 0 0-.996-.283l-.48-.11-.473-.102a7.08 7.08 0 0 1-.805-.213 1.523 1.523 0 0 1-.515-.276.41.41 0 0 1-.148-.333c0-.123.027-.209.076-.268a.629.629 0 0 1 .234-.176c.103-.045.22-.075.348-.089.143-.015.275-.023.396-.023.376 0 .696.071.965.211.227.12.354.348.38.72l.015.207h2.612l-.02-.243c-.046-.556-.188-1.022-.43-1.397a2.838 2.838 0 0 0-.898-.89 3.663 3.663 0 0 0-1.205-.466 6.742 6.742 0 0 0-1.354-.135z"},void 0)}),void 0)}),void 0)}}(),t=t.default}()}));
|