@ehfuse/mui-form-controls 3.5.0 → 3.5.1
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/index.js +3 -3
- package/dist/index.js.map +3 -3
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +3 -3
- package/dist/property/PropertyText.d.ts +11 -1
- package/dist/property/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* property/PropertyText.tsx
|
|
3
3
|
*
|
|
4
|
-
* 바로 고치는 글 칸 — 테두리 · 라벨 없는
|
|
4
|
+
* 바로 고치는 글 칸 — 테두리 · 라벨 없는 칸이다(bordered 면 입력칸 같은 테두리). Enter(한 줄) · 칸 밖으로 나가면 저장, Esc 는 고치기 전으로 되돌린다.
|
|
5
5
|
* PropertyInput 은 칸만(값 영역 안에 다른 것과 함께 놓을 때), PropertyText 는 줄(PropertyRow) + 칸이다.
|
|
6
6
|
*
|
|
7
7
|
* @license MIT
|
|
@@ -27,10 +27,20 @@ export interface PropertyInputProps extends PropertyBindingProps<string> {
|
|
|
27
27
|
escapeReverts?: boolean;
|
|
28
28
|
/** 한글 조합 중의 Enter 에도 칸을 벗어난다(예전 업무함 동작). 기본 false — 조합을 마치는 Enter 는 그대로 둔다. */
|
|
29
29
|
blurOnComposingEnter?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* 입력칸처럼 테두리를 그린다(3.5.1) — 테두리 없는 칸은 긴 글 절(안건 · 회의 내용 등)에서 고칠 수 있는 칸인지 알기 어렵다.
|
|
32
|
+
* 모양은 mfc TextArea 와 같다(옅은 테두리 · 올리면 진하게 · 포커스면 2px 파란 테두리).
|
|
33
|
+
*/
|
|
34
|
+
bordered?: boolean;
|
|
30
35
|
/** 칸 스타일 덧붙임(글자색 · 캐럿 색 등). */
|
|
31
36
|
sx?: SxProps<Theme>;
|
|
32
37
|
appearance?: PropertyAppearance;
|
|
33
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* 테두리 칸 모양(bordered) — mfc TextArea 의 상자와 같은 값이다. 직접 그린 textarea 에도 쓰도록 내보낸다.
|
|
41
|
+
* 테두리 폭을 바꾸면 글자가 1px 밀리므로 1px 테두리 + 안쪽 1px 그림자로 포커스 2px 을 만든다(TextArea 와 같은 방식).
|
|
42
|
+
*/
|
|
43
|
+
export declare const PROPERTY_BORDERED_SX: SxProps<Theme>;
|
|
34
44
|
/** 바로 고치는 글 칸(줄 없이 칸만). `form` + `name` 또는 `value` + `onCommit`. */
|
|
35
45
|
export declare const PropertyInput: {
|
|
36
46
|
(props: PropertyInputProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/property/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export { PropertyRow, PropertyGrid, PropertyEmpty, PROPERTY_GRID_TWO_COLUMN_MIN,
|
|
|
11
11
|
export type { PropertyRowProps, PropertyRowLayoutProps, PropertyGridProps } from "./PropertyRow";
|
|
12
12
|
export { withPropertyForm, writeFormValue } from "./binding";
|
|
13
13
|
export type { PropertyBindingProps, PropertyCommitHandler } from "./binding";
|
|
14
|
-
export { PropertyInput, PropertyText, PropertyTextArea, PropertyDate, isDateText, normalizeDateText, parseDateText } from "./PropertyText";
|
|
14
|
+
export { PropertyInput, PROPERTY_BORDERED_SX, PropertyText, PropertyTextArea, PropertyDate, isDateText, normalizeDateText, parseDateText } from "./PropertyText";
|
|
15
15
|
export type { PropertyInputProps, PropertyTextProps } from "./PropertyText";
|
|
16
16
|
export { PropertySelect, PropertyMultiSelect, PropertySwitch } from "./PropertySelect";
|
|
17
17
|
export type { PropertyOption, PropertySelectValue, PropertySelectProps, PropertyMultiSelectProps, PropertySwitchProps } from "./PropertySelect";
|