@ihabdevteam/core 0.12.2 → 0.12.3

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.
@@ -2295,13 +2295,35 @@ export declare interface IconGridMenuProps {
2295
2295
 
2296
2296
  /** @public */
2297
2297
  export declare interface IconProps {
2298
+ /**
2299
+ * 아이콘 이름(lucide 이름 또는 파일 경로), 또는 그려 넣을 노드.
2300
+ *
2301
+ * 이름은 `icon` 이다 — `name` 이 아니다. 주지 않으면 아무것도 그리지 않는다.
2302
+ */
2298
2303
  icon?: ReactNode | string;
2299
2304
  label?: ReactNode;
2305
+ /**
2306
+ * 감싸는 `<span>` 의 클래스. 주면 기본 이름을 **갈아치운다** — 덧붙이지 않는다.
2307
+ *
2308
+ * 기본값 `iconRenderer-icon` 을 비롯한 네 `iconRenderer-*` 이름은 **패키지에
2309
+ * 제 규칙이 하나도 없다**(실측: 자기 규칙 0개). 붙잡을 이름일 뿐이고 크기는
2310
+ * `size`, 그 밖의 모양은 `wrapperStyle` 이나 소비자 CSS 로 간다. 그래서
2311
+ * `className="iconRenderer-icon"` 이라고 적어도 아무 모양도 따라오지 않는다.
2312
+ *
2313
+ * 패키지 안에서 이 이름을 붙잡는 자리는 딱 한 곳인데, 그것도 제 규칙이 없어서
2314
+ * 생긴 것이다 — `.audio-player__no-waveform .iconRenderer-icon` 이 래퍼가
2315
+ * 줄 높이만큼 커지는 것을 그 자리에서 스스로 바로잡는다.
2316
+ */
2300
2317
  className?: string;
2318
+ /** `<img>` 로 그릴 때의 클래스. 기본 `iconRenderer-icon-image` — 규칙 없음. */
2301
2319
  imgClassName?: string;
2320
+ /** 마스크로 그릴 때의 클래스. 기본 `iconRenderer-icon-mask` — 규칙 없음. */
2302
2321
  maskClassName?: string;
2322
+ /** 인라인 SVG 로 그릴 때의 클래스. 기본 `iconRenderer-icon-svg` — 규칙 없음. */
2303
2323
  svgClassName?: string;
2324
+ /** 감싸는 `<span>` 의 인라인 스타일. */
2304
2325
  wrapperStyle?: CSSProperties;
2326
+ /** 한 변 픽셀. 크기는 클래스가 아니라 이것으로 정한다. */
2305
2327
  size?: number;
2306
2328
  }
2307
2329
 
@@ -1,13 +1,35 @@
1
1
  import { type ReactNode, type CSSProperties } from 'react';
2
2
  /** @public */
3
3
  export interface IconProps {
4
+ /**
5
+ * 아이콘 이름(lucide 이름 또는 파일 경로), 또는 그려 넣을 노드.
6
+ *
7
+ * 이름은 `icon` 이다 — `name` 이 아니다. 주지 않으면 아무것도 그리지 않는다.
8
+ */
4
9
  icon?: ReactNode | string;
5
10
  label?: ReactNode;
11
+ /**
12
+ * 감싸는 `<span>` 의 클래스. 주면 기본 이름을 **갈아치운다** — 덧붙이지 않는다.
13
+ *
14
+ * 기본값 `iconRenderer-icon` 을 비롯한 네 `iconRenderer-*` 이름은 **패키지에
15
+ * 제 규칙이 하나도 없다**(실측: 자기 규칙 0개). 붙잡을 이름일 뿐이고 크기는
16
+ * `size`, 그 밖의 모양은 `wrapperStyle` 이나 소비자 CSS 로 간다. 그래서
17
+ * `className="iconRenderer-icon"` 이라고 적어도 아무 모양도 따라오지 않는다.
18
+ *
19
+ * 패키지 안에서 이 이름을 붙잡는 자리는 딱 한 곳인데, 그것도 제 규칙이 없어서
20
+ * 생긴 것이다 — `.audio-player__no-waveform .iconRenderer-icon` 이 래퍼가
21
+ * 줄 높이만큼 커지는 것을 그 자리에서 스스로 바로잡는다.
22
+ */
6
23
  className?: string;
24
+ /** `<img>` 로 그릴 때의 클래스. 기본 `iconRenderer-icon-image` — 규칙 없음. */
7
25
  imgClassName?: string;
26
+ /** 마스크로 그릴 때의 클래스. 기본 `iconRenderer-icon-mask` — 규칙 없음. */
8
27
  maskClassName?: string;
28
+ /** 인라인 SVG 로 그릴 때의 클래스. 기본 `iconRenderer-icon-svg` — 규칙 없음. */
9
29
  svgClassName?: string;
30
+ /** 감싸는 `<span>` 의 인라인 스타일. */
10
31
  wrapperStyle?: CSSProperties;
32
+ /** 한 변 픽셀. 크기는 클래스가 아니라 이것으로 정한다. */
11
33
  size?: number;
12
34
  }
13
35
  /** @public */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ihabdevteam/core",
3
- "version": "0.12.2",
3
+ "version": "0.12.3",
4
4
  "private": false,
5
5
  "main": "dist/ihabdevteam-core.cjs.js",
6
6
  "module": "dist/ihabdevteam-core.esm.js",