pds-dev-kit-web-test 0.2.12 → 0.2.14

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 (39) hide show
  1. package/dist/src/sub/DynamicLayout/components/Section/CustomSection.d.ts +10 -0
  2. package/dist/src/sub/DynamicLayout/components/Section/CustomSection.js +48 -0
  3. package/dist/src/sub/DynamicLayout/components/Section/Section.d.ts +1 -2
  4. package/dist/src/sub/DynamicLayout/components/Section/Section.js +9 -83
  5. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackground.d.ts +6 -0
  6. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackground.js +108 -0
  7. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.d.ts +4 -1
  8. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +41 -19
  9. package/dist/src/sub/DynamicLayout/components/Section/index.d.ts +1 -0
  10. package/dist/src/sub/DynamicLayout/components/Section/index.js +3 -1
  11. package/dist/src/sub/DynamicLayout/components/Section/util/index.d.ts +1 -0
  12. package/dist/src/sub/DynamicLayout/components/Section/util/index.js +8 -0
  13. package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.d.ts +9 -0
  14. package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.js +47 -0
  15. package/dist/src/sub/DynamicLayout/components/index.d.ts +1 -1
  16. package/dist/src/sub/DynamicLayout/components/index.js +2 -1
  17. package/dist/src/sub/DynamicLayout/mock_samplePage.js +530 -55
  18. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +8 -28
  19. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +3 -3
  20. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +9 -9
  21. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/RichText.js +3 -3
  22. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Twitter/Twitter.js +3 -3
  23. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/Youtube.js +4 -4
  24. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_Box.js +1 -31
  25. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_BoxWithShadow.d.ts +11 -0
  26. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_BoxWithShadow.js +101 -0
  27. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/colorUtil.js +4 -2
  28. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/textUtil.js +35 -3
  29. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/index.d.ts +2 -0
  30. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/index.js +5 -1
  31. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCustomSectionPlacement.d.ts +20 -0
  32. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCustomSectionPlacement.js +37 -0
  33. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropBgColor.js +2 -2
  34. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropOpacity.js +2 -2
  35. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropShadow.js +2 -2
  36. package/dist/src/sub/DynamicLayout/types.d.ts +12 -10
  37. package/package.json +1 -1
  38. package/release-note.md +1 -1
  39. package/webhook/node_modules/esrecurse/.babelrc +3 -0
@@ -308,42 +308,44 @@ export declare type ISectionJsonProperties = {
308
308
  CB_STYLE_PROP_BGMEDIA: CB_STYLE_PROP_BGMEDIA_SPECS;
309
309
  CB_STYLE_PROP_BGOVERLAY: CB_STYLE_PROP_BGOVERLAY_SPECS;
310
310
  };
311
- export declare type CB_STYLE_PROP_BGMEDIA_SPECS = {
311
+ export declare type CB_STYLE_PROP_BGMEDIA_SPECS_BASE = {
312
+ CB_STYLE_PROP_BGMEDIA_SPEC_YSRC: string;
313
+ CB_STYLE_PROP_BGMEDIA_SPEC_TYPE: string;
314
+ CB_STYLE_PROP_BGMEDIA_SPEC_SCROLL: boolean;
315
+ CB_STYLE_PROP_BGMEDIA_SPEC_STARTTIME: number;
316
+ CB_STYLE_PROP_BGMEDIA_SPEC_REPLAY: boolean;
317
+ CB_STYLE_PROP_BGMEDIA_SPEC_MPLAY: boolean;
318
+ CB_STYLE_PROP_BGMEDIA_SPEC_IMAGEPOSITION: string;
319
+ CB_STYLE_PROP_BGMEDIA_SPEC_IMAGESELECTOR: string;
320
+ CB_STYLE_PROP_BGMEDIA_SPEC_IMAGEFIT: string;
312
321
  CB_STYLE_PROP_BGMEDIA_SPEC_ENDTIME: number;
322
+ };
323
+ export declare type CB_STYLE_PROP_BGMEDIA_SPECS = CB_STYLE_PROP_BGMEDIA_SPECS_BASE & {
313
324
  'CB_STYLE_PROP_BGMEDIA_SPEC_ENDTIME:HOVER': number;
314
325
  'CB_STYLE_PROP_BGMEDIA_SPEC_ENDTIME:MOBILE': number | undefined;
315
326
  'CB_STYLE_PROP_BGMEDIA_SPEC_ENDTIME:MOBILE:HOVER': number | undefined;
316
- CB_STYLE_PROP_BGMEDIA_SPEC_IMAGEFIT: string;
317
327
  'CB_STYLE_PROP_BGMEDIA_SPEC_IMAGEFIT:HOVER': string;
318
328
  'CB_STYLE_PROP_BGMEDIA_SPEC_IMAGEFIT:MOBILE': string | undefined;
319
329
  'CB_STYLE_PROP_BGMEDIA_SPEC_IMAGEFIT:MOBILE:HOVER': string | undefined;
320
- CB_STYLE_PROP_BGMEDIA_SPEC_IMAGESELECTOR: string;
321
330
  'CB_STYLE_PROP_BGMEDIA_SPEC_IMAGESELECTOR:HOVER': string;
322
331
  'CB_STYLE_PROP_BGMEDIA_SPEC_IMAGESELECTOR:MOBILE': string | undefined;
323
332
  'CB_STYLE_PROP_BGMEDIA_SPEC_IMAGESELECTOR:MOBILE:HOVER': string | undefined;
324
- CB_STYLE_PROP_BGMEDIA_SPEC_IMAGEPOSITION: string;
325
333
  'CB_STYLE_PROP_BGMEDIA_SPEC_IMAGEPOSITION:HOVER': string;
326
334
  'CB_STYLE_PROP_BGMEDIA_SPEC_IMAGEPOSITION:MOBILE': string | undefined;
327
335
  'CB_STYLE_PROP_BGMEDIA_SPEC_IMAGEPOSITION:MOBILE:HOVER': string | undefined;
328
- CB_STYLE_PROP_BGMEDIA_SPEC_MPLAY: boolean;
329
336
  'CB_STYLE_PROP_BGMEDIA_SPEC_MPLAY:MOBILE': boolean | undefined;
330
- CB_STYLE_PROP_BGMEDIA_SPEC_REPLAY: boolean;
331
337
  'CB_STYLE_PROP_BGMEDIA_SPEC_REPLAY:HOVER': boolean;
332
338
  'CB_STYLE_PROP_BGMEDIA_SPEC_REPLAY:MOBILE': boolean | undefined;
333
339
  'CB_STYLE_PROP_BGMEDIA_SPEC_REPLAY:MOBILE:HOVER': boolean | undefined;
334
- CB_STYLE_PROP_BGMEDIA_SPEC_STARTTIME: number;
335
340
  'CB_STYLE_PROP_BGMEDIA_SPEC_STARTTIME:HOVER': number;
336
341
  'CB_STYLE_PROP_BGMEDIA_SPEC_STARTTIME:MOBILE': number | undefined;
337
342
  'CB_STYLE_PROP_BGMEDIA_SPEC_STARTTIME:MOBILE:HOVER': number | undefined;
338
- CB_STYLE_PROP_BGMEDIA_SPEC_SCROLL: boolean;
339
343
  'CB_STYLE_PROP_BGMEDIA_SPEC_SCROLL:HOVER': boolean;
340
344
  'CB_STYLE_PROP_BGMEDIA_SPEC_SCROLL:MOBILE': boolean | undefined;
341
345
  'CB_STYLE_PROP_BGMEDIA_SPEC_SCROLL:MOBILE:HOVER': boolean | undefined;
342
- CB_STYLE_PROP_BGMEDIA_SPEC_TYPE: string;
343
346
  'CB_STYLE_PROP_BGMEDIA_SPEC_TYPE:HOVER': string;
344
347
  'CB_STYLE_PROP_BGMEDIA_SPEC_TYPE:MOBILE': string | undefined;
345
348
  'CB_STYLE_PROP_BGMEDIA_SPEC_TYPE:MOBILE:HOVER': string | undefined;
346
- CB_STYLE_PROP_BGMEDIA_SPEC_YSRC: string;
347
349
  'CB_STYLE_PROP_BGMEDIA_SPEC_YSRC:HOVER': string;
348
350
  'CB_STYLE_PROP_BGMEDIA_SPEC_YSRC:MOBILE': string | undefined;
349
351
  'CB_STYLE_PROP_BGMEDIA_SPEC_YSRC:MOBILE:HOVER': string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "0.2.12",
3
+ "version": "0.2.14",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
package/release-note.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # pds-dev-kit-web-test Release Notes
2
- ## [v0.2.10]
2
+ ## [v0.2.14]
3
3
  ## 기준 pds-dev-kit-web 버전 @2.0.14
4
4
  ### sub
5
5
  * DynamicLayout - custom section
@@ -0,0 +1,3 @@
1
+ {
2
+ "presets": ["es2015"]
3
+ }