@croquiscom/pds 0.34.0 → 0.35.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 CHANGED
@@ -1,5 +1,25 @@
1
1
  # @croquiscom/pds
2
2
 
3
+ ## 0.35.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 75d0785: DatePicker, DateRangePicker locale provider 처리 적용 추가
8
+
9
+ ## 0.35.0
10
+
11
+ ### Minor Changes
12
+
13
+ - a38b7bd: IconArrowTriangleUp16 아이콘 추가, IconSelectArrow16 아이콘 변경
14
+
15
+ ## BreakPoint
16
+
17
+ IconSelectArrow16 명칭이 다음과 같이 변경되었습니다.
18
+
19
+ - IconSelectArrow16 => ArrowTriangleDown16
20
+
21
+ - edaa37c: Divider 컴포넌트 vertical direction 추가, CheckboxGroup 스타일 연산 수정
22
+
3
23
  ## 0.34.0
4
24
 
5
25
  ### Minor Changes
@@ -0,0 +1,3 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M8 5L3.66987 9.5L12.3301 9.5L8 5Z" fill="#363644"/>
3
+ </svg>
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ import { Locale } from 'date-fns';
2
3
  import { CaptionProps } from 'react-day-picker';
3
4
  export declare const captionColor: (disabled: boolean) => string;
4
5
  export declare const CAPTION_SIZE = 24;
@@ -9,5 +10,6 @@ export interface DatePickerCaptionProps extends CaptionProps {
9
10
  multipleMonths?: boolean;
10
11
  className?: string;
11
12
  currentMonth?: Date;
13
+ locale: Locale;
12
14
  }
13
- export declare const Caption: ({ multipleMonths, currentMonth: controlledMonth, className, ...props }: DatePickerCaptionProps) => JSX.Element;
15
+ export declare const Caption: ({ multipleMonths, currentMonth: controlledMonth, className, locale, ...props }: DatePickerCaptionProps) => JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { Locale } from 'date-fns';
2
+ import { ProviderProps } from '../provider';
3
+ type DatePickerLocale = {
4
+ key: Locale['code'];
5
+ value: Locale;
6
+ };
7
+ export declare const datePickerLocales: DatePickerLocale[];
8
+ export declare function getDatePickerLocale(currentLang?: ProviderProps['locale']['lang']): Locale;
9
+ export {};
@@ -1,11 +1,14 @@
1
1
  /// <reference types="react" />
2
2
  import { SpaceProps } from '../../styles';
3
3
  import { CSSValueWithLength } from '../../styles';
4
+ export type direction = 'horizontal' | 'vertical';
5
+ export type DividerSize = 'small' | 'medium';
4
6
  export interface DividerProps extends SpaceProps {
5
7
  /** @default 'horizontal' */
8
+ direction?: direction;
6
9
  spacing?: CSSValueWithLength;
7
10
  /** @default 'small' */
8
- size?: 'small' | 'medium';
11
+ size?: DividerSize;
9
12
  }
10
13
  export declare const Divider: import("@emotion/styled").StyledComponent<{
11
14
  theme?: import("@emotion/react").Theme;
@@ -1,12 +1,10 @@
1
1
  import React from 'react';
2
- import { DividerProps } from './Divider';
3
- declare const _default: {
4
- title: string;
5
- component: import("@emotion/styled").StyledComponent<{
6
- theme?: import("@emotion/react").Theme;
7
- as?: React.ElementType<any>;
8
- } & DividerProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLHRElement>, HTMLHRElement>, {}>;
9
- };
2
+ import { ComponentMeta } from '@storybook/react';
3
+ declare const _default: ComponentMeta<import("@emotion/styled").StyledComponent<{
4
+ theme?: import("@emotion/react").Theme;
5
+ as?: React.ElementType<any>;
6
+ } & import("./Divider").DividerProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLHRElement>, HTMLHRElement>, {}>>;
10
7
  export default _default;
11
8
  export declare const Base: any;
12
- export declare const MediumSize: any;
9
+ export declare const Vertical: any;
10
+ export declare const Spacing: any;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { IconProps } from '.';
3
+ declare const SvgArrowTriangleDown16: ({ size, color, secondaryColor, ...props }: IconProps) => JSX.Element;
4
+ export default SvgArrowTriangleDown16;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { IconProps } from '.';
3
+ declare const SvgArrowTriangleUp16: ({ size, color, secondaryColor, ...props }: IconProps) => JSX.Element;
4
+ export default SvgArrowTriangleUp16;
@@ -26,6 +26,8 @@ export { default as IconArrowRight18 } from './ArrowRight18';
26
26
  export { default as IconArrowStick10 } from './ArrowStick10';
27
27
  export { default as IconArrowTop16 } from './ArrowTop16';
28
28
  export { default as IconArrowTop18 } from './ArrowTop18';
29
+ export { default as IconArrowTriangleDown16 } from './ArrowTriangleDown16';
30
+ export { default as IconArrowTriangleUp16 } from './ArrowTriangleUp16';
29
31
  export { default as IconAutoCharge20 } from './AutoCharge20';
30
32
  export { default as IconBarChart18 } from './BarChart18';
31
33
  export { default as IconBeauty72 } from './Beauty72';
@@ -138,7 +140,6 @@ export { default as IconRanking18 } from './Ranking18';
138
140
  export { default as IconRefresh14 } from './Refresh14';
139
141
  export { default as IconRefund24 } from './Refund24';
140
142
  export { default as IconSearch14 } from './Search14';
141
- export { default as IconSelectArrow16 } from './SelectArrow16';
142
143
  export { default as IconShop72 } from './Shop72';
143
144
  export { default as IconSluggishSales16 } from './SluggishSales16';
144
145
  export { default as IconSpoid20 } from './Spoid20';