@ihabdevteam/core 0.9.6 → 0.9.8
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/dist/components.cjs.js +33 -33
- package/dist/components.esm.js +23 -23
- package/dist/ihabdevteam-core.cjs.js +2 -2
- package/dist/ihabdevteam-core.d.ts +18 -2
- package/dist/ihabdevteam-core.esm.js +12 -12
- package/dist/packages/core/src/components/Tooltip/DebugTooltip.d.ts +18 -2
- package/dist/packages/core/src/components/Tooltip/DebugTooltip.js +18 -5
- package/dist/packages/core/src/components/Training/TrainingStepConfirm.js +37 -37
- package/package.json +1 -1
|
@@ -1446,8 +1446,24 @@ export declare interface DatePickerProps {
|
|
|
1446
1446
|
*/
|
|
1447
1447
|
export declare function dateToDb(app: string | null | undefined): string | undefined;
|
|
1448
1448
|
|
|
1449
|
-
/**
|
|
1450
|
-
|
|
1449
|
+
/**
|
|
1450
|
+
* 결과 팝업을 실제 훈련 없이 열어보는 개발용 단추 넷.
|
|
1451
|
+
*
|
|
1452
|
+
* 예전에는 파일 안의 `const DEBUG = false` 로만 켤 수 있었다. 모노레포 시절에는
|
|
1453
|
+
* packages/core 를 그 자리에서 고칠 수 있었으니 말이 됐는데, **패키지로 분리되면서
|
|
1454
|
+
* 켤 방법이 사라졌다** — 소비자가 node_modules 를 고치지 않는 한 언제나 null 이다.
|
|
1455
|
+
* 실제로 speechear-v2 가 이것을 렌더하고 있고, 아무것도 그려지지 않는다.
|
|
1456
|
+
*
|
|
1457
|
+
* 그래서 스위치를 밖으로 낸다. 기본값은 그대로 꺼짐이라 지금 쓰는 곳은 안 바뀐다.
|
|
1458
|
+
*
|
|
1459
|
+
* @example
|
|
1460
|
+
* <DebugResultLauncher enabled={import.meta.env.DEV} renderResultPopup={…} />
|
|
1461
|
+
*
|
|
1462
|
+
* @public
|
|
1463
|
+
*/
|
|
1464
|
+
export declare function DebugResultLauncher({ enabled, renderResultPopup }?: {
|
|
1465
|
+
/** 켜야 단추가 보인다. 기본은 꺼짐 — 배포 화면에 실수로 남지 않게. */
|
|
1466
|
+
enabled?: boolean;
|
|
1451
1467
|
renderResultPopup?: (props: {
|
|
1452
1468
|
score?: number | null;
|
|
1453
1469
|
contextsLength?: number | null;
|