@zleap-ai/icons 0.0.93 → 0.0.95
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/icons.json +1 -1
- package/package.json +1 -1
- package/react-native/icons/IconLxxTest.tsx +53 -0
package/icons.json
CHANGED
package/package.json
CHANGED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import React, { forwardRef, useMemo } from 'react'
|
|
2
|
+
import type { ComponentProps } from 'react'
|
|
3
|
+
import { SvgXml } from 'react-native-svg'
|
|
4
|
+
|
|
5
|
+
export interface IconLxxTestProps extends Omit<ComponentProps<typeof SvgXml>, 'xml' | 'width' | 'height'> {
|
|
6
|
+
size?: number | string
|
|
7
|
+
color?: string
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const IconLxxTest = forwardRef<unknown, IconLxxTestProps>(
|
|
11
|
+
({ size = 24, color, ...props }, ref) => {
|
|
12
|
+
const baseXml = useMemo(
|
|
13
|
+
() => `<svg fill="none" viewBox="0 0 45 37"><path fill="#0D131A" d="M20.09.587c.543-.05.968.08 1.296.364.344.298.565.75.718 1.29l.051.204c.197.895.078 1.928-.067 2.88l-.067.434c-.927 5.878-4.818 12.262-7.604 15.618.104.92.287 1.976.684 2.886.405.927 1.025 1.69 1.998 2.02l.106.03c.495.133 1.095.056 1.784-.246-1.332-1.675-1.54-4.137-.542-6.267l.064-.133c.338-.66.86-1.271 1.44-1.733.616-.49 1.312-.823 1.934-.857l.116-.005c1.176-.02 2.095.629 2.45 1.745l.055.193c.252.971.143 2.13-.257 3.303-.401 1.176-1.097 2.378-2.029 3.44l-.188.212-.132.146.062.02c.126.038.272.078.37.1l.154.02q.104.01.252.02c.192.01.424.018.662.023.48.01.97.004 1.198-.02l.358-.047a8.8 8.8 0 0 0 2.427-.742l.295-.148c.104-.054.21-.11.304-.162q.12-.067.205-.12l-.122-.137c-1.034-1.237-1.421-2.765-1.232-4.047.189-1.283.961-2.339 2.255-2.574l.157-.025a2.52 2.52 0 0 1 2.05.649c.586.535.982 1.356 1.091 2.356l.017.217c.047 1.021-.346 2.135-1.074 3.081l-.161.2-.091.11c.43.203.945.333 1.443.387l.17.015c.864.057 1.915-.14 2.605-.493l.053-.027-.127-.338c-.662-1.757-.937-3.291-.818-4.528.12-1.24.639-2.189 1.563-2.746l.147-.083c1.533-.803 3.358.072 3.83 1.846l.052.214c.478 2.145-.369 4.47-2.205 6.112l-.187.162-.066.056.183.389.24.495c1.254 2.516 3.24 5.583 5.452 8.412l.31.405c.08.11.141.198.185.273.07.12.101.213.112.309l.005.099c-.003.763-.909 1.122-1.452.625l-.05-.051a23 23 0 0 1-.863-1.09l-.444-.586c-1.869-2.49-3.557-5.15-4.713-7.425l-.224-.449-.242-.496-.152.068c-1.357.605-2.993.757-4.395.42l-.277-.075c-.545-.16-1.024-.396-1.508-.648l-.322.22h-.002a9.85 9.85 0 0 1-5.072 1.664l-.375.012c-1.516.027-2.196-.062-3.017-.44l-.167-.08-.088-.044-.027-.013-.003-.003-.24-.143c-1.708 1-3.44 1.01-4.7.167l-.122-.085-.019-.013c-.396-.29-.895-.655-1.383-1.313-.478-.644-.94-1.563-1.296-2.96-1.215 1.14-2.837 2.185-4.49 2.989-1.625.79-3.29 1.35-4.635 1.535l-.266.032c-.363.037-1.05.065-1.433-.6a.95.95 0 0 1-.14-.487.9.9 0 0 1 .136-.45c.162-.272.46-.52.803-.764l.353-.257a16.3 16.3 0 0 0 3.643-3.74 13 13 0 0 0 .962-1.625c-1.802.8-4.05 1.687-6.047 1.794l-.204.009c-.487.013-.884-.237-1.006-.559l-.021-.065a.816.816 0 0 1 .587-.992l.004-.001.02-.005.062-.015.236-.056a59.086 59.086 0 0 0 3.542-.987l.252-.083c1.255-.416 2.4-.96 3.16-1.303l.421-.2c.121-.056.235-.1.375-.136l.081-.016c.195-.025.432.024.63.143a.84.84 0 0 1 .425.735c0 .848-.465 2.135-1.147 3.39-.54.998-1.23 1.992-1.955 2.754 2.164-.976 3.378-1.725 5.355-3.487l-.017-1.094a35 35 0 0 1 .265-4.825l.038-.296.099-.701c.525-3.492 1.53-6.786 2.828-9.212l.202-.367c.477-.84.993-1.566 1.539-2.145l.14-.142c.708-.701 1.557-1.18 2.31-1.278zm19.106 31.046c.444.674.91 1.353 1.394 2.025l-.711-1.012q-.35-.507-.683-1.013m-18.804-4.481c-.656.395-1.314.639-1.945.741l.317-.062q.48-.113.972-.333.327-.147.656-.345m.417.238h.001m-17.08.104-.002.001zm-1.564-.501v.001zm12.112-1.009c.297.4.598.69.878.92l-.17-.145a5 5 0 0 1-.708-.775m15.028.259v.001l.39-.265zm6.524.071v.001m-16.82-.441h.001m3.29-.422-.039.045q.198-.235.382-.478zm6.085-.389.016.016q-.005-.007-.015-.016m-6.534-6.33c-.649.117-1.29.748-1.733 1.622-.44.868-.664 1.936-.512 2.866l.025.134c.065.318.182.66.322.967.156.342.337.627.5.786l.155-.165.176-.193c.866-.973 1.496-2.03 1.85-3.1l.08-.263c.17-.611.218-1.195.16-1.659-.062-.509-.245-.82-.478-.92l-.048-.018a1.7 1.7 0 0 0-.409-.063zm5.971 5.633h-.001zm2.085-4.257c-.28-.138-.55-.125-.774 0-.199.111-.372.319-.481.616l-.043.133c-.306 1.107.224 2.241.95 3.116l.002-.004c.407-.479.893-1.27 1.07-2.034.088-.381.096-.745-.01-1.057-.09-.27-.269-.51-.575-.695zm7.412-1.608c-.547.09-.922.47-1.098 1.105-.179.65-.145 1.556.14 2.65l.132.47a31 31 0 0 0 .325 1.024l.015.04c.224-.225.563-.62.85-1.075l.096-.16c.461-.806.655-1.74.602-2.51-.053-.782-.352-1.335-.815-1.49l-.096-.027zm-26.485 3.767q-.347.255-.69.48c-.46.302-.924.57-1.43.834h.002a16 16 0 0 0 2.118-1.314m2.121.573h-.001m6.636-1.479v.001m-18.513-.044a1 1 0 0 1 .142.05zm2.885-.3q-.381.103-.76.183l.423-.095q.168-.041.337-.088m14.422-.717q-.146.382-.243.771l.116-.409q.058-.183.127-.362m11.581-.315q.16.078.286.172a2 2 0 0 0-.286-.173zM8.011 19.62l.002-.004zm30.204-.675q.063.108.115.233.051.124.089.261a2 2 0 0 0-.203-.494m-33.942.275a56 56 0 0 1 .745-.227zm15.95-16.841c-.039-.014-.103-.019-.199.012-.095.03-.214.092-.353.197-.28.21-.629.579-1.028 1.155-.747 1.08-1.658 2.869-2.614 5.646l-.191.568c-.574 1.735-.945 4.017-1.173 5.87a62 62 0 0 0-.241 2.327l-.035.43q.1-.147.23-.343a47 47 0 0 0 1.288-2.101c1.032-1.782 2.322-4.257 3.355-7.034 1.035-2.78 1.327-4.48 1.326-5.483 0-.5-.074-.82-.158-1.01a.6.6 0 0 0-.12-.19.14.14 0 0 0-.052-.036l-.018-.002zm-.626 16.054q-.054.053-.104.109.155-.163.32-.312zm16.44-1.16a3 3 0 0 0-.714.605v-.001q.303-.355.714-.604m-15.302.305h.001zm16.011-.6h.002zm-19.905-2.233.002-.001zm3.213-12.503a1 1 0 0 0-.16.052l.09-.033zm-.349-1.45"/></svg>`,
|
|
14
|
+
[],
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
const xml = useMemo(() => {
|
|
18
|
+
if (!color) return baseXml
|
|
19
|
+
return baseXml.replace(
|
|
20
|
+
/(fill|stroke)="([^"]+)"/gi,
|
|
21
|
+
(_match, attr, value) => {
|
|
22
|
+
const normalized = String(value).toLowerCase().replace(/\s/g, '')
|
|
23
|
+
if (
|
|
24
|
+
normalized === 'none' ||
|
|
25
|
+
normalized === 'currentcolor' ||
|
|
26
|
+
normalized === 'white' ||
|
|
27
|
+
normalized === '#fff' ||
|
|
28
|
+
normalized === '#ffffff' ||
|
|
29
|
+
normalized.startsWith('url(')
|
|
30
|
+
) {
|
|
31
|
+
return `${attr}="${value}"`
|
|
32
|
+
}
|
|
33
|
+
return `${attr}="${color}"`
|
|
34
|
+
},
|
|
35
|
+
)
|
|
36
|
+
}, [baseXml, color])
|
|
37
|
+
|
|
38
|
+
return (
|
|
39
|
+
<SvgXml
|
|
40
|
+
ref={ref as never}
|
|
41
|
+
xml={xml}
|
|
42
|
+
width={size}
|
|
43
|
+
height={size}
|
|
44
|
+
viewBox="0 0 45 37"
|
|
45
|
+
{...props}
|
|
46
|
+
/>
|
|
47
|
+
)
|
|
48
|
+
},
|
|
49
|
+
)
|
|
50
|
+
|
|
51
|
+
IconLxxTest.displayName = 'IconLxxTest'
|
|
52
|
+
|
|
53
|
+
export default IconLxxTest
|