@croquiscom/pds 0.23.2 → 0.24.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 +22 -0
- package/README.md +1 -1
- package/dist/badge/Badge.d.ts +3 -3
- package/dist/badge/Badge.stories.d.ts +1 -1
- package/dist/badge/styles.d.ts +2 -2
- package/dist/badge/types.d.ts +1 -1
- package/dist/form/styles.d.ts +1 -1
- package/dist/index.es.js +2 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/message/MessageManager.d.ts +1 -8
- package/dist/message/index.d.ts +1 -0
- package/dist/message/types.d.ts +8 -0
- package/dist/notification/Notification.d.ts +2 -10
- package/dist/notification/Notification.stories.d.ts +1 -1
- package/dist/notification/index.d.ts +1 -0
- package/dist/notification/styles.d.ts +2 -2
- package/dist/notification/types.d.ts +9 -0
- package/dist/text/BaseText.d.ts +1 -1
- package/dist/text/BaseText.stories.d.ts +1 -1
- package/dist/toast/Toast.d.ts +2 -11
- package/dist/toast/Toast.stories.d.ts +1 -1
- package/dist/toast/index.d.ts +1 -0
- package/dist/toast/styles.d.ts +1 -1
- package/dist/toast/types.d.ts +10 -0
- package/dist/tooltip/Tooltip.d.ts +1 -1
- package/dist/tooltip/Tooltip.stories.d.ts +1 -1
- package/dist/tooltip/TooltipBase.d.ts +2 -2
- package/dist/tooltip/styles.d.ts +2 -2
- package/dist/tooltip/types.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @croquiscom/pds
|
|
2
2
|
|
|
3
|
+
## 0.24.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 54f88da: Notification, Toast types 파일 분리, 타입 에러 픽스
|
|
8
|
+
|
|
9
|
+
## 0.24.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 3b179d7: variant, type prop을 kind로 변경
|
|
14
|
+
|
|
15
|
+
## BreakPoint
|
|
16
|
+
|
|
17
|
+
Badge, BaseText, Toast, Tooltip 컴포넌트의 variant prop이 다음과 같이 변경되었습니다.
|
|
18
|
+
|
|
19
|
+
- variant => kind
|
|
20
|
+
|
|
21
|
+
Notification type prop이 다음과 같이 변경되었습니다.
|
|
22
|
+
|
|
23
|
+
- type => kind
|
|
24
|
+
|
|
3
25
|
## 0.23.2
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ import styled from '@emotion/styled';
|
|
|
22
22
|
export default function Test() {
|
|
23
23
|
return (
|
|
24
24
|
<HStack spacing={10}>
|
|
25
|
-
<BaseText
|
|
25
|
+
<BaseText kind='Heading_24_Bold' color={colors.gray900}>Hello</BaseText>
|
|
26
26
|
<StyledText>PDS UI</StyledText>
|
|
27
27
|
</HStack>
|
|
28
28
|
);
|
package/dist/badge/Badge.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { PropsWithChildren, ReactElement } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { BadgeKind, BadgeColor, BadgeSize } from './types';
|
|
3
3
|
import { IconProps } from '../icons/generated';
|
|
4
4
|
export interface BadgeProps {
|
|
5
5
|
className?: string;
|
|
6
6
|
/** @default outlined */
|
|
7
|
-
|
|
7
|
+
kind?: BadgeKind;
|
|
8
8
|
/** @default small */
|
|
9
9
|
size?: BadgeSize;
|
|
10
10
|
/** @default black */
|
|
@@ -12,4 +12,4 @@ export interface BadgeProps {
|
|
|
12
12
|
/** 라벨 우측 영역에 렌더링 될 아이콘 요소 */
|
|
13
13
|
icon?: ReactElement<IconProps>;
|
|
14
14
|
}
|
|
15
|
-
export declare const Badge: ({ className,
|
|
15
|
+
export declare const Badge: ({ className, kind, size, color, icon, children, }: PropsWithChildren<BadgeProps>) => JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ComponentMeta } from '@storybook/react';
|
|
3
|
-
declare const _default: ComponentMeta<({ className,
|
|
3
|
+
declare const _default: ComponentMeta<({ className, kind, size, color, icon, children, }: React.PropsWithChildren<import("./Badge").BadgeProps>) => JSX.Element>;
|
|
4
4
|
export default _default;
|
|
5
5
|
export declare const Outline: any;
|
|
6
6
|
export declare const Fill: any;
|
package/dist/badge/styles.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BadgeKind, BadgeColor, BadgeSize } from './types';
|
|
2
2
|
export declare const badge_base_css: import("@emotion/utils").SerializedStyles;
|
|
3
3
|
export declare const badge_color_css: Record<BadgeColor, string>;
|
|
4
4
|
export declare const badge_size_css: Record<BadgeSize, string>;
|
|
5
|
-
export declare const getBadgeStyleByProps: (
|
|
5
|
+
export declare const getBadgeStyleByProps: (kind?: BadgeKind, color?: BadgeColor) => import("@emotion/utils").SerializedStyles;
|
package/dist/badge/types.d.ts
CHANGED
package/dist/form/styles.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { InputStatus } from '../input/types';
|
|
2
2
|
export declare const label_base_css: import("@emotion/utils").SerializedStyles;
|
|
3
|
-
export declare const getFormHelperStatus: (
|
|
3
|
+
export declare const getFormHelperStatus: (kind: InputStatus) => import("@emotion/utils").SerializedStyles;
|