@linagora/twake-icons 2.11.0 → 2.12.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/CHANGELOG.md +19 -0
- package/dist/index.cjs +24 -43
- package/dist/index.d.cts +410 -410
- package/dist/index.d.ts +410 -410
- package/dist/index.js +24 -43
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -61,7 +61,7 @@ function Icon(props) {
|
|
|
61
61
|
...restProps
|
|
62
62
|
}
|
|
63
63
|
);
|
|
64
|
-
const Svg = isFunction(icon) ? icon : makeSvgObject(icon);
|
|
64
|
+
const Svg = isFunction(icon) ? icon : typeof icon === "string" ? makeSvgObject(icon) : null;
|
|
65
65
|
const _style = {
|
|
66
66
|
...style,
|
|
67
67
|
...color ? { fill: color } : {},
|
|
@@ -91,7 +91,7 @@ import React2 from "react";
|
|
|
91
91
|
// src/Icon/icons-sprite.ts
|
|
92
92
|
var icons_sprite_default = `<svg><defs><linearGradient id="paint0_linear_11512_6354" x1="16" y1="6.222" x2="0" y2="6.222" gradientUnits="userSpaceOnUse"><stop offset=".13" stop-color="#A033FF"/><stop offset=".61" stop-color="#0094FF"/><stop offset="1" stop-color="#4FB500"/></linearGradient><linearGradient id="paint1_linear_11512_6354" x1="7.333" y1="3.333" x2="4.833" y2="10.833" gradientUnits="userSpaceOnUse"><stop stop-color="#FFD600" stop-opacity="0"/><stop offset=".563" stop-color="#FFC700"/></linearGradient><linearGradient id="paint2_linear_11512_6354" x1="8.667" y1="6.222" x2="12.079" y2="11.642" gradientUnits="userSpaceOnUse"><stop offset=".03" stop-color="#FF3B30" stop-opacity="0"/><stop offset=".843" stop-color="#E73B2D"/></linearGradient><clipPath id="clip0_1426_12806"><path d="M0 0h16v16H0z"/></clipPath><clipPath id="clip0_1426_12797"><path d="M0 0h16v16H0z"/></clipPath><filter id="filter0_d_1426_12797" x="-1.231" y="-.985" width="18.462" height="18.429" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy=".246"/><feGaussianBlur stdDeviation=".615"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_1426_12797"/><feBlend in="SourceGraphic" in2="effect1_dropShadow_1426_12797" result="shape"/></filter><clipPath id="clip0_11387_16837"><path transform="translate(.2)" d="M0 0h14.4v16H0z"/></clipPath>
|
|
93
93
|
<path id="file-none-a" d="M10,5.0999 L10,2 L4,2 C3.45,2 3,2.45 3,3 L3,13 C3,13.55 3.45,14 4,14 L12,14 C12.55,14 13,13.55 13,13 L13,6 L11.1001,6 L11.5,6.3999 L9.4,8.4999 L11.5,10.5999 L10.1,11.9999 L8,9.8999 L5.9,11.9999 L4.5,10.5999 L6.6,8.4999 L4.5,6.3999 L5.9,4.9999 L8,7.0999 L10,5.0999 Z M15,5 L15,15.004 C15,15.555 14.55,16 13.993,16 L2.007,16 C1.451,16 1,15.556 1,14.999 L1,1.001 C1,0.448 1.446,0 1.998,0 L10,0 L11,0 L15,4 L15,5 Z"/>
|
|
94
|
-
<clipPath id="clip0_13717_2258"><path fill="#fff" d="M0 0h16v13H0z"/></clipPath><linearGradient id="paint0_linear_13714_2236" x1="48" y1="0" x2="48" y2="94.5" gradientUnits="userSpaceOnUse"><stop offset=".044" stop-color="#1D7AFF"/><stop offset=".13" stop-color="#7CB2FF"/><stop offset=".617" stop-color="#76AFFF"/><stop offset="1" stop-color="#4290FF"/></linearGradient><linearGradient id="paint1_linear_13714_2236" x1="49.092" y1="11.943" x2="49.447" y2="68.954" gradientUnits="userSpaceOnUse"><stop stop-color="#76AFFF"/><stop offset=".781" stop-color="#1D7AFF"/></linearGradient><clipPath id="clip0_3250_157"><path d="M0 0h16v16H0z"/></clipPath><clipPath id="clip0_1426_12815"><path d="M0 0h16v16H0z"/></clipPath><linearGradient id="a" x1="
|
|
94
|
+
<clipPath id="clip0_13717_2258"><path fill="#fff" d="M0 0h16v13H0z"/></clipPath><linearGradient id="paint0_linear_13714_2236" x1="48" y1="0" x2="48" y2="94.5" gradientUnits="userSpaceOnUse"><stop offset=".044" stop-color="#1D7AFF"/><stop offset=".13" stop-color="#7CB2FF"/><stop offset=".617" stop-color="#76AFFF"/><stop offset="1" stop-color="#4290FF"/></linearGradient><linearGradient id="paint1_linear_13714_2236" x1="49.092" y1="11.943" x2="49.447" y2="68.954" gradientUnits="userSpaceOnUse"><stop stop-color="#76AFFF"/><stop offset=".781" stop-color="#1D7AFF"/></linearGradient><clipPath id="clip0_3250_157"><path d="M0 0h16v16H0z"/></clipPath><clipPath id="clip0_1426_12815"><path d="M0 0h16v16H0z"/></clipPath><linearGradient id="a" x1="32" x2="7" y1="0" y2="28" gradientUnits="userSpaceOnUse"><stop stop-color="#57abff"/><stop offset="1" stop-color="#1d7aff"/></linearGradient><clipPath id="b"><path fill="#fff" d="M6.6 6.6h19.29v19.29H6.6z"/></clipPath><linearGradient id="paint0_linear_25355_124591" x1="1.336" y1="7.999" x2="19.625" y2="7.999" gradientUnits="userSpaceOnUse"><stop stop-color="#00B7FF"/><stop offset=".567" stop-color="#E06DD1"/><stop offset="1" stop-color="#FF0"/></linearGradient><linearGradient id="paint1_linear_25355_124591" x1="11.336" y1="3.336" x2="16.822" y2="3.336" gradientUnits="userSpaceOnUse"><stop stop-color="#00B7FF"/><stop offset=".567" stop-color="#E06DD1"/><stop offset="1" stop-color="#FF0"/></linearGradient><linearGradient id="paint2_linear_25355_124591" x1="1.332" y1="12.002" x2="4.99" y2="12.002" gradientUnits="userSpaceOnUse"><stop stop-color="#00B7FF"/><stop offset=".567" stop-color="#E06DD1"/><stop offset="1" stop-color="#FF0"/></linearGradient><clipPath id="clip0_25355_124591"><path fill="#fff" d="M0 0h16v16H0z"/></clipPath><linearGradient id="paint0_linear_60858_90" x1="18.5" y1="196" x2="235" y2="-27.5" gradientUnits="userSpaceOnUse"><stop offset=".287" stop-color="#FD813C"/><stop offset="1" stop-color="#FFF500"/></linearGradient><filter id="filter0_d_60858_90" x="23" y="30" width="150" height="140.859" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="2"/><feGaussianBlur stdDeviation="5"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_60858_90"/><feBlend in="SourceGraphic" in2="effect1_dropShadow_60858_90" result="shape"/></filter>
|
|
95
95
|
<linearGradient id="paint0_linear_16338_11808" x1="47.606" y1="-12.7909" x2="47.606" y2="29.0549" gradientUnits="userSpaceOnUse">
|
|
96
96
|
<stop stop-color="#FFB73D"/>
|
|
97
97
|
<stop offset="1" stop-color="#F26C32"/>
|
|
@@ -289,7 +289,7 @@ var icons_sprite_default = `<svg><defs><linearGradient id="paint0_linear_11512_6
|
|
|
289
289
|
<path fill-rule="evenodd" d="M2 0h11a1 1 0 0 1 1 1v3h1a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm1 2a1 1 0 1 0 0 2h9V2H3zm4 4v3H4v2h3v3h2v-3h3V9H9V6H7z"/>
|
|
290
290
|
</symbol><symbol id="wallet-new" viewBox="0 0 16 16">
|
|
291
291
|
<path fill-rule="evenodd" d="M2 0h11a1 1 0 0 1 1 1v3h1a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm1 2a1 1 0 1 0 0 2h9V2H3zm4 4v3H4v2h3v3h2v-3h3V9H9V6H7z"/>
|
|
292
|
-
</symbol><symbol id="wallet" viewBox="0 0 16 13"><path d="M12.8 0H3.2A3.2 3.2 0 0 0 0 3.2v6.4a3.2 3.2 0 0 0 3.2 3.2h9.6A3.2 3.2 0 0 0 16 9.6V3.2A3.2 3.2 0 0 0 12.8 0Zm-1.488 7.816c-.192.16-.456.224-.704.16L1.72 5.8c.24-.584.808-1 1.48-1h9.6c.536 0 1.008.272 1.304.672l-2.792 2.344ZM3.2 1.6h9.6c.88 0 1.6.72 1.6 1.6v.44a3.198 3.198 0 0 0-1.6-.44H3.2c-.584 0-1.128.168-1.6.44V3.2c0-.88.72-1.6 1.6-1.6Z"/></symbol><symbol id="warn" viewBox="0 0 16 16"><path d="M11.316 0H4.684L0 4.684v6.632L4.684 16h6.632L16 11.316V4.684L11.316 0Zm2.906 10.578-3.644 3.644H5.422l-3.644-3.644V5.422l3.644-3.644h5.156l3.644 3.644v5.156Z"/><path d="M8 12.444a.889.889 0 1 0 0-1.777.889.889 0 0 0 0 1.777Zm-.889-8.888H8.89v6.222H7.11V3.556Z"/></symbol><symbol id="warning-circle" viewBox="0 0 16 16"><path d="M8 0C3.584 0 0 3.584 0 8s3.584 8 8 8 8-3.584 8-8-3.584-8-8-8Zm.8 12H7.2v-1.6h1.6V12Zm0-3.2H7.2V4h1.6v4.8Z"/></symbol><symbol id="warning" viewBox="0 0 16 14"><path d="M0 13.818h16L8 0 0 13.818Zm8.727-2.182H7.273v-1.454h1.454v1.454Zm0-2.909H7.273V5.818h1.454v2.91Z"/></symbol><symbol id="water" viewBox="0 0 13 16"><path d="M6.4 0C2.136 3.64 0 6.784 0 9.44 0 13.424 3.04 16 6.4 16c3.36 0 6.4-2.576 6.4-6.56 0-2.656-2.136-5.8-6.4-9.44Zm0 14.4c-2.68 0-4.8-2.056-4.8-4.96 0-1.872 1.56-4.352 4.8-7.312 3.24 2.96 4.8 5.432 4.8 7.312 0 2.904-2.12 4.96-4.8 4.96ZM3.064 9.6a.6.6 0 0 1 .592.496c.328 1.776 1.824 2.384 2.912 2.296a.602.602 0 0 1 .632.6c0 .32-.256.584-.576.6-1.704.104-3.696-.872-4.152-3.296a.6.6 0 0 1 .592-.696Z"/></symbol><symbol id="work" viewBox="0 0 16 16"><path d="M14.4 3.2h-3.2V1.6c0-.888-.712-1.6-1.6-1.6H6.4c-.888 0-1.6.712-1.6 1.6v1.6H1.6C.712 3.2.008 3.912.008 4.8L0 13.6c0 .888.712 1.6 1.6 1.6h12.8c.888 0 1.6-.712 1.6-1.6V4.8c0-.888-.712-1.6-1.6-1.6Zm-4.8 0H6.4V1.6h3.2v1.6Z"/></symbol><symbol id="wrench-circle" viewBox="0 0 16 16"><path fill-rule="evenodd" clip-rule="evenodd" d="M8 0C3.584 0 0 3.584 0 8s3.584 8 8 8 8-3.584 8-8-3.584-8-8-8Zm0 14.4A6.408 6.408 0 0 1 1.6 8c0-3.528 2.872-6.4 6.4-6.4 3.528 0 6.4 2.872 6.4 6.4 0 3.528-2.872 6.4-6.4 6.4Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M9.192 7.504a2.783 2.783 0 0 0-.648-2.896 2.775 2.775 0 0 0-3.28-.472l1.88 1.88-1.128 1.128-1.88-1.88a2.773 2.773 0 0 0 .472 3.28c.784.784 1.92.992 2.896.648l2.728 2.728c.16.16.408.16.568 0l1.12-1.12a.396.396 0 0 0 0-.568L9.192 7.504Z"/></symbol><symbol id="account" viewBox="0 0 16 16"><path d="M8 1.9a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2Zm0 9c2.97 0 6.1 1.46 6.1 2.1v1.1H1.9V13c0-.64 3.13-2.1 6.1-2.1ZM8 0C5.79 0 4 1.79 4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4Zm0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4Z"/></symbol><symbol id="ai-text" viewBox="0 0 27 22"><path fill="#97a3b7" d="M4.169 21.561h-4.17L7.592 0h4.821l7.602 21.561h-4.17l-5.758-17.14h-.169L4.17 21.562zm.137-8.454h11.37v3.138H4.306zM26.759 0v21.561h-3.905V0z"/></symbol><symbol id="ai" viewBox="0 0
|
|
292
|
+
</symbol><symbol id="wallet" viewBox="0 0 16 13"><path d="M12.8 0H3.2A3.2 3.2 0 0 0 0 3.2v6.4a3.2 3.2 0 0 0 3.2 3.2h9.6A3.2 3.2 0 0 0 16 9.6V3.2A3.2 3.2 0 0 0 12.8 0Zm-1.488 7.816c-.192.16-.456.224-.704.16L1.72 5.8c.24-.584.808-1 1.48-1h9.6c.536 0 1.008.272 1.304.672l-2.792 2.344ZM3.2 1.6h9.6c.88 0 1.6.72 1.6 1.6v.44a3.198 3.198 0 0 0-1.6-.44H3.2c-.584 0-1.128.168-1.6.44V3.2c0-.88.72-1.6 1.6-1.6Z"/></symbol><symbol id="warn" viewBox="0 0 16 16"><path d="M11.316 0H4.684L0 4.684v6.632L4.684 16h6.632L16 11.316V4.684L11.316 0Zm2.906 10.578-3.644 3.644H5.422l-3.644-3.644V5.422l3.644-3.644h5.156l3.644 3.644v5.156Z"/><path d="M8 12.444a.889.889 0 1 0 0-1.777.889.889 0 0 0 0 1.777Zm-.889-8.888H8.89v6.222H7.11V3.556Z"/></symbol><symbol id="warning-circle" viewBox="0 0 16 16"><path d="M8 0C3.584 0 0 3.584 0 8s3.584 8 8 8 8-3.584 8-8-3.584-8-8-8Zm.8 12H7.2v-1.6h1.6V12Zm0-3.2H7.2V4h1.6v4.8Z"/></symbol><symbol id="warning" viewBox="0 0 16 14"><path d="M0 13.818h16L8 0 0 13.818Zm8.727-2.182H7.273v-1.454h1.454v1.454Zm0-2.909H7.273V5.818h1.454v2.91Z"/></symbol><symbol id="water" viewBox="0 0 13 16"><path d="M6.4 0C2.136 3.64 0 6.784 0 9.44 0 13.424 3.04 16 6.4 16c3.36 0 6.4-2.576 6.4-6.56 0-2.656-2.136-5.8-6.4-9.44Zm0 14.4c-2.68 0-4.8-2.056-4.8-4.96 0-1.872 1.56-4.352 4.8-7.312 3.24 2.96 4.8 5.432 4.8 7.312 0 2.904-2.12 4.96-4.8 4.96ZM3.064 9.6a.6.6 0 0 1 .592.496c.328 1.776 1.824 2.384 2.912 2.296a.602.602 0 0 1 .632.6c0 .32-.256.584-.576.6-1.704.104-3.696-.872-4.152-3.296a.6.6 0 0 1 .592-.696Z"/></symbol><symbol id="work" viewBox="0 0 16 16"><path d="M14.4 3.2h-3.2V1.6c0-.888-.712-1.6-1.6-1.6H6.4c-.888 0-1.6.712-1.6 1.6v1.6H1.6C.712 3.2.008 3.912.008 4.8L0 13.6c0 .888.712 1.6 1.6 1.6h12.8c.888 0 1.6-.712 1.6-1.6V4.8c0-.888-.712-1.6-1.6-1.6Zm-4.8 0H6.4V1.6h3.2v1.6Z"/></symbol><symbol id="wrench-circle" viewBox="0 0 16 16"><path fill-rule="evenodd" clip-rule="evenodd" d="M8 0C3.584 0 0 3.584 0 8s3.584 8 8 8 8-3.584 8-8-3.584-8-8-8Zm0 14.4A6.408 6.408 0 0 1 1.6 8c0-3.528 2.872-6.4 6.4-6.4 3.528 0 6.4 2.872 6.4 6.4 0 3.528-2.872 6.4-6.4 6.4Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M9.192 7.504a2.783 2.783 0 0 0-.648-2.896 2.775 2.775 0 0 0-3.28-.472l1.88 1.88-1.128 1.128-1.88-1.88a2.773 2.773 0 0 0 .472 3.28c.784.784 1.92.992 2.896.648l2.728 2.728c.16.16.408.16.568 0l1.12-1.12a.396.396 0 0 0 0-.568L9.192 7.504Z"/></symbol><symbol id="account" viewBox="0 0 16 16"><path d="M8 1.9a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2Zm0 9c2.97 0 6.1 1.46 6.1 2.1v1.1H1.9V13c0-.64 3.13-2.1 6.1-2.1ZM8 0C5.79 0 4 1.79 4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4Zm0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4Z"/></symbol><symbol id="ai-text" viewBox="0 0 27 22"><path fill="#97a3b7" d="M4.169 21.561h-4.17L7.592 0h4.821l7.602 21.561h-4.17l-5.758-17.14h-.169L4.17 21.562zm.137-8.454h11.37v3.138H4.306zM26.759 0v21.561h-3.905V0z"/></symbol><symbol id="ai" viewBox="0 0 33 33"><rect width="32.49" height="32.49" fill="url(#a)" rx="10.73"/><g fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.608" clip-path="url(#b)"><path d="M14.586 19.059a1.61 1.61 0 0 0-1.155-1.155L8.5 16.632a.401.401 0 0 1 0-.773l4.931-1.272a1.61 1.61 0 0 0 1.155-1.155l1.272-4.93a.402.402 0 0 1 .774 0l1.27 4.93a1.61 1.61 0 0 0 1.156 1.156l4.93 1.27a.402.402 0 0 1 0 .775l-4.93 1.271a1.61 1.61 0 0 0-1.155 1.155L16.63 23.99a.401.401 0 0 1-.774 0zM22.675 9.011v3.215M24.282 10.62h-3.216M9.813 20.265v1.607M10.62 21.067H9.012"/></g></symbol><symbol id="assistant-color" viewBox="0 0 16 16"><g clip-path="url(#clip0_25355_124591)"><path d="M6.626 10.332a1.333 1.333 0 0 0-.958-.958L1.578 8.32a.333.333 0 0 1 0-.642l4.09-1.055a1.333 1.333 0 0 0 .958-.957l1.055-4.09a.333.333 0 0 1 .642 0l1.054 4.09a1.333 1.333 0 0 0 .958.958l4.09 1.054a.333.333 0 0 1 0 .642l-4.09 1.054a1.333 1.333 0 0 0-.958.958l-1.055 4.09a.333.333 0 0 1-.642 0l-1.054-4.09Z" stroke="url(#paint0_linear_25355_124591)" stroke-opacity=".9" stroke-width="1.333" stroke-linecap="round" stroke-linejoin="round"/><path d="M13.335 1.336c.368 0 .667.299.667.667v.665h.668a.667.667 0 0 1 0 1.334h-.668v.668a.667.667 0 0 1-1.334 0v-.668h-.665a.667.667 0 0 1 0-1.334h.665v-.665c0-.368.299-.667.667-.667Z" fill="url(#paint1_linear_25355_124591)" fill-opacity=".9"/><path d="M2.667 10.668c.367 0 .664.297.666.664a.667.667 0 0 1 .001 1.333v.003a.667.667 0 0 1-1.334 0v-.002h-.001a.667.667 0 0 1 0-1.334H2a.667.667 0 0 1 .667-.664Z" fill="url(#paint2_linear_25355_124591)" fill-opacity=".9"/></g></symbol><symbol id="assistant" viewBox="0 0 22 22"><path fillRule="evenodd" clipRule="evenodd" d="M10.094.305a1.5 1.5 0 0 1 2.351.79l.005.02 1.581 6.135a1 1 0 0 0 .718.719l6.136 1.58.016.005a1.5 1.5 0 0 1 0 2.892l-.016.004-6.135 1.581a1 1 0 0 0-.719.719l-1.582 6.135-.005.02a1.5 1.5 0 0 1-2.889 0l-.005-.02-1.581-6.135a1.001 1.001 0 0 0-.719-.719L1.115 12.45l-.023-.006a1.5 1.5 0 0 1 0-2.886l.023-.006L7.25 7.968a1 1 0 0 0 .719-.718L9.55 1.115l.005-.02a1.5 1.5 0 0 1 .538-.79zM11 3.503l1.095 4.247a3.002 3.002 0 0 0 2.155 2.155L18.498 11l-4.248 1.095a3.001 3.001 0 0 0-2.155 2.155L11 18.497 9.905 14.25a3 3 0 0 0-2.155-2.156L3.504 11 7.75 9.904A3 3 0 0 0 9.905 7.75L11 3.503zM19 1a1 1 0 0 1 1 1v1h1a1 1 0 1 1 0 2h-1v1a1 1 0 1 1-2 0V5h-1a1 1 0 1 1 0-2h1V2a1 1 0 0 1 1-1zM3 15a1 1 0 0 1 1 1 1 1 0 1 1 0 2 1 1 0 1 1-2 0 1 1 0 1 1 0-2 1 1 0 0 1 1-1z"/></symbol><symbol id="bottom-select" viewBox="0 0 16 10"><path d="M8 5.991 13.596.395C13.86.132 14.194 0 14.601 0c.406 0 .741.132 1.004.395S16 .993 16 1.399c0 .407-.132.742-.395 1.005l-6.6 6.6a1.259 1.259 0 0 1-.467.305c-.167.06-.347.09-.538.09-.191 0-.37-.03-.538-.09a1.259 1.259 0 0 1-.466-.305l-6.601-6.6C.132 2.14 0 1.806 0 1.399 0 .993.132.658.395.395S.993 0 1.399 0c.407 0 .742.132 1.005.395L8 5.99Z"/></symbol><symbol id="calendar-app" viewBox="0 0 197 197"><rect width="197" height="197" rx="64.764" fill="url(#paint0_linear_60858_90)"/><g filter="url(#filter0_d_60858_90)"><path fill-rule="evenodd" clip-rule="evenodd" d="M66.58 38.931c-1.135-.607-2.478-.931-4.277-.931h-.57c-1.8 0-3.142.324-4.277.931a6.327 6.327 0 0 0-2.633 2.636c-.607 1.136-.93 2.481-.93 4.283l.005 2.637c-2.66.616-4.65 1.466-6.647 2.535-4.54 2.43-8.102 5.998-10.53 10.543C34.293 66.11 33 70.619 33 83.051v40.054c0 12.433 1.293 16.941 3.72 21.486 2.429 4.546 5.992 8.113 10.531 10.543 4.54 2.431 9.042 3.725 21.46 3.725h58.578c12.417 0 16.92-1.294 21.46-3.725 4.539-2.43 8.102-5.997 10.53-10.543 2.428-4.545 3.721-9.053 3.721-21.486V83.051c0-12.432-1.293-16.94-3.721-21.486-2.428-4.545-5.991-8.112-10.53-10.543-1.995-1.068-3.983-1.917-6.639-2.533l-.003-2.64c0-1.801-.323-3.146-.93-4.282a6.33 6.33 0 0 0-2.633-2.636c-1.135-.607-2.478-.931-4.277-.931h-.57c-1.799 0-3.142.324-4.277.931a6.33 6.33 0 0 0-2.633 2.636c-.607 1.136-.93 2.481-.93 4.283v1.447l-55.714-.01V45.85c0-1.802-.323-3.147-.93-4.283a6.327 6.327 0 0 0-2.633-2.636ZM56.987 82.16h82.025c2.691 0 3.667.28 4.65.807a5.486 5.486 0 0 1 2.282 2.285c.526.985.806 1.961.806 4.655v41.968l-.063 1.165a10.692 10.692 0 0 1-10.639 9.527l-73.135-.161-1.476-.022c-3.66-.105-5.194-.591-6.738-1.42a9.707 9.707 0 0 1-4.026-4.041c-.93-1.741-1.423-3.467-1.423-8.227V89.907l.017-1.054c.068-1.919.338-2.757.79-3.601a5.483 5.483 0 0 1 2.28-2.285c.984-.526 1.96-.807 4.65-.807Zm69.228 11.621h-5.359c-3.104 0-4.23.324-5.365.932a6.33 6.33 0 0 0-2.632 2.635c-.607 1.136-.93 2.264-.93 5.372v5.365c0 3.108.323 4.235.93 5.371a6.329 6.329 0 0 0 2.632 2.636c1.135.608 2.261.931 5.365.931h5.359c3.105 0 4.23-.323 5.365-.931a6.33 6.33 0 0 0 2.633-2.636c.606-1.136.93-2.263.93-5.371v-5.365c0-3.108-.324-4.236-.93-5.372a6.333 6.333 0 0 0-2.633-2.635c-1.135-.608-2.26-.932-5.365-.932Z" fill="#fff"/></g></symbol><symbol id="calendar-text" viewBox="0 0 116 21">
|
|
293
293
|
<path d="M10.1523 20.7163C8.26022 20.7163 6.53604 20.2701 4.97827 19.3779C3.43956 18.4671 2.22486 17.2403 1.33492 15.6975C0.444972 14.1547 0 12.4632 0 10.623C0 8.76425 0.425909 7.06346 1.2792 5.52065C2.15082 3.95926 3.35599 2.73244 4.8947 1.84019C6.43415 0.929429 8.18618 0.474047 10.1523 0.474047C11.7284 0.474047 13.0816 0.724923 14.2127 1.22682C15.3622 1.71013 16.3826 2.48149 17.2726 3.54099L14.5192 5.93885C13.3506 4.71203 11.8948 4.09866 10.1523 4.09866C8.92804 4.09866 7.85263 4.39605 6.92529 4.99091C5.99796 5.5671 5.28469 6.35705 4.78401 7.36085C4.28332 8.34598 4.0326 9.4334 4.0326 10.623C4.0326 11.8126 4.28332 12.9 4.78401 13.8852C5.30302 14.8704 6.02583 15.6511 6.95316 16.2272C7.89882 16.8035 8.99328 17.0916 10.2351 17.0916C12.0524 17.0916 13.5361 16.4596 14.6856 15.1957L17.5225 17.6214C16.744 18.5693 15.7243 19.3222 14.4634 19.8798C13.2209 20.4375 11.7841 20.7163 10.1523 20.7163ZM24.6106 20.7163C23.3123 20.7163 22.1159 20.3817 21.0222 19.7125C19.9285 19.0247 19.0569 18.1046 18.4074 16.9522C17.7769 15.7997 17.4617 14.5358 17.4617 13.1602C17.4617 11.7848 17.7769 10.5207 18.4074 9.36829C19.0569 8.19732 19.9285 7.26789 21.0222 6.58015C22.1159 5.89241 23.3123 5.54851 24.6106 5.54851C25.7967 5.54851 26.7519 5.77153 27.4754 6.21765C28.2165 6.66378 28.792 7.30507 29.1996 8.14155V5.85523H32.9265V20.3538H29.2832V17.9838C28.8565 18.8575 28.2723 19.5359 27.5311 20.0192C26.8076 20.4839 25.8341 20.7163 24.6106 20.7163ZM21.2172 13.1324C21.2172 13.8759 21.3836 14.573 21.7179 15.2235C22.0698 15.8555 22.5426 16.3666 23.1364 16.757C23.7478 17.1287 24.4434 17.3147 25.222 17.3147C26.0195 17.3147 26.724 17.1287 27.3361 16.757C27.9666 16.3852 28.4489 15.8834 28.7825 15.2514C29.116 14.6194 29.2832 13.9223 29.2832 13.1602C29.2832 12.3981 29.116 11.7011 28.7825 11.0691C28.4489 10.4185 27.9666 9.90737 27.3361 9.53562C26.724 9.14527 26.0195 8.95009 25.222 8.95009C24.4434 8.95009 23.7478 9.14527 23.1364 9.53562C22.5243 9.90737 22.0514 10.4093 21.7179 11.0412C21.3836 11.6732 21.2172 12.3703 21.2172 13.1324ZM35.158 0H38.9128V20.3538H35.158V0ZM48.0592 20.7163C46.5946 20.7163 45.2963 20.3817 44.1652 19.7125C43.0341 19.0247 42.1536 18.1046 41.5232 16.9522C40.8928 15.7997 40.5775 14.5265 40.5775 13.1324C40.5775 11.7569 40.9016 10.4836 41.5511 9.31259C42.1998 8.14155 43.0898 7.21212 44.2209 6.52438C45.3711 5.83664 46.6503 5.49273 48.0592 5.49273C49.4689 5.49273 50.7298 5.83664 51.8419 6.52438C52.973 7.21212 53.8446 8.14155 54.4567 9.31259C55.0872 10.465 55.4024 11.7383 55.4024 13.1324C55.4024 13.5971 55.3658 14.0432 55.291 14.4707H44.4716C44.6937 15.3443 45.1108 16.0507 45.723 16.5897C46.3534 17.1102 47.1326 17.3704 48.0592 17.3704C48.8385 17.3704 49.5335 17.1939 50.1456 16.8407C50.7577 16.4689 51.2393 15.9949 51.5919 15.4187L54.5125 17.6214C53.9194 18.5507 53.0478 19.3036 51.8976 19.8798C50.7481 20.4375 49.4689 20.7163 48.0592 20.7163ZM51.6198 11.6546C51.3969 10.8182 50.9615 10.1211 50.3127 9.56347C49.6632 9.00587 48.8942 8.72707 48.0035 8.72707C47.1327 8.72707 46.3717 8.99654 45.723 9.53562C45.0925 10.0747 44.6754 10.781 44.4716 11.6546H51.6198ZM57.0511 5.85523H60.7501V7.97422C61.5103 6.33846 62.9845 5.52065 65.1727 5.52065C66.2115 5.52065 67.1476 5.77153 67.9818 6.27343C68.8168 6.75673 69.4751 7.45381 69.9567 8.36457C70.4391 9.25682 70.6803 10.2977 70.6803 11.4874V20.3538H66.9248V12.4075C66.9248 11.1992 66.6469 10.2977 66.0905 9.70294C65.5341 9.10808 64.7739 8.81069 63.8099 8.81069C62.9567 8.81069 62.2427 9.11742 61.6679 9.73079C61.0932 10.3256 60.8058 11.2178 60.8058 12.4075V20.3538H57.0511V5.85523ZM79.3701 20.7163C78.0718 20.7163 76.8762 20.3817 75.7824 19.7125C74.688 19.0247 73.8164 18.1046 73.1676 16.9522C72.5371 15.7997 72.2219 14.5358 72.2219 13.1602C72.2219 11.7848 72.5371 10.5207 73.1676 9.36829C73.8164 8.19732 74.688 7.26789 75.7824 6.58015C76.8762 5.89241 78.0718 5.54851 79.3701 5.54851C80.5569 5.54851 81.5121 5.77153 82.2349 6.21765C82.9584 6.64519 83.5236 7.26789 83.932 8.08577V0H87.6867V20.3538H84.0426V17.9838C83.6167 18.8575 83.0325 19.5359 82.2906 20.0192C81.5678 20.4839 80.5943 20.7163 79.3701 20.7163ZM75.9767 13.1324C75.9767 13.8759 76.1438 14.573 76.4774 15.2235C76.83 15.8555 77.3028 16.3666 77.8959 16.757C78.508 17.1287 79.2029 17.3147 79.9822 17.3147C80.7798 17.3147 81.4842 17.1287 82.0964 16.757C82.7268 16.3852 83.2084 15.8834 83.5427 15.2514C83.8762 14.6194 84.0426 13.9223 84.0426 13.1602C84.0426 12.3981 83.8762 11.7011 83.5427 11.0691C83.2084 10.4185 82.7268 9.90737 82.0964 9.53562C81.4842 9.14527 80.7798 8.95009 79.9822 8.95009C79.2029 8.95009 78.508 9.14527 77.8959 9.53562C77.2838 9.90737 76.8109 10.4093 76.4774 11.0412C76.1438 11.6732 75.9767 12.3703 75.9767 13.1324ZM96.51 20.7163C95.2117 20.7163 94.0161 20.3817 92.9216 19.7125C91.8278 19.0247 90.9562 18.1046 90.3075 16.9522C89.677 15.7997 89.3618 14.5358 89.3618 13.1602C89.3618 11.7848 89.677 10.5207 90.3075 9.36829C90.9562 8.19732 91.8278 7.26789 92.9216 6.58015C94.0161 5.89241 95.2117 5.54851 96.51 5.54851C97.6968 5.54851 98.6513 5.77153 99.3748 6.21765C100.117 6.66378 100.691 7.30507 101.099 8.14155V5.85523H104.827V20.3538H101.183V17.9838C100.756 18.8575 100.172 19.5359 99.4305 20.0192C98.707 20.4839 97.7335 20.7163 96.51 20.7163ZM93.1166 13.1324C93.1166 13.8759 93.283 14.573 93.6173 15.2235C93.9691 15.8555 94.442 16.3666 95.0358 16.757C95.6479 17.1287 96.3428 17.3147 97.1221 17.3147C97.9189 17.3147 98.6234 17.1287 99.2355 16.757C99.8659 16.3852 100.348 15.8834 100.682 15.2514C101.015 14.6194 101.183 13.9223 101.183 13.1602C101.183 12.3981 101.015 11.7011 100.682 11.0691C100.348 10.4185 99.8659 9.90737 99.2355 9.53562C98.6234 9.14527 97.9189 8.95009 97.1221 8.95009C96.3428 8.95009 95.6479 9.14527 95.0358 9.53562C94.4236 9.90737 93.9508 10.4093 93.6173 11.0412C93.283 11.6732 93.1166 12.3703 93.1166 13.1324ZM107.057 5.85523H110.701V8.61552C110.961 7.55602 111.462 6.75674 112.203 6.21765C112.964 5.67865 113.956 5.44629 115.179 5.52065V9.06164H114.65C113.538 9.06164 112.621 9.41481 111.897 10.1211C111.174 10.8089 110.812 11.7476 110.812 12.9372V20.3538H107.057V5.85523Z" fill="url(#paint0_linear_16338_11808)"/>
|
|
294
294
|
|
|
295
295
|
</symbol><symbol id="chat-text" viewBox="0 0 62 22">
|
|
@@ -1582,49 +1582,30 @@ var Accounts_default = SvgAccounts;
|
|
|
1582
1582
|
// src/Icons/Ai.tsx
|
|
1583
1583
|
import * as React5 from "react";
|
|
1584
1584
|
function SvgAi(props) {
|
|
1585
|
-
return /* @__PURE__ */ React5.createElement(
|
|
1586
|
-
"
|
|
1585
|
+
return /* @__PURE__ */ React5.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 33 33", ...props }, /* @__PURE__ */ React5.createElement("rect", { width: 32.49, height: 32.49, fill: "url(#ai_svg__a)", rx: 10.73 }), /* @__PURE__ */ React5.createElement(
|
|
1586
|
+
"g",
|
|
1587
1587
|
{
|
|
1588
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1589
1588
|
fill: "none",
|
|
1590
|
-
|
|
1591
|
-
|
|
1589
|
+
stroke: "#fff",
|
|
1590
|
+
strokeLinecap: "round",
|
|
1591
|
+
strokeLinejoin: "round",
|
|
1592
|
+
strokeWidth: 1.608,
|
|
1593
|
+
clipPath: "url(#ai_svg__b)"
|
|
1592
1594
|
},
|
|
1593
|
-
/* @__PURE__ */ React5.createElement("
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
strokeLinecap: "round",
|
|
1608
|
-
strokeLinejoin: "round",
|
|
1609
|
-
strokeWidth: 1.608,
|
|
1610
|
-
clipPath: "url(#ai_svg__b)"
|
|
1611
|
-
},
|
|
1612
|
-
/* @__PURE__ */ React5.createElement("path", { d: "M104.076 27.813a1.61 1.61 0 0 0-1.155-1.155l-4.932-1.271a.401.401 0 0 1 0-.774l4.932-1.272a1.61 1.61 0 0 0 1.155-1.154l1.271-4.931a.405.405 0 0 1 .63-.212c.07.053.121.127.144.212l1.271 4.93a1.61 1.61 0 0 0 1.155 1.156l4.932 1.27a.404.404 0 0 1 0 .775l-4.932 1.271a1.61 1.61 0 0 0-1.155 1.155l-1.271 4.932a.404.404 0 0 1-.63.212.4.4 0 0 1-.144-.212zm8.089-10.046v3.215m1.607-1.607h-3.215M99.302 29.02v1.607m.808-.805h-1.608" })
|
|
1613
|
-
)),
|
|
1614
|
-
/* @__PURE__ */ React5.createElement("defs", null, /* @__PURE__ */ React5.createElement(
|
|
1615
|
-
"linearGradient",
|
|
1616
|
-
{
|
|
1617
|
-
id: "ai_svg__a",
|
|
1618
|
-
x1: 121.491,
|
|
1619
|
-
x2: 96.491,
|
|
1620
|
-
y1: 8.755,
|
|
1621
|
-
y2: 36.755,
|
|
1622
|
-
gradientUnits: "userSpaceOnUse"
|
|
1623
|
-
},
|
|
1624
|
-
/* @__PURE__ */ React5.createElement("stop", { stopColor: "#57abff" }),
|
|
1625
|
-
/* @__PURE__ */ React5.createElement("stop", { offset: 1, stopColor: "#1d7aff" })
|
|
1626
|
-
), /* @__PURE__ */ React5.createElement("clipPath", { id: "ai_svg__b" }, /* @__PURE__ */ React5.createElement("path", { fill: "#fff", d: "M96.089 15.355h19.29v19.29H96.09z" })))
|
|
1627
|
-
);
|
|
1595
|
+
/* @__PURE__ */ React5.createElement("path", { d: "M14.586 19.059a1.61 1.61 0 0 0-1.155-1.155L8.5 16.632a.401.401 0 0 1 0-.773l4.931-1.272a1.61 1.61 0 0 0 1.155-1.155l1.272-4.93a.402.402 0 0 1 .774 0l1.27 4.93a1.61 1.61 0 0 0 1.156 1.156l4.93 1.27a.402.402 0 0 1 0 .775l-4.93 1.271a1.61 1.61 0 0 0-1.155 1.155L16.63 23.99a.401.401 0 0 1-.774 0zm8.089-10.048v3.215m1.607-1.606h-3.216M9.813 20.265v1.607m.807-.805H9.012" })
|
|
1596
|
+
), /* @__PURE__ */ React5.createElement("defs", null, /* @__PURE__ */ React5.createElement(
|
|
1597
|
+
"linearGradient",
|
|
1598
|
+
{
|
|
1599
|
+
id: "ai_svg__a",
|
|
1600
|
+
x1: 32,
|
|
1601
|
+
x2: 7,
|
|
1602
|
+
y1: 0,
|
|
1603
|
+
y2: 28,
|
|
1604
|
+
gradientUnits: "userSpaceOnUse"
|
|
1605
|
+
},
|
|
1606
|
+
/* @__PURE__ */ React5.createElement("stop", { stopColor: "#57abff" }),
|
|
1607
|
+
/* @__PURE__ */ React5.createElement("stop", { offset: 1, stopColor: "#1d7aff" })
|
|
1608
|
+
), /* @__PURE__ */ React5.createElement("clipPath", { id: "ai_svg__b" }, /* @__PURE__ */ React5.createElement("path", { fill: "#fff", d: "M6.6 6.6h19.29v19.29H6.6z" }))));
|
|
1628
1609
|
}
|
|
1629
1610
|
var Ai_default = SvgAi;
|
|
1630
1611
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@linagora/twake-icons",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.12.0",
|
|
5
5
|
"description": "Icon library for Twake applications — SVG icons and illustrations",
|
|
6
6
|
"author": "Twake",
|
|
7
7
|
"license": "MIT",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"doc": "storybook dev -p 6007"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
|
-
"react": "^18"
|
|
59
|
+
"react": "^18 || ^19"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@storybook/addon-docs": "10.3.5",
|
|
@@ -64,12 +64,12 @@
|
|
|
64
64
|
"@storybook/react": "10.3.5",
|
|
65
65
|
"@storybook/react-vite": "10.3.5",
|
|
66
66
|
"@svgr/cli": "8.1.0",
|
|
67
|
-
"@types/react": "
|
|
67
|
+
"@types/react": "19.3.0",
|
|
68
68
|
"cozy-tsconfig": "^2.0.0",
|
|
69
69
|
"eslint": "10.5.0",
|
|
70
70
|
"eslint-config-cozy-app": "^7.0.0",
|
|
71
|
-
"react": "
|
|
72
|
-
"react-dom": "
|
|
71
|
+
"react": "19.3.0",
|
|
72
|
+
"react-dom": "19.3.0",
|
|
73
73
|
"storybook": "10.3.5",
|
|
74
74
|
"svgo": "4.1.0",
|
|
75
75
|
"svgstore-cli": "2.0.1",
|