@ihabdevteam/core 0.362.0 → 0.364.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.
@@ -1770,7 +1770,7 @@ export declare function copyText(text: string): Promise<boolean>;
1770
1770
  *
1771
1771
  * 값은 손으로 적고 `test/coreVersion.test.ts` 가 package.json 과 어긋나면 운다.
1772
1772
  */
1773
- export declare const CORE_VERSION = "0.362.0";
1773
+ export declare const CORE_VERSION = "0.364.0";
1774
1774
 
1775
1775
  /** @public */
1776
1776
  declare const coreDefault: Record<string, unknown>;
@@ -3851,6 +3851,25 @@ export declare const LONG_STORIES: unknown[];
3851
3851
 
3852
3852
  export declare function lsBytes(keys: string[]): number;
3853
3853
 
3854
+ /**
3855
+ * **목록에 든 이름들** — 말귀 청 (406), 2026-10-26.
3856
+ *
3857
+ * 앱이 *"내가 쓰는 이름이 전부 코어 목록에 있나"* 를 세려면 이 목록이 필요한데, 지금까지는
3858
+ * **앱이 `lucideIconSet.ts` 를 정규식으로 훑어야** 했다. 그러다 말귀에서 한 번 샜다 —
3859
+ * 따옴표 있는 열쇠만 세는 자로 훑어 맨 열쇠 `search` 하나를 빠뜨렸고, *"`search` 가 목록에
3860
+ * 없다 → 운영에 빈칸이 있다"* 로 적힐 뻔했다. **소스를 글자로 훑는 자는 늘 이렇게 샌다.**
3861
+ *
3862
+ * 코드로 내주면 그 자가 아예 필요 없다:
3863
+ *
3864
+ * ```ts
3865
+ * import { LUCIDE_ICON_NAMES } from '@ihabdevteam/core/utils'
3866
+ * const missing = myIconNames.filter(n => !LUCIDE_ICON_NAMES.includes(n))
3867
+ * ```
3868
+ *
3869
+ * @public
3870
+ */
3871
+ export declare const LUCIDE_ICON_NAMES: readonly string[];
3872
+
3854
3873
  /** 표시마다 쓰는 아이콘 이름(lucide). 저장소가 쓰는 아이콘 체계를 그대로 따른다. */
3855
3874
  export declare const MARK_ICON: Record<ScoreMark, string>;
3856
3875
 
@@ -4585,11 +4604,29 @@ export declare function PanelRow(props: PanelRowProps): JSX.Element;
4585
4604
 
4586
4605
  declare type PanelRowButton = Base & {
4587
4606
  variant: 'button';
4607
+ /**
4608
+ * @deprecated `buttons={[{ label, onClick }]}` 를 쓴다 — 같은 일을 **두 벌로** 말하던
4609
+ * 자리다(2026-10-26 전수: `buttons` 11곳 · 단일 꼴 6곳). 다음 판에서 걷는다.
4610
+ */
4588
4611
  buttonLabel?: ReactNode;
4612
+ /**
4613
+ * @deprecated `buttons[].btnVariant` 를 쓴다. 이 자리는 **자유 글귀**라 오타가 조용히
4614
+ * 무시된다 — `Button` 의 변종 이름이 아니어도 타입이 안 막는다.
4615
+ */
4589
4616
  btnVariant?: string;
4617
+ /** @deprecated `buttons[].btnSize` 를 쓴다 */
4590
4618
  btnSize?: number;
4619
+ /** @deprecated `buttons[].disabled` 를 쓴다 */
4591
4620
  disabled?: boolean;
4621
+ /**
4622
+ * @deprecated `buttons[].onClick` 를 쓴다.
4623
+ *
4624
+ * **이름이 겹친다** — `Base.onClick` 은 *줄 전체를 누름*이고 이것은 *단추를 누름*이다.
4625
+ * 한 props 에 같은 이름으로 둘이 있어 읽는 사람이 어느 쪽인지 모른다(코드는
4626
+ * `variant === 'button'` 이면 줄 누름을 버려서 가려 두었다).
4627
+ */
4592
4628
  onClick?: () => void;
4629
+ /** 단추 목록 — **이 꼴 하나로 적는다.** 하나짜리도 목록으로 적는다 */
4593
4630
  buttons?: ButtonItem[];
4594
4631
  };
4595
4632
 
@@ -4666,8 +4703,6 @@ declare type PanelRowInput = Base & {
4666
4703
  placeholder?: string;
4667
4704
  /** 비추기만 하는 추천값 — Tab(앞으로)·Space 로 받는다. 자세한 것은 `TextField` 의 `ghostText`. */
4668
4705
  ghostText?: string;
4669
- /** 추천값 뒤 꼬리말 — 안 주면 코어 사전의 것 */
4670
- ghostHint?: string;
4671
4706
  inputMode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
4672
4707
  readOnly?: boolean;
4673
4708
  disabled?: boolean;
@@ -70,11 +70,29 @@ export type ButtonItem = {
70
70
  };
71
71
  export type PanelRowButton = Base & {
72
72
  variant: 'button';
73
+ /**
74
+ * @deprecated `buttons={[{ label, onClick }]}` 를 쓴다 — 같은 일을 **두 벌로** 말하던
75
+ * 자리다(2026-10-26 전수: `buttons` 11곳 · 단일 꼴 6곳). 다음 판에서 걷는다.
76
+ */
73
77
  buttonLabel?: ReactNode;
78
+ /**
79
+ * @deprecated `buttons[].btnVariant` 를 쓴다. 이 자리는 **자유 글귀**라 오타가 조용히
80
+ * 무시된다 — `Button` 의 변종 이름이 아니어도 타입이 안 막는다.
81
+ */
74
82
  btnVariant?: string;
83
+ /** @deprecated `buttons[].btnSize` 를 쓴다 */
75
84
  btnSize?: number;
85
+ /** @deprecated `buttons[].disabled` 를 쓴다 */
76
86
  disabled?: boolean;
87
+ /**
88
+ * @deprecated `buttons[].onClick` 를 쓴다.
89
+ *
90
+ * **이름이 겹친다** — `Base.onClick` 은 *줄 전체를 누름*이고 이것은 *단추를 누름*이다.
91
+ * 한 props 에 같은 이름으로 둘이 있어 읽는 사람이 어느 쪽인지 모른다(코드는
92
+ * `variant === 'button'` 이면 줄 누름을 버려서 가려 두었다).
93
+ */
77
94
  onClick?: () => void;
95
+ /** 단추 목록 — **이 꼴 하나로 적는다.** 하나짜리도 목록으로 적는다 */
78
96
  buttons?: ButtonItem[];
79
97
  };
80
98
  export type PanelRowText = Base & {
@@ -103,8 +121,6 @@ export type PanelRowInput = Base & {
103
121
  placeholder?: string;
104
122
  /** 비추기만 하는 추천값 — Tab(앞으로)·Space 로 받는다. 자세한 것은 `TextField` 의 `ghostText`. */
105
123
  ghostText?: string;
106
- /** 추천값 뒤 꼬리말 — 안 주면 코어 사전의 것 */
107
- ghostHint?: string;
108
124
  inputMode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
109
125
  readOnly?: boolean;
110
126
  disabled?: boolean;
@@ -106,7 +106,7 @@ export function PanelRow(props) {
106
106
  }
107
107
  else if (variant === 'input') {
108
108
  const p = props;
109
- right = (_jsxs("div", { className: `panel-row__input-wrap${useFullWidth ? ' panel-row__input-wrap--full' : ''}`, children: [_jsx(TextField, { value: p.value, onChange: p.onChange ?? noop, onKeyDown: p.onKeyDown, onEnter: p.onEnter, placeholder: p.placeholder, ghostText: p.ghostText, ghostHint: p.ghostHint, inputMode: p.inputMode, readOnly: p.readOnly, disabled: p.disabled, type: p.type, autoComplete: p.autoComplete, maxLength: p.maxLength, showCount: p.showCount, multiline: p.multiline, rows: p.rows, fullWidth: useFullWidth, error: error, ariaLabel: label, required: required, ariaDescribedBy: p.helperText ? helperId : undefined }), p.helperText && _jsx("div", { id: helperId, className: "panel-row__helper caption-1", children: p.helperText })] }));
109
+ right = (_jsxs("div", { className: `panel-row__input-wrap${useFullWidth ? ' panel-row__input-wrap--full' : ''}`, children: [_jsx(TextField, { value: p.value, onChange: p.onChange ?? noop, onKeyDown: p.onKeyDown, onEnter: p.onEnter, placeholder: p.placeholder, ghostText: p.ghostText, inputMode: p.inputMode, readOnly: p.readOnly, disabled: p.disabled, type: p.type, autoComplete: p.autoComplete, maxLength: p.maxLength, showCount: p.showCount, multiline: p.multiline, rows: p.rows, fullWidth: useFullWidth, error: error, ariaLabel: label, required: required, ariaDescribedBy: p.helperText ? helperId : undefined }), p.helperText && _jsx("div", { id: helperId, className: "panel-row__helper caption-1", children: p.helperText })] }));
110
110
  }
111
111
  else if (variant === 'custom') {
112
112
  const p = props;
@@ -13,7 +13,12 @@ import { useIsoLayoutEffect } from '../hooks/useIsoLayoutEffect';
13
13
  import './TextField.css';
14
14
  /** @public */
15
15
  export default function TextField(props) {
16
- const { value, defaultValue, name, inputRef, onChange, label, ariaLabel, ariaDescribedBy, required, placeholder, ghostText, ghostHint, type = 'text', disabled = false, readOnly = false, error, helperText, maxLength, size = 48, variant = 'input', fullWidth = false, newline = false, multiline = false, rows = 3, leftIcon, rightIcon, clearable = false, list, showCount = true, className = '', onFocus, onBlur, onKeyDown, onEnter, inputMode, autoComplete, autoFocus, suggestions: suggestionsProp, filterSuggestions, onSelectSuggestion, autoActiveFirst, openOnFocus = false, } = props;
16
+ const { value, defaultValue, name, inputRef, onChange, label, ariaLabel, ariaDescribedBy, required, placeholder, ghostText, ghostHint, type = 'text', disabled = false, readOnly = false, error, helperText, maxLength,
17
+ /* **기본은 40이다**(사장님 지시 2026-10-25, 말귀 청 (405)) — 같은 줄에 서는 다른
18
+ 조작기가 40이다(세그먼트 단추·줄 옆 `Button`). 글자 칸만 48이라 수를 받는 줄이
19
+ 토글 줄보다 눈에 띄게 깊었다(실측: 그 줄 80px ↔ 토글 줄 56px → 72px 로 좁혀짐).
20
+ 48이 맞는 자리는 그 자리에 `size={48}` 을 적는다. */
21
+ size = 40, variant = 'input', fullWidth = false, newline = false, multiline = false, rows = 3, leftIcon, rightIcon, clearable = false, list, showCount = true, className = '', onFocus, onBlur, onKeyDown, onEnter, inputMode, autoComplete, autoFocus, suggestions: suggestionsProp, filterSuggestions, onSelectSuggestion, autoActiveFirst, openOnFocus = false, } = props;
17
22
  // 읽기 전용·꺼진 칸은 후보로 값을 바꾸지 못한다 — 전에는 ↓·Enter·후보 누름으로 onChange 가 나갔다
18
23
  const suggestions = readOnly || disabled ? undefined : suggestionsProp;
19
24
  const { t } = useTranslation();
@@ -334,7 +334,7 @@ export default function WordTableBlock({ title, titleIcon, disc, filterTitle, fi
334
334
  (위 `onReorder` 와 같은 셈이다. 쪽이 몇으로 나뉘었는지는 부르는 쪽 일이 아니다). */
335
335
  renderCellAction: renderCellAction && ((n, item) => renderCellAction(n + i * itemsPerPage, item)), brand: band, code: code, contentRef: el => { pageRefs.current[i] = el; }, pageNumber: { current: i + 1, total: pages.length }, pageNumberPosition: pageNumberPosition }, i))) })) : (_jsx(WordTable, { orientation: orientation, contentTypes: contentTypes, cutLine: cutLine, showOutline: showOutline, showDivLine: showDivLine, count: count, items: isEditable ? undefined : (items ?? []), editCells: isEditable ? visibleCells : undefined, activeCell: activeCell, onActivateCell: (isEditable || onAddItem) ? setActiveCell : undefined, onRemoveCell: isEditable ? handleRemove : undefined, onRemoveItem: !isEditable ? onRemoveItem : undefined, onReorder: !isEditable ? onReorder : undefined,
336
336
  /* 편집 모드에는 얹을 항목이 없다 — 칸을 손으로 채우는 꼴이다 */
337
- renderCellAction: !isEditable ? renderCellAction : undefined, brand: band, code: code, showFillerAdd: !!onAddItem, contentRef: contentRef })), !hideControls && !saveOnly && (onReset || actionsLeftExtra != null) && (_jsxs("div", { className: "word-table-block__table-actions", children: [onReset && (_jsx(Button, { htmlType: "button", size: 48, type: "bar", label: resolvedResetLabel, onClick: onReset })), actionsLeftExtra] })), inlineNameFields && !hideControls && (_jsxs(Panel, { size: "medium", labelWidth: 64, useBorder: false, useRowBorder: false, className: "word-table-block__meta", children: [_jsx(PanelRow, { variant: "custom", label: t('wordTable.save.nameLabel', '이름'), required: true, align: "vertical", useFullWidth: true, children: _jsx(TextField, { required: true, value: nameValue ?? '', onChange: onNameChange, placeholder: namePlaceholder ? namePlaceholder + t('wordTable.save.autoFillHint', ' (Tab 또는 space 입력시 자동 입력)') : t('wordTable.save.placeholder', '이 단어표에 대한 제목을 입력하세요.'),
337
+ renderCellAction: !isEditable ? renderCellAction : undefined, brand: band, code: code, showFillerAdd: !!onAddItem, contentRef: contentRef })), !hideControls && !saveOnly && actionsLeftExtra != null && (_jsx("div", { className: "word-table-block__table-actions", children: actionsLeftExtra })), inlineNameFields && !hideControls && (_jsxs(Panel, { size: "medium", labelWidth: 64, useBorder: false, useRowBorder: false, className: "word-table-block__meta", children: [_jsx(PanelRow, { variant: "custom", label: t('wordTable.save.nameLabel', '이름'), required: true, align: "vertical", useFullWidth: true, children: _jsx(TextField, { required: true, value: nameValue ?? '', onChange: onNameChange, placeholder: namePlaceholder ? namePlaceholder + t('wordTable.save.autoFillHint', ' (Tab 또는 space 입력시 자동 입력)') : t('wordTable.save.placeholder', '이 단어표에 대한 제목을 입력하세요.'),
338
338
  /* PanelRow의 라벨은 시각적으로만 붙어 있고 입력과 연결돼 있지 않아, 낭독기에는
339
339
  이름 없는 입력으로 읽혔다. placeholder는 자동완성 안내문("Tab 또는 space…")이
340
340
  섞여 있어 이름으로 부적절하므로 같은 라벨 문구를 넘긴다. */
@@ -349,5 +349,5 @@ export default function WordTableBlock({ title, titleIcon, disc, filterTitle, fi
349
349
  e.preventDefault();
350
350
  onDescriptionChange?.(descriptionPlaceholder ?? '');
351
351
  }
352
- } }) })] }))] }), !hideControls && (_jsxs("div", { className: "word-table-block__actions", children: [_jsxs("div", { className: "word-table-block__actions-left", children: [!saveOnly && onLoad && (_jsx(Button, { htmlType: "button", size: 40, type: "bar", label: t('wordTable.load', '불러오기'), onClick: onLoad })), !saveOnly && _jsx(Button, { htmlType: "button", size: 40, type: "bar", label: t('wordTable.openNewWindow', '새 창으로 보기'), onClick: handleOpenNewWindow })] }), _jsxs("div", { className: "word-table-block__actions-right", children: [onCancel && _jsx(Button, { htmlType: "button", size: "56", type: "bar", label: t('common.cancel', '취소'), onClick: onCancel }), !saveOnly && _jsx(Button, { htmlType: "button", size: "56", type: "bar", label: t('wordTable.print', '인쇄하기'), onClick: handlePrint }), secondarySaveButtonLabel && (_jsx(Button, { htmlType: "button", size: "56", type: "bar", label: secondarySaveButtonLabel, onClick: () => inlineNameFields ? openSaveAsPopup() : handleSave(true), disabled: noItems, onDisabledClick: () => { showWarning(t('wordTable.emptyItems', '단어를 1개 이상 추가해주세요.')); } })), _jsx(Button, { htmlType: "button", size: "56", type: "bar", variant: "main", label: saveButtonLabel ?? t('wordTable.saveButton', '저장하기'), onClick: () => handleSave(false), disabled: mainSaveDisabled, onDisabledClick: handleMainDisabledClick })] })] })), _jsx(Toast, { message: toastMessage, type: toastType, onClose: clearToast })] }));
352
+ } }) })] }))] }), !hideControls && (_jsxs("div", { className: "word-table-block__actions", children: [_jsxs("div", { className: "word-table-block__actions-left", children: [!saveOnly && onLoad && (_jsx(Button, { htmlType: "button", size: 40, type: "bar", label: t('wordTable.load', '불러오기'), onClick: onLoad })), !saveOnly && onReset && (_jsx(Button, { htmlType: "button", size: 40, type: "bar", label: resolvedResetLabel, onClick: onReset })), !saveOnly && _jsx(Button, { htmlType: "button", size: 40, type: "bar", label: t('wordTable.openNewWindow', '새 창으로 보기'), onClick: handleOpenNewWindow })] }), _jsxs("div", { className: "word-table-block__actions-right", children: [onCancel && _jsx(Button, { htmlType: "button", size: "56", type: "bar", label: t('common.cancel', '취소'), onClick: onCancel }), !saveOnly && _jsx(Button, { htmlType: "button", size: "56", type: "bar", label: t('wordTable.print', '인쇄하기'), onClick: handlePrint }), secondarySaveButtonLabel && (_jsx(Button, { htmlType: "button", size: "56", type: "bar", label: secondarySaveButtonLabel, onClick: () => inlineNameFields ? openSaveAsPopup() : handleSave(true), disabled: noItems, onDisabledClick: () => { showWarning(t('wordTable.emptyItems', '단어를 1개 이상 추가해주세요.')); } })), _jsx(Button, { htmlType: "button", size: "56", type: "bar", variant: "main", label: saveButtonLabel ?? t('wordTable.saveButton', '저장하기'), onClick: () => handleSave(false), disabled: mainSaveDisabled, onDisabledClick: handleMainDisabledClick })] })] })), _jsx(Toast, { message: toastMessage, type: toastType, onClose: clearToast })] }));
353
353
  }
@@ -15,3 +15,21 @@ import type { ComponentType } from 'react';
15
15
  * tree-shaking 이 동작합니다.
16
16
  */
17
17
  export declare const STATIC_LUCIDE_ICONS: Record<string, ComponentType<Record<string, unknown>>>;
18
+ /**
19
+ * **목록에 든 이름들** — 말귀 청 (406), 2026-10-26.
20
+ *
21
+ * 앱이 *"내가 쓰는 이름이 전부 코어 목록에 있나"* 를 세려면 이 목록이 필요한데, 지금까지는
22
+ * **앱이 `lucideIconSet.ts` 를 정규식으로 훑어야** 했다. 그러다 말귀에서 한 번 샜다 —
23
+ * 따옴표 있는 열쇠만 세는 자로 훑어 맨 열쇠 `search` 하나를 빠뜨렸고, *"`search` 가 목록에
24
+ * 없다 → 운영에 빈칸이 있다"* 로 적힐 뻔했다. **소스를 글자로 훑는 자는 늘 이렇게 샌다.**
25
+ *
26
+ * 코드로 내주면 그 자가 아예 필요 없다:
27
+ *
28
+ * ```ts
29
+ * import { LUCIDE_ICON_NAMES } from '@ihabdevteam/core/utils'
30
+ * const missing = myIconNames.filter(n => !LUCIDE_ICON_NAMES.includes(n))
31
+ * ```
32
+ *
33
+ * @public
34
+ */
35
+ export declare const LUCIDE_ICON_NAMES: readonly string[];
@@ -31,7 +31,6 @@ import ArrowLeftIcon from 'lucide-react/dist/esm/icons/arrow-left.mjs';
31
31
  import ArrowRightIcon from 'lucide-react/dist/esm/icons/arrow-right.mjs';
32
32
  import ArrowRightLeftIcon from 'lucide-react/dist/esm/icons/arrow-right-left.mjs';
33
33
  import AudioLinesIcon from 'lucide-react/dist/esm/icons/audio-lines.mjs';
34
- import BabyIcon from 'lucide-react/dist/esm/icons/baby.mjs';
35
34
  import BanIcon from 'lucide-react/dist/esm/icons/ban.mjs';
36
35
  import BellIcon from 'lucide-react/dist/esm/icons/bell.mjs';
37
36
  import BookMarkedIcon from 'lucide-react/dist/esm/icons/book-marked.mjs';
@@ -101,7 +100,6 @@ import MessageSquareTextIcon from 'lucide-react/dist/esm/icons/message-square-te
101
100
  import MinusCircleIcon from 'lucide-react/dist/esm/icons/minus-circle.mjs';
102
101
  import MoreHorizontalIcon from 'lucide-react/dist/esm/icons/more-horizontal.mjs';
103
102
  import PackageIcon from 'lucide-react/dist/esm/icons/package.mjs';
104
- import PaletteIcon from 'lucide-react/dist/esm/icons/palette.mjs';
105
103
  import PartyPopperIcon from 'lucide-react/dist/esm/icons/party-popper.mjs';
106
104
  import PauseIcon from 'lucide-react/dist/esm/icons/pause.mjs';
107
105
  import PencilIcon from 'lucide-react/dist/esm/icons/pencil.mjs';
@@ -126,6 +124,7 @@ import ScissorsIcon from 'lucide-react/dist/esm/icons/scissors.mjs';
126
124
  import SearchXIcon from 'lucide-react/dist/esm/icons/search-x.mjs';
127
125
  import SendIcon from 'lucide-react/dist/esm/icons/send.mjs';
128
126
  import SettingsIcon from 'lucide-react/dist/esm/icons/settings.mjs';
127
+ import Share2Icon from 'lucide-react/dist/esm/icons/share-2.mjs';
129
128
  import ShieldCheckIcon from 'lucide-react/dist/esm/icons/shield-check.mjs';
130
129
  import ShoppingCartIcon from 'lucide-react/dist/esm/icons/shopping-cart.mjs';
131
130
  import ShuffleIcon from 'lucide-react/dist/esm/icons/shuffle.mjs';
@@ -158,11 +157,8 @@ import UsersRoundIcon from 'lucide-react/dist/esm/icons/users-round.mjs';
158
157
  import Volume2Icon from 'lucide-react/dist/esm/icons/volume-2.mjs';
159
158
  import WrenchIcon from 'lucide-react/dist/esm/icons/wrench.mjs';
160
159
  import XIcon from 'lucide-react/dist/esm/icons/x.mjs';
161
- import ZapIcon from 'lucide-react/dist/esm/icons/zap.mjs';
162
160
  import AnchorIcon from 'lucide-react/dist/esm/icons/anchor.mjs';
163
161
  import ArmchairIcon from 'lucide-react/dist/esm/icons/armchair.mjs';
164
- import ArrowUpAZIcon from 'lucide-react/dist/esm/icons/arrow-up-a-z.mjs';
165
- import BarChart2Icon from 'lucide-react/dist/esm/icons/bar-chart-2.mjs';
166
162
  import CalendarIcon from 'lucide-react/dist/esm/icons/calendar.mjs';
167
163
  import CarIcon from 'lucide-react/dist/esm/icons/car.mjs';
168
164
  import CoffeeIcon from 'lucide-react/dist/esm/icons/coffee.mjs';
@@ -171,10 +167,8 @@ import ClockIcon from 'lucide-react/dist/esm/icons/clock.mjs';
171
167
  import TargetIcon from 'lucide-react/dist/esm/icons/target.mjs';
172
168
  import PercentIcon from 'lucide-react/dist/esm/icons/percent.mjs';
173
169
  import InboxIcon from 'lucide-react/dist/esm/icons/inbox.mjs';
174
- import ListTreeIcon from 'lucide-react/dist/esm/icons/list-tree.mjs';
175
170
  import MessageSquareMoreIcon from 'lucide-react/dist/esm/icons/message-square-more.mjs';
176
171
  import MinusIcon from 'lucide-react/dist/esm/icons/minus.mjs';
177
- import Share2Icon from 'lucide-react/dist/esm/icons/share-2.mjs';
178
172
  import SparklesIcon from 'lucide-react/dist/esm/icons/sparkles.mjs';
179
173
  import TypeIcon from 'lucide-react/dist/esm/icons/type.mjs';
180
174
  import VolumeIcon from 'lucide-react/dist/esm/icons/volume.mjs';
@@ -209,11 +203,8 @@ export const STATIC_LUCIDE_ICONS = {
209
203
  'arrow-left': ArrowLeftIcon,
210
204
  'arrow-right': ArrowRightIcon,
211
205
  'arrow-right-left': ArrowRightLeftIcon,
212
- 'arrow-up-a-z': ArrowUpAZIcon,
213
206
  'audio-lines': AudioLinesIcon,
214
- 'baby': BabyIcon,
215
207
  'ban': BanIcon,
216
- 'bar-chart-2': BarChart2Icon,
217
208
  'bell': BellIcon,
218
209
  'book-marked': BookMarkedIcon,
219
210
  'book-open': BookOpenIcon,
@@ -260,6 +251,10 @@ export const STATIC_LUCIDE_ICONS = {
260
251
  /* 시각·시간을 뜻하는 이름이 하나도 없었다(말귀 '⋯' 메뉴의 '시간' 항목) */
261
252
  'clock': ClockIcon,
262
253
  /* 정답률·목표 — target 과 percent 를 함께 둔다(쓰는 쪽이 뜻에 맞는 것을 고른다) */
254
+ 'lock': LockIcon,
255
+ 'search-x': SearchXIcon,
256
+ 'share-2': Share2Icon,
257
+ 'tag': TagIcon,
263
258
  'target': TargetIcon,
264
259
  'percent': PercentIcon,
265
260
  'gavel': GavelIcon,
@@ -283,9 +278,7 @@ export const STATIC_LUCIDE_ICONS = {
283
278
  'list': ListIcon,
284
279
  'list-checks': ListChecksIcon,
285
280
  'list-ordered': ListOrderedIcon,
286
- 'list-tree': ListTreeIcon,
287
281
  'loader': LoaderIcon,
288
- 'lock': LockIcon,
289
282
  'log-out': LogOutIcon,
290
283
  'mail': MailIcon,
291
284
  'map-pin': MapPinIcon,
@@ -300,7 +293,6 @@ export const STATIC_LUCIDE_ICONS = {
300
293
  'moon': MoonIcon,
301
294
  'more-horizontal': MoreHorizontalIcon,
302
295
  'package': PackageIcon,
303
- 'palette': PaletteIcon,
304
296
  'party-popper': PartyPopperIcon,
305
297
  'pause': PauseIcon,
306
298
  'pencil': PencilIcon,
@@ -326,10 +318,8 @@ export const STATIC_LUCIDE_ICONS = {
326
318
  'alert-circle': AlertCircleIcon,
327
319
  'check-circle': CheckCircleIcon,
328
320
  'scissors': ScissorsIcon,
329
- 'search-x': SearchXIcon,
330
321
  'send': SendIcon,
331
322
  'settings': SettingsIcon,
332
- 'share-2': Share2Icon,
333
323
  'shield-check': ShieldCheckIcon,
334
324
  'shopping-cart': ShoppingCartIcon,
335
325
  'shuffle': ShuffleIcon,
@@ -342,7 +332,6 @@ export const STATIC_LUCIDE_ICONS = {
342
332
  'sun-medium': SunMediumIcon,
343
333
  'table': TableIcon,
344
334
  'table-2': Table2Icon,
345
- 'tag': TagIcon,
346
335
  'terminal': TerminalIcon,
347
336
  'text-cursor-input': TextCursorInputIcon,
348
337
  'text-initial': TextInitialIcon,
@@ -366,6 +355,23 @@ export const STATIC_LUCIDE_ICONS = {
366
355
  'volume': VolumeIcon,
367
356
  'volume-2': Volume2Icon,
368
357
  'wrench': WrenchIcon,
369
- 'x': XIcon,
370
- 'zap': ZapIcon
358
+ 'x': XIcon
371
359
  };
360
+ /**
361
+ * **목록에 든 이름들** — 말귀 청 (406), 2026-10-26.
362
+ *
363
+ * 앱이 *"내가 쓰는 이름이 전부 코어 목록에 있나"* 를 세려면 이 목록이 필요한데, 지금까지는
364
+ * **앱이 `lucideIconSet.ts` 를 정규식으로 훑어야** 했다. 그러다 말귀에서 한 번 샜다 —
365
+ * 따옴표 있는 열쇠만 세는 자로 훑어 맨 열쇠 `search` 하나를 빠뜨렸고, *"`search` 가 목록에
366
+ * 없다 → 운영에 빈칸이 있다"* 로 적힐 뻔했다. **소스를 글자로 훑는 자는 늘 이렇게 샌다.**
367
+ *
368
+ * 코드로 내주면 그 자가 아예 필요 없다:
369
+ *
370
+ * ```ts
371
+ * import { LUCIDE_ICON_NAMES } from '@ihabdevteam/core/utils'
372
+ * const missing = myIconNames.filter(n => !LUCIDE_ICON_NAMES.includes(n))
373
+ * ```
374
+ *
375
+ * @public
376
+ */
377
+ export const LUCIDE_ICON_NAMES = Object.freeze(Object.keys(STATIC_LUCIDE_ICONS));
@@ -59,6 +59,7 @@ export { isSyllablePattern, matchesSyllablePattern, validateSyllableSearchInput,
59
59
  export { PLAN_FEATURES, PLAN_LIMITS, TIER_RANK, getPlanTier, isManagerTier, type PlanTier, type DataLevel, type PlanFeatures, type PlanLimits, } from './utils/planFeatures';
60
60
  export { WORD_SUGGESTION_WEEKLY_QUOTA, WORD_SUGGESTION_ACCOUNT_LIMIT, WORD_SUGGESTION_EXISTING_ERROR, isThisWeekPick, } from './utils/wordSuggestionPolicy';
61
61
  export { recoverFromSkew, skewReloadPending, installSkewRecovery, isChunkLoadError } from './utils/chunkSkew';
62
+ export { LUCIDE_ICON_NAMES } from './utils/lucideIconSet';
62
63
  export { isSessionForThisTab } from './utils/sessionTab';
63
64
  export type { TabSessionLike } from './utils/sessionTab';
64
65
  export { lazyPage } from './utils/lazyPage';
@@ -49,6 +49,8 @@ export { PLAN_FEATURES, PLAN_LIMITS, TIER_RANK, getPlanTier, isManagerTier, } fr
49
49
  다른 쪽이 그 폴더 없이는 빌드되지 않는다. 값과 순수 함수뿐이다. */
50
50
  export { WORD_SUGGESTION_WEEKLY_QUOTA, WORD_SUGGESTION_ACCOUNT_LIMIT, WORD_SUGGESTION_EXISTING_ERROR, isThisWeekPick, } from './utils/wordSuggestionPolicy';
51
51
  export { recoverFromSkew, skewReloadPending, installSkewRecovery, isChunkLoadError } from './utils/chunkSkew';
52
+ /* 아이콘 이름 목록 — 앱이 제 못으로 *"내가 쓰는 이름이 다 있나"* 를 셀 때 쓴다(말귀 청 (406)) */
53
+ export { LUCIDE_ICON_NAMES } from './utils/lucideIconSet';
52
54
  export { isSessionForThisTab } from './utils/sessionTab';
53
55
  export { lazyPage } from './utils/lazyPage';
54
56
  export { prefetchChunk } from './utils/prefetchChunk';
@@ -46,4 +46,4 @@
46
46
  *
47
47
  * 값은 손으로 적고 `test/coreVersion.test.ts` 가 package.json 과 어긋나면 운다.
48
48
  */
49
- export declare const CORE_VERSION = "0.362.0";
49
+ export declare const CORE_VERSION = "0.364.0";
@@ -46,4 +46,4 @@
46
46
  *
47
47
  * 값은 손으로 적고 `test/coreVersion.test.ts` 가 package.json 과 어긋나면 운다.
48
48
  */
49
- export const CORE_VERSION = '0.362.0';
49
+ export const CORE_VERSION = '0.364.0';