@croquiscom/pds 15.7.1 → 15.7.3
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 +12 -0
- package/dist/components/category-selector/CategorySelector.stories.d.ts +2 -0
- package/dist/components/category-selector/CategorySelectorDropdown.d.ts +6 -1
- package/dist/index.es.js +4 -4
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @croquiscom/pds
|
|
2
2
|
|
|
3
|
+
## 15.7.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 132d538: CategorySelectorDropdown 에 canClickOutside props 추가
|
|
8
|
+
|
|
9
|
+
## 15.7.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 6125a71: Sectiontitle virtical direction 미동작 이슈 수정
|
|
14
|
+
|
|
3
15
|
## 15.7.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
2
|
import { CategorySelector } from './CategorySelector';
|
|
3
|
+
import { CategorySelectorDropdown } from './CategorySelectorDropdown';
|
|
3
4
|
declare const meta: Meta<typeof CategorySelector>;
|
|
4
5
|
export default meta;
|
|
5
6
|
type Story = StoryObj<typeof CategorySelector>;
|
|
@@ -7,3 +8,4 @@ export declare const Base: Story;
|
|
|
7
8
|
export declare const MultiSelectable: Story;
|
|
8
9
|
export declare const Disabled: Story;
|
|
9
10
|
export declare const WithDropdownChip: Story;
|
|
11
|
+
export declare const WithCanClickOutside: StoryObj<typeof CategorySelectorDropdown>;
|
|
@@ -24,5 +24,10 @@ export interface CategorySelectorDropdownProps<OptionValue> {
|
|
|
24
24
|
onOptionValuesChange?: (values: Array<OptionValue>) => void;
|
|
25
25
|
placeholder?: string;
|
|
26
26
|
status?: DropdownLabelProps['status'];
|
|
27
|
+
/**
|
|
28
|
+
* Popover 바깥 영역 클릭시 팝업 닫기 여부
|
|
29
|
+
* @default false
|
|
30
|
+
* */
|
|
31
|
+
canClickOutside?: boolean;
|
|
27
32
|
}
|
|
28
|
-
export declare const CategorySelectorDropdown: <OptionValue extends string | number>({ children, width, zIndex, disabled, selectedOptions, onOptionValuesChange, placeholder, status, size: sizeProp, }: React.PropsWithChildren<CategorySelectorDropdownProps<OptionValue>>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
33
|
+
export declare const CategorySelectorDropdown: <OptionValue extends string | number>({ children, width, zIndex, disabled, selectedOptions, onOptionValuesChange, placeholder, status, size: sizeProp, canClickOutside, }: React.PropsWithChildren<CategorySelectorDropdownProps<OptionValue>>) => import("@emotion/react/jsx-runtime").JSX.Element;
|