@croquiscom/pds 8.24.1 → 8.25.0
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 +11 -0
- package/dist/components/button/PopoverButton.d.ts +1 -1
- package/dist/components/dropdown/Dropdown.d.ts +1 -1
- package/dist/components/dropdown/DropdownInput.d.ts +1 -1
- package/dist/components/dropdown/DropdownOptions.d.ts +2 -2
- package/dist/components/dropdown/constants.d.ts +1 -0
- package/dist/components/input/ChipInput.d.ts +2 -2
- package/dist/index.es.js +7 -7
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @croquiscom/pds
|
|
2
2
|
|
|
3
|
+
## 8.25.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- e154f4f: ChipInput HTMLInputElement 기본 props 추가
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- b606992: DropdownOptions scroll 되지 않는 이슈 수정
|
|
12
|
+
- 1d972d2: FormField formHelperText영역 높이 제거
|
|
13
|
+
|
|
3
14
|
## 8.24.1
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -20,7 +20,7 @@ export interface PopoverButtonProps<OptionValue> extends Omit<ButtonProps, 'size
|
|
|
20
20
|
optionsMatchRefWidth?: boolean;
|
|
21
21
|
/**
|
|
22
22
|
* Popover OptionList maxHeight값
|
|
23
|
-
* @default 400
|
|
23
|
+
* @default DEFAULT_DROPDOWN_MAX_HEIGHT(400)
|
|
24
24
|
*/
|
|
25
25
|
maxHeight?: number;
|
|
26
26
|
disabled?: boolean;
|
|
@@ -34,4 +34,4 @@ export interface DropdownInputProps<OptionValue> extends Omit<DropdownProps<Opti
|
|
|
34
34
|
keyExtractor?: (item: DropdownInputOption<OptionValue>, index: number) => string | number;
|
|
35
35
|
optionFilter?: (inputValue: string, item: DropdownInputOption<OptionValue>, index: number) => boolean;
|
|
36
36
|
}
|
|
37
|
-
export declare const DropdownInput: <OptionValue extends string | number>({
|
|
37
|
+
export declare const DropdownInput: <OptionValue extends string | number>({ width, zIndex, disabled, options, placeholder, status, value, size: sizeProp, unstableFocusVisible, allowCustomValue, keyExtractor, optionFilter, autoPlacement: autoPlacementProps, startElement, endElement, onSearch, onChange, }: DropdownInputProps<OptionValue> & AriaFocusProps) => React.JSX.Element;
|
|
@@ -10,7 +10,7 @@ export interface PopoverContentProps<OptionValue> {
|
|
|
10
10
|
* @default 1030
|
|
11
11
|
*/
|
|
12
12
|
zIndex?: number;
|
|
13
|
-
|
|
13
|
+
noDataText?: ReactNode;
|
|
14
14
|
/** @default large */
|
|
15
15
|
initialFocus?: number;
|
|
16
16
|
size?: InputSize;
|
|
@@ -29,4 +29,4 @@ export interface PopoverContentProps<OptionValue> {
|
|
|
29
29
|
refs: ExtendedRefs<Element>;
|
|
30
30
|
setRefs: (node: HTMLElement | null, index: number) => void;
|
|
31
31
|
}
|
|
32
|
-
export declare const DropdownOptions: <OptionValue extends string | number>({ className, zIndex, size: sizeProp, initialFocus, options, onClose,
|
|
32
|
+
export declare const DropdownOptions: <OptionValue extends string | number>({ className, zIndex, size: sizeProp, initialFocus, options, onClose, noDataText, value: valueProp, unstableFocusVisible, keyExtractor, onChange, focusIndex, context, getFloatingProps, getItemProps, floatingStyles, refs, setRefs, }: PopoverContentProps<OptionValue> & AriaFocusProps) => React.JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DEFAULT_DROPDOWN_MAX_HEIGHT = 400;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { CSSProperties } from 'react';
|
|
1
|
+
import React, { CSSProperties, InputHTMLAttributes } from 'react';
|
|
2
2
|
import { AriaFocusProps } from '../../types/common';
|
|
3
3
|
import { InputSize, InputStatus } from './types';
|
|
4
4
|
export interface ChipInputValue {
|
|
@@ -6,7 +6,7 @@ export interface ChipInputValue {
|
|
|
6
6
|
canDelete?: boolean;
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
}
|
|
9
|
-
export interface ChipInputProps extends AriaFocusProps {
|
|
9
|
+
export interface ChipInputProps extends AriaFocusProps, Omit<InputHTMLAttributes<HTMLInputElement>, 'width' | 'size' | 'value' | 'onChange'> {
|
|
10
10
|
value?: ChipInputValue[];
|
|
11
11
|
disabled?: boolean;
|
|
12
12
|
placeholder?: string;
|