pds-dev-kit-web-test 0.2.2 → 0.2.3

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 (202) hide show
  1. package/README.md +12 -1
  2. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Image/Image.d.ts +8 -0
  3. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Image/Image.js +46 -0
  4. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Image/index.d.ts +2 -0
  5. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Image/index.js +8 -0
  6. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/RichText/RichText.d.ts +2 -3
  7. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/RichText/RichText.js +3 -3
  8. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/RichText/index.d.ts +2 -2
  9. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Text/Text.d.ts +13 -0
  10. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Text/Text.js +63 -0
  11. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Text/index.d.ts +2 -0
  12. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Text/index.js +8 -0
  13. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/TwitterTimeline/TwitterTimeline.d.ts +3 -11
  14. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/TwitterTimeline/TwitterTimeline.js +18 -18
  15. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/TwitterTimeline/TwitterTimelineRerender.d.ts +14 -0
  16. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/TwitterTimeline/TwitterTimelineRerender.js +41 -0
  17. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Wrapper/Wrapper.d.ts +35 -0
  18. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Wrapper/Wrapper.js +141 -0
  19. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Wrapper/constants.d.ts +2 -0
  20. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Wrapper/constants.js +33 -0
  21. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Wrapper/index.d.ts +1 -0
  22. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Wrapper/index.js +8 -0
  23. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/index.d.ts +3 -2
  24. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/index.js +3 -1
  25. package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/EditModeSectionMatcher.js +3 -3
  26. package/dist/src/sub/DynamicLayout/components/Section/Section.d.ts +6 -3
  27. package/dist/src/sub/DynamicLayout/components/Section/Section.js +40 -8
  28. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.d.ts +9 -0
  29. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +68 -0
  30. package/dist/src/sub/DynamicLayout/components/SectionMatcher/SectionMatcher.js +4 -4
  31. package/dist/src/sub/DynamicLayout/components/desktop/common/Carousel.d.ts +1 -2
  32. package/dist/src/sub/DynamicLayout/components/desktop/common/Carousel.js +6 -6
  33. package/dist/src/sub/DynamicLayout/components/index.d.ts +0 -1
  34. package/dist/src/sub/DynamicLayout/components/index.js +1 -6
  35. package/dist/src/sub/DynamicLayout/mock_customSection.d.ts +2 -0
  36. package/dist/src/sub/DynamicLayout/mock_customSection.js +838 -0
  37. package/dist/src/sub/DynamicLayout/mock_samplePage.js +5 -210
  38. package/dist/src/sub/DynamicLayout/nakedMocks.json +783 -0
  39. package/dist/src/sub/DynamicLayout/sectionActionTypes.d.ts +17 -4
  40. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.d.ts +2 -9
  41. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +85 -51
  42. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlock.d.ts +7 -0
  43. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlock.js +55 -0
  44. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.d.ts +3 -0
  45. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +70 -0
  46. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.d.ts +5 -0
  47. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +73 -0
  48. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/btnTypes.d.ts +68 -0
  49. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/btnTypes.js +2 -0
  50. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Divider.d.ts +5 -0
  51. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Divider.js +66 -0
  52. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image.d.ts +16 -0
  53. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image.js +102 -0
  54. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/RichText.d.ts +5 -0
  55. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/RichText.js +62 -0
  56. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/index.d.ts +1 -0
  57. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/index.js +8 -0
  58. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/types.d.ts +44 -0
  59. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/types.js +2 -0
  60. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text.d.ts +32 -0
  61. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text.js +58 -0
  62. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Twitter.d.ts +10 -0
  63. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Twitter.js +41 -0
  64. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/Youtube.d.ts +5 -0
  65. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/Youtube.js +69 -0
  66. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/index.d.ts +1 -0
  67. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/index.js +8 -0
  68. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/parseYoutubeContentProp.d.ts +7 -0
  69. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/parseYoutubeContentProp.js +33 -0
  70. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/types.d.ts +48 -0
  71. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/types.js +2 -0
  72. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_Box.d.ts +2 -0
  73. package/dist/src/sub/DynamicLayout/sections/CustomSection/{BlockMatcher/blocks/Button.js → components/ComponentBlock/componentBlocks/components/S_CB_Box.js} +6 -11
  74. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_HiddenCover.d.ts +1 -0
  75. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_HiddenCover.js +13 -0
  76. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/hooks/useCLINK.d.ts +8 -0
  77. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/hooks/useCLINK.js +24 -0
  78. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +20 -0
  79. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.js +2 -0
  80. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/utils/CLINKhandler.d.ts +0 -0
  81. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/utils/CLINKhandler.js +18 -0
  82. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/index.d.ts +1 -0
  83. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/index.js +8 -0
  84. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/index.d.ts +1 -0
  85. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/index.js +5 -0
  86. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/index.d.ts +1 -0
  87. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/index.js +5 -0
  88. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useIntersectionObserver.d.ts +6 -0
  89. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useIntersectionObserver.js +26 -0
  90. package/dist/src/sub/DynamicLayout/sections/CustomSection/index.d.ts +0 -1
  91. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/colorUtil.d.ts +31 -0
  92. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/colorUtil.js +66 -0
  93. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/index.d.ts +2 -0
  94. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/index.js +10 -0
  95. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/replaceUndefinedValues.d.ts +2 -0
  96. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/replaceUndefinedValues.js +46 -0
  97. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/textUtil.d.ts +18 -0
  98. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/textUtil.js +79 -0
  99. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +50 -99
  100. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +11 -14
  101. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/contentPropParsers/index.d.ts +3 -0
  102. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/contentPropParsers/index.js +16 -0
  103. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/contentPropParsers/parseContentVisibility.d.ts +12 -0
  104. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/contentPropParsers/parseContentVisibility.js +18 -0
  105. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/contentPropParsers/types.d.ts +5 -0
  106. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/contentPropParsers/types.js +7 -0
  107. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/constants.d.ts +4 -0
  108. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/constants.js +46 -0
  109. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/index.d.ts +3 -0
  110. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/index.js +16 -0
  111. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/parseEffectPropEntAnim.d.ts +19 -0
  112. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/parseEffectPropEntAnim.js +51 -0
  113. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/types.d.ts +5 -0
  114. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/types.js +7 -0
  115. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/index.d.ts +6 -0
  116. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/index.js +18 -0
  117. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/index.d.ts +3 -0
  118. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/index.js +19 -0
  119. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/parseLayoutPropArrange.d.ts +24 -0
  120. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/parseLayoutPropArrange.js +80 -0
  121. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/parseLayoutPropPadding.d.ts +21 -0
  122. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/parseLayoutPropPadding.js +32 -0
  123. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/types.d.ts +7 -0
  124. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/types.js +8 -0
  125. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseJsonProperties.d.ts +3 -0
  126. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseJsonProperties.js +61 -0
  127. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.d.ts +20 -0
  128. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.js +46 -0
  129. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.d.ts +5 -0
  130. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.js +54 -0
  131. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/index.d.ts +3 -0
  132. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/index.js +41 -0
  133. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropBgColor.d.ts +43 -0
  134. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropBgColor.js +58 -0
  135. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropBgImage.d.ts +19 -0
  136. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropBgImage.js +118 -0
  137. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropBgOverlay.d.ts +43 -0
  138. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropBgOverlay.js +64 -0
  139. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropBorder.d.ts +38 -0
  140. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropBorder.js +73 -0
  141. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropDivider.d.ts +26 -0
  142. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropDivider.js +65 -0
  143. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropImage.d.ts +19 -0
  144. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropImage.js +118 -0
  145. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropOpacity.d.ts +15 -0
  146. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropOpacity.js +41 -0
  147. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropShadow.d.ts +39 -0
  148. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropShadow.js +46 -0
  149. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropTextSpec.d.ts +39 -0
  150. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropTextSpec.js +80 -0
  151. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/types.d.ts +22 -0
  152. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/types.js +16 -0
  153. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +134 -0
  154. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.js +2 -0
  155. package/dist/src/sub/DynamicLayout/sections/index.d.ts +1 -0
  156. package/dist/src/sub/DynamicLayout/sections/index.js +3 -1
  157. package/dist/src/sub/DynamicLayout/types.d.ts +70 -4
  158. package/package.json +2 -4
  159. package/release-note.md +2 -3
  160. package/dist/src/sub/DynamicLayout/components/Box.d.ts +0 -13
  161. package/dist/src/sub/DynamicLayout/components/Box.js +0 -73
  162. package/dist/src/sub/DynamicLayout/custonSectionSampleData.d.ts +0 -334
  163. package/dist/src/sub/DynamicLayout/custonSectionSampleData.js +0 -328
  164. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/BlockMatcher.d.ts +0 -11
  165. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/BlockMatcher.js +0 -86
  166. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Accordion.d.ts +0 -12
  167. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Accordion.js +0 -46
  168. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/AccordionCore/AccordionBody.d.ts +0 -8
  169. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/AccordionCore/AccordionBody.js +0 -74
  170. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/AccordionCore/AccordionCore.d.ts +0 -13
  171. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/AccordionCore/AccordionCore.js +0 -25
  172. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/AccordionCore/AccordionHeader.d.ts +0 -7
  173. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/AccordionCore/AccordionHeader.js +0 -49
  174. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/AccordionCore/AccordionItem.d.ts +0 -7
  175. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/AccordionCore/AccordionItem.js +0 -19
  176. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/AccordionCore/index.d.ts +0 -4
  177. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/AccordionCore/index.js +0 -14
  178. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Button.d.ts +0 -8
  179. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/ContentsCarousel/CardItem.d.ts +0 -9
  180. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/ContentsCarousel/CardItem.js +0 -34
  181. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/ContentsCarousel/ContentsCarousel.d.ts +0 -28
  182. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/ContentsCarousel/ContentsCarousel.js +0 -53
  183. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Divider.d.ts +0 -7
  184. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Divider.js +0 -29
  185. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Image.d.ts +0 -7
  186. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Image.js +0 -18
  187. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/ImageCarousel/ImageCarousel.d.ts +0 -16
  188. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/ImageCarousel/ImageCarousel.js +0 -41
  189. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Instagram.d.ts +0 -7
  190. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Instagram.js +0 -19
  191. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/RichText.d.ts +0 -7
  192. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/RichText.js +0 -9
  193. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Text.d.ts +0 -7
  194. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Text.js +0 -29
  195. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Twitter.d.ts +0 -7
  196. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Twitter.js +0 -30
  197. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Youtube.d.ts +0 -9
  198. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Youtube.js +0 -38
  199. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/index.d.ts +0 -9
  200. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/index.js +0 -24
  201. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/index.d.ts +0 -1
  202. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/index.js +0 -8
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __importDefault = (this && this.__importDefault) || function (mod) {
14
+ return (mod && mod.__esModule) ? mod : { "default": mod };
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ var jsx_runtime_1 = require("react/jsx-runtime");
18
+ /* eslint-disable @typescript-eslint/no-unused-vars */
19
+ var newUtils_1 = require("../../newUtils");
20
+ var types_1 = require("../../types");
21
+ require("../../util");
22
+ var Button_1 = __importDefault(require("./componentBlocks/Button/Button"));
23
+ var Divider_1 = __importDefault(require("./componentBlocks/Divider"));
24
+ var Image_1 = __importDefault(require("./componentBlocks/Image"));
25
+ var RichText_1 = require("./componentBlocks/RichText");
26
+ var Text_1 = __importDefault(require("./componentBlocks/Text"));
27
+ var Twitter_1 = __importDefault(require("./componentBlocks/Twitter"));
28
+ var Youtube_1 = require("./componentBlocks/Youtube");
29
+ function ComponentBlockMatcher(props) {
30
+ var device = 'MOBILE';
31
+ var id = props.id, type = props.type, availablePlugins = props.availablePlugins, queryableTapSrc = props.queryableTapSrc, queryableDefinitionPreset = props.queryableDefinitionPreset, dynamicLayoutSectionId = props.dynamicLayoutSectionId, componentBlockCode = props.componentBlockCode, properties = props.properties;
32
+ var propsWithValue = device === 'MOBILE' ? (0, newUtils_1.replaceUndefinedValues)(properties) : properties;
33
+ switch (componentBlockCode) {
34
+ case types_1.CB_ALL_CODES.CB_BTN:
35
+ if ('CB_STYLE_PROP_BTNTEXT' in propsWithValue) {
36
+ // @ts-ignore
37
+ return (0, jsx_runtime_1.jsx)(Button_1.default, __assign({}, propsWithValue), void 0);
38
+ }
39
+ return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: "ERROR: CB_BTN" }, void 0);
40
+ case types_1.CB_ALL_CODES.CB_TEXT:
41
+ if ('CB_STYLE_PROP_TEXT' in propsWithValue) {
42
+ // @ts-ignore
43
+ return (0, jsx_runtime_1.jsx)(Text_1.default, __assign({}, propsWithValue), void 0);
44
+ }
45
+ return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: "ERROR: CB_TEXT" }, void 0);
46
+ case types_1.CB_ALL_CODES.CB_RICHTEXT:
47
+ return (0, jsx_runtime_1.jsx)(RichText_1.RichText, __assign({}, properties), void 0);
48
+ case types_1.CB_ALL_CODES.CB_DIVIDER:
49
+ if ('CB_STYLE_PROP_DIVIDER' in properties) {
50
+ // @ts-ignore
51
+ return (0, jsx_runtime_1.jsx)(Divider_1.default, __assign({}, properties), void 0);
52
+ }
53
+ return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: "ERROR: CB_DIVIDER" }, void 0);
54
+ case types_1.CB_ALL_CODES.CB_IMG:
55
+ if ('CB_STYLE_PROP_IMAGE' in properties) {
56
+ return (0, jsx_runtime_1.jsx)(Image_1.default, __assign({}, properties), void 0);
57
+ }
58
+ return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: "ERROR: CB_IMAGE" }, void 0);
59
+ case types_1.CB_ALL_CODES.CB_TWITTER:
60
+ if ('CB_STYLE_PROP_TWITTER' in properties) {
61
+ return (0, jsx_runtime_1.jsx)(Twitter_1.default, __assign({}, properties), void 0);
62
+ }
63
+ return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: "ERROR: CB_TWITTER" }, void 0);
64
+ case types_1.CB_ALL_CODES.CB_YOUTUBE:
65
+ return (0, jsx_runtime_1.jsx)(Youtube_1.Youtube, __assign({}, properties), void 0);
66
+ default:
67
+ return (0, jsx_runtime_1.jsx)("div", { children: "Error: not supported CB" }, void 0);
68
+ }
69
+ }
70
+ exports.default = ComponentBlockMatcher;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import type { CB_BTN_PROPERTIES_TYPE } from '../../../../../../../DynamicLayout/sections/CustomSection/util/types';
3
+ declare type Props = CB_BTN_PROPERTIES_TYPE;
4
+ declare function Button(props: Props): JSX.Element;
5
+ export default Button;
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __importDefault = (this && this.__importDefault) || function (mod) {
14
+ return (mod && mod.__esModule) ? mod : { "default": mod };
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ var jsx_runtime_1 = require("react/jsx-runtime");
18
+ /* eslint-disable react/destructuring-assignment */
19
+ var react_1 = require("react");
20
+ var hooks_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/hooks");
21
+ var newUtils_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/newUtils");
22
+ var colorUtil_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/newUtils/colorUtil");
23
+ var util_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/util");
24
+ var S_CB_Box_1 = require("../components/S_CB_Box");
25
+ var S_HiddenCover_1 = require("../components/S_HiddenCover");
26
+ var useCLINK_1 = __importDefault(require("../hooks/useCLINK"));
27
+ function Button(props) {
28
+ // const { device, mode } = useContext(dynamicLayoutContext);
29
+ var CB_CONTENT_PROP_CLINK = props.CB_CONTENT_PROP_CLINK;
30
+ var onClickBox = (0, useCLINK_1.default)({
31
+ src: CB_CONTENT_PROP_CLINK.CB_CONTENT_PROP_CLINK_SPEC_SRC,
32
+ type: CB_CONTENT_PROP_CLINK.CB_CONTENT_PROP_CLINK_SPEC_TYPE,
33
+ openNewTab: CB_CONTENT_PROP_CLINK.CB_CONTENT_PROP_CLINK_SPEC_NEWTAB
34
+ });
35
+ var _a = getBTNStyles(props.CB_STYLE_PROP_BTNTEXT, 'DESKTOP'), style = _a.style, hoverStyle = _a.hoverStyle;
36
+ var _b = getBTNColorStyles(props.CB_STYLE_PROP_BTNCOLOR, 'DESKTOP'), btnColorStyle = _b.style, btnColorHoverStyle = _b.hoverStyle;
37
+ var _c = (0, util_1.parseProperties)(props, 'DESKTOP'), propStyle = _c.style, propsHoverStyle = _c.hoverStyle, layoutStyle = _c.layout, effect = _c.effect;
38
+ var mode = 'EDIT';
39
+ var isEditModeAndHidden = propStyle.visibility === 'hidden' && mode === 'EDIT';
40
+ if (mode === 'EDIT') {
41
+ propStyle.visibility = 'visible';
42
+ }
43
+ var cbRef = (0, react_1.useRef)(null);
44
+ var entry = (0, hooks_1.useIntersectionObserver)(cbRef, { threshold: 1, freezeOnceVisible: true });
45
+ var isVisible = !!(entry === null || entry === void 0 ? void 0 : entry.isIntersecting);
46
+ var effectCssProperties = isVisible ? effect : {};
47
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [isEditModeAndHidden && (0, jsx_runtime_1.jsx)(S_HiddenCover_1.S_HiddenCover, {}, void 0), (0, jsx_runtime_1.jsx)(S_CB_Box_1.S_CB_Box, __assign({ className: "cb-layout-box", normalStyle: __assign(__assign(__assign(__assign(__assign({}, style), propStyle), layoutStyle), effectCssProperties), btnColorStyle), hoverStyle: __assign(__assign(__assign({}, hoverStyle), propsHoverStyle), btnColorHoverStyle), onClick: onClickBox, ref: cbRef }, { children: props.CB_CONTENT_PROP_TEXT.CB_CONTENT_PROP_TEXT_SPEC_TEXT }), void 0)] }, void 0));
48
+ }
49
+ function getBTNStyles(props, device) {
50
+ var availableSpecCodes = [
51
+ 'CB_STYLE_PROP_BTNTEXT_SPEC_TYPEFACE',
52
+ 'CB_STYLE_PROP_BTNTEXT_SPEC_WEIGHT',
53
+ 'CB_STYLE_PROP_BTNTEXT_SPEC_SIZE',
54
+ 'CB_STYLE_PROP_BTNTEXT_SPEC_LINEHEIGHT',
55
+ 'CB_STYLE_PROP_BTNTEXT_SPEC_LETTERSPACING',
56
+ 'CB_STYLE_PROP_BTNTEXT_SPEC_COLOR'
57
+ ];
58
+ return (0, newUtils_1.parseStyleTextToCSSProp)({ availableSpecCodes: availableSpecCodes, props: props, device: device, propKey: 'BTNTEXT' });
59
+ }
60
+ function getBTNColorStyles(props, device) {
61
+ var availableSpecCodes = [
62
+ 'CB_STYLE_PROP_BTNCOLOR_SPEC_ANGLE',
63
+ 'CB_STYLE_PROP_BTNCOLOR_SPEC_COLOR',
64
+ 'CB_STYLE_PROP_BTNCOLOR_SPEC_ENDCOLOR',
65
+ 'CB_STYLE_PROP_BTNCOLOR_SPEC_ENDLOC',
66
+ 'CB_STYLE_PROP_BTNCOLOR_SPEC_GRADIENT',
67
+ 'CB_STYLE_PROP_BTNCOLOR_SPEC_STARTCOLOR',
68
+ 'CB_STYLE_PROP_BTNCOLOR_SPEC_STARTLOC',
69
+ 'CB_STYLE_PROP_BTNCOLOR_SPEC_TYPE'
70
+ ];
71
+ return (0, colorUtil_1.parseStyleColorToCSSProp)({ availableSpecCodes: availableSpecCodes, props: props, propKey: 'BTNCOLOR', device: device });
72
+ }
73
+ exports.default = Button;
@@ -0,0 +1,68 @@
1
+ import type { ENUM_STRING, NUMBER_INTEGER, STRING_8DIGIT_HEX } from '../../../../util/types';
2
+ export declare type BtnPropsKeys = keyof CB_BTNTEXT_STYLE_PROPS;
3
+ export declare type CB_BTNTEXT_STYLE_PROPS = {
4
+ CB_STYLE_PROP_BTNTEXT_SPEC_TYPEFACE: ENUM_STRING;
5
+ CB_STYLE_PROP_BTNTEXT_SPEC_WEIGHT: NUMBER_INTEGER;
6
+ CB_STYLE_PROP_BTNTEXT_SPEC_SIZE: NUMBER_INTEGER;
7
+ CB_STYLE_PROP_BTNTEXT_SPEC_LINEHEIGHT: NUMBER_INTEGER;
8
+ CB_STYLE_PROP_BTNTEXT_SPEC_LETTERSPACING: NUMBER_INTEGER;
9
+ CB_STYLE_PROP_BTNTEXT_SPEC_COLOR: STRING_8DIGIT_HEX;
10
+ 'CB_STYLE_PROP_BTNTEXT_SPEC_TYPEFACE:HOVER': ENUM_STRING;
11
+ 'CB_STYLE_PROP_BTNTEXT_SPEC_TYPEFACE:MOBILE': ENUM_STRING | undefined;
12
+ 'CB_STYLE_PROP_BTNTEXT_SPEC_TYPEFACE:MOBILE:HOVER': ENUM_STRING | undefined;
13
+ 'CB_STYLE_PROP_BTNTEXT_SPEC_WEIGHT:HOVER': NUMBER_INTEGER;
14
+ 'CB_STYLE_PROP_BTNTEXT_SPEC_WEIGHT:MOBILE': NUMBER_INTEGER | undefined;
15
+ 'CB_STYLE_PROP_BTNTEXT_SPEC_WEIGHT:MOBILE:HOVER': NUMBER_INTEGER | undefined;
16
+ 'CB_STYLE_PROP_BTNTEXT_SPEC_SIZE:HOVER': NUMBER_INTEGER;
17
+ 'CB_STYLE_PROP_BTNTEXT_SPEC_SIZE:MOBILE': NUMBER_INTEGER | undefined;
18
+ 'CB_STYLE_PROP_BTNTEXT_SPEC_SIZE:MOBILE:HOVER': NUMBER_INTEGER | undefined;
19
+ 'CB_STYLE_PROP_BTNTEXT_SPEC_LINEHEIGHT:HOVER': NUMBER_INTEGER;
20
+ 'CB_STYLE_PROP_BTNTEXT_SPEC_LINEHEIGHT:MOBILE': NUMBER_INTEGER | undefined;
21
+ 'CB_STYLE_PROP_BTNTEXT_SPEC_LINEHEIGHT:MOBILE:HOVER': NUMBER_INTEGER | undefined;
22
+ 'CB_STYLE_PROP_BTNTEXT_SPEC_LETTERSPACING:HOVER': NUMBER_INTEGER;
23
+ 'CB_STYLE_PROP_BTNTEXT_SPEC_LETTERSPACING:MOBILE': NUMBER_INTEGER | undefined;
24
+ 'CB_STYLE_PROP_BTNTEXT_SPEC_LETTERSPACING:MOBILE:HOVER': NUMBER_INTEGER | undefined;
25
+ 'CB_STYLE_PROP_BTNTEXT_SPEC_COLOR:HOVER': STRING_8DIGIT_HEX;
26
+ 'CB_STYLE_PROP_BTNTEXT_SPEC_COLOR:MOBILE': STRING_8DIGIT_HEX | undefined;
27
+ 'CB_STYLE_PROP_BTNTEXT_SPEC_COLOR:MOBILE:HOVER': STRING_8DIGIT_HEX | undefined;
28
+ };
29
+ export declare type CB_STYLE_PROP_BTNCOLOR_ENUM_GRADIENT = 'LINEAR' | 'RADIAL';
30
+ export declare type CB_STYLE_PROP_BTNCOLOR_ENUM_TYPE = 'NONE' | 'SOLID' | 'GRADIENT';
31
+ export declare type CB_STYLE_PROP_BTNCOLOR_SPECS_BASE = {
32
+ CB_STYLE_PROP_BTNCOLOR_SPEC_ANGLE: NUMBER_INTEGER;
33
+ CB_STYLE_PROP_BTNCOLOR_SPEC_COLOR: ENUM_STRING;
34
+ CB_STYLE_PROP_BTNCOLOR_SPEC_ENDCOLOR: ENUM_STRING;
35
+ CB_STYLE_PROP_BTNCOLOR_SPEC_ENDLOC: NUMBER_INTEGER;
36
+ CB_STYLE_PROP_BTNCOLOR_SPEC_GRADIENT: CB_STYLE_PROP_BTNCOLOR_ENUM_GRADIENT;
37
+ CB_STYLE_PROP_BTNCOLOR_SPEC_STARTCOLOR: ENUM_STRING;
38
+ CB_STYLE_PROP_BTNCOLOR_SPEC_STARTLOC: NUMBER_INTEGER;
39
+ CB_STYLE_PROP_BTNCOLOR_SPEC_TYPE: CB_STYLE_PROP_BTNCOLOR_ENUM_TYPE;
40
+ };
41
+ export declare type CB_STYLE_PROP_BTNCOLOR_SPECS = CB_STYLE_PROP_BTNCOLOR_SPECS_BASE & {
42
+ 'CB_STYLE_PROP_BTNCOLOR_SPEC_ANGLE:HOVER': NUMBER_INTEGER;
43
+ 'CB_STYLE_PROP_BTNCOLOR_SPEC_ANGLE:MOBILE': NUMBER_INTEGER | undefined;
44
+ 'CB_STYLE_PROP_BTNCOLOR_SPEC_ANGLE:MOBILE:HOVER': NUMBER_INTEGER | undefined;
45
+ 'CB_STYLE_PROP_BTNCOLOR_SPEC_COLOR:HOVER': ENUM_STRING;
46
+ 'CB_STYLE_PROP_BTNCOLOR_SPEC_COLOR:MOBILE': ENUM_STRING | undefined;
47
+ 'CB_STYLE_PROP_BTNCOLOR_SPEC_COLOR:MOBILE:HOVER': ENUM_STRING | undefined;
48
+ 'CB_STYLE_PROP_BTNCOLOR_SPEC_ENDCOLOR:HOVER': ENUM_STRING;
49
+ 'CB_STYLE_PROP_BTNCOLOR_SPEC_ENDCOLOR:MOBILE': ENUM_STRING | undefined;
50
+ 'CB_STYLE_PROP_BTNCOLOR_SPEC_ENDCOLOR:MOBILE:HOVER': ENUM_STRING | undefined;
51
+ 'CB_STYLE_PROP_BTNCOLOR_SPEC_ENDLOC:HOVER': NUMBER_INTEGER;
52
+ 'CB_STYLE_PROP_BTNCOLOR_SPEC_ENDLOC:MOBILE': NUMBER_INTEGER | undefined;
53
+ 'CB_STYLE_PROP_BTNCOLOR_SPEC_ENDLOC:MOBILE:HOVER': NUMBER_INTEGER | undefined;
54
+ 'CB_STYLE_PROP_BTNCOLOR_SPEC_GRADIENT:HOVER': CB_STYLE_PROP_BTNCOLOR_ENUM_GRADIENT;
55
+ 'CB_STYLE_PROP_BTNCOLOR_SPEC_GRADIENT:MOBILE': CB_STYLE_PROP_BTNCOLOR_ENUM_GRADIENT | undefined;
56
+ 'CB_STYLE_PROP_BTNCOLOR_SPEC_GRADIENT:MOBILE:HOVER': CB_STYLE_PROP_BTNCOLOR_ENUM_GRADIENT | undefined;
57
+ 'CB_STYLE_PROP_BTNCOLOR_SPEC_STARTCOLOR:HOVER': ENUM_STRING;
58
+ 'CB_STYLE_PROP_BTNCOLOR_SPEC_STARTCOLOR:MOBILE': ENUM_STRING | undefined;
59
+ 'CB_STYLE_PROP_BTNCOLOR_SPEC_STARTCOLOR:MOBILE:HOVER': ENUM_STRING | undefined;
60
+ 'CB_STYLE_PROP_BTNCOLOR_SPEC_STARTLOC:HOVER': NUMBER_INTEGER;
61
+ 'CB_STYLE_PROP_BTNCOLOR_SPEC_STARTLOC:MOBILE': NUMBER_INTEGER | undefined;
62
+ 'CB_STYLE_PROP_BTNCOLOR_SPEC_STARTLOC:MOBILE:HOVER': NUMBER_INTEGER | undefined;
63
+ 'CB_STYLE_PROP_BTNCOLOR_SPEC_TYPE:HOVER': CB_STYLE_PROP_BTNCOLOR_ENUM_TYPE;
64
+ 'CB_STYLE_PROP_BTNCOLOR_SPEC_TYPE:MOBILE': CB_STYLE_PROP_BTNCOLOR_ENUM_TYPE | undefined;
65
+ 'CB_STYLE_PROP_BTNCOLOR_SPEC_TYPE:MOBILE:HOVER': CB_STYLE_PROP_BTNCOLOR_ENUM_TYPE | undefined;
66
+ };
67
+ export declare type BtnColorPropsKeys = keyof CB_STYLE_PROP_BTNCOLOR_SPECS;
68
+ export declare type BTNColorValueSetType = Partial<Record<keyof CB_STYLE_PROP_BTNCOLOR_SPECS, CB_STYLE_PROP_BTNCOLOR_ENUM_GRADIENT | NUMBER_INTEGER | ENUM_STRING | undefined>>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import type { CB_DIVIDER_PROPERTIES_TYPE } from '../../../util/types';
3
+ declare type Props = CB_DIVIDER_PROPERTIES_TYPE;
4
+ declare function Divider(props: Props): JSX.Element;
5
+ export default Divider;
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
+ return cooked;
5
+ };
6
+ var __assign = (this && this.__assign) || function () {
7
+ __assign = Object.assign || function(t) {
8
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
9
+ s = arguments[i];
10
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
+ t[p] = s[p];
12
+ }
13
+ return t;
14
+ };
15
+ return __assign.apply(this, arguments);
16
+ };
17
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
26
+ }) : function(o, v) {
27
+ o["default"] = v;
28
+ });
29
+ var __importStar = (this && this.__importStar) || function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ var jsx_runtime_1 = require("react/jsx-runtime");
38
+ var react_1 = require("react");
39
+ var styled_components_1 = __importStar(require("styled-components"));
40
+ var hooks_1 = require("../../../hooks");
41
+ var util_1 = require("../../../util");
42
+ var S_CB_Box_1 = require("./components/S_CB_Box");
43
+ var S_HiddenCover_1 = require("./components/S_HiddenCover");
44
+ function Divider(props) {
45
+ // const { device, mode } = useContext(dynamicLayoutContext);
46
+ var _a = (0, util_1.parseProperties)(props, 'DESKTOP'), propsStyle = _a.style, propsHoverStyle = _a.hoverStyle, layoutStyle = _a.layout, effect = _a.effect;
47
+ var mode = 'EDIT';
48
+ var isEditModeAndHidden = propsStyle.visibility === 'hidden' && mode === 'EDIT';
49
+ if (mode === 'EDIT') {
50
+ propsStyle.visibility = 'visible';
51
+ }
52
+ var cbRef = (0, react_1.useRef)(null);
53
+ var entry = (0, hooks_1.useIntersectionObserver)(cbRef, { threshold: 1, freezeOnceVisible: true });
54
+ var isVisible = !!(entry === null || entry === void 0 ? void 0 : entry.isIntersecting);
55
+ var effectCssProperties = isVisible ? effect : {};
56
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [isEditModeAndHidden && (0, jsx_runtime_1.jsx)(S_HiddenCover_1.S_HiddenCover, {}, void 0), (0, jsx_runtime_1.jsx)(S_CB_Box_1.S_CB_Box, __assign({ className: "cb-layout-box", normalStyle: layoutStyle, hoverStyle: {}, ref: cbRef }, { children: (0, jsx_runtime_1.jsx)(S_DIVIDER, { className: "cb-divider", normalStyle: __assign(__assign({}, propsStyle), effectCssProperties), hoverStyle: __assign({}, propsHoverStyle) }, void 0) }), void 0)] }, void 0));
57
+ }
58
+ var S_DIVIDER = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n width: 100%;\n\n ", ";\n\n &:hover {\n ", ";\n }\n"], ["\n width: 100%;\n\n ", ";\n\n &:hover {\n ", ";\n }\n"])), function (_a) {
59
+ var normalStyle = _a.normalStyle;
60
+ return (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), __assign({}, normalStyle));
61
+ }, function (_a) {
62
+ var hoverStyle = _a.hoverStyle;
63
+ return (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), __assign({}, hoverStyle));
64
+ });
65
+ exports.default = Divider;
66
+ var templateObject_1, templateObject_2, templateObject_3;
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ import type { CB_IMG_PROPERTIES_TYPE, ENUM_STRING, STRING_PLAIN } from '../../../util/types';
3
+ declare type Props = CB_IMG_PROPERTIES_TYPE;
4
+ declare function Image(props: Props): JSX.Element;
5
+ export declare type ImagePropsKeys = keyof CB_IMAGE_STYLE_PROPS;
6
+ export declare type CB_IMAGE_STYLE_PROPS = {
7
+ CB_STYLE_PROP_IMAGE_SPEC_FIT: STRING_PLAIN;
8
+ CB_STYLE_PROP_IMAGE_SPEC_POSITION: ENUM_STRING;
9
+ 'CB_STYLE_PROP_IMAGE_SPEC_FIT:HOVER': STRING_PLAIN;
10
+ 'CB_STYLE_PROP_IMAGE_SPEC_FIT:MOBILE': STRING_PLAIN | undefined;
11
+ 'CB_STYLE_PROP_IMAGE_SPEC_FIT:MOBILE:HOVER': STRING_PLAIN | undefined;
12
+ 'CB_STYLE_PROP_IMAGE_SPEC_POSITION:HOVER': ENUM_STRING;
13
+ 'CB_STYLE_PROP_IMAGE_SPEC_POSITION:MOBILE': ENUM_STRING | undefined;
14
+ 'CB_STYLE_PROP_IMAGE_SPEC_POSITION:MOBILE:HOVER': ENUM_STRING | undefined;
15
+ };
16
+ export default Image;
@@ -0,0 +1,102 @@
1
+ "use strict";
2
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
+ return cooked;
5
+ };
6
+ var __assign = (this && this.__assign) || function () {
7
+ __assign = Object.assign || function(t) {
8
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
9
+ s = arguments[i];
10
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
+ t[p] = s[p];
12
+ }
13
+ return t;
14
+ };
15
+ return __assign.apply(this, arguments);
16
+ };
17
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
26
+ }) : function(o, v) {
27
+ o["default"] = v;
28
+ });
29
+ var __importStar = (this && this.__importStar) || function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ var jsx_runtime_1 = require("react/jsx-runtime");
38
+ var react_1 = require("react");
39
+ var styled_components_1 = __importStar(require("styled-components"));
40
+ var hooks_1 = require("../../../hooks");
41
+ var util_1 = require("../../../util");
42
+ var S_CB_Box_1 = require("./components/S_CB_Box");
43
+ function Image(props) {
44
+ // const { device, mode } = useContext(dynamicLayoutContext);
45
+ var CB_CONTENT_PROP_IMAGE = props.CB_CONTENT_PROP_IMAGE;
46
+ var _a = (0, util_1.parseProperties)(props, 'DESKTOP'), style = _a.style, hoverStyle = _a.hoverStyle, layout = _a.layout, effect = _a.effect;
47
+ var _b = imageStyleDivideProvider(style), componentStyle = _b.componentStyle, wrapperStyle = _b.wrapperStyle;
48
+ var _c = imageStyleDivideProvider(hoverStyle), hoverComponentStyle = _c.componentStyle, hoverWrapperStyle = _c.wrapperStyle;
49
+ var cbRef = (0, react_1.useRef)(null);
50
+ var entry = (0, hooks_1.useIntersectionObserver)(cbRef, { threshold: 1, freezeOnceVisible: true });
51
+ var isVisible = !!(entry === null || entry === void 0 ? void 0 : entry.isIntersecting);
52
+ var effectCssProperties = isVisible ? effect : {};
53
+ return ((0, jsx_runtime_1.jsx)(S_CB_Box_1.S_CB_Box, __assign({ className: "cb-layout-box", normalStyle: __assign(__assign(__assign({}, layout), effectCssProperties), wrapperStyle), hoverStyle: hoverWrapperStyle, ref: cbRef }, { children: (0, jsx_runtime_1.jsx)(S_ImageWrapper, __assign({ normalStyle: componentStyle, hoverStyle: hoverComponentStyle }, { children: (0, jsx_runtime_1.jsx)(S_Image, { src: CB_CONTENT_PROP_IMAGE.CB_CONTENT_PROP_IMAGE_SPEC_SELECTOR, normalStyle: { objectFit: hoverComponentStyle.objectFit } }, void 0) }), void 0) }), void 0));
54
+ }
55
+ function imageStyleDivideProvider(style) {
56
+ return {
57
+ componentStyle: {
58
+ alignItems: style.alignItems,
59
+ display: style.display,
60
+ justifyContent: style.justifyContent,
61
+ objectFit: style.objectFit
62
+ },
63
+ wrapperStyle: {
64
+ borderBottomLeftRadius: style.borderBottomLeftRadius,
65
+ borderBottomRightRadius: style.borderBottomRightRadius,
66
+ borderColor: style.borderColor,
67
+ borderStyle: style.borderStyle,
68
+ borderTopLeftRadius: style.borderTopLeftRadius,
69
+ borderTopRightRadius: style.borderTopRightRadius,
70
+ borderWidth: style.borderWidth,
71
+ boxShadow: style.boxShadow,
72
+ opacity: style.opacity,
73
+ visibility: style.visibility
74
+ }
75
+ };
76
+ }
77
+ var S_Image = styled_components_1.default.img(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n height: 100%;\n width: 100%;\n\n ", ";\n"], ["\n height: 100%;\n width: 100%;\n\n ", ";\n"])), function (_a) {
78
+ var normalStyle = _a.normalStyle;
79
+ return (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n object-fit: ", ";\n "], ["\n object-fit: ", ";\n "])), normalStyle.objectFit);
80
+ });
81
+ var S_ImageWrapper = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n ", ";\n\n &:hover {\n ", ";\n }\n\n &:hover img {\n ", ";\n }\n"], ["\n ", ";\n\n &:hover {\n ", ";\n }\n\n &:hover img {\n ", ";\n }\n"])), function (_a) {
82
+ var normalStyle = _a.normalStyle;
83
+ switch (normalStyle.objectFit) {
84
+ case 'cover':
85
+ return "height: 100%;\n width: 100%;";
86
+ default:
87
+ return "height: auto;\n width: auto";
88
+ }
89
+ }, function (_a) {
90
+ var hoverStyle = _a.hoverStyle;
91
+ switch (hoverStyle.objectFit) {
92
+ case 'cover':
93
+ return "height: 100%;\n width: 100%;";
94
+ default:
95
+ return "height: auto;\n width: auto";
96
+ }
97
+ }, function (_a) {
98
+ var hoverStyle = _a.hoverStyle;
99
+ return (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n object-fit: ", ";\n "], ["\n object-fit: ", ";\n "])), hoverStyle.objectFit);
100
+ });
101
+ exports.default = Image;
102
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import type { CB_RICHTEXT_PROPERTIES_TYPE } from '../../../../../../../DynamicLayout/sections/CustomSection/util/types';
3
+ declare type Props = CB_RICHTEXT_PROPERTIES_TYPE;
4
+ declare function RichText(props: Props): JSX.Element;
5
+ export default RichText;
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
+ return cooked;
5
+ };
6
+ var __assign = (this && this.__assign) || function () {
7
+ __assign = Object.assign || function(t) {
8
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
9
+ s = arguments[i];
10
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
+ t[p] = s[p];
12
+ }
13
+ return t;
14
+ };
15
+ return __assign.apply(this, arguments);
16
+ };
17
+ var __importDefault = (this && this.__importDefault) || function (mod) {
18
+ return (mod && mod.__esModule) ? mod : { "default": mod };
19
+ };
20
+ Object.defineProperty(exports, "__esModule", { value: true });
21
+ var jsx_runtime_1 = require("react/jsx-runtime");
22
+ /* eslint-disable react/destructuring-assignment */
23
+ var react_1 = require("react");
24
+ var RichText_1 = require("../../../../../../../DynamicLayout/components/ComponentBlocks/RichText");
25
+ var hooks_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/hooks");
26
+ var colorUtil_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/newUtils/colorUtil");
27
+ var util_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/util");
28
+ var styled_components_1 = __importDefault(require("styled-components"));
29
+ var S_CB_Box_1 = require("../components/S_CB_Box");
30
+ var S_HiddenCover_1 = require("../components/S_HiddenCover");
31
+ function RichText(props) {
32
+ // const { device, mode } = useContext(dynamicLayoutContext);
33
+ var CB_STYLE_PROP_BGCOLOR = props.CB_STYLE_PROP_BGCOLOR;
34
+ var _a = (0, util_1.parseProperties)(props, 'DESKTOP'), propsStyle = _a.style, propsHoverStyle = _a.hoverStyle, layoutStyle = _a.layout, effect = _a.effect;
35
+ var _b = getBGColorStyles(CB_STYLE_PROP_BGCOLOR, 'DESKTOP'), bgColorStyle = _b.style, bgColorHoverStyle = _b.hoverStyle;
36
+ var mode = 'EDIT';
37
+ var isEditModeAndHidden = propsStyle.visibility === 'hidden' && mode === 'EDIT';
38
+ if (mode === 'EDIT') {
39
+ propsStyle.visibility = 'visible';
40
+ }
41
+ var cbRef = (0, react_1.useRef)(null);
42
+ var entry = (0, hooks_1.useIntersectionObserver)(cbRef, { threshold: 1, freezeOnceVisible: true });
43
+ var isVisible = !!(entry === null || entry === void 0 ? void 0 : entry.isIntersecting);
44
+ var effectCssProperties = isVisible ? effect : {};
45
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [isEditModeAndHidden && (0, jsx_runtime_1.jsx)(S_HiddenCover_1.S_HiddenCover, {}, void 0), (0, jsx_runtime_1.jsx)(S_CB_Box_1.S_CB_Box, __assign({ className: "cb-layout-box", normalStyle: __assign(__assign(__assign(__assign({}, propsStyle), layoutStyle), effectCssProperties), bgColorStyle), hoverStyle: __assign(__assign({}, propsHoverStyle), bgColorHoverStyle), ref: cbRef }, { children: (0, jsx_runtime_1.jsx)(S_RichTextWrapper, { children: (0, jsx_runtime_1.jsx)(RichText_1.RichText, { text: props.CB_CONTENT_PROP_TEXTEDIT.CB_CONTENT_PROP_TEXTEDIT_SPEC_EDITOR }, void 0) }, void 0) }), void 0)] }, void 0));
46
+ }
47
+ function getBGColorStyles(props, device) {
48
+ var availableSpecCodes = [
49
+ 'CB_STYLE_PROP_BGCOLOR_SPEC_ANGLE',
50
+ 'CB_STYLE_PROP_BGCOLOR_SPEC_COLOR',
51
+ 'CB_STYLE_PROP_BGCOLOR_SPEC_ENDCOLOR',
52
+ 'CB_STYLE_PROP_BGCOLOR_SPEC_ENDLOC',
53
+ 'CB_STYLE_PROP_BGCOLOR_SPEC_GRADIENT',
54
+ 'CB_STYLE_PROP_BGCOLOR_SPEC_STARTCOLOR',
55
+ 'CB_STYLE_PROP_BGCOLOR_SPEC_STARTLOC',
56
+ 'CB_STYLE_PROP_BGCOLOR_SPEC_TYPE'
57
+ ];
58
+ return (0, colorUtil_1.parseStyleColorToCSSProp)({ availableSpecCodes: availableSpecCodes, props: props, propKey: 'BGCOLOR', device: device });
59
+ }
60
+ var S_RichTextWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n overflow-y: auto;\n position: relative;\n\n iframe {\n max-width: 100%;\n }\n"], ["\n overflow-y: auto;\n position: relative;\n\n iframe {\n max-width: 100%;\n }\n"])));
61
+ exports.default = RichText;
62
+ var templateObject_1;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.RichText = void 0;
7
+ var RichText_1 = require("./RichText");
8
+ Object.defineProperty(exports, "RichText", { enumerable: true, get: function () { return __importDefault(RichText_1).default; } });
@@ -0,0 +1,44 @@
1
+ import type { BGColorPropsKeys, CB_STYLE_PROP_BGCOLOR_SPECS } from '../Youtube/types';
2
+ import type { ENUM_STRING, NUMBER_INTEGER } from '../../../../../../../DynamicLayout/sections/CustomSection/util/types';
3
+ export declare type CB_STYLE_PROP_BGOVERLAY_ENUM_GRADIENT = 'LINEAR' | 'RADIAL';
4
+ export declare type CB_STYLE_PROP_BGOVERLAY_ENUM_TYPE = 'NONE' | 'SOLID' | 'GRADIENT';
5
+ export declare type CB_STYLE_PROP_BGOVERLAY_SPECS_BASE = {
6
+ CB_STYLE_PROP_BGOVERLAY_SPEC_ANGLE: NUMBER_INTEGER;
7
+ CB_STYLE_PROP_BGOVERLAY_SPEC_COLOR: ENUM_STRING;
8
+ CB_STYLE_PROP_BGOVERLAY_SPEC_ENDCOLOR: ENUM_STRING;
9
+ CB_STYLE_PROP_BGOVERLAY_SPEC_ENDLOC: NUMBER_INTEGER;
10
+ CB_STYLE_PROP_BGOVERLAY_SPEC_GRADIENT: ENUM_STRING;
11
+ CB_STYLE_PROP_BGOVERLAY_SPEC_STARTCOLOR: ENUM_STRING;
12
+ CB_STYLE_PROP_BGOVERLAY_SPEC_STARTLOC: NUMBER_INTEGER;
13
+ CB_STYLE_PROP_BGOVERLAY_SPEC_TYPE: ENUM_STRING;
14
+ };
15
+ export declare type CB_STYLE_PROP_BGOVERLAY_SPECS = CB_STYLE_PROP_BGOVERLAY_SPECS_BASE & {
16
+ 'CB_STYLE_PROP_BGOVERLAY_SPEC_ANGLE:HOVER': NUMBER_INTEGER;
17
+ 'CB_STYLE_PROP_BGOVERLAY_SPEC_ANGLE:MOBILE': NUMBER_INTEGER | undefined;
18
+ 'CB_STYLE_PROP_BGOVERLAY_SPEC_ANGLE:MOBILE:HOVER': NUMBER_INTEGER | undefined;
19
+ 'CB_STYLE_PROP_BGOVERLAY_SPEC_COLOR:HOVER': ENUM_STRING;
20
+ 'CB_STYLE_PROP_BGOVERLAY_SPEC_COLOR:MOBILE': ENUM_STRING | undefined;
21
+ 'CB_STYLE_PROP_BGOVERLAY_SPEC_COLOR:MOBILE:HOVER': ENUM_STRING | undefined;
22
+ 'CB_STYLE_PROP_BGOVERLAY_SPEC_ENDCOLOR:HOVER': ENUM_STRING;
23
+ 'CB_STYLE_PROP_BGOVERLAY_SPEC_ENDCOLOR:MOBILE': ENUM_STRING | undefined;
24
+ 'CB_STYLE_PROP_BGOVERLAY_SPEC_ENDCOLOR:MOBILE:HOVER': ENUM_STRING | undefined;
25
+ 'CB_STYLE_PROP_BGOVERLAY_SPEC_ENDLOC:HOVER': NUMBER_INTEGER;
26
+ 'CB_STYLE_PROP_BGOVERLAY_SPEC_ENDLOC:MOBILE': NUMBER_INTEGER | undefined;
27
+ 'CB_STYLE_PROP_BGOVERLAY_SPEC_ENDLOC:MOBILE:HOVER': NUMBER_INTEGER | undefined;
28
+ 'CB_STYLE_PROP_BGOVERLAY_SPEC_GRADIENT:HOVER': ENUM_STRING;
29
+ 'CB_STYLE_PROP_BGOVERLAY_SPEC_GRADIENT:MOBILE': ENUM_STRING | undefined;
30
+ 'CB_STYLE_PROP_BGOVERLAY_SPEC_GRADIENT:MOBILE:HOVER': ENUM_STRING | undefined;
31
+ 'CB_STYLE_PROP_BGOVERLAY_SPEC_STARTCOLOR:HOVER': ENUM_STRING;
32
+ 'CB_STYLE_PROP_BGOVERLAY_SPEC_STARTCOLOR:MOBILE': ENUM_STRING | undefined;
33
+ 'CB_STYLE_PROP_BGOVERLAY_SPEC_STARTCOLOR:MOBILE:HOVER': ENUM_STRING | undefined;
34
+ 'CB_STYLE_PROP_BGOVERLAY_SPEC_STARTLOC:HOVER': NUMBER_INTEGER;
35
+ 'CB_STYLE_PROP_BGOVERLAY_SPEC_STARTLOC:MOBILE': NUMBER_INTEGER | undefined;
36
+ 'CB_STYLE_PROP_BGOVERLAY_SPEC_STARTLOC:MOBILE:HOVER': NUMBER_INTEGER | undefined;
37
+ 'CB_STYLE_PROP_BGOVERLAY_SPEC_TYPE:HOVER': ENUM_STRING;
38
+ 'CB_STYLE_PROP_BGOVERLAY_SPEC_TYPE:MOBILE': ENUM_STRING | undefined;
39
+ 'CB_STYLE_PROP_BGOVERLAY_SPEC_TYPE:MOBILE:HOVER': ENUM_STRING | undefined;
40
+ };
41
+ export declare type BGOverlayPropsKeys = keyof CB_STYLE_PROP_BGOVERLAY_SPECS;
42
+ export declare type BGOverlayValueSetType = Partial<Record<keyof CB_STYLE_PROP_BGOVERLAY_SPECS, NUMBER_INTEGER | ENUM_STRING | undefined>>;
43
+ export declare type RichTextBGColorPropsKeys = BGColorPropsKeys;
44
+ export declare type CB_STYLE_PROP_BGCOLOR_PROPS = CB_STYLE_PROP_BGCOLOR_SPECS;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,32 @@
1
+ /// <reference types="react" />
2
+ import type { CB_TEXT_PROPERTIES_TYPE, ENUM_STRING, NUMBER_INTEGER, STRING_8DIGIT_HEX } from '../../../util/types';
3
+ declare type Props = CB_TEXT_PROPERTIES_TYPE;
4
+ declare function Text(props: Props): JSX.Element;
5
+ export declare type TextPropsKeys = keyof CB_TEXT_STYLE_PROPS;
6
+ export declare type CB_TEXT_STYLE_PROPS = {
7
+ CB_STYLE_PROP_TEXT_SPEC_TYPEFACE: ENUM_STRING;
8
+ CB_STYLE_PROP_TEXT_SPEC_WEIGHT: NUMBER_INTEGER;
9
+ CB_STYLE_PROP_TEXT_SPEC_SIZE: NUMBER_INTEGER;
10
+ CB_STYLE_PROP_TEXT_SPEC_LINEHEIGHT: NUMBER_INTEGER;
11
+ CB_STYLE_PROP_TEXT_SPEC_LETTERSPACING: NUMBER_INTEGER;
12
+ CB_STYLE_PROP_TEXT_SPEC_COLOR: STRING_8DIGIT_HEX;
13
+ 'CB_STYLE_PROP_TEXT_SPEC_TYPEFACE:HOVER': ENUM_STRING;
14
+ 'CB_STYLE_PROP_TEXT_SPEC_TYPEFACE:MOBILE': ENUM_STRING | undefined;
15
+ 'CB_STYLE_PROP_TEXT_SPEC_TYPEFACE:MOBILE:HOVER': ENUM_STRING | undefined;
16
+ 'CB_STYLE_PROP_TEXT_SPEC_WEIGHT:HOVER': NUMBER_INTEGER;
17
+ 'CB_STYLE_PROP_TEXT_SPEC_WEIGHT:MOBILE': NUMBER_INTEGER | undefined;
18
+ 'CB_STYLE_PROP_TEXT_SPEC_WEIGHT:MOBILE:HOVER': NUMBER_INTEGER | undefined;
19
+ 'CB_STYLE_PROP_TEXT_SPEC_SIZE:HOVER': NUMBER_INTEGER;
20
+ 'CB_STYLE_PROP_TEXT_SPEC_SIZE:MOBILE': NUMBER_INTEGER | undefined;
21
+ 'CB_STYLE_PROP_TEXT_SPEC_SIZE:MOBILE:HOVER': NUMBER_INTEGER | undefined;
22
+ 'CB_STYLE_PROP_TEXT_SPEC_LINEHEIGHT:HOVER': NUMBER_INTEGER;
23
+ 'CB_STYLE_PROP_TEXT_SPEC_LINEHEIGHT:MOBILE': NUMBER_INTEGER | undefined;
24
+ 'CB_STYLE_PROP_TEXT_SPEC_LINEHEIGHT:MOBILE:HOVER': NUMBER_INTEGER | undefined;
25
+ 'CB_STYLE_PROP_TEXT_SPEC_LETTERSPACING:HOVER': NUMBER_INTEGER;
26
+ 'CB_STYLE_PROP_TEXT_SPEC_LETTERSPACING:MOBILE': NUMBER_INTEGER | undefined;
27
+ 'CB_STYLE_PROP_TEXT_SPEC_LETTERSPACING:MOBILE:HOVER': NUMBER_INTEGER | undefined;
28
+ 'CB_STYLE_PROP_TEXT_SPEC_COLOR:HOVER': STRING_8DIGIT_HEX;
29
+ 'CB_STYLE_PROP_TEXT_SPEC_COLOR:MOBILE': STRING_8DIGIT_HEX | undefined;
30
+ 'CB_STYLE_PROP_TEXT_SPEC_COLOR:MOBILE:HOVER': STRING_8DIGIT_HEX | undefined;
31
+ };
32
+ export default Text;