@karrotmarket/react-monochrome-icon 1.20.0 → 1.22.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.
Files changed (42) hide show
  1. package/lib/IconAsteriskHorizrectangleCoolwave3Fill.d.ts +2 -2
  2. package/lib/IconAsteriskHorizrectangleCoolwave3Line.d.ts +2 -2
  3. package/lib/IconBusFrontsideFill.d.ts +2 -2
  4. package/lib/IconBusFrontsideLine.d.ts +2 -2
  5. package/lib/IconCircle4SquareFill.d.ts +2 -2
  6. package/lib/IconCircle4SquareLine.d.ts +2 -2
  7. package/lib/IconDaangnHouseFill.cjs +63 -0
  8. package/lib/IconDaangnHouseFill.d.ts +9 -0
  9. package/lib/IconDaangnHouseFill.js +42 -0
  10. package/lib/IconDaangnHouseLine.cjs +72 -0
  11. package/lib/IconDaangnHouseLine.d.ts +9 -0
  12. package/lib/IconDaangnHouseLine.js +51 -0
  13. package/lib/IconExclamationmarkCircleFill.d.ts +1 -1
  14. package/lib/IconExclamationmarkCircleLine.d.ts +1 -1
  15. package/lib/IconExclamationmarkTriangleFill.d.ts +1 -1
  16. package/lib/IconExclamationmarkTriangleLine.d.ts +1 -1
  17. package/lib/IconGlassesFill.d.ts +1 -1
  18. package/lib/IconGlassesLine.d.ts +1 -1
  19. package/lib/IconGridDot5Fill.d.ts +2 -2
  20. package/lib/IconGridDot5Line.d.ts +2 -2
  21. package/lib/IconGridFill.d.ts +2 -2
  22. package/lib/IconGridLine.d.ts +2 -2
  23. package/lib/IconSparkleArrowUpFill.cjs +54 -0
  24. package/lib/IconSparkleArrowUpFill.d.ts +9 -0
  25. package/lib/IconSparkleArrowUpFill.js +33 -0
  26. package/lib/IconSparkleArrowUpLine.cjs +63 -0
  27. package/lib/IconSparkleArrowUpLine.d.ts +9 -0
  28. package/lib/IconSparkleArrowUpLine.js +42 -0
  29. package/lib/IconTreasureChestFill.d.ts +2 -2
  30. package/lib/IconTreasureChestLine.d.ts +2 -2
  31. package/lib/IconTshirtFill.cjs +52 -0
  32. package/lib/IconTshirtFill.d.ts +9 -0
  33. package/lib/IconTshirtFill.js +31 -0
  34. package/lib/IconTshirtLine.cjs +54 -0
  35. package/lib/IconTshirtLine.d.ts +9 -0
  36. package/lib/IconTshirtLine.js +33 -0
  37. package/lib/index.cjs +3969 -3743
  38. package/lib/index.d.ts +6 -0
  39. package/lib/index.js +956 -944
  40. package/lib/loader.d.ts +20 -0
  41. package/lib/loader.js +693 -0
  42. package/package.json +5 -1
@@ -0,0 +1,20 @@
1
+ import { type ComponentType, type LazyExoticComponent, type SVGProps } from "react";
2
+ type IconComponent = ComponentType<SVGProps<SVGSVGElement> & {
3
+ size?: number | string;
4
+ }>;
5
+ /**
6
+ * SDUI 토큰 문자열(예: "icon_heart_fill")을 지연 로딩 아이콘 컴포넌트로 변환합니다.
7
+ * 존재하지 않는 토큰이면 null 을 반환합니다.
8
+ *
9
+ * @example
10
+ * const Icon = getIcon(serverToken);
11
+ * return Icon ? (
12
+ * <Suspense fallback={null}>
13
+ * <Icon size={24} />
14
+ * </Suspense>
15
+ * ) : null;
16
+ */
17
+ export declare function getIcon(token: string): LazyExoticComponent<IconComponent> | null;
18
+ /** 사용 가능한 전체 토큰 목록 (예: 아이콘 브라우저 UI). */
19
+ export declare const iconTokens: string[];
20
+ export {};