wssf-kage-icon 0.1.0
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/README.md +39 -0
- package/dist/icons/ArrowsAltOutlined.d.ts +4 -0
- package/dist/icons/ArrowsAltOutlined.d.ts.map +1 -0
- package/dist/icons/ArrowsAltOutlined.js +50 -0
- package/dist/icons/CaretDownOutlined.d.ts +4 -0
- package/dist/icons/CaretDownOutlined.d.ts.map +1 -0
- package/dist/icons/CaretDownOutlined.js +50 -0
- package/dist/icons/CaretLeftOutlined.d.ts +4 -0
- package/dist/icons/CaretLeftOutlined.d.ts.map +1 -0
- package/dist/icons/CaretLeftOutlined.js +50 -0
- package/dist/icons/CaretRightOutlined.d.ts +4 -0
- package/dist/icons/CaretRightOutlined.d.ts.map +1 -0
- package/dist/icons/CaretRightOutlined.js +50 -0
- package/dist/icons/CaretUpOutlined.d.ts +4 -0
- package/dist/icons/CaretUpOutlined.d.ts.map +1 -0
- package/dist/icons/CaretUpOutlined.js +50 -0
- package/dist/icons/DownCircleOutlined.d.ts +4 -0
- package/dist/icons/DownCircleOutlined.d.ts.map +1 -0
- package/dist/icons/DownCircleOutlined.js +53 -0
- package/dist/icons/DownOutlined.d.ts +4 -0
- package/dist/icons/DownOutlined.d.ts.map +1 -0
- package/dist/icons/DownOutlined.js +50 -0
- package/dist/icons/FastBackwardOutlined.d.ts +4 -0
- package/dist/icons/FastBackwardOutlined.d.ts.map +1 -0
- package/dist/icons/FastBackwardOutlined.js +50 -0
- package/dist/icons/FastForwardOutlined.d.ts +4 -0
- package/dist/icons/FastForwardOutlined.d.ts.map +1 -0
- package/dist/icons/FastForwardOutlined.js +50 -0
- package/dist/icons/LeftCircleOutlined.d.ts +4 -0
- package/dist/icons/LeftCircleOutlined.d.ts.map +1 -0
- package/dist/icons/LeftCircleOutlined.js +53 -0
- package/dist/icons/LeftOutlined.d.ts +4 -0
- package/dist/icons/LeftOutlined.d.ts.map +1 -0
- package/dist/icons/LeftOutlined.js +50 -0
- package/dist/icons/RightCircleOutlined.d.ts +4 -0
- package/dist/icons/RightCircleOutlined.d.ts.map +1 -0
- package/dist/icons/RightCircleOutlined.js +53 -0
- package/dist/icons/RightOutlined.d.ts +4 -0
- package/dist/icons/RightOutlined.d.ts.map +1 -0
- package/dist/icons/RightOutlined.js +50 -0
- package/dist/icons/ShrinkOutlined.d.ts +4 -0
- package/dist/icons/ShrinkOutlined.d.ts.map +1 -0
- package/dist/icons/ShrinkOutlined.js +50 -0
- package/dist/icons/StepBackwardOutlined.d.ts +4 -0
- package/dist/icons/StepBackwardOutlined.d.ts.map +1 -0
- package/dist/icons/StepBackwardOutlined.js +50 -0
- package/dist/icons/StepForwardOutlined.d.ts +4 -0
- package/dist/icons/StepForwardOutlined.d.ts.map +1 -0
- package/dist/icons/StepForwardOutlined.js +50 -0
- package/dist/icons/UpCircleOutlined.d.ts +4 -0
- package/dist/icons/UpCircleOutlined.d.ts.map +1 -0
- package/dist/icons/UpCircleOutlined.js +53 -0
- package/dist/icons/UpOutlined.d.ts +4 -0
- package/dist/icons/UpOutlined.d.ts.map +1 -0
- package/dist/icons/UpOutlined.js +50 -0
- package/dist/icons/index.d.ts +22 -0
- package/dist/icons/index.d.ts.map +1 -0
- package/dist/icons/index.js +123 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +59 -0
- package/dist/kage-icon.min.js +1 -0
- package/package.json +42 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/index.tsx
|
|
21
|
+
var src_exports = {};
|
|
22
|
+
__export(src_exports, {
|
|
23
|
+
Icon: () => Icon,
|
|
24
|
+
default: () => src_default
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(src_exports);
|
|
27
|
+
var import_icons = require("./icons");
|
|
28
|
+
__reExport(src_exports, require("./icons"), module.exports);
|
|
29
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
30
|
+
var Icon = ({
|
|
31
|
+
name,
|
|
32
|
+
size = 16,
|
|
33
|
+
color = "currentColor",
|
|
34
|
+
className,
|
|
35
|
+
style,
|
|
36
|
+
onClick
|
|
37
|
+
}) => {
|
|
38
|
+
const IconComponent = import_icons.iconMap[name];
|
|
39
|
+
if (!IconComponent) {
|
|
40
|
+
console.warn(`Icon "${name}" not found`);
|
|
41
|
+
return null;
|
|
42
|
+
}
|
|
43
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
44
|
+
IconComponent,
|
|
45
|
+
{
|
|
46
|
+
size,
|
|
47
|
+
color,
|
|
48
|
+
className,
|
|
49
|
+
style,
|
|
50
|
+
onClick
|
|
51
|
+
}
|
|
52
|
+
);
|
|
53
|
+
};
|
|
54
|
+
var src_default = Icon;
|
|
55
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
56
|
+
0 && (module.exports = {
|
|
57
|
+
Icon,
|
|
58
|
+
...require("./icons")
|
|
59
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.KageIcon=t():e.KageIcon=t()}(self,(function(){return function(){var e={762:function(e,t,r){"use strict";var n=r(805),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),c=Object.prototype.hasOwnProperty,l=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var n,i={},s=null,a=null;for(n in void 0!==r&&(s=""+r),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(a=t.ref),t)c.call(t,n)&&!u.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===i[n]&&(i[n]=t[n]);return{$$typeof:o,type:e,key:s,ref:a,props:i,_owner:l.current}}t.jsx=s,t.jsxs=s},674:function(e,t,r){"use strict";var n=r(81).default,o=Symbol.for("react.element"),i=Symbol.for("react.portal"),c=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),a=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),y=Symbol.iterator;var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,C={};function x(e,t,r){this.props=e,this.context=t,this.refs=C,this.updater=r||v}function w(){}function _(e,t,r){this.props=e,this.context=t,this.refs=C,this.updater=r||v}x.prototype.isReactComponent={},x.prototype.setState=function(e,t){if("object"!==n(e)&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},x.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=x.prototype;var k=_.prototype=new w;k.constructor=_,m(k,x.prototype),k.isPureReactComponent=!0;var j=Array.isArray,g=Object.prototype.hasOwnProperty,b={current:null},O={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,r){var n,i={},c=null,l=null;if(null!=t)for(n in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(c=""+t.key),t)g.call(t,n)&&!O.hasOwnProperty(n)&&(i[n]=t[n]);var u=arguments.length-2;if(1===u)i.children=r;else if(1<u){for(var s=Array(u),a=0;a<u;a++)s[a]=arguments[a+2];i.children=s}if(e&&e.defaultProps)for(n in u=e.defaultProps)void 0===i[n]&&(i[n]=u[n]);return{$$typeof:o,type:e,key:c,ref:l,props:i,_owner:b.current}}function z(e){return"object"===n(e)&&null!==e&&e.$$typeof===o}var N=/\/+/g;function L(e,t){return"object"===n(e)&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function M(e,t,r,c,l){var u=n(e);"undefined"!==u&&"boolean"!==u||(e=null);var s=!1;if(null===e)s=!0;else switch(u){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case o:case i:s=!0}}if(s)return l=l(s=e),e=""===c?"."+L(s,0):c,j(l)?(r="",null!=e&&(r=e.replace(N,"$&/")+"/"),M(l,t,r,"",(function(e){return e}))):null!=l&&(z(l)&&(l=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(l,r+(!l.key||s&&s.key===l.key?"":(""+l.key).replace(N,"$&/")+"/")+e)),t.push(l)),1;if(s=0,c=""===c?".":c+":",j(e))for(var a=0;a<e.length;a++){var f=c+L(u=e[a],a);s+=M(u,t,r,f,l)}else if(f=function(e){return null===e||"object"!==n(e)?null:"function"==typeof(e=y&&e[y]||e["@@iterator"])?e:null}(e),"function"==typeof f)for(e=f.call(e),a=0;!(u=e.next()).done;)s+=M(u=u.value,t,r,f=c+L(u,a++),l);else if("object"===u)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function R(e,t,r){if(null==e)return e;var n=[],o=0;return M(e,n,"","",(function(e){return t.call(r,e,o++)})),n}function E(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var B={current:null},$={transition:null},P={ReactCurrentDispatcher:B,ReactCurrentBatchConfig:$,ReactCurrentOwner:b};function V(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:R,forEach:function(e,t,r){R(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return R(e,(function(){t++})),t},toArray:function(e){return R(e,(function(e){return e}))||[]},only:function(e){if(!z(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=x,t.Fragment=c,t.Profiler=u,t.PureComponent=_,t.StrictMode=l,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P,t.act=V,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n=m({},e.props),i=e.key,c=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(c=t.ref,l=b.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(s in t)g.call(t,s)&&!O.hasOwnProperty(s)&&(n[s]=void 0===t[s]&&void 0!==u?u[s]:t[s])}var s=arguments.length-2;if(1===s)n.children=r;else if(1<s){u=Array(s);for(var a=0;a<s;a++)u[a]=arguments[a+2];n.children=u}return{$$typeof:o,type:e.type,key:i,ref:c,props:n,_owner:l}},t.createContext=function(e){return(e={$$typeof:a,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:f,render:e}},t.isValidElement=z,t.lazy=function(e){return{$$typeof:h,_payload:{_status:-1,_result:e},_init:E}},t.memo=function(e,t){return{$$typeof:p,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=$.transition;$.transition={};try{e()}finally{$.transition=t}},t.unstable_act=V,t.useCallback=function(e,t){return B.current.useCallback(e,t)},t.useContext=function(e){return B.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return B.current.useDeferredValue(e)},t.useEffect=function(e,t){return B.current.useEffect(e,t)},t.useId=function(){return B.current.useId()},t.useImperativeHandle=function(e,t,r){return B.current.useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return B.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return B.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return B.current.useMemo(e,t)},t.useReducer=function(e,t,r){return B.current.useReducer(e,t,r)},t.useRef=function(e){return B.current.useRef(e)},t.useState=function(e){return B.current.useState(e)},t.useSyncExternalStore=function(e,t,r){return B.current.useSyncExternalStore(e,t,r)},t.useTransition=function(){return B.current.useTransition()},t.version="18.3.1"},805:function(e,t,r){"use strict";e.exports=r(674)},576:function(e,t,r){"use strict";e.exports=r(762)},81:function(e){function t(r){return e.exports=t="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.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return function(){"use strict";r.r(n),r.d(n,{ArrowsAltOutlined:function(){return u},CaretDownOutlined:function(){return h},CaretLeftOutlined:function(){return y},CaretRightOutlined:function(){return v},CaretUpOutlined:function(){return p},DownCircleOutlined:function(){return C},DownOutlined:function(){return s},FastBackwardOutlined:function(){return i},FastForwardOutlined:function(){return c},Icon:function(){return j},LeftCircleOutlined:function(){return x},LeftOutlined:function(){return f},RightCircleOutlined:function(){return w},RightOutlined:function(){return d},ShrinkOutlined:function(){return l},StepBackwardOutlined:function(){return t},StepForwardOutlined:function(){return o},UpCircleOutlined:function(){return m},UpOutlined:function(){return a},default:function(){return g},iconMap:function(){return _},iconNames:function(){return k}});r(805);var e=r(576),t=function(t){var r=t.size,n=void 0===r?16:r,o=t.color,i=void 0===o?"currentColor":o,c=t.style,l=t.className,u=t.onClick;return(0,e.jsx)("svg",{width:n,height:n,viewBox:"0 0 1024 1024",fill:i,style:c,className:l,onClick:u,children:(0,e.jsx)("path",{d:"M347.6 528.95l383.2 301.02c14.25 11.2 35.2 1.1 35.2-16.95V210.97c0-18.05-20.95-28.14-35.2-16.94L347.6 495.05a21.53 21.53 0 0 0 0 33.9M330 864h-64a8 8 0 0 1-8-8V168a8 8 0 0 1 8-8h64a8 8 0 0 1 8 8v688a8 8 0 0 1-8 8"})})},o=function(t){var r=t.size,n=void 0===r?16:r,o=t.color,i=void 0===o?"currentColor":o,c=t.style,l=t.className,u=t.onClick;return(0,e.jsx)("svg",{width:n,height:n,viewBox:"0 0 1024 1024",fill:i,style:c,className:l,onClick:u,children:(0,e.jsx)("path",{d:"M676.4 528.95L293.2 829.97c-14.25 11.2-35.2 1.1-35.2-16.95V210.97c0-18.05 20.95-28.14 35.2-16.94l383.2 301.02a21.53 21.53 0 0 1 0 33.9M694 864h64a8 8 0 0 0 8-8V168a8 8 0 0 0-8-8h-64a8 8 0 0 0-8 8v688a8 8 0 0 0 8 8"})})},i=function(t){var r=t.size,n=void 0===r?16:r,o=t.color,i=void 0===o?"currentColor":o,c=t.style,l=t.className,u=t.onClick;return(0,e.jsx)("svg",{width:n,height:n,viewBox:"0 0 1024 1024",fill:i,style:c,className:l,onClick:u,children:(0,e.jsx)("path",{d:"M517.6 273.5L230.2 499.3a16.1 16.1 0 0 0 0 25.4l287.4 225.8c10.7 8.4 26.4.8 26.4-12.7V286.2c0-13.5-15.7-21.1-26.4-12.7zm320 0L550.2 499.3a16.1 16.1 0 0 0 0 25.4l287.4 225.8c10.7 8.4 26.4.8 26.4-12.7V286.2c0-13.5-15.7-21.1-26.4-12.7zM140 874h-64a8 8 0 0 1-8-8V158a8 8 0 0 1 8-8h64a8 8 0 0 1 8 8v708a8 8 0 0 1-8 8z"})})},c=function(t){var r=t.size,n=void 0===r?16:r,o=t.color,i=void 0===o?"currentColor":o,c=t.style,l=t.className,u=t.onClick;return(0,e.jsx)("svg",{width:n,height:n,viewBox:"0 0 1024 1024",fill:i,style:c,className:l,onClick:u,children:(0,e.jsx)("path",{d:"M186.4 273.5L473.8 499.3a16.1 16.1 0 0 1 0 25.4L186.4 750.5c-10.7 8.4-26.4.8-26.4-12.7V286.2c0-13.5 15.7-21.1 26.4-12.7zm320 0L793.8 499.3a16.1 16.1 0 0 1 0 25.4L506.4 750.5c-10.7 8.4-26.4.8-26.4-12.7V286.2c0-13.5 15.7-21.1 26.4-12.7zM884 158h64a8 8 0 0 1 8 8v708a8 8 0 0 1-8 8h-64a8 8 0 0 1-8-8V166a8 8 0 0 1 8-8z"})})},l=function(t){var r=t.size,n=void 0===r?16:r,o=t.color,i=void 0===o?"currentColor":o,c=t.style,l=t.className,u=t.onClick;return(0,e.jsx)("svg",{width:n,height:n,viewBox:"0 0 1024 1024",fill:i,style:c,className:l,onClick:u,children:(0,e.jsx)("path",{d:"M881.7 187.4l-45.1-45.1a8.03 8.03 0 0 0-11.3 0L667.8 299.9l-54.7-54.7a7.94 7.94 0 0 0-13.5 4.7L576.1 439c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 157.6-157.6c3-3 3-7.9-.1-10.9zM439 576.1l-189.2 23.5c-6.6.8-9.3 8.9-4.7 13.5l54.7 54.7-157.5 157.5a8.03 8.03 0 0 0 0 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l157.6-157.6 54.7 54.7a7.94 7.94 0 0 0 13.5-4.7L447.9 585a7.9 7.9 0 0 0-8.9-8.9z"})})},u=function(t){var r=t.size,n=void 0===r?16:r,o=t.color,i=void 0===o?"currentColor":o,c=t.style,l=t.className,u=t.onClick;return(0,e.jsx)("svg",{width:n,height:n,viewBox:"0 0 1024 1024",fill:i,style:c,className:l,onClick:u,children:(0,e.jsx)("path",{d:"M855 160.1l-189.2 23.5c-6.6.8-9.3 8.8-4.7 13.5l54.7 54.7-153.5 153.5a8.03 8.03 0 0 0 0 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l153.6-153.6 54.7 54.7a7.94 7.94 0 0 0 13.5-4.7L863.9 169a7.9 7.9 0 0 0-8.9-8.9zM416.9 562.7l-45.1-45.1a8.03 8.03 0 0 0-11.3 0L207.1 710.3l-54.7-54.7a7.94 7.94 0 0 0-13.5 4.7L142.1 850c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 153.6-153.6c3-3 3-8.1-.1-11.2z"})})},s=function(t){var r=t.size,n=void 0===r?16:r,o=t.color,i=void 0===o?"currentColor":o,c=t.style,l=t.className,u=t.onClick;return(0,e.jsx)("svg",{width:n,height:n,viewBox:"0 0 1024 1024",fill:i,style:c,className:l,onClick:u,children:(0,e.jsx)("path",{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3-.1-12.7-6.4-12.7z"})})},a=function(t){var r=t.size,n=void 0===r?16:r,o=t.color,i=void 0===o?"currentColor":o,c=t.style,l=t.className,u=t.onClick;return(0,e.jsx)("svg",{width:n,height:n,viewBox:"0 0 1024 1024",fill:i,style:c,className:l,onClick:u,children:(0,e.jsx)("path",{d:"M884 768h-75c-5.1 0-9.9-2.5-12.9-6.6L512 369.8 227.9 761.4c-3 4.1-7.8 6.6-12.9 6.6h-75c-6.5 0-10.3-7.4-6.5-12.7l352.6-486.1c12.8-17.6 39-17.6 51.7 0l352.6 486.1c3.9 5.3-.1 12.7-6.4 12.7z"})})},f=function(t){var r=t.size,n=void 0===r?16:r,o=t.color,i=void 0===o?"currentColor":o,c=t.style,l=t.className,u=t.onClick;return(0,e.jsx)("svg",{width:n,height:n,viewBox:"0 0 1024 1024",fill:i,style:c,className:l,onClick:u,children:(0,e.jsx)("path",{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 0 0 0 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"})})},d=function(t){var r=t.size,n=void 0===r?16:r,o=t.color,i=void 0===o?"currentColor":o,c=t.style,l=t.className,u=t.onClick;return(0,e.jsx)("svg",{width:n,height:n,viewBox:"0 0 1024 1024",fill:i,style:c,className:l,onClick:u,children:(0,e.jsx)("path",{d:"M300 218.3v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.8 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.86 31.86 0 0 0 0-50.3L312.9 212c-5.2-4.1-12.9-.4-12.9 6.3z"})})},p=function(t){var r=t.size,n=void 0===r?16:r,o=t.color,i=void 0===o?"currentColor":o,c=t.style,l=t.className,u=t.onClick;return(0,e.jsx)("svg",{width:n,height:n,viewBox:"0 0 1024 1024",fill:i,style:c,className:l,onClick:u,children:(0,e.jsx)("path",{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"})})},h=function(t){var r=t.size,n=void 0===r?16:r,o=t.color,i=void 0===o?"currentColor":o,c=t.style,l=t.className,u=t.onClick;return(0,e.jsx)("svg",{width:n,height:n,viewBox:"0 0 1024 1024",fill:i,style:c,className:l,onClick:u,children:(0,e.jsx)("path",{d:"M858.9 335L530.5 715.8c-9.4 10.9-27.5 10.9-37 0L165.1 335c-12.2-14.2-1.2-35 18.5-35h656.8c19.7 0 30.7 20.8 18.5 35z"})})},y=function(t){var r=t.size,n=void 0===r?16:r,o=t.color,i=void 0===o?"currentColor":o,c=t.style,l=t.className,u=t.onClick;return(0,e.jsx)("svg",{width:n,height:n,viewBox:"0 0 1024 1024",fill:i,style:c,className:l,onClick:u,children:(0,e.jsx)("path",{d:"M689 165.1L308.2 493.5c-10.9 9.4-10.9 27.5 0 37L689 858.9c14.2 12.2 35 1.2 35-18.5V183.6c0-19.7-20.8-30.7-35-18.5z"})})},v=function(t){var r=t.size,n=void 0===r?16:r,o=t.color,i=void 0===o?"currentColor":o,c=t.style,l=t.className,u=t.onClick;return(0,e.jsx)("svg",{width:n,height:n,viewBox:"0 0 1024 1024",fill:i,style:c,className:l,onClick:u,children:(0,e.jsx)("path",{d:"M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z"})})},m=function(t){var r=t.size,n=void 0===r?16:r,o=t.color,i=void 0===o?"currentColor":o,c=t.style,l=t.className,u=t.onClick;return(0,e.jsxs)("svg",{width:n,height:n,viewBox:"0 0 1024 1024",fill:i,style:c,className:l,onClick:u,children:[(0,e.jsx)("path",{d:"M518.5 360.3a7.95 7.95 0 0 0-12.9 0l-178 246c-3.8 5.3 0 12.7 6.5 12.7H381c4.6 0 9-2 12.1-5.5L512 460l118.9 153.5c3.1 3.5 7.5 5.5 12.1 5.5h33.8c6.5 0 10.3-7.4 6.5-12.7l-178-246z"}),(0,e.jsx)("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"})]})},C=function(t){var r=t.size,n=void 0===r?16:r,o=t.color,i=void 0===o?"currentColor":o,c=t.style,l=t.className,u=t.onClick;return(0,e.jsxs)("svg",{width:n,height:n,viewBox:"0 0 1024 1024",fill:i,style:c,className:l,onClick:u,children:[(0,e.jsx)("path",{d:"M505.5 663.7a7.95 7.95 0 0 0 12.9 0l178-246c3.8-5.3 0-12.7-6.5-12.7H643c-4.6 0-9 2-12.1 5.5L512 564l-118.9-153.5c-3.1-3.5-7.5-5.5-12.1-5.5H347c-6.5 0-10.3 7.4-6.5 12.7l178 246z"}),(0,e.jsx)("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"})]})},x=function(t){var r=t.size,n=void 0===r?16:r,o=t.color,i=void 0===o?"currentColor":o,c=t.style,l=t.className,u=t.onClick;return(0,e.jsxs)("svg",{width:n,height:n,viewBox:"0 0 1024 1024",fill:i,style:c,className:l,onClick:u,children:[(0,e.jsx)("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}),(0,e.jsx)("path",{d:"M663.7 518.5a7.95 7.95 0 0 0-12.9 0l-246 178c-5.3 3.8 0 12.7 6.5 12.7h381c4.6 0 9 2 12.1 5.5L564 512l153.5 118.9c3.1 3.5 7.5 5.5 12.1 5.5h33.8c6.5 0 10.3-7.4 6.5-12.7l-246-178z"})]})},w=function(t){var r=t.size,n=void 0===r?16:r,o=t.color,i=void 0===o?"currentColor":o,c=t.style,l=t.className,u=t.onClick;return(0,e.jsxs)("svg",{width:n,height:n,viewBox:"0 0 1024 1024",fill:i,style:c,className:l,onClick:u,children:[(0,e.jsx)("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}),(0,e.jsx)("path",{d:"M360.3 505.5a7.95 7.95 0 0 0 12.9 0l246-178c5.3-3.8 12.7 0 12.7 6.5v381c0 4.6-2 9-5.5 12.1L460 564l-118.9 153.5c-3.1 3.5-7.5 5.5-12.1 5.5h-33.8c-6.5 0-10.3-7.4-6.5-12.7l178-246z"})]})},_={StepBackwardOutlined:t,StepForwardOutlined:o,FastBackwardOutlined:i,FastForwardOutlined:c,ShrinkOutlined:l,ArrowsAltOutlined:u,DownOutlined:s,UpOutlined:a,LeftOutlined:f,RightOutlined:d,CaretUpOutlined:p,CaretDownOutlined:h,CaretLeftOutlined:y,CaretRightOutlined:v,UpCircleOutlined:m,DownCircleOutlined:C,LeftCircleOutlined:x,RightCircleOutlined:w},k=Object.keys(_),j=function(t){var r=t.name,n=t.size,o=void 0===n?16:n,i=t.color,c=void 0===i?"currentColor":i,l=t.className,u=t.style,s=t.onClick,a=_[r];return a?(0,e.jsx)(a,{size:o,color:c,className:l,style:u,onClick:s}):(console.warn('Icon "'.concat(r,'" not found')),null)},g=j}(),n}()}));
|
package/package.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "wssf-kage-icon",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Kage Icon - Icon library for Kage UI",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.esm.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"scripts": {
|
|
12
|
+
"build": "father build",
|
|
13
|
+
"build:watch": "father dev",
|
|
14
|
+
"dev": "father dev",
|
|
15
|
+
"lint": "eslint src --ext .ts,.tsx",
|
|
16
|
+
"clean": "rm -rf dist"
|
|
17
|
+
},
|
|
18
|
+
"publishConfig": {
|
|
19
|
+
"access": "public",
|
|
20
|
+
"registry": "https://registry.npmjs.org"
|
|
21
|
+
},
|
|
22
|
+
"keywords": [
|
|
23
|
+
"icon",
|
|
24
|
+
"react",
|
|
25
|
+
"svg",
|
|
26
|
+
"kage"
|
|
27
|
+
],
|
|
28
|
+
"license": "MIT",
|
|
29
|
+
"peerDependencies": {
|
|
30
|
+
"react": ">=16.9.0",
|
|
31
|
+
"react-dom": ">=16.9.0"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@types/react": "^18.2.0",
|
|
35
|
+
"@types/react-dom": "^18.2.0",
|
|
36
|
+
"father": "^4.4.0",
|
|
37
|
+
"react": "^18.2.0",
|
|
38
|
+
"react-dom": "^18.2.0",
|
|
39
|
+
"typescript": "^5.0.0"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|