@croquiscom/pds 15.1.1-next.1 → 15.1.1-next.2
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/croquiscom-pds-v15.1.1-next.1.tgz +0 -0
- package/croquiscom-pds-v15.1.1-next.2.tgz +0 -0
- package/dist/components/modal/ConfirmModal.d.ts +1 -1
- package/dist/components/notification/useNotification.d.ts +7 -2
- package/dist/components/radio/RadioGroup.d.ts +3 -3
- package/dist/components/tabs/LineTabs.d.ts +2 -2
- package/dist/components/tabs/PanelTabs/PanelTabs.d.ts +2 -2
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
Binary file
|
|
Binary file
|
|
@@ -47,4 +47,4 @@ export declare const ConfirmModal: ({ title, kind, width, zIndex, dense, fill, t
|
|
|
47
47
|
export declare const StyledText: import("@emotion/styled").StyledComponent<(import("../text").BaseTextProps & (React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>)) & {
|
|
48
48
|
theme?: import("@emotion/react").Theme | undefined;
|
|
49
49
|
}, {}, {}>;
|
|
50
|
-
export declare const Confirm: (properties: ConfirmModalProps) => Promise<boolean
|
|
50
|
+
export declare const Confirm: (properties: ConfirmModalProps) => Promise<boolean>;
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MessageContainerKey, MessageOptions } from '../message';
|
|
2
2
|
import { NotificationComponentProps } from './Notification';
|
|
3
|
-
|
|
3
|
+
interface NotificationType {
|
|
4
|
+
show: (props: MessageOptions<NotificationComponentProps>) => void;
|
|
5
|
+
destroy: (id: string, key?: MessageContainerKey) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare function useNotification(): NotificationType;
|
|
8
|
+
export {};
|
|
@@ -4,7 +4,7 @@ import { RadioSizeUnion, DefaultRadioSizeUnion } from './types';
|
|
|
4
4
|
export type AlignType = 'horizontal' | 'vertical';
|
|
5
5
|
export type RadioItemType = 'default' | 'box';
|
|
6
6
|
export type RadioWidthType = 'fill' | 'auto';
|
|
7
|
-
export interface RadioCategoryType<T
|
|
7
|
+
export interface RadioCategoryType<T> {
|
|
8
8
|
radioItemType?: T;
|
|
9
9
|
/**
|
|
10
10
|
* radioItmType - default일 경우 'medium', 'large'만 적용되며 default값은 'medium'입니다.
|
|
@@ -18,7 +18,7 @@ export interface RadioItem<RadioValue> {
|
|
|
18
18
|
value: RadioValue;
|
|
19
19
|
disabled?: boolean;
|
|
20
20
|
}
|
|
21
|
-
export interface RadioGroupProps<RadioValue
|
|
21
|
+
export interface RadioGroupProps<RadioValue> extends Omit<React.HTMLAttributes<HTMLDivElement>, 'defaultValue' | 'value' | 'onChange'>, AriaFocusProps, RadioCategoryType<RadioItemType> {
|
|
22
22
|
className?: string;
|
|
23
23
|
defaultValue?: RadioValue;
|
|
24
24
|
value?: RadioValue;
|
|
@@ -47,6 +47,6 @@ export interface RadioGroupInstance<RadioValue> {
|
|
|
47
47
|
value?: RadioValue;
|
|
48
48
|
focus: () => void;
|
|
49
49
|
}
|
|
50
|
-
export declare const RadioGroup: <RadioValue>(props: RadioGroupProps<RadioValue
|
|
50
|
+
export declare const RadioGroup: <RadioValue>(props: RadioGroupProps<RadioValue> & {
|
|
51
51
|
ref?: React.Ref<RadioGroupInstance<RadioValue>> | undefined;
|
|
52
52
|
}) => React.ReactElement;
|
|
@@ -2,7 +2,7 @@ import React, { PropsWithChildren } from 'react';
|
|
|
2
2
|
export type TabWidth = 'fill' | 'auto';
|
|
3
3
|
export interface LineTabsContextProps {
|
|
4
4
|
width?: TabWidth;
|
|
5
|
-
activeTabId
|
|
5
|
+
activeTabId?: string;
|
|
6
6
|
onChange?: (id: string) => void;
|
|
7
7
|
}
|
|
8
8
|
export declare const LineTabContext: React.Context<LineTabsContextProps | null>;
|
|
@@ -25,7 +25,7 @@ export interface LineTabsProps {
|
|
|
25
25
|
* @default true
|
|
26
26
|
*/
|
|
27
27
|
horizontalPadding?: boolean;
|
|
28
|
-
activeTabId
|
|
28
|
+
activeTabId?: string;
|
|
29
29
|
onChange?: (id: string) => void;
|
|
30
30
|
}
|
|
31
31
|
export declare const LineTabs: ({ className, children, dense, horizontalPadding, width, activeTabId, onChange, }: PropsWithChildren<LineTabsProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { PropsWithChildren, ReactNode } from 'react';
|
|
2
2
|
export interface PanelTabsContextProps {
|
|
3
|
-
activeTabId
|
|
3
|
+
activeTabId?: string;
|
|
4
4
|
onChange?: (id: string) => void;
|
|
5
5
|
}
|
|
6
6
|
export declare const PanelTabContext: React.Context<PanelTabsContextProps | null>;
|
|
@@ -13,7 +13,7 @@ export interface TabsProps {
|
|
|
13
13
|
export interface PanelTabsProps {
|
|
14
14
|
divider?: boolean;
|
|
15
15
|
className?: string;
|
|
16
|
-
activeTabId
|
|
16
|
+
activeTabId?: string;
|
|
17
17
|
onChange?: (id: string) => void;
|
|
18
18
|
}
|
|
19
19
|
export declare const PanelTabs: ({ divider, children, className, activeTabId, onChange, }: PropsWithChildren<PanelTabsProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
|