@croquiscom/pds 11.7.0 → 11.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.
- package/CHANGELOG.md +6 -0
- package/dist/components/dropdown/DropdownFilter.d.ts +6 -1
- package/dist/components/dropdown/DropdownFilter.stories.d.ts +1 -0
- package/dist/components/dropdown/DropdownFilterOptions.d.ts +2 -1
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -25,6 +25,11 @@ export interface DropdownFilterProps<OptionValue> extends Omit<DropdownProps<Opt
|
|
|
25
25
|
label: string;
|
|
26
26
|
/** @default large */
|
|
27
27
|
size?: InputSize;
|
|
28
|
+
/**
|
|
29
|
+
* DropDownFilter 초기값
|
|
30
|
+
* 초기화시, DefaultValues가 있을 경우 DefaultValues를 사용하고, 없을 경우 빈 배열을 사용합니다.
|
|
31
|
+
*/
|
|
32
|
+
defaultValues?: OptionValue[];
|
|
28
33
|
/**
|
|
29
34
|
* 옵션을 selection 그룹으로 묶을때 사용합니다. selectionGroup이 있을 경우 options는 무시됩니다.
|
|
30
35
|
*/
|
|
@@ -70,4 +75,4 @@ export interface DropdownFilterProps<OptionValue> extends Omit<DropdownProps<Opt
|
|
|
70
75
|
allCheck?: boolean;
|
|
71
76
|
onChange?: (value: OptionValue[]) => void;
|
|
72
77
|
}
|
|
73
|
-
export declare const DropdownFilter: <OptionValue extends string | number>({ label, value: valueProp, selectionGroup, options, width, size: sizeProp, startIcon, disabled, status, zIndex, maxHeight, className, filterPlaceholder, optionsMatchRefWidth, autoPlacement: autoPlacementProps, unstableFocusVisible, showFilter, helperText, kind, optionFilter, allCheck, keyExtractor, onChange, }: DropdownFilterProps<OptionValue> & AriaFocusProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
78
|
+
export declare const DropdownFilter: <OptionValue extends string | number>({ label, value: valueProp, defaultValues, selectionGroup, options, width, size: sizeProp, startIcon, disabled, status, zIndex, maxHeight, className, filterPlaceholder, optionsMatchRefWidth, autoPlacement: autoPlacementProps, unstableFocusVisible, showFilter, helperText, kind, optionFilter, allCheck, keyExtractor, onChange, }: DropdownFilterProps<OptionValue> & AriaFocusProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -17,5 +17,6 @@ export interface DropdownFilterOptionsProps<OptionValue> extends Omit<PopoverCon
|
|
|
17
17
|
kind: Kind;
|
|
18
18
|
onConfirm?: (value: OptionValue[]) => void;
|
|
19
19
|
onAllCheck?: () => void;
|
|
20
|
+
defaultValues?: OptionValue[];
|
|
20
21
|
}
|
|
21
|
-
export declare const DropdownFilterOptions: <OptionValue extends string | number>({ className, zIndex, size: sizeProp, initialFocus, options, onClose, noDataText, value: valueProp, unstableFocusVisible, keyExtractor, onChange, focusIndex, context, getFloatingProps, getItemProps, floatingStyles, refs, setRefs, setFocusIndex, showFilter, isAllCheck, isOptionGroup, filterPlaceholder, searchValue, onChangeSearchValue, selectedList, kind, showConfirm, onConfirm, onAllCheck, }: DropdownFilterOptionsProps<OptionValue> & AriaFocusProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
22
|
+
export declare const DropdownFilterOptions: <OptionValue extends string | number>({ className, zIndex, size: sizeProp, initialFocus, options, onClose, noDataText, value: valueProp, unstableFocusVisible, keyExtractor, onChange, focusIndex, context, getFloatingProps, getItemProps, floatingStyles, refs, setRefs, setFocusIndex, showFilter, isAllCheck, isOptionGroup, filterPlaceholder, searchValue, onChangeSearchValue, selectedList, kind, showConfirm, onConfirm, onAllCheck, defaultValues, }: DropdownFilterOptionsProps<OptionValue> & AriaFocusProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|