@iyulab/components 1.7.0 → 1.7.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.
|
@@ -16,7 +16,11 @@ export type InputVariant = 'outlined' | 'filled' | 'underlined' | 'borderless';
|
|
|
16
16
|
*
|
|
17
17
|
* @csspart field - u-field 요소
|
|
18
18
|
* @csspart container - input과 prefix/suffix를 감싸는 컨테이너
|
|
19
|
-
* @csspart input - 네이티브 input
|
|
19
|
+
* @csspart input - 네이티브 input 요소.
|
|
20
|
+
* text-align 등 표현 관련 속성을 지정하지 않으므로 소비앱이 ::part(input)으로 재정의한다.
|
|
21
|
+
* 예: `u-input[type="number"]::part(input) { text-align: right; font-variant-numeric: tabular-nums; }`
|
|
22
|
+
* (숫자 우측정렬은 값이 열로 쌓여 자릿수를 비교할 때 유효하므로 라이브러리 기본값으로 두지 않는다.
|
|
23
|
+
* docs/theming.md 참고)
|
|
20
24
|
* @csspart popover - 드롭다운 팝오버 요소
|
|
21
25
|
*
|
|
22
26
|
* @cssprop --input-popover-width - 드롭다운 팝오버의 너비 (기본값: 앵커(트리거) 너비)
|
|
@@ -32,7 +36,7 @@ export declare class UInput extends UFormControlElement<string> {
|
|
|
32
36
|
variant: InputVariant;
|
|
33
37
|
/** 전체 지우기 버튼 표시 여부 */
|
|
34
38
|
clearable: boolean;
|
|
35
|
-
/** input 요소의 type
|
|
39
|
+
/** input 요소의 type 속성. 외부 `u-input[type="..."]` 스타일 훅을 위해 reflect 한다 (URadio.type 과 동일). */
|
|
36
40
|
type: InputType;
|
|
37
41
|
/** 최소 글자 수 */
|
|
38
42
|
minlength?: number;
|
|
@@ -276,7 +276,10 @@ __decorate([property({
|
|
|
276
276
|
type: Boolean,
|
|
277
277
|
reflect: true
|
|
278
278
|
}), __decorateMetadata("design:type", Boolean)], UInput.prototype, "clearable", void 0);
|
|
279
|
-
__decorate([property({
|
|
279
|
+
__decorate([property({
|
|
280
|
+
type: String,
|
|
281
|
+
reflect: true
|
|
282
|
+
}), __decorateMetadata("design:type", Object)], UInput.prototype, "type", void 0);
|
|
280
283
|
__decorate([property({ type: Number }), __decorateMetadata("design:type", Number)], UInput.prototype, "minlength", void 0);
|
|
281
284
|
__decorate([property({ type: Number }), __decorateMetadata("design:type", Number)], UInput.prototype, "maxlength", void 0);
|
|
282
285
|
__decorate([property({ type: String }), __decorateMetadata("design:type", String)], UInput.prototype, "min", void 0);
|