@idealyst/components 1.0.53 → 1.0.56
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/CLAUDE.md +10 -1
- package/README.md +111 -319
- package/package.json +5 -4
- package/src/Pressable/Pressable.native.tsx +9 -8
- package/src/SVGImage/README.md +209 -0
- package/src/SVGImage/SVGImage.native.tsx +60 -0
- package/src/SVGImage/SVGImage.styles.tsx +70 -0
- package/src/SVGImage/SVGImage.web.tsx +93 -0
- package/src/SVGImage/index.native.ts +2 -0
- package/src/SVGImage/index.ts +5 -0
- package/src/SVGImage/index.web.ts +2 -0
- package/src/SVGImage/types.ts +14 -0
- package/src/examples/AllExamples.tsx +4 -0
- package/src/examples/SVGImageExamples.tsx +188 -0
- package/src/examples/index.ts +1 -0
- package/src/examples/test-logo.svg +8 -0
- package/src/index.native.ts +4 -0
- package/src/index.ts +4 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<svg width="102" height="30" viewBox="0 0 102 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M3.01539 11.8959H2.82339C1.45806 11.8959 0.775391 11.2026 0.775391 9.81594V8.82394C0.775391 7.43728 1.45806 6.74394 2.82339 6.74394H3.23939V4.02394C3.23939 2.63728 3.93272 1.94394 5.31939 1.94394H7.59139C8.99939 1.94394 9.70339 2.63728 9.70339 4.02394V6.74394H10.8554C12.2634 6.74394 12.9674 7.43728 12.9674 8.82394V9.81594C12.9674 11.2026 12.2847 11.8959 10.9194 11.8959H9.70339V15.8639C9.70339 16.7386 10.1621 17.2399 11.0794 17.3679C11.4634 17.4319 11.7834 17.4959 12.0394 17.5599C12.2954 17.6239 12.4981 17.7306 12.6474 17.8799C12.8181 18.0079 12.9354 18.1893 12.9994 18.4239C13.0847 18.6373 13.1274 18.9253 13.1274 19.2879V21.0799C13.1274 21.8693 12.8927 22.4133 12.4234 22.7119C11.9754 23.0106 11.3034 23.1599 10.4074 23.1599C9.89539 23.1599 9.21272 23.0959 8.35939 22.9679C7.52739 22.8186 6.71672 22.5306 5.92739 22.1039C5.13806 21.6773 4.45539 21.0693 3.87939 20.2799C3.30339 19.4906 3.01539 18.4346 3.01539 17.1119V11.8959Z" fill="#0F77EE"/>
|
|
3
|
+
<path d="M14.9504 8.47194C14.9504 7.08528 15.6437 6.39194 17.0304 6.39194H19.2384C20.6464 6.39194 21.3504 7.08528 21.3504 8.47194V9.11194C21.3504 9.23994 21.3397 9.35728 21.3184 9.46394C21.3184 9.57061 21.3184 9.66661 21.3184 9.75194C21.2971 9.83728 21.2864 9.93328 21.2864 10.0399H21.3504C21.4784 9.67728 21.6704 9.27194 21.9264 8.82394C22.1824 8.37594 22.4917 7.95994 22.8544 7.57594C23.2384 7.19194 23.6437 6.87194 24.0704 6.61594C24.5184 6.33861 24.9877 6.19994 25.4784 6.19994C26.1397 6.19994 26.5877 6.38128 26.8224 6.74394C27.0784 7.10661 27.2064 7.62928 27.2064 8.31194V10.4879C27.2064 11.8959 26.5237 12.5999 25.1584 12.5999C23.9637 12.5999 23.0784 12.9839 22.5024 13.7519C21.9264 14.5199 21.6384 15.5119 21.6384 16.7279V20.9199C21.6384 22.3066 20.9344 22.9999 19.5264 22.9999H17.0304C15.6437 22.9999 14.9504 22.3066 14.9504 20.9199V8.47194Z" fill="#0F77EE"/>
|
|
4
|
+
<path d="M35.0096 15.7679C35.0096 16.3653 35.1376 16.7813 35.3936 17.0159C35.6496 17.2293 36.0123 17.3359 36.4816 17.3359C36.9723 17.3359 37.367 17.2293 37.6656 17.0159C37.9643 16.8026 38.199 16.5253 38.3696 16.1839C38.5403 15.8213 38.6576 15.4266 38.7216 14.9999C38.7856 14.5519 38.8176 14.1146 38.8176 13.6879V8.47194C38.8176 7.08528 39.5216 6.39194 40.9296 6.39194H43.4256C44.8123 6.39194 45.5056 7.08528 45.5056 8.47194V20.9199C45.5056 22.3066 44.8123 22.9999 43.4256 22.9999H41.2176C40.535 22.9999 40.023 22.8399 39.6816 22.5199C39.3403 22.1786 39.1696 21.7306 39.1696 21.1759V20.6639H39.1056C38.871 21.1973 38.583 21.6453 38.2416 22.0079C37.9003 22.3493 37.5163 22.6266 37.0896 22.8399C36.6843 23.0319 36.2363 23.1706 35.7456 23.2559C35.2763 23.3413 34.7963 23.3839 34.3056 23.3839C33.559 23.3839 32.823 23.2879 32.0976 23.0959C31.3723 22.9039 30.7323 22.5733 30.1776 22.1039C29.623 21.6346 29.175 21.0053 28.8336 20.2159C28.4923 19.4266 28.3216 18.4346 28.3216 17.2399V8.47194C28.3216 7.08528 29.0256 6.39194 30.4336 6.39194H32.9296C34.3163 6.39194 35.0096 7.08528 35.0096 8.47194V15.7679Z" fill="#0F77EE"/>
|
|
5
|
+
<path d="M47.2784 14.6479C47.2784 13.3893 47.4491 12.2373 47.7904 11.1919C48.1531 10.1253 48.6651 9.20794 49.3264 8.43994C50.0091 7.67194 50.8304 7.07461 51.7904 6.64794C52.7717 6.22128 53.8704 6.00794 55.0864 6.00794C55.8544 6.00794 56.4731 6.08261 56.9424 6.23194C57.4331 6.38128 57.8277 6.54128 58.1264 6.71194C58.4677 6.92528 58.7237 7.15994 58.8944 7.41594H58.9584C58.9371 7.33061 58.9264 7.24528 58.9264 7.15994V2.07194C58.9264 0.685277 59.6304 -0.00805664 61.0384 -0.00805664H63.5344C64.9211 -0.00805664 65.6144 0.685277 65.6144 2.07194V20.9199C65.6144 22.3066 64.9211 22.9999 63.5344 22.9999H61.4864C60.1851 22.9999 59.4811 22.3279 59.3744 20.9839H59.3424C58.8944 21.8373 58.2544 22.4559 57.4224 22.8399C56.5904 23.2026 55.6837 23.3839 54.7024 23.3839C53.6144 23.3839 52.6117 23.1706 51.6944 22.7439C50.7984 22.3173 50.0197 21.7199 49.3584 20.9519C48.6971 20.1839 48.1851 19.2666 47.8224 18.1999C47.4597 17.1333 47.2784 15.9493 47.2784 14.6479ZM53.9664 14.7119C53.9664 15.6719 54.2011 16.4506 54.6704 17.0479C55.1611 17.6239 55.7904 17.9119 56.5584 17.9119C57.2411 17.9119 57.8384 17.6559 58.3504 17.1439C58.8624 16.6319 59.1184 15.8426 59.1184 14.7759C59.1184 13.8586 58.8944 13.1013 58.4464 12.5039C58.0197 11.8853 57.4011 11.5759 56.5904 11.5759C55.8651 11.5759 55.2464 11.8426 54.7344 12.3759C54.2224 12.9093 53.9664 13.6879 53.9664 14.7119Z" fill="#0F77EE"/>
|
|
6
|
+
<path d="M67.2426 18.2639C67.2426 17.2826 67.5093 16.4613 68.0426 15.7999C68.5973 15.1173 69.3013 14.5626 70.1546 14.1359C71.0293 13.7093 72.0106 13.3999 73.0986 13.2079C74.1866 13.0159 75.2853 12.9199 76.3946 12.9199H76.7146V12.3759C76.7146 11.9706 76.5226 11.7039 76.1386 11.5759C75.7546 11.4266 75.3493 11.3519 74.9226 11.3519C74.5173 11.3519 74.08 11.4159 73.6106 11.5439C73.1413 11.6506 72.6933 11.7893 72.2666 11.9599C71.6266 12.2373 71.072 12.3013 70.6026 12.1519C70.1333 12.0026 69.7493 11.6186 69.4506 10.9999L69.0026 10.0399C68.7253 9.44261 68.6506 8.89861 68.7786 8.40794C68.9066 7.91728 69.2693 7.53328 69.8666 7.25594C70.5706 6.93594 71.4026 6.64794 72.3626 6.39194C73.3226 6.13594 74.3893 6.00794 75.5626 6.00794C76.7573 6.00794 77.8346 6.16794 78.7946 6.48794C79.7546 6.80794 80.576 7.26661 81.2586 7.86394C81.9413 8.46128 82.464 9.18661 82.8266 10.0399C83.1893 10.8933 83.3706 11.8533 83.3706 12.9199V20.9199C83.3706 22.3066 82.6773 22.9999 81.2906 22.9999H79.4026C78.1226 22.9999 77.4293 22.2639 77.3226 20.7919H77.2586C76.8106 21.4746 76.224 22.0826 75.4986 22.6159C74.7946 23.1279 73.824 23.3839 72.5866 23.3839C71.7546 23.3839 71.008 23.2453 70.3466 22.9679C69.6853 22.6906 69.12 22.3173 68.6506 21.8479C68.2026 21.3786 67.8506 20.8346 67.5946 20.2159C67.36 19.5973 67.2426 18.9466 67.2426 18.2639ZM73.2906 17.6879C73.2906 17.9226 73.3866 18.1679 73.5786 18.4239C73.7706 18.6586 74.112 18.7759 74.6026 18.7759C75.2213 18.7759 75.7333 18.5733 76.1386 18.1679C76.5653 17.7413 76.7786 17.2186 76.7786 16.5999V16.2799H76.4266C75.5093 16.2799 74.752 16.4079 74.1546 16.6639C73.5786 16.8986 73.2906 17.2399 73.2906 17.6879Z" fill="#0F77EE"/>
|
|
7
|
+
<path d="M85.2286 25.4959C85.506 24.8986 85.826 24.5253 86.1886 24.3759C86.5513 24.2266 86.9246 24.1839 87.3086 24.2479C87.4153 24.2693 87.5326 24.2906 87.6606 24.3119C87.81 24.3333 87.9806 24.3439 88.1726 24.3439C88.5993 24.3439 88.994 24.1946 89.3566 23.8959C89.7406 23.6186 90.0073 23.2773 90.1566 22.8719L90.2526 22.6159L84.2046 8.82394C83.8846 8.09861 83.8633 7.51194 84.1406 7.06394C84.4393 6.61594 84.994 6.39194 85.8046 6.39194H88.9086C89.5273 6.39194 90.0393 6.53061 90.4446 6.80794C90.8713 7.08528 91.1593 7.52261 91.3086 8.11994L92.4606 12.6959C92.5246 12.9306 92.5886 13.2293 92.6526 13.5919C92.7166 13.9333 92.77 14.2746 92.8126 14.6159C92.8766 14.9999 92.93 15.4159 92.9726 15.8639H93.0366C93.1006 15.4159 93.1646 14.9999 93.2286 14.6159C93.2713 14.2746 93.3246 13.9226 93.3886 13.5599C93.4526 13.1973 93.506 12.8986 93.5486 12.6639L94.3486 8.18394C94.4553 7.56528 94.7113 7.11728 95.1166 6.83994C95.5433 6.54128 96.066 6.39194 96.6846 6.39194H99.5646C100.333 6.39194 100.866 6.61594 101.165 7.06394C101.485 7.49061 101.517 8.06661 101.261 8.79194L95.7566 24.2479C95.3726 25.3146 94.8926 26.1999 94.3166 26.9039C93.7406 27.6079 93.1113 28.1626 92.4286 28.5679C91.746 28.9946 91.0313 29.2933 90.2846 29.4639C89.538 29.6346 88.8126 29.7199 88.1086 29.7199C87.682 29.7199 87.2766 29.6879 86.8926 29.6239C86.5086 29.5599 86.1353 29.4746 85.7726 29.3679C85.154 29.1546 84.7593 28.7919 84.5886 28.2799C84.418 27.7893 84.4713 27.2346 84.7486 26.6159L85.2286 25.4959Z" fill="#0F77EE"/>
|
|
8
|
+
</svg>
|
package/src/index.native.ts
CHANGED
|
@@ -31,6 +31,9 @@ export * from './Screen/types';
|
|
|
31
31
|
export { default as Icon } from './Icon';
|
|
32
32
|
export * from './Icon/types';
|
|
33
33
|
|
|
34
|
+
export { default as SVGImage } from './SVGImage';
|
|
35
|
+
export * from './SVGImage/types';
|
|
36
|
+
|
|
34
37
|
export { default as Dialog } from './Dialog';
|
|
35
38
|
export * from './Dialog/types';
|
|
36
39
|
|
|
@@ -48,6 +51,7 @@ export type { BadgeProps } from './Badge/types';
|
|
|
48
51
|
export type { AvatarProps } from './Avatar/types';
|
|
49
52
|
export type { ScreenProps } from './Screen/types';
|
|
50
53
|
export type { IconProps } from './Icon/types';
|
|
54
|
+
export type { SVGImageProps } from './SVGImage/types';
|
|
51
55
|
export type { DialogProps } from './Dialog/types';
|
|
52
56
|
export type { PopoverProps } from './Popover/types';
|
|
53
57
|
|
package/src/index.ts
CHANGED
|
@@ -35,6 +35,9 @@ export * from './Screen/types';
|
|
|
35
35
|
export { default as Icon } from './Icon';
|
|
36
36
|
export * from './Icon/types';
|
|
37
37
|
|
|
38
|
+
export { default as SVGImage } from './SVGImage';
|
|
39
|
+
export * from './SVGImage/types';
|
|
40
|
+
|
|
38
41
|
export { default as Dialog } from './Dialog';
|
|
39
42
|
export * from './Dialog/types';
|
|
40
43
|
|
|
@@ -52,6 +55,7 @@ export type { BadgeProps } from './Badge/types';
|
|
|
52
55
|
export type { AvatarProps } from './Avatar/types';
|
|
53
56
|
export type { ScreenProps } from './Screen/types';
|
|
54
57
|
export type { IconProps } from './Icon/types';
|
|
58
|
+
export type { SVGImageProps } from './SVGImage/types';
|
|
55
59
|
export type { DialogProps } from './Dialog/types';
|
|
56
60
|
export type { PopoverProps } from './Popover/types';
|
|
57
61
|
|