@uniai-fe/uds-primitives 0.3.32 → 0.3.34

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniai-fe/uds-primitives",
3
- "version": "0.3.32",
3
+ "version": "0.3.34",
4
4
  "description": "UNIAI Design System; Primitives Components Package",
5
5
  "type": "module",
6
6
  "private": false,
@@ -74,7 +74,7 @@ export function SelectDefault<OptionData = unknown>({
74
74
  disabled,
75
75
  readOnly,
76
76
  buttonType,
77
- items,
77
+ items = [],
78
78
  onSelectOption,
79
79
  onSelectChange,
80
80
  dropdownOptions,
@@ -54,7 +54,7 @@ export function SelectMultipleTrigger<OptionData = unknown>({
54
54
  disabled,
55
55
  readOnly,
56
56
  tags,
57
- items,
57
+ items = [],
58
58
  onSelectOption,
59
59
  onSelectChange,
60
60
  dropdownOptions: dropdown,
@@ -242,7 +242,7 @@ export interface SelectDropdownConfigProps<
242
242
  /**
243
243
  * dropdown item 리스트
244
244
  */
245
- items: SelectDropdownOption<OptionData, DataOptionality>[];
245
+ items?: SelectDropdownOption<OptionData, DataOptionality>[];
246
246
  /**
247
247
  * option 선택 액션 콜백
248
248
  */
@@ -99,6 +99,7 @@ export interface TableColgroupProps extends ComponentPropsWithoutRef<"colgroup">
99
99
  * @property {number | string} [width] width 값
100
100
  * @property {"left" | "center" | "right" | "normal" | "start" | "end" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | "stretch"} [alignX] 헤더 가로 정렬(CSS `justify-content` 값과 매핑)
101
101
  * @property {"top" | "center" | "bottom" | "normal" | "stretch" | "start" | "end" | "flex-start" | "flex-end" | "self-start" | "self-end" | "baseline"} [alignY] 헤더 세로 정렬(CSS `align-items` 값과 매핑)
102
+ * @property {boolean} [required] 입력 필드 필수여부
102
103
  */
103
104
  export interface TableColumnData<
104
105
  RowData extends Record<string, unknown> = Record<string, unknown>,
@@ -135,6 +136,10 @@ export interface TableColumnData<
135
136
  * 헤더 세로 정렬
136
137
  */
137
138
  alignY?: TableCellAlignY;
139
+ /**
140
+ * 입력 필드 필수여부
141
+ */
142
+ required?: boolean;
138
143
  }
139
144
 
140
145
  /**