@croquiscom/pds 9.0.0 → 9.2.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.
Files changed (93) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/assets/icons/ArrowChevronDoubleLeft.svg +6 -0
  3. package/assets/icons/ArrowChevronDoubleRight.svg +4 -0
  4. package/assets/icons/Box.svg +4 -0
  5. package/assets/icons/CheckDouble.svg +4 -0
  6. package/assets/icons/ColoredFire.svg +11 -0
  7. package/assets/icons/CursorResize.svg +5 -0
  8. package/assets/icons/DetailChart.svg +6 -0
  9. package/assets/icons/DetailContents.svg +5 -0
  10. package/assets/icons/DetailThreeDots.svg +6 -0
  11. package/assets/icons/DiscountTag.svg +6 -0
  12. package/assets/icons/DocumentCharts.svg +7 -0
  13. package/assets/icons/DocumentData.svg +6 -0
  14. package/assets/icons/DocumentDetails.svg +9 -0
  15. package/assets/icons/Download.svg +4 -0
  16. package/assets/icons/Folder.svg +3 -0
  17. package/assets/icons/FolderCheck.svg +4 -0
  18. package/assets/icons/FolderCheckDouble.svg +5 -0
  19. package/assets/icons/Grabber.svg +8 -0
  20. package/assets/icons/GridView.svg +6 -0
  21. package/assets/icons/Mute.svg +4 -0
  22. package/assets/icons/Percent.svg +3 -0
  23. package/assets/icons/Refresh.svg +2 -2
  24. package/assets/icons/ScreenFull.svg +6 -0
  25. package/assets/icons/ScreenNormal.svg +3 -0
  26. package/assets/icons/ScreenZoomIn.svg +3 -0
  27. package/assets/icons/ScreenZoomOut.svg +3 -0
  28. package/assets/icons/Search.svg +2 -2
  29. package/assets/icons/SearchBold.svg +2 -9
  30. package/assets/icons/SortAsc.svg +7 -0
  31. package/assets/icons/SortDesc.svg +7 -0
  32. package/assets/icons/Swap.svg +3 -0
  33. package/assets/icons/TableGeneral.svg +3 -0
  34. package/assets/icons/TablePivot.svg +3 -0
  35. package/assets/icons/Trash.svg +5 -0
  36. package/assets/icons/Undo.svg +3 -0
  37. package/assets/icons/Unmute.svg +5 -0
  38. package/assets/icons/ZoomIn.svg +3 -3
  39. package/dist/components/icons/generated/ArrowChevronDoubleLeft.d.ts +4 -0
  40. package/dist/components/icons/generated/ArrowChevronDoubleRight.d.ts +4 -0
  41. package/dist/components/icons/generated/Box.d.ts +4 -0
  42. package/dist/components/icons/generated/CheckDouble.d.ts +4 -0
  43. package/dist/components/icons/generated/ColoredFire.d.ts +4 -0
  44. package/dist/components/icons/generated/CursorResize.d.ts +4 -0
  45. package/dist/components/icons/generated/DetailChart.d.ts +4 -0
  46. package/dist/components/icons/generated/DetailContents.d.ts +4 -0
  47. package/dist/components/icons/generated/DetailThreeDots.d.ts +4 -0
  48. package/dist/components/icons/generated/DiscountTag.d.ts +4 -0
  49. package/dist/components/icons/generated/DocumentCharts.d.ts +4 -0
  50. package/dist/components/icons/generated/DocumentData.d.ts +4 -0
  51. package/dist/components/icons/generated/DocumentDetails.d.ts +4 -0
  52. package/dist/components/icons/generated/Download.d.ts +4 -0
  53. package/dist/components/icons/generated/Folder.d.ts +4 -0
  54. package/dist/components/icons/generated/FolderCheck.d.ts +4 -0
  55. package/dist/components/icons/generated/FolderCheckDouble.d.ts +4 -0
  56. package/dist/components/icons/generated/Grabber.d.ts +4 -0
  57. package/dist/components/icons/generated/GridView.d.ts +4 -0
  58. package/dist/components/icons/generated/Mute.d.ts +4 -0
  59. package/dist/components/icons/generated/Percent.d.ts +4 -0
  60. package/dist/components/icons/generated/ScreenFull.d.ts +4 -0
  61. package/dist/components/icons/generated/ScreenNormal.d.ts +4 -0
  62. package/dist/components/icons/generated/ScreenZoomIn.d.ts +4 -0
  63. package/dist/components/icons/generated/ScreenZoomOut.d.ts +4 -0
  64. package/dist/components/icons/generated/SortAsc.d.ts +4 -0
  65. package/dist/components/icons/generated/SortDesc.d.ts +4 -0
  66. package/dist/components/icons/generated/Swap.d.ts +4 -0
  67. package/dist/components/icons/generated/TableGeneral.d.ts +4 -0
  68. package/dist/components/icons/generated/TablePivot.d.ts +4 -0
  69. package/dist/components/icons/generated/Trash.d.ts +4 -0
  70. package/dist/components/icons/generated/Undo.d.ts +4 -0
  71. package/dist/components/icons/generated/Unmute.d.ts +4 -0
  72. package/dist/components/icons/generated/index.d.ts +33 -0
  73. package/dist/components/lotties/LottieBase.d.ts +3 -0
  74. package/dist/components/lotties/constant.d.ts +8 -0
  75. package/dist/components/provider/Provider.d.ts +2 -0
  76. package/dist/container/index.d.ts +2 -0
  77. package/dist/container/page/Page.d.ts +2 -0
  78. package/dist/container/page/Page.stories.d.ts +6 -0
  79. package/dist/container/page/index.d.ts +1 -0
  80. package/dist/container/page-header/PageHeader.d.ts +0 -7
  81. package/dist/container/section/Section.d.ts +9 -0
  82. package/dist/container/section/Section.stories.d.ts +9 -0
  83. package/dist/container/section/index.d.ts +1 -0
  84. package/dist/foundation/index.d.ts +1 -0
  85. package/dist/foundation/screens.d.ts +3 -0
  86. package/dist/index.es.js +8 -8
  87. package/dist/index.es.js.map +1 -1
  88. package/dist/index.js +7 -7
  89. package/dist/index.js.map +1 -1
  90. package/dist/stories/Lotties.d.ts +2 -0
  91. package/package.json +2 -1
  92. package/plugin/ui.html +1 -1
  93. package/plugin/ui.js +1 -1
@@ -5,7 +5,9 @@ export interface IconProps extends React.SVGProps<SVGSVGElement> {
5
5
  secondaryColor?: string;
6
6
  }
7
7
  export { default as IconArrowBottom } from './ArrowBottom';
8
+ export { default as IconArrowChevronDoubleLeft } from './ArrowChevronDoubleLeft';
8
9
  export { default as IconArrowChevronDoubleLeftBold } from './ArrowChevronDoubleLeftBold';
10
+ export { default as IconArrowChevronDoubleRight } from './ArrowChevronDoubleRight';
9
11
  export { default as IconArrowChevronDoubleRightBold } from './ArrowChevronDoubleRightBold';
10
12
  export { default as IconArrowChevronDown } from './ArrowChevronDown';
11
13
  export { default as IconArrowChevronLeft } from './ArrowChevronLeft';
@@ -28,6 +30,7 @@ export { default as IconBarChart } from './BarChart';
28
30
  export { default as IconBell } from './Bell';
29
31
  export { default as IconBelow } from './Below';
30
32
  export { default as IconBeta } from './Beta';
33
+ export { default as IconBox } from './Box';
31
34
  export { default as IconBoxBestFill } from './BoxBestFill';
32
35
  export { default as IconBoxCanada } from './BoxCanada';
33
36
  export { default as IconBoxCartFill } from './BoxCartFill';
@@ -79,6 +82,7 @@ export { default as IconChange } from './Change';
79
82
  export { default as IconChangeBold } from './ChangeBold';
80
83
  export { default as IconCheck } from './Check';
81
84
  export { default as IconCheckBold } from './CheckBold';
85
+ export { default as IconCheckDouble } from './CheckDouble';
82
86
  export { default as IconChecklist } from './Checklist';
83
87
  export { default as IconCircle } from './Circle';
84
88
  export { default as IconCircleAutoCharge } from './CircleAutoCharge';
@@ -127,6 +131,7 @@ export { default as IconColoredFingerOne } from './ColoredFingerOne';
127
131
  export { default as IconColoredFingerPointing } from './ColoredFingerPointing';
128
132
  export { default as IconColoredFingerThree } from './ColoredFingerThree';
129
133
  export { default as IconColoredFingerTwo } from './ColoredFingerTwo';
134
+ export { default as IconColoredFire } from './ColoredFire';
130
135
  export { default as IconColoredFlag } from './ColoredFlag';
131
136
  export { default as IconColoredGift } from './ColoredGift';
132
137
  export { default as IconColoredGraphDown } from './ColoredGraphDown';
@@ -166,11 +171,20 @@ export { default as IconCopy } from './Copy';
166
171
  export { default as IconCounselor } from './Counselor';
167
172
  export { default as IconCoupon } from './Coupon';
168
173
  export { default as IconCrop } from './Crop';
174
+ export { default as IconCursorResize } from './CursorResize';
175
+ export { default as IconDetailChart } from './DetailChart';
176
+ export { default as IconDetailContents } from './DetailContents';
177
+ export { default as IconDetailThreeDots } from './DetailThreeDots';
178
+ export { default as IconDiscountTag } from './DiscountTag';
169
179
  export { default as IconDiscountTagFill } from './DiscountTagFill';
170
180
  export { default as IconDocument } from './Document';
181
+ export { default as IconDocumentCharts } from './DocumentCharts';
171
182
  export { default as IconDocumentCheck } from './DocumentCheck';
183
+ export { default as IconDocumentData } from './DocumentData';
184
+ export { default as IconDocumentDetails } from './DocumentDetails';
172
185
  export { default as IconDotsHorizontal } from './DotsHorizontal';
173
186
  export { default as IconDotsVertical } from './DotsVertical';
187
+ export { default as IconDownload } from './Download';
174
188
  export { default as IconEdit } from './Edit';
175
189
  export { default as IconEmail } from './Email';
176
190
  export { default as IconExcel } from './Excel';
@@ -181,6 +195,11 @@ export { default as IconFaceNeutralFill } from './FaceNeutralFill';
181
195
  export { default as IconFaceSmileFill } from './FaceSmileFill';
182
196
  export { default as IconFaceVeryGoodFill } from './FaceVeryGoodFill';
183
197
  export { default as IconFilter } from './Filter';
198
+ export { default as IconFolder } from './Folder';
199
+ export { default as IconFolderCheck } from './FolderCheck';
200
+ export { default as IconFolderCheckDouble } from './FolderCheckDouble';
201
+ export { default as IconGrabber } from './Grabber';
202
+ export { default as IconGridView } from './GridView';
184
203
  export { default as IconHandPicking } from './HandPicking';
185
204
  export { default as IconHandPickingOut } from './HandPickingOut';
186
205
  export { default as IconHandshake } from './Handshake';
@@ -203,6 +222,7 @@ export { default as IconMinus } from './Minus';
203
222
  export { default as IconMinusBold } from './MinusBold';
204
223
  export { default as IconMonitor } from './Monitor';
205
224
  export { default as IconMove } from './Move';
225
+ export { default as IconMute } from './Mute';
206
226
  export { default as IconNew } from './New';
207
227
  export { default as IconNumEightFill } from './NumEightFill';
208
228
  export { default as IconNumFiveFill } from './NumFiveFill';
@@ -215,6 +235,7 @@ export { default as IconNumTenFill } from './NumTenFill';
215
235
  export { default as IconNumThreeFill } from './NumThreeFill';
216
236
  export { default as IconNumTwoFill } from './NumTwoFill';
217
237
  export { default as IconPauseFill } from './PauseFill';
238
+ export { default as IconPercent } from './Percent';
218
239
  export { default as IconPerson } from './Person';
219
240
  export { default as IconPicture } from './Picture';
220
241
  export { default as IconPictureX } from './PictureX';
@@ -227,21 +248,33 @@ export { default as IconPlus } from './Plus';
227
248
  export { default as IconPrinter } from './Printer';
228
249
  export { default as IconRefresh } from './Refresh';
229
250
  export { default as IconRocket } from './Rocket';
251
+ export { default as IconScreenFull } from './ScreenFull';
252
+ export { default as IconScreenNormal } from './ScreenNormal';
253
+ export { default as IconScreenZoomIn } from './ScreenZoomIn';
254
+ export { default as IconScreenZoomOut } from './ScreenZoomOut';
230
255
  export { default as IconSearch } from './Search';
231
256
  export { default as IconSearchBold } from './SearchBold';
232
257
  export { default as IconSetting } from './Setting';
233
258
  export { default as IconSort } from './Sort';
259
+ export { default as IconSortAsc } from './SortAsc';
260
+ export { default as IconSortDesc } from './SortDesc';
234
261
  export { default as IconSpoid } from './Spoid';
235
262
  export { default as IconStar } from './Star';
236
263
  export { default as IconStore } from './Store';
237
264
  export { default as IconSubscription } from './Subscription';
265
+ export { default as IconSwap } from './Swap';
266
+ export { default as IconTableGeneral } from './TableGeneral';
267
+ export { default as IconTablePivot } from './TablePivot';
238
268
  export { default as IconThreeBars } from './ThreeBars';
239
269
  export { default as IconThumbsDown } from './ThumbsDown';
240
270
  export { default as IconThumbsUp } from './ThumbsUp';
271
+ export { default as IconTrash } from './Trash';
241
272
  export { default as IconTriangleWarning } from './TriangleWarning';
242
273
  export { default as IconTruckReturn } from './TruckReturn';
243
274
  export { default as IconTruckSetting } from './TruckSetting';
275
+ export { default as IconUndo } from './Undo';
244
276
  export { default as IconUnlock } from './Unlock';
277
+ export { default as IconUnmute } from './Unmute';
245
278
  export { default as IconUpload } from './Upload';
246
279
  export { default as IconVideo } from './Video';
247
280
  export { default as IconVvip } from './Vvip';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { LottieProps } from './constant';
3
+ export declare const LottieBase: ({ size, url, initialSegment }: LottieProps) => React.JSX.Element;
@@ -0,0 +1,8 @@
1
+ export declare const AWS_PREFIX = "https://cf.";
2
+ export interface LottieProps {
3
+ size: number;
4
+ url: string;
5
+ name: string;
6
+ initialSegment?: [number, number];
7
+ }
8
+ export declare const LOTTIE_FILES: LottieProps[];
@@ -2,9 +2,11 @@ import React, { PropsWithChildren } from 'react';
2
2
  import { ko } from '../../locales/ko';
3
3
  import { ModalProps } from '../modal';
4
4
  import { PaginationProps } from '../pagination';
5
+ import { SectionProps } from '../../container/section';
5
6
  export interface CommonComponentProps {
6
7
  modal?: Pick<ModalProps, 'fill' | 'dense'>;
7
8
  pagination?: Pick<PaginationProps, 'siblingCount' | 'showArrowButton'>;
9
+ section?: Pick<SectionProps, 'responsive'>;
8
10
  }
9
11
  export interface ProviderConfig {
10
12
  locale?: typeof ko;
@@ -1,6 +1,8 @@
1
1
  export * from './topBar';
2
2
  export * from './footer';
3
3
  export * from './top-navigation';
4
+ export * from './page';
4
5
  export * from './page-header';
6
+ export * from './section';
5
7
  export * from './section-title';
6
8
  export * from './state';
@@ -0,0 +1,2 @@
1
+ import React, { PropsWithChildren } from 'react';
2
+ export declare const Page: ({ children }: PropsWithChildren) => React.JSX.Element;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { Page } from './Page';
3
+ declare const meta: Meta<typeof Page>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Page>;
6
+ export declare const Base: Story;
@@ -0,0 +1 @@
1
+ export * from './Page';
@@ -6,10 +6,3 @@ export interface PageHeaderProps {
6
6
  border?: boolean;
7
7
  }
8
8
  export declare const PageHeader: ({ dense, border, children }: PropsWithChildren<PageHeaderProps>) => React.JSX.Element;
9
- export declare const Header: import("@emotion/styled").StyledComponent<{
10
- theme?: import("@emotion/react").Theme;
11
- as?: React.ElementType<any, keyof React.JSX.IntrinsicElements>;
12
- } & {
13
- dense: boolean;
14
- border: boolean;
15
- }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
@@ -0,0 +1,9 @@
1
+ import React, { PropsWithChildren } from 'react';
2
+ export interface SectionProps {
3
+ /**
4
+ * 반응형 디자인 사용 여부, desktop: 데스크탑 규격만 사용, mobile: 모바일 규격만 사용, auto: 데스크탑과 모바일 규격을 자동으로 사용
5
+ * @default auto
6
+ */
7
+ responsive?: 'auto' | 'desktop' | 'mobile';
8
+ }
9
+ export declare const Section: ({ responsive, children }: PropsWithChildren<SectionProps>) => React.JSX.Element;
@@ -0,0 +1,9 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { Section } from './Section';
3
+ declare const meta: Meta<typeof Section>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Section>;
6
+ export declare const Base: Story;
7
+ export declare const MultipleSection: Story;
8
+ export declare const ResponsiveDesktop: Story;
9
+ export declare const ResponsiveMobile: Story;
@@ -0,0 +1 @@
1
+ export * from './Section';
@@ -2,3 +2,4 @@ export * from './colors';
2
2
  export * from './semantic_colors';
3
3
  export * from './typography';
4
4
  export * from './shapes';
5
+ export * from './screens';
@@ -0,0 +1,3 @@
1
+ export declare const screens: {
2
+ desktop: string;
3
+ };