@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.
- package/dist/styles.css +167 -133
- package/package.json +18 -9
- package/src/components/alternate/styles/alternate.scss +11 -8
- package/src/components/chip/markup/Chip.tsx +4 -2
- package/src/components/chip/markup/DefaultStyle.tsx +56 -43
- package/src/components/chip/markup/InputStyle.tsx +60 -47
- package/src/components/chip/types/props-internal.ts +8 -48
- package/src/components/input/styles/foundation.scss +15 -0
- package/src/components/input/styles/variables.scss +16 -3
- package/src/components/select/markup/multiple/Multiple.tsx +143 -9
- package/src/components/select/styles/select.scss +1 -1
- package/src/components/select/styles/variables.scss +13 -12
- package/src/components/select/types/props.ts +21 -2
- package/src/components/table/styles/foundation.scss +384 -310
|
@@ -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;
|