@croquiscom/pds 0.4.0 → 0.5.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.
Files changed (216) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +1 -1
  3. package/dist/divider/Divider.d.ts +0 -1
  4. package/dist/form/FormHelperText.d.ts +0 -1
  5. package/dist/form/FormHelperText.stories.d.ts +0 -1
  6. package/dist/global_style/GlobalStyle.d.ts +0 -1
  7. package/dist/icons/generated/Account24.d.ts +0 -1
  8. package/dist/icons/generated/Alert16.d.ts +0 -1
  9. package/dist/icons/generated/Alert20.d.ts +0 -1
  10. package/dist/icons/generated/Alert24.d.ts +0 -1
  11. package/dist/icons/generated/Alert50.d.ts +0 -1
  12. package/dist/icons/generated/AlertFill20.d.ts +0 -1
  13. package/dist/icons/generated/AlertTriangle18.d.ts +0 -1
  14. package/dist/icons/generated/ArrowBottom16.d.ts +0 -1
  15. package/dist/icons/generated/ArrowBottom18.d.ts +0 -1
  16. package/dist/icons/generated/ArrowDecrease10.d.ts +0 -1
  17. package/dist/icons/generated/ArrowIncrease10.d.ts +0 -1
  18. package/dist/icons/generated/ArrowLeft16.d.ts +0 -1
  19. package/dist/icons/generated/ArrowLeft18.d.ts +0 -1
  20. package/dist/icons/generated/ArrowLineDown20.d.ts +0 -1
  21. package/dist/icons/generated/ArrowLineLeft20.d.ts +0 -1
  22. package/dist/icons/generated/ArrowLineRight20.d.ts +0 -1
  23. package/dist/icons/generated/ArrowLineUp20.d.ts +0 -1
  24. package/dist/icons/generated/ArrowRight16.d.ts +0 -1
  25. package/dist/icons/generated/ArrowRight18.d.ts +0 -1
  26. package/dist/icons/generated/ArrowStick10.d.ts +0 -1
  27. package/dist/icons/generated/ArrowTop16.d.ts +0 -1
  28. package/dist/icons/generated/ArrowTop18.d.ts +0 -1
  29. package/dist/icons/generated/AutoCharge20.d.ts +0 -1
  30. package/dist/icons/generated/BarChart18.d.ts +0 -1
  31. package/dist/icons/generated/Beauty72.d.ts +0 -1
  32. package/dist/icons/generated/Below10.d.ts +0 -1
  33. package/dist/icons/generated/Below16.d.ts +0 -1
  34. package/dist/icons/generated/Best16.d.ts +0 -1
  35. package/dist/icons/generated/Bookmark18.d.ts +0 -1
  36. package/dist/icons/generated/Boost24.d.ts +0 -1
  37. package/dist/icons/generated/Brand72.d.ts +0 -1
  38. package/dist/icons/generated/Calendar16.d.ts +0 -1
  39. package/dist/icons/generated/Camera20.d.ts +0 -1
  40. package/dist/icons/generated/Cart18.d.ts +0 -1
  41. package/dist/icons/generated/Cart24.d.ts +0 -1
  42. package/dist/icons/generated/Charge20.d.ts +0 -1
  43. package/dist/icons/generated/ChargeCoupon20.d.ts +0 -1
  44. package/dist/icons/generated/Check14.d.ts +0 -1
  45. package/dist/icons/generated/Check24.d.ts +0 -1
  46. package/dist/icons/generated/CircleCard24.d.ts +0 -1
  47. package/dist/icons/generated/CircleCheckFill16.d.ts +0 -1
  48. package/dist/icons/generated/CircleCheckLine16.d.ts +0 -1
  49. package/dist/icons/generated/CirclePlus14.d.ts +0 -1
  50. package/dist/icons/generated/CircleWon18.d.ts +0 -1
  51. package/dist/icons/generated/CircleWon24.d.ts +0 -1
  52. package/dist/icons/generated/Click18.d.ts +0 -1
  53. package/dist/icons/generated/Clock16.d.ts +0 -1
  54. package/dist/icons/generated/CloseMedium24.d.ts +0 -1
  55. package/dist/icons/generated/CloseSmall16.d.ts +0 -1
  56. package/dist/icons/generated/Contract24.d.ts +0 -1
  57. package/dist/icons/generated/Copy14.d.ts +0 -1
  58. package/dist/icons/generated/Coupon18.d.ts +0 -1
  59. package/dist/icons/generated/Coupon24.d.ts +0 -1
  60. package/dist/icons/generated/Crop16.d.ts +0 -1
  61. package/dist/icons/generated/Cs24.d.ts +0 -1
  62. package/dist/icons/generated/Cvr18.d.ts +0 -1
  63. package/dist/icons/generated/Dashboard24.d.ts +0 -1
  64. package/dist/icons/generated/DeleteCircleFill20.d.ts +0 -1
  65. package/dist/icons/generated/Delivery24.d.ts +0 -1
  66. package/dist/icons/generated/Delivery72.d.ts +0 -1
  67. package/dist/icons/generated/Doc14.d.ts +0 -1
  68. package/dist/icons/generated/DocConfirm50.d.ts +0 -1
  69. package/dist/icons/generated/Done20.d.ts +0 -1
  70. package/dist/icons/generated/Edit16.d.ts +0 -1
  71. package/dist/icons/generated/Email18.d.ts +0 -1
  72. package/dist/icons/generated/EmptyNoti50.d.ts +0 -1
  73. package/dist/icons/generated/Error16.d.ts +0 -1
  74. package/dist/icons/generated/Excel16.d.ts +0 -1
  75. package/dist/icons/generated/Exchange24.d.ts +0 -1
  76. package/dist/icons/generated/Exhibition24.d.ts +0 -1
  77. package/dist/icons/generated/EyeOff16.d.ts +0 -1
  78. package/dist/icons/generated/EyeOn16.d.ts +0 -1
  79. package/dist/icons/generated/Fbk16.d.ts +0 -1
  80. package/dist/icons/generated/GlobalDelivery72.d.ts +0 -1
  81. package/dist/icons/generated/Grade18.d.ts +0 -1
  82. package/dist/icons/generated/Graph24.d.ts +0 -1
  83. package/dist/icons/generated/GraphBar16.d.ts +0 -1
  84. package/dist/icons/generated/GraphLine16.d.ts +0 -1
  85. package/dist/icons/generated/Heart18.d.ts +0 -1
  86. package/dist/icons/generated/Help14.d.ts +0 -1
  87. package/dist/icons/generated/Help16.d.ts +0 -1
  88. package/dist/icons/generated/Home16.d.ts +0 -1
  89. package/dist/icons/generated/IdeaFill24.d.ts +0 -1
  90. package/dist/icons/generated/IdeaLine24.d.ts +0 -1
  91. package/dist/icons/generated/IndentArrow14.d.ts +0 -1
  92. package/dist/icons/generated/Info14.d.ts +0 -1
  93. package/dist/icons/generated/Info16.d.ts +0 -1
  94. package/dist/icons/generated/Info24.d.ts +0 -1
  95. package/dist/icons/generated/Interest16.d.ts +0 -1
  96. package/dist/icons/generated/Life72.d.ts +0 -1
  97. package/dist/icons/generated/Link16.d.ts +0 -1
  98. package/dist/icons/generated/Loading24.d.ts +0 -1
  99. package/dist/icons/generated/LoadingDonuts30.d.ts +0 -1
  100. package/dist/icons/generated/LoadingDots30.d.ts +0 -1
  101. package/dist/icons/generated/Lock18.d.ts +0 -1
  102. package/dist/icons/generated/Marketing24.d.ts +0 -1
  103. package/dist/icons/generated/Megaphone14.d.ts +0 -1
  104. package/dist/icons/generated/MemoAttention20.d.ts +0 -1
  105. package/dist/icons/generated/MemoDefault20.d.ts +0 -1
  106. package/dist/icons/generated/Move10.d.ts +0 -1
  107. package/dist/icons/generated/New10.d.ts +0 -1
  108. package/dist/icons/generated/NotExposed16.d.ts +0 -1
  109. package/dist/icons/generated/Notice24.d.ts +0 -1
  110. package/dist/icons/generated/One18.d.ts +0 -1
  111. package/dist/icons/generated/Order24.d.ts +0 -1
  112. package/dist/icons/generated/OrderAmount18.d.ts +0 -1
  113. package/dist/icons/generated/Ordering16.d.ts +0 -1
  114. package/dist/icons/generated/Orders18.d.ts +0 -1
  115. package/dist/icons/generated/OutlinkOne14.d.ts +0 -1
  116. package/dist/icons/generated/OutlinkTwo14.d.ts +0 -1
  117. package/dist/icons/generated/PenaltyBad20.d.ts +0 -1
  118. package/dist/icons/generated/PenaltyGood20.d.ts +0 -1
  119. package/dist/icons/generated/PenaltyNotsobad20.d.ts +0 -1
  120. package/dist/icons/generated/Pin16.d.ts +0 -1
  121. package/dist/icons/generated/Pin24.d.ts +0 -1
  122. package/dist/icons/generated/Play20.d.ts +0 -1
  123. package/dist/icons/generated/Plus16.d.ts +0 -1
  124. package/dist/icons/generated/Plus20.d.ts +0 -1
  125. package/dist/icons/generated/Posty16.d.ts +0 -1
  126. package/dist/icons/generated/Powerup24.d.ts +0 -1
  127. package/dist/icons/generated/Product24.d.ts +0 -1
  128. package/dist/icons/generated/Promotion24.d.ts +0 -1
  129. package/dist/icons/generated/Question24.d.ts +0 -1
  130. package/dist/icons/generated/Ranking18.d.ts +0 -1
  131. package/dist/icons/generated/Refresh14.d.ts +0 -1
  132. package/dist/icons/generated/Refund24.d.ts +0 -1
  133. package/dist/icons/generated/Search14.d.ts +0 -1
  134. package/dist/icons/generated/SelectArrow16.d.ts +0 -1
  135. package/dist/icons/generated/Shop72.d.ts +0 -1
  136. package/dist/icons/generated/SluggishSales16.d.ts +0 -1
  137. package/dist/icons/generated/Spoid20.d.ts +0 -1
  138. package/dist/icons/generated/Star10.d.ts +0 -1
  139. package/dist/icons/generated/Status10.d.ts +0 -1
  140. package/dist/icons/generated/StatusNo16.d.ts +0 -1
  141. package/dist/icons/generated/StatusYes16.d.ts +0 -1
  142. package/dist/icons/generated/SteadySeller16.d.ts +0 -1
  143. package/dist/icons/generated/Store24.d.ts +0 -1
  144. package/dist/icons/generated/Store50.d.ts +0 -1
  145. package/dist/icons/generated/TableMove16.d.ts +0 -1
  146. package/dist/icons/generated/Thumbup14.d.ts +0 -1
  147. package/dist/icons/generated/Tip18.d.ts +0 -1
  148. package/dist/icons/generated/Trend18.d.ts +0 -1
  149. package/dist/icons/generated/TrendDecreasing18.d.ts +0 -1
  150. package/dist/icons/generated/TrendIncreasing18.d.ts +0 -1
  151. package/dist/icons/generated/Two18.d.ts +0 -1
  152. package/dist/icons/generated/Upload50.d.ts +0 -1
  153. package/dist/icons/generated/User18.d.ts +0 -1
  154. package/dist/icons/generated/Video16.d.ts +0 -1
  155. package/dist/icons/generated/Warning24.d.ts +0 -1
  156. package/dist/icons/generated/Won16.d.ts +0 -1
  157. package/dist/icons/generated/Zigzag16.d.ts +0 -1
  158. package/dist/icons/generated/ZigzagCan16.d.ts +0 -1
  159. package/dist/icons/generated/ZigzagEng16.d.ts +0 -1
  160. package/dist/icons/generated/ZigzagGlobal16.d.ts +0 -1
  161. package/dist/icons/generated/ZigzagJpn16.d.ts +0 -1
  162. package/dist/icons/generated/ZigzagKor16.d.ts +0 -1
  163. package/dist/icons/generated/ZigzagWeb16.d.ts +0 -1
  164. package/dist/icons/generated/Zoomin16.d.ts +0 -1
  165. package/dist/icons/generated/index.d.ts +0 -1
  166. package/dist/images/generated/KakaostyleBlk.d.ts +0 -1
  167. package/dist/images/generated/KakaostyleOri.d.ts +0 -1
  168. package/dist/images/generated/KakaostyleWh.d.ts +0 -1
  169. package/dist/images/generated/Npay.d.ts +0 -1
  170. package/dist/images/generated/PartnerCenterBlk.d.ts +0 -1
  171. package/dist/images/generated/PartnerCenterOri.d.ts +0 -1
  172. package/dist/images/generated/PartnerCenterWh.d.ts +0 -1
  173. package/dist/images/generated/PartnerLoungeBlk.d.ts +0 -1
  174. package/dist/images/generated/PartnerLoungeOri.d.ts +0 -1
  175. package/dist/images/generated/PartnerLoungeWh.d.ts +0 -1
  176. package/dist/images/generated/PostyOri.d.ts +0 -1
  177. package/dist/images/generated/PostyWh.d.ts +0 -1
  178. package/dist/images/generated/ZdeliveryOne.d.ts +0 -1
  179. package/dist/images/generated/ZdeliveryTwo.d.ts +0 -1
  180. package/dist/images/generated/ZexpressBasicGlobal.d.ts +0 -1
  181. package/dist/images/generated/ZexpressBasicKor.d.ts +0 -1
  182. package/dist/images/generated/ZexpressSimpleGlobal.d.ts +0 -1
  183. package/dist/images/generated/ZexpressSimpleKor.d.ts +0 -1
  184. package/dist/images/generated/ZexpressSymbolGlobal.d.ts +0 -1
  185. package/dist/images/generated/ZexpressSymbolKor.d.ts +0 -1
  186. package/dist/images/generated/ZexpressTextGlobal.d.ts +0 -1
  187. package/dist/images/generated/ZexpressTextKor.d.ts +0 -1
  188. package/dist/images/generated/ZigzagBiBasic.d.ts +0 -1
  189. package/dist/images/generated/ZigzagBiSymbol.d.ts +0 -1
  190. package/dist/images/generated/ZigzagSymbolCircle.d.ts +0 -1
  191. package/dist/images/generated/ZigzagSymbolRounded.d.ts +0 -1
  192. package/dist/images/generated/Zpay.d.ts +0 -1
  193. package/dist/images/generated/index.d.ts +0 -1
  194. package/dist/index.d.ts +0 -2
  195. package/dist/index.es.js +2 -2
  196. package/dist/index.es.js.map +1 -1
  197. package/dist/index.js +2 -2
  198. package/dist/index.js.map +1 -1
  199. package/dist/stack/HStack.d.ts +0 -1
  200. package/dist/stack/HStack.stories.d.ts +1 -0
  201. package/dist/stack/VStack.d.ts +0 -1
  202. package/dist/stack/VStack.stories.d.ts +1 -0
  203. package/dist/stack/types.d.ts +0 -1
  204. package/dist/stories/Box.d.ts +0 -1
  205. package/dist/text/BaseText.d.ts +0 -1
  206. package/package.json +1 -1
  207. package/dist/input/Input.d.ts +0 -9
  208. package/dist/input/Input.stories.d.ts +0 -9
  209. package/dist/input/InputAddon.d.ts +0 -10
  210. package/dist/input/NumericInput.d.ts +0 -20
  211. package/dist/input/NumericInput.stories.d.ts +0 -21
  212. package/dist/input/index.d.ts +0 -2
  213. package/dist/input/styles.d.ts +0 -16
  214. package/dist/textarea/Textarea.d.ts +0 -6
  215. package/dist/textarea/Textarea.stories.d.ts +0 -8
  216. package/dist/textarea/index.d.ts +0 -1
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { StackProps } from './types';
3
2
  declare type VerticalAlignment = 'stretch' | 'top' | 'bottom' | 'center';
4
3
  export interface HStackProps extends StackProps {
@@ -7,3 +7,4 @@ declare const _default: ComponentMeta<import("@emotion/styled").StyledComponent<
7
7
  export default _default;
8
8
  export declare const Base: any;
9
9
  export declare const Spacing: any;
10
+ export declare const SpacingAuto: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { StackProps } from './types';
3
2
  declare type HorizontalAlignment = 'stretch' | 'leading' | 'trailing' | 'center';
4
3
  export interface VStackProps extends StackProps {
@@ -7,3 +7,4 @@ declare const _default: ComponentMeta<import("@emotion/styled").StyledComponent<
7
7
  export default _default;
8
8
  export declare const Base: any;
9
9
  export declare const Spacing: any;
10
+ export declare const SpacingAuto: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SizeProps, SpaceProps } from '../styles';
3
2
  import { CSSValueWithLength } from '../styles/buildCSSWithLength';
4
3
  export declare type StackAlignment = 'stretch' | 'flex-start' | 'center' | 'flex-end';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const Box: import("@emotion/styled").StyledComponent<{
3
2
  theme?: import("@emotion/react").Theme;
4
3
  as?: import("react").ElementType<any>;
@@ -1,4 +1,3 @@
1
- /// <reference types="@emotion/react/types/css-prop" />
2
1
  import React from 'react';
3
2
  import { Typography } from '../foundation';
4
3
  declare type Alignment = 'center' | 'leading' | 'trailing';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@croquiscom/pds",
3
- "version": "0.4.0",
3
+ "version": "0.5.1",
4
4
  "description": "Design system for Zigzag's Partner Center",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.es.js",
@@ -1,9 +0,0 @@
1
- import React, { InputHTMLAttributes } from 'react';
2
- import { CSSValueWithLength } from '../styles/buildCSSWithLength';
3
- export declare type InputAlignment = 'left' | 'center' | 'right';
4
- export interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
5
- alignment?: InputAlignment;
6
- error?: boolean;
7
- width?: CSSValueWithLength;
8
- }
9
- export declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import { ComponentMeta } from '@storybook/react';
3
- declare const _default: ComponentMeta<React.ForwardRefExoticComponent<import("./Input").InputProps & React.RefAttributes<HTMLInputElement>>>;
4
- export default _default;
5
- export declare const Base: any;
6
- export declare const Error: any;
7
- export declare const Disabled: any;
8
- export declare const EnteredDisabled: any;
9
- export declare const RightAlignment: any;
@@ -1,10 +0,0 @@
1
- import React, { AllHTMLAttributes } from 'react';
2
- export interface InputProps extends AllHTMLAttributes<HTMLDivElement> {
3
- disabled?: boolean;
4
- error?: boolean;
5
- /**
6
- * @default left
7
- */
8
- position: 'left' | 'right';
9
- }
10
- export declare const InputAddon: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,20 +0,0 @@
1
- import React, { ChangeEvent, InputHTMLAttributes } from 'react';
2
- import { CSSValueWithLength } from '../styles/buildCSSWithLength';
3
- import { InputAlignment } from './Input';
4
- export interface NumericInputBaseType {
5
- value?: number | string | null;
6
- defaultValue?: number | string;
7
- alignment?: InputAlignment;
8
- error?: boolean;
9
- prefix?: string;
10
- suffix?: string;
11
- /**
12
- * @default true
13
- */
14
- allowNegative?: boolean;
15
- decimalScale?: number;
16
- width?: CSSValueWithLength;
17
- onChange?: (value: number, event: ChangeEvent<HTMLInputElement>) => void;
18
- }
19
- export declare type NumericInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'onChange' | 'width'> & NumericInputBaseType;
20
- export declare const NumericInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "width" | "onChange"> & NumericInputBaseType & React.RefAttributes<HTMLInputElement>>;
@@ -1,21 +0,0 @@
1
- import React from 'react';
2
- import { ComponentMeta } from '@storybook/react';
3
- import { NumericInputProps } from './NumericInput';
4
- declare const _default: ComponentMeta<React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "width" | "onChange"> & import("./NumericInput").NumericInputBaseType & React.RefAttributes<HTMLInputElement>>>;
5
- export default _default;
6
- export declare const Base: any;
7
- export declare const Addon: any;
8
- export declare const Error: any;
9
- export declare const Disabled: any;
10
- export declare const WhetherNegativeNumbersAreAllowed: any;
11
- export declare const DecimalScale: any;
12
- export declare const EnteredDisabled: any;
13
- export declare const RightAlignment: any;
14
- export declare const SetValueWithName: {
15
- (args: NumericInputProps): JSX.Element;
16
- args: {
17
- prefix: string;
18
- suffix: string;
19
- placeholder: string;
20
- };
21
- };
@@ -1,2 +0,0 @@
1
- export * from './Input';
2
- export * from './NumericInput';
@@ -1,16 +0,0 @@
1
- export declare const input_base_css: import("@emotion/utils").SerializedStyles;
2
- export declare const input_default_style: {
3
- backgroundColor: string;
4
- border: string;
5
- color: string;
6
- };
7
- export declare const input_error_style: {
8
- border: string;
9
- '&:focus': {
10
- border: string;
11
- };
12
- };
13
- export declare const input_disabled_style: {
14
- backgroundColor: string;
15
- color: string;
16
- };
@@ -1,6 +0,0 @@
1
- import React, { TextareaHTMLAttributes } from 'react';
2
- import { SizeProps } from '../styles';
3
- export interface TextareaProps extends TextareaHTMLAttributes<HTMLTextAreaElement>, SizeProps {
4
- error?: boolean;
5
- }
6
- export declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { ComponentMeta } from '@storybook/react';
3
- declare const _default: ComponentMeta<React.ForwardRefExoticComponent<import("./Textarea").TextareaProps & React.RefAttributes<HTMLTextAreaElement>>>;
4
- export default _default;
5
- export declare const Base: any;
6
- export declare const Error: any;
7
- export declare const Disabled: any;
8
- export declare const EnteredDisabled: any;
@@ -1 +0,0 @@
1
- export * from './Textarea';