@croquiscom/pds 15.14.0 → 15.16.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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @croquiscom/pds
2
2
 
3
+ ## 15.16.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 0bc2894: List에 dragOverlayZindex 추가
8
+
9
+ ## 15.15.0
10
+
11
+ ### Minor Changes
12
+
13
+ - f544498: draggable List에서 움직임 영역 부모 크기로 제한
14
+
3
15
  ## 15.14.0
4
16
 
5
17
  ### Minor Changes
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  /// <reference types="react" />
3
3
  export declare const DatePickerMask: import("@emotion/styled").StyledComponent<{
4
+ draggable?: (boolean | "true" | "false") | undefined;
4
5
  color?: string | undefined;
5
6
  suppressHydrationWarning?: boolean | undefined;
6
7
  className?: string | undefined;
@@ -231,7 +232,6 @@ export declare const DatePickerMask: import("@emotion/styled").StyledComponent<{
231
232
  contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
232
233
  contextMenu?: string | undefined;
233
234
  dir?: string | undefined;
234
- draggable?: (boolean | "true" | "false") | undefined;
235
235
  hidden?: boolean | undefined;
236
236
  nonce?: string | undefined;
237
237
  spellCheck?: (boolean | "true" | "false") | undefined;
@@ -6,6 +6,11 @@ export interface ListProps<T = string> {
6
6
  * @default false
7
7
  */
8
8
  draggable?: boolean;
9
+ /**
10
+ * 드래그시 오버레이 영역의 z-index 값
11
+ * @default 1065
12
+ */
13
+ dragOverlayZindex?: number;
9
14
  /**
10
15
  * 드래그될 경우 변경된 items값을 파라미터로 넘겨준다
11
16
  * @see draggable
@@ -13,4 +18,4 @@ export interface ListProps<T = string> {
13
18
  onChange?: (items: Array<ListItemProps<T>>) => void;
14
19
  width?: number;
15
20
  }
16
- export declare const List: <T extends string>({ items, draggable, onChange, width }: ListProps<T>) => import("@emotion/react/jsx-runtime").JSX.Element;
21
+ export declare const List: <T extends string>({ items, draggable, dragOverlayZindex, onChange, width, }: ListProps<T>) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -5,4 +5,5 @@ export default meta;
5
5
  type Story = StoryObj<typeof List>;
6
6
  export declare const Base: Story;
7
7
  export declare const Draggable: Story;
8
+ export declare const DraggableOverflow: Story;
8
9
  export declare const FullCase: Story;
@@ -8,6 +8,12 @@ export interface ListItemProps<T = string> {
8
8
  * @default false
9
9
  */
10
10
  draggable?: boolean;
11
+ /**
12
+ /**
13
+ * 드래그 오버레이된 항목 여부
14
+ * @see draggable
15
+ */
16
+ draggingOverlay?: boolean;
11
17
  /**
12
18
  * draggable=true이면, index는 필수값이 된다
13
19
  * @see draggable
@@ -32,4 +38,4 @@ export interface ListItemProps<T = string> {
32
38
  */
33
39
  onPin?: (fixed: boolean, index?: number) => void;
34
40
  }
35
- export declare const ListItem: <T extends string>({ id, isOn, fixed, disabled, text, draggable, index, onToggle, onPin, }: ListItemProps<T>) => import("@emotion/react/jsx-runtime").JSX.Element;
41
+ export declare const ListItem: <T extends string>({ id, isOn, fixed, disabled, text, draggable, draggingOverlay, index, onToggle, onPin, }: ListItemProps<T>) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -828,5 +828,5 @@ export declare const getItemStyle: (isDragging: boolean, style?: React.CSSProper
828
828
  export declare const item_base_css: import("@emotion/utils").SerializedStyles;
829
829
  export declare const pin_base_css: import("@emotion/utils").SerializedStyles;
830
830
  export declare const getStylesByPinned: (isFixed: boolean) => import("@emotion/utils").SerializedStyles;
831
- export declare const getDraggableStyle: (isDragging: boolean, disabled: boolean | undefined) => import("@emotion/utils").SerializedStyles;
831
+ export declare const getDraggableStyle: (isDragging: boolean, isDraggingOverlay: boolean, disabled: boolean | undefined) => import("@emotion/utils").SerializedStyles;
832
832
  export declare const three_bars_base_css: import("@emotion/utils").SerializedStyles;