@selemondev/svgl-svelte 2.8.0 → 2.9.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.
@@ -11,15 +11,15 @@
11
11
  const restAttrs = Object.entries(rest)
12
12
  .map(([k, v]) => `${k}="${v}"`)
13
13
  .join(' ');
14
- return `<svg viewBox="0 0 83 80" fill="none" xmlns="http://www.w3.org/2000/svg" width="${width}" height="${height}" ${restAttrs}>
15
- <g clip-path="url(#clip0_906_1865)">
16
- <path d="M67.5214 0H14.5299C6.50526 0 0 6.50526 0 14.5299V65.4701C0 73.4947 6.50526 80 14.5299 80H67.5214C75.546 80 82.0513 73.4947 82.0513 65.4701V14.5299C82.0513 6.50526 75.546 0 67.5214 0Z" fill="#330000"/>
17
- <path d="M39.7607 48.0096H27.0459L24.4589 56.0459C24.4237 56.1924 24.3384 56.3221 24.2178 56.4125C24.0972 56.503 23.9489 56.5485 23.7984 56.5413H17.3584C16.9911 56.5413 16.8627 56.3395 16.9731 55.9358L27.9815 24.2312C28.0917 23.901 28.2018 23.5249 28.3119 23.1028C28.4559 22.3684 28.5296 21.622 28.5321 20.8736C28.5246 20.8213 28.5294 20.7679 28.5461 20.7178C28.5629 20.6676 28.591 20.6221 28.6284 20.5847C28.6658 20.5473 28.7114 20.5191 28.7615 20.5024C28.8117 20.4856 28.865 20.4808 28.9174 20.4883H37.669C37.9255 20.4883 38.0722 20.58 38.1094 20.7635L50.6042 55.9908C50.7143 56.3581 50.6041 56.5416 50.2739 56.5413H43.1183C42.9954 56.5549 42.8717 56.5233 42.7704 56.4524C42.6692 56.3815 42.5971 56.2761 42.5679 56.156L39.7607 48.0096ZM29.0274 41.0743H37.7241C37.504 40.3407 37.2471 39.515 36.9536 38.5973C36.6594 37.6805 36.3476 36.6989 36.0179 35.6525C35.6876 34.6068 35.3572 33.561 35.027 32.5151C34.6968 31.4693 34.3941 30.4602 34.1189 29.4877C33.8436 28.5159 33.5959 27.6261 33.3759 26.8182H33.3208C33.0109 28.3048 32.6251 29.7745 32.1649 31.2216C31.6506 32.8729 31.1276 34.5609 30.5961 36.2855C30.0637 38.0108 29.5408 39.6071 29.0274 41.0743Z" fill="#FF9A00"/>
18
- <path d="M58.0343 26.3229C57.4729 26.3455 56.9131 26.2493 56.3914 26.0406C55.8697 25.8319 55.398 25.5155 55.007 25.112C54.6171 24.691 54.3142 24.1971 54.1158 23.6587C53.9174 23.1202 53.8274 22.5479 53.851 21.9746C53.831 21.4069 53.9309 20.8414 54.1443 20.315C54.3577 19.7886 54.6798 19.3131 55.0894 18.9197C55.4951 18.5303 55.974 18.2252 56.4984 18.0221C57.0227 17.8189 57.5822 17.7218 58.1443 17.7363C59.4654 17.7363 60.5021 18.1307 61.2543 18.9197C61.634 19.3297 61.9291 19.8105 62.1227 20.3347C62.3163 20.8589 62.4046 21.4162 62.3826 21.9746C62.4056 22.5501 62.3127 23.1245 62.1094 23.6634C61.9061 24.2024 61.5966 24.695 61.1992 25.112C60.7839 25.5214 60.2882 25.8404 59.7435 26.0488C59.1988 26.2572 58.6169 26.3505 58.0343 26.3229ZM54.2362 55.9909V29.6805C54.2362 29.3503 54.3825 29.1851 54.6766 29.1851H61.4469C61.7403 29.1851 61.887 29.3502 61.8873 29.6805V55.9909C61.8873 56.3582 61.7405 56.5416 61.4469 56.5414H54.7317C54.4015 56.5414 54.2364 56.3579 54.2362 55.9909Z" fill="#FF9A00"/>
14
+ return `<svg viewBox="0 0 32 31" fill="none" xmlns="http://www.w3.org/2000/svg" width="${width}" height="${height}" ${restAttrs}>
15
+ <g clip-path="url(#clip0_2_233)">
16
+ <path d="M5.65714 0H26.3429C29.4857 0 32 2.51429 32 5.65714V25.2C32 28.3429 29.4857 30.8571 26.3429 30.8571H5.65714C2.51429 30.8571 0 28.3429 0 25.2V5.65714C0 2.51429 2.51429 0 5.65714 0Z" fill="#808080"/>
17
+ <path d="M15.4858 18.2857H10.6286L9.65719 21.5428C9.65719 21.6571 9.54291 21.7143 9.42862 21.7143H6.97148C6.85719 21.7143 6.80005 21.6571 6.80005 21.4857L11.0286 9.31427C11.0858 9.19998 11.0858 9.02856 11.1429 8.85713C11.2 8.62856 11.2572 8.39998 11.2 8.11427C11.2 8.05713 11.2572 7.99998 11.3143 7.94284C11.3143 7.94284 11.3143 7.94284 11.3715 7.94284H14.7429C14.8572 7.94284 14.9143 7.99998 14.9143 8.05713L19.7143 21.4286C19.7715 21.5428 19.7143 21.6571 19.6 21.6571H16.8572C16.7429 21.6571 16.6858 21.6 16.6286 21.4857L15.4858 18.2857ZM11.3715 16H14.9715C14.9143 15.7143 14.5715 15.0857 14.4572 14.7428C14.3429 14.4 14.1715 14.1143 14.0572 13.7143C13.9429 13.3143 13.8286 12.9143 13.6572 12.5143C13.5429 12.1143 13.4286 11.7143 13.3143 11.3714C13.2 10.9714 13.0858 10.6286 13.0286 10.3428C12.9143 10.9143 12.7429 11.4857 12.5715 12.0571C12.4 12.6857 12.1715 13.3143 11.9429 14C11.7715 14.5714 11.5429 15.4286 11.3715 16Z" fill="white"/>
18
+ <path d="M22.5143 10.1143C22.0572 10.1143 21.6572 9.94285 21.3715 9.65713C21.0858 9.31427 20.9143 8.91427 20.9143 8.45713C20.9143 7.99999 21.0858 7.59999 21.3715 7.25713C21.7143 6.97142 22.1143 6.79999 22.5715 6.79999C23.0286 6.79999 23.4286 6.91427 23.7715 7.25713C24.0572 7.59999 24.2286 7.99999 24.2286 8.45713C24.2286 8.91427 24.0572 9.31427 23.7715 9.65713C23.4286 9.94285 22.9715 10.1143 22.5143 10.1143ZM21.1429 21.4286V11.7143C21.1429 11.6 21.2001 11.5428 21.3143 11.5428H23.7143C23.8286 11.5428 23.8858 11.6 23.8858 11.7143V21.3714C23.8858 21.4857 23.8286 21.6 23.7143 21.6H21.3143C21.2001 21.6 21.1429 21.5428 21.1429 21.4286Z" fill="white"/>
19
19
  </g>
20
20
  <defs>
21
- <clipPath id="clip0_906_1865">
22
- <rect width="82.0513" height="80" fill="white"/>
21
+ <clipPath id="clip0_2_233">
22
+ <rect width="32" height="30.8571" fill="white"/>
23
23
  </clipPath>
24
24
  </defs>
25
25
  </svg>
@@ -11,15 +11,15 @@
11
11
  const restAttrs = Object.entries(rest)
12
12
  .map(([k, v]) => `${k}="${v}"`)
13
13
  .join(' ');
14
- return `<svg viewBox="0 0 83 80" fill="none" xmlns="http://www.w3.org/2000/svg" width="${width}" height="${height}" ${restAttrs}>
15
- <g clip-path="url(#clip0_906_1855)">
16
- <path d="M67.5214 0H14.5299C6.50526 0 0 6.50526 0 14.5299V65.4701C0 73.4947 6.50526 80 14.5299 80H67.5214C75.546 80 82.0513 73.4947 82.0513 65.4701V14.5299C82.0513 6.50526 75.546 0 67.5214 0Z" fill="#001E36"/>
17
- <path d="M18.4758 56.1007V20.9284C18.4758 20.6721 18.5859 20.5431 18.8061 20.5431C19.3926 20.5431 19.928 20.5345 20.7357 20.5156C21.5425 20.4975 22.414 20.4792 23.3502 20.4606C24.286 20.4424 25.2768 20.4241 26.3226 20.4055C27.3683 20.3874 28.4049 20.3783 29.4324 20.3779C32.2207 20.3779 34.5692 20.7265 36.4778 21.4238C38.1996 22.0062 39.7697 22.9651 41.074 24.2309C42.1797 25.3281 43.0341 26.6521 43.5784 28.1115C44.0933 29.5318 44.3542 31.0316 44.3491 32.5424C44.3491 35.4786 43.6702 37.9005 42.3125 39.808C40.9458 41.7235 39.0247 43.1739 36.8082 43.9638C34.4964 44.8264 31.9274 45.1189 29.1022 45.1189C28.2946 45.1189 27.7258 45.1098 27.3958 45.0914C27.0656 45.0733 26.5703 45.0641 25.9098 45.0639V56.0457C25.9194 56.113 25.9132 56.1816 25.8917 56.2461C25.8702 56.3106 25.834 56.3692 25.7859 56.4172C25.7378 56.4653 25.6792 56.5015 25.6147 56.523C25.5502 56.5445 25.4816 56.5507 25.4143 56.5411H18.8611C18.604 56.5411 18.4758 56.3948 18.4758 56.1007ZM25.9098 27.1482V38.62C26.3862 38.657 26.8265 38.6753 27.2307 38.675H29.0471C30.3836 38.6706 31.7113 38.4586 32.9828 38.0467C34.0732 37.7228 35.0476 37.0923 35.7899 36.2303C36.5054 35.3866 36.8632 34.2124 36.8633 32.7076C36.8923 31.6428 36.6153 30.5921 36.065 29.6802C35.4866 28.7983 34.6506 28.1161 33.6707 27.7262C32.3913 27.2289 31.0246 26.9949 29.6526 27.0382C28.7718 27.0382 27.9921 27.0473 27.3134 27.0656C26.6339 27.0846 26.1661 27.1121 25.9098 27.1482Z" fill="#31A8FF"/>
18
- <path d="M65.6311 36.534C64.5967 36.0025 63.495 35.6137 62.3561 35.3781C61.1011 35.0902 59.8181 34.9425 58.5306 34.9377C57.8342 34.9189 57.1387 35.0023 56.4665 35.1855C56.0386 35.2807 55.6583 35.5245 55.3931 35.8735C55.2137 36.1526 55.1182 36.4774 55.118 36.8092C55.128 37.1311 55.2441 37.4407 55.4482 37.6899C55.7697 38.066 56.1626 38.3747 56.604 38.5981C57.3888 39.0207 58.1975 39.3975 59.0259 39.7265C60.8732 40.3449 62.6384 41.1858 64.2825 42.2309C65.4025 42.9378 66.3293 43.9119 66.9796 45.0656C67.5265 46.1581 67.8003 47.3669 67.7778 48.5884C67.8107 50.2013 67.3498 51.7858 66.4568 53.1294C65.5007 54.4933 64.1728 55.5537 62.6312 56.1842C60.961 56.9179 58.8969 57.2849 56.439 57.2851C54.8775 57.3009 53.3186 57.1533 51.7878 56.8448C50.5818 56.6236 49.4077 56.2539 48.2926 55.7439C48.1722 55.6818 48.0721 55.5867 48.0039 55.4697C47.9356 55.3527 47.9021 55.2187 47.9073 55.0834V49.1388C47.9007 49.0806 47.91 49.0217 47.9342 48.9683C47.9585 48.915 47.9968 48.8693 48.045 48.836C48.0923 48.8093 48.1466 48.7976 48.2006 48.8026C48.2547 48.8075 48.306 48.8288 48.3477 48.8636C49.6646 49.6401 51.0945 50.2065 52.5859 50.5424C53.9005 50.8719 55.2489 51.0473 56.604 51.0653C57.8881 51.0653 58.833 50.9001 59.4387 50.5699C59.7123 50.4447 59.9437 50.2429 60.1049 49.9889C60.2661 49.7349 60.3502 49.4396 60.347 49.1388C60.347 48.6623 60.0718 48.2037 59.5214 47.7627C58.971 47.3224 57.8518 46.7903 56.1637 46.1664C54.4354 45.5649 52.7967 44.7317 51.2924 43.6896C50.2165 42.9413 49.3305 41.9516 48.7054 40.7998C48.1641 39.7152 47.8904 38.5167 47.9073 37.3046C47.9042 35.8482 48.3043 34.4194 49.0632 33.1764C49.9284 31.8076 51.1709 30.718 52.641 30.039C54.2553 29.2322 56.2735 28.8286 58.6958 28.828C60.1143 28.8166 61.5315 28.9178 62.934 29.1307C63.9497 29.2596 64.9426 29.5281 65.8847 29.9289C65.9594 29.9503 66.0281 29.9888 66.0854 30.0413C66.1427 30.0939 66.1871 30.159 66.2149 30.2316C66.2521 30.366 66.2706 30.5049 66.27 30.6444V36.2037C66.2738 36.2684 66.2605 36.333 66.2316 36.3909C66.2026 36.4489 66.1589 36.4982 66.1049 36.534C66.0313 36.5706 65.9502 36.5897 65.868 36.5897C65.7858 36.5897 65.7047 36.5706 65.6311 36.534Z" fill="#31A8FF"/>
14
+ return `<svg viewBox="0 0 32 31" fill="none" xmlns="http://www.w3.org/2000/svg" width="${width}" height="${height}" ${restAttrs}>
15
+ <g clip-path="url(#clip0_2_243)">
16
+ <path d="M5.65714 0H26.3429C29.4857 0 32 2.51429 32 5.65714V25.2C32 28.3429 29.4857 30.8571 26.3429 30.8571H5.65714C2.51429 30.8571 0 28.3429 0 25.2V5.65714C0 2.51429 2.51429 0 5.65714 0Z" fill="#808080"/>
17
+ <path d="M6.62856 21.5429V8.05717C6.62856 7.94289 6.6857 7.88574 6.74284 7.88574C6.97141 7.88574 7.25713 7.88574 7.54284 7.88574C7.82855 7.88574 8.17141 7.88574 8.57141 7.88574C8.91427 7.88574 9.31427 7.88574 9.71427 7.88574C10.1143 7.88574 10.5143 7.88574 10.9143 7.88574C11.8286 7.88574 12.7428 8.00003 13.6 8.28574C14.2857 8.51431 14.8571 8.85717 15.3714 9.37146C15.7714 9.77146 16.1143 10.2857 16.3428 10.8572C16.5143 11.4286 16.6286 12 16.6286 12.5715C16.6857 13.5429 16.4 14.5143 15.8286 15.3715C15.3143 16.1143 14.5714 16.6857 13.7143 16.9715C12.7428 17.3143 11.7714 17.4857 10.7428 17.4857C10.4571 17.4857 10.2286 17.4857 10.1143 17.4857C9.99998 17.4857 9.77141 17.4857 9.54284 17.4857V21.6572C9.54284 21.7715 9.4857 21.8286 9.37141 21.8286H9.31427H6.74284C6.6857 21.7143 6.62856 21.6572 6.62856 21.5429ZM9.54284 10.4V14.8C9.71427 14.8 9.8857 14.8 10.0571 14.8H10.7428C11.2571 14.8 11.7714 14.7429 12.2286 14.5715C12.6286 14.4572 13.0286 14.2286 13.3143 13.8857C13.6 13.4857 13.7714 13.0286 13.7143 12.5143C13.7143 12.1143 13.6 11.7143 13.4286 11.3715C13.2 11.0286 12.8571 10.7429 12.5143 10.6286C12 10.4572 11.4857 10.3429 10.9714 10.3429C10.6286 10.3429 10.3428 10.3429 10.0571 10.3429C9.82856 10.4 9.65713 10.4 9.54284 10.4Z" fill="white"/>
18
+ <path d="M24.8571 13.9429C24.3428 13.7143 23.8286 13.6 23.3143 13.4857C22.8571 13.3714 22.3428 13.3143 21.8286 13.3143C21.5428 13.3143 21.3143 13.3143 21.0286 13.4286C20.8571 13.4857 20.7428 13.5429 20.6286 13.7143C20.5714 13.8286 20.5143 13.9429 20.5143 14.0572C20.5143 14.1714 20.5714 14.2857 20.6286 14.4C20.7428 14.5714 20.9143 14.6857 21.0857 14.7429C21.3714 14.9143 21.7143 15.0286 22 15.2C22.6857 15.4286 23.3714 15.7714 24 16.1714C24.4571 16.4572 24.8 16.8 25.0286 17.2572C25.2571 17.6572 25.3714 18.1143 25.3143 18.6286C25.3143 19.2572 25.1428 19.8286 24.8 20.4C24.4571 20.9143 23.9428 21.3143 23.3143 21.6C22.5714 21.8857 21.7714 22.0572 20.9143 22C20.3428 22 19.7143 21.9429 19.1428 21.8286C18.6286 21.7143 18.1714 21.6 17.7143 21.4286C17.6 21.3714 17.5428 21.2572 17.5428 21.2V18.9143C17.5428 18.8572 17.5428 18.8 17.6 18.8C17.6571 18.8 17.6571 18.8 17.7143 18.8C18.2286 19.0857 18.8 19.3143 19.4286 19.4286C19.9428 19.5429 20.4571 19.6 20.9714 19.6572C21.3714 19.6572 21.7143 19.6 22.0571 19.4857C22.2857 19.3714 22.4 19.2 22.4 18.9143C22.4 18.6857 22.2857 18.5143 22.0571 18.4C21.6571 18.1143 21.2 17.9429 20.7428 17.7714C20.0571 17.5429 19.4286 17.2 18.8571 16.8C18.4571 16.5143 18.1143 16.1143 17.8857 15.7143C17.6571 15.3143 17.6 14.8572 17.6 14.4C17.6 13.8286 17.7714 13.3143 18.0571 12.8C18.4 12.2857 18.8571 11.8286 19.4286 11.6C20.0571 11.2572 20.8 11.0857 21.5428 11.0857C22.1143 11.0286 22.7428 11.0857 23.3143 11.0857C23.7714 11.2 24.2857 11.3143 24.6857 11.5429C24.7428 11.5429 24.8 11.6 24.8 11.6572C24.8 11.7143 24.8 11.7714 24.8 11.8286V13.9429C24.8 14 24.8 14.0572 24.7428 14.0572C24.9714 14 24.9143 14 24.8571 13.9429Z" fill="white"/>
19
19
  </g>
20
20
  <defs>
21
- <clipPath id="clip0_906_1855">
22
- <rect width="82.0513" height="80" fill="white"/>
21
+ <clipPath id="clip0_2_243">
22
+ <rect width="32" height="30.8571" fill="white"/>
23
23
  </clipPath>
24
24
  </defs>
25
25
  </svg>
@@ -0,0 +1,18 @@
1
+ <script lang="ts">
2
+ import type { HTMLAttributes } from 'svelte/elements';
3
+
4
+ export interface Props extends HTMLAttributes<SVGElement> {
5
+ width?: number;
6
+ height?: number;
7
+ }
8
+
9
+ let { width = 50, height = 50, ...rest }: Props = $props();
10
+ const svgContent = () => {
11
+ const restAttrs = Object.entries(rest)
12
+ .map(([k, v]) => `${k}="${v}"`)
13
+ .join(' ');
14
+ return `<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="enable-background:new 0 0 841.89 595.28" viewBox="0 0 841.89 595.28" width="${width}" height="${height}" ${restAttrs}><path d="m557.09 211.99 8.31 326.37h66.56l8.32-445.18zM640.28 56.91H538.72L379.35 284.53l50.78 72.52zM201.61 538.36h101.56l50.79-72.52-50.79-72.53zM201.61 211.99l228.52 326.37h101.56L303.17 211.99z"/></svg>`;
15
+ };
16
+ </script>
17
+
18
+ {@html svgContent()}
package/dist/index.d.ts CHANGED
@@ -635,6 +635,7 @@ export { default as SvglWindowsLogo } from './components/Windows.svelte';
635
635
  export { default as SvglWindsurfLogo } from './components/Windsurf.svelte';
636
636
  export { default as SvglWordPressLogo } from './components/WordPress.svelte';
637
637
  export { default as SvglWorkOSLogo } from './components/WorkOS.svelte';
638
+ export { default as SvglXAILogo } from './components/XAI.svelte';
638
639
  export { default as SvglXAIGrokLogo } from './components/XAIGrok.svelte';
639
640
  export { default as SvglXDLogo } from './components/XD.svelte';
640
641
  export { default as SvglXRPLogo } from './components/XRP.svelte';
package/dist/index.js CHANGED
@@ -637,6 +637,7 @@ export { default as SvglWindowsLogo } from './components/Windows.svelte';
637
637
  export { default as SvglWindsurfLogo } from './components/Windsurf.svelte';
638
638
  export { default as SvglWordPressLogo } from './components/WordPress.svelte';
639
639
  export { default as SvglWorkOSLogo } from './components/WorkOS.svelte';
640
+ export { default as SvglXAILogo } from './components/XAI.svelte';
640
641
  export { default as SvglXAIGrokLogo } from './components/XAIGrok.svelte';
641
642
  export { default as SvglXDLogo } from './components/XD.svelte';
642
643
  export { default as SvglXRPLogo } from './components/XRP.svelte';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@selemondev/svgl-svelte",
3
- "version": "2.8.0",
3
+ "version": "2.9.0",
4
4
  "description": "An optimized package with SVG logos to be used as Svelte components ✨",
5
5
  "author": "Selemondev",
6
6
  "private": false,