@uniai-fe/uds-primitives 0.3.17 → 0.3.18

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.
@@ -257,9 +257,25 @@ export type SelectDefaultComponentProps = SelectTriggerDefaultProps &
257
257
  SelectDropdownBehaviorProps &
258
258
  SelectWidthOption;
259
259
 
260
+ /**
261
+ * Select.Multiple 전체 선택 옵션 props
262
+ * @property {boolean} [showSelectAllOption] dropdown 첫 행에 "전체" 옵션 노출 여부
263
+ * @property {ReactNode} [selectAllLabel] "전체" 옵션 라벨 커스터마이징
264
+ */
265
+ export interface SelectMultipleAllOptionProps {
266
+ /**
267
+ * dropdown 첫 행에 "전체" 옵션 노출 여부
268
+ */
269
+ showSelectAllOption?: boolean;
270
+ /**
271
+ * "전체" 옵션 라벨 커스터마이징
272
+ */
273
+ selectAllLabel?: ReactNode;
274
+ }
275
+
260
276
  /**
261
277
  * Select.Multiple 컴포넌트 props
262
- * @typedef {SelectTriggerMultipleProps & SelectDropdownConfigProps & SelectDropdownBehaviorProps & SelectWidthOption} SelectMultipleComponentProps
278
+ * @typedef {SelectTriggerMultipleProps & SelectDropdownConfigProps & SelectDropdownBehaviorProps & SelectWidthOption & SelectMultipleAllOptionProps} SelectMultipleComponentProps
263
279
  * @property {ReactNode} [displayLabel] 선택된 라벨
264
280
  * @property {ReactNode} [placeholder] placeholder 텍스트
265
281
  * @property {SelectMultipleTag[]} [tags] multi select tag 리스트
@@ -284,8 +300,11 @@ export type SelectDefaultComponentProps = SelectTriggerDefaultProps &
284
300
  * @property {boolean} [open] dropdown open 상태
285
301
  * @property {boolean} [defaultOpen] uncontrolled 초기 open 상태
286
302
  * @property {(open: boolean) => void} [onOpenChange] open state change 콜백
303
+ * @property {boolean} [showSelectAllOption] dropdown 첫 행에 "전체" 옵션 노출 여부
304
+ * @property {ReactNode} [selectAllLabel] "전체" 옵션 라벨 커스터마이징
287
305
  */
288
306
  export type SelectMultipleComponentProps = SelectTriggerMultipleProps &
289
307
  SelectDropdownConfigProps &
290
308
  SelectDropdownBehaviorProps &
291
- SelectWidthOption;
309
+ SelectWidthOption &
310
+ SelectMultipleAllOptionProps;