pds-dev-kit-web-test 0.2.53 → 0.2.55

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 (113) hide show
  1. package/dist/src/common/assets/icons/fill/BellOff.d.ts +4 -0
  2. package/dist/src/common/assets/icons/fill/BellOff.js +30 -0
  3. package/dist/src/common/assets/icons/fill/index.d.ts +1 -0
  4. package/dist/src/common/assets/icons/fill/index.js +2 -0
  5. package/dist/src/common/assets/icons/line/BellOff.d.ts +4 -0
  6. package/dist/src/common/assets/icons/line/BellOff.js +30 -0
  7. package/dist/src/common/assets/icons/line/ChatRoom11.d.ts +4 -0
  8. package/dist/src/common/assets/icons/line/ChatRoom11.js +30 -0
  9. package/dist/src/common/assets/icons/line/ChatRoomFree.d.ts +4 -0
  10. package/dist/src/common/assets/icons/line/ChatRoomFree.js +30 -0
  11. package/dist/src/common/assets/icons/line/ChatRoomGroup.d.ts +4 -0
  12. package/dist/src/common/assets/icons/line/ChatRoomGroup.js +30 -0
  13. package/dist/src/common/assets/icons/line/ChatRoomPaid.d.ts +4 -0
  14. package/dist/src/common/assets/icons/line/ChatRoomPaid.js +30 -0
  15. package/dist/src/common/assets/icons/line/TypefaceDisplay20.d.ts +4 -0
  16. package/dist/src/common/assets/icons/line/TypefaceDisplay20.js +30 -0
  17. package/dist/src/common/assets/icons/line/TypefaceHand20.d.ts +4 -0
  18. package/dist/src/common/assets/icons/line/TypefaceHand20.js +30 -0
  19. package/dist/src/common/assets/icons/line/TypefaceMonospace20.d.ts +4 -0
  20. package/dist/src/common/assets/icons/line/TypefaceMonospace20.js +30 -0
  21. package/dist/src/common/assets/icons/line/TypefaceSansSerif20.d.ts +4 -0
  22. package/dist/src/common/assets/icons/line/TypefaceSansSerif20.js +30 -0
  23. package/dist/src/common/assets/icons/line/TypefaceSerif20.d.ts +4 -0
  24. package/dist/src/common/assets/icons/line/TypefaceSerif20.js +30 -0
  25. package/dist/src/common/assets/icons/line/index.d.ts +10 -0
  26. package/dist/src/common/assets/icons/line/index.js +20 -0
  27. package/dist/src/common/hooks/index.d.ts +1 -0
  28. package/dist/src/common/hooks/index.js +3 -1
  29. package/dist/src/common/hooks/useAbsolutePositioner.d.ts +13 -0
  30. package/dist/src/common/hooks/useAbsolutePositioner.js +54 -0
  31. package/dist/src/common/hooks/useTooltip.d.ts +17 -0
  32. package/dist/src/common/hooks/useTooltip.js +76 -0
  33. package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +2 -1
  34. package/dist/src/common/styles/colorSet/PaletteColor_light.json +2 -1
  35. package/dist/src/common/styles/colorSet/UIColor.json +2 -1
  36. package/dist/src/common/styles/colorSet/index.d.ts +963 -960
  37. package/dist/src/common/styles/colorSet/index.js +5 -5
  38. package/dist/src/common/styles/colorSet/ui-type.d.ts +1 -0
  39. package/dist/src/common/styles/systemUI/index.d.ts +1 -0
  40. package/dist/src/common/styles/systemUI/index.js +5 -0
  41. package/dist/src/common/styles/systemUI/tooltipStyle.d.ts +1 -0
  42. package/dist/src/common/styles/systemUI/tooltipStyle.js +28 -0
  43. package/dist/src/common/types/components.d.ts +3 -2
  44. package/dist/src/common/types/systemUI.d.ts +13 -0
  45. package/dist/src/common/types/systemUI.js +2 -0
  46. package/dist/src/common/utils/SystemUIPositionGenerator/clickTypeSystemUICssGenerator.d.ts +13 -0
  47. package/dist/src/common/utils/SystemUIPositionGenerator/clickTypeSystemUICssGenerator.js +20 -0
  48. package/dist/src/common/utils/SystemUIPositionGenerator/hoverTypeSystemUICssGenerator.d.ts +17 -0
  49. package/dist/src/common/utils/SystemUIPositionGenerator/hoverTypeSystemUICssGenerator.js +71 -0
  50. package/dist/src/common/utils/SystemUIPositionGenerator/index.d.ts +1 -0
  51. package/dist/src/common/utils/SystemUIPositionGenerator/index.js +8 -0
  52. package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.js +54 -42
  53. package/dist/src/desktop/components/BasicButtonGroup/constants.d.ts +0 -6
  54. package/dist/src/desktop/components/BasicButtonGroup/constants.js +1 -8
  55. package/dist/src/desktop/components/ContextMenu/ContextMenu.js +1 -1
  56. package/dist/src/desktop/components/Dropdown/Dropdown.js +48 -9
  57. package/dist/src/desktop/components/IconButton/IconButton.d.ts +3 -1
  58. package/dist/src/desktop/components/IconButton/IconButton.js +48 -44
  59. package/dist/src/desktop/components/SegmentedButtonGroup/SegmentedButtonGroup.js +54 -42
  60. package/dist/src/desktop/components/SegmentedButtonGroup/constants.d.ts +0 -6
  61. package/dist/src/desktop/components/SegmentedButtonGroup/constants.js +1 -8
  62. package/dist/src/desktop/components/TextLabel/TextLabel.d.ts +3 -1
  63. package/dist/src/desktop/components/TextLabel/TextLabel.js +33 -63
  64. package/dist/src/desktop/components/UploadIconButton/UploadIconButton.d.ts +3 -1
  65. package/dist/src/desktop/components/UploadIconButton/UploadIconButton.js +49 -45
  66. package/dist/src/desktop/components/UploadIconButton/constants.d.ts +7 -0
  67. package/dist/src/desktop/components/UploadIconButton/constants.js +10 -0
  68. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/ContentsContainer.d.ts +1 -1
  69. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/ContentsContainer.js +2 -1
  70. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTW.d.ts +18 -0
  71. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTW.js +112 -0
  72. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/index.d.ts +1 -0
  73. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/index.js +3 -1
  74. package/dist/src/desktop/layout/LayoutWT/ContainersBox/ContainersBox.d.ts +1 -1
  75. package/dist/src/desktop/layout/LayoutWT/ContainersBox/ContainersBox.js +8 -4
  76. package/dist/src/hybrid/components/Icon/Icon.js +2 -1
  77. package/dist/src/mobile/components/ContextMenu/ContextMenu.js +1 -1
  78. package/dist/src/mobile/components/Dropdown/Dropdown.js +48 -9
  79. package/dist/src/sub/DynamicLayout/pagesPreviewMock.js +2 -2
  80. package/dist/src/sub/DynamicLayout/sectionActionTypes.d.ts +4 -0
  81. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +18 -0
  82. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +3 -0
  83. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +3 -3
  84. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGoogleFonts/getGoogleFonts.d.ts +4 -0
  85. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGoogleFonts/getGoogleFonts.js +25 -0
  86. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGoogleFonts/index.d.ts +2 -0
  87. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGoogleFonts/index.js +11 -0
  88. package/dist/src/sub/DynamicLayout/sections/CustomSection/{components/ComponentBlock/componentBlocks/Text → hooks/useGoogleFonts}/useGoogleFonts.js +1 -1
  89. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/textUtil.js +2 -1
  90. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.js +2 -2
  91. package/dist/src/sub/GoogleFontkit/headless/GoogleFontItem.js +0 -6
  92. package/dist/src/sub/GoogleFontkit/headless/GoogleFontsList.js +17 -37
  93. package/dist/src/sub/GoogleFontkit/types.d.ts +1 -1
  94. package/dist/src/sub/GoogleFontkit/utils/applyActiveFont.d.ts +0 -3
  95. package/dist/src/sub/GoogleFontkit/utils/applyActiveFont.js +0 -3
  96. package/dist/src/sub/GoogleFontkit/utils/createStyleSheet.d.ts +0 -3
  97. package/dist/src/sub/GoogleFontkit/utils/createStyleSheet.js +0 -3
  98. package/dist/src/sub/GoogleFontkit/utils/extractFontStyles.js +0 -4
  99. package/dist/src/sub/GoogleFontkit/utils/fillStyleSheet.d.ts +0 -3
  100. package/dist/src/sub/GoogleFontkit/utils/fillStyleSheet.js +0 -4
  101. package/dist/src/sub/GoogleFontkit/utils/getActiveFontStylesheet.d.ts +0 -3
  102. package/dist/src/sub/GoogleFontkit/utils/getActiveFontStylesheet.js +0 -3
  103. package/dist/src/sub/GoogleFontkit/utils/getFontId.d.ts +0 -3
  104. package/dist/src/sub/GoogleFontkit/utils/getFontId.js +0 -3
  105. package/dist/src/sub/GoogleFontkit/utils/isStyleSheetExists.d.ts +0 -3
  106. package/dist/src/sub/GoogleFontkit/utils/isStyleSheetExists.js +0 -3
  107. package/dist/src/sub/GoogleFontkit/utils/setStyleSheetType.d.ts +0 -3
  108. package/dist/src/sub/GoogleFontkit/utils/setStyleSheetType.js +0 -3
  109. package/package.json +1 -1
  110. package/release-note.md +5 -5
  111. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/getGoogleFonts.d.ts +0 -2
  112. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/getGoogleFonts.js +0 -13
  113. /package/dist/src/sub/DynamicLayout/sections/CustomSection/{components/ComponentBlock/componentBlocks/Text → hooks/useGoogleFonts}/useGoogleFonts.d.ts +0 -0
@@ -7,15 +7,11 @@ var constants_1 = require("../constants");
7
7
  var getFontId_1 = __importDefault(require("./getFontId"));
8
8
  var getMatches_1 = __importDefault(require("./getMatches"));
9
9
  function extractFontStyles(allFontStyles) {
10
- // Run Regex to separate font-face rules
11
10
  var rules = (0, getMatches_1.default)(constants_1.FONT_FACE_REGEX, allFontStyles);
12
- // Assign font-face rules to fontIds
13
11
  var fontStyles = {};
14
12
  rules.forEach(function (rule) {
15
- // Run regex to get font family
16
13
  var fontFamily = (0, getMatches_1.default)(constants_1.FONT_FAMILY_REGEX, rule)[0];
17
14
  var fontId = (0, getFontId_1.default)(fontFamily);
18
- // Append rule to font font family's other rules
19
15
  if (!(fontId in fontStyles)) {
20
16
  fontStyles[fontId] = '';
21
17
  }
@@ -1,4 +1 @@
1
- /**
2
- * Insert the provided styles in the font's <style> element (existing styles are replaced)
3
- */
4
1
  export default function fillStylesheet(fontId: string, styles: string): void;
@@ -1,10 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- /**
4
- * Insert the provided styles in the font's <style> element (existing styles are replaced)
5
- */
6
3
  function fillStylesheet(fontId, styles) {
7
- // const stylesheetId = getStylesheetId(fontId);
8
4
  var stylesheetNode = document.getElementById(fontId);
9
5
  if (stylesheetNode) {
10
6
  stylesheetNode.textContent = styles;
@@ -1,4 +1 @@
1
- /**
2
- * Create/find and return the apply-font stylesheet for the provided selectorSuffix
3
- */
4
1
  export default function getActiveFontStylesheet(selectorSuffix: string): HTMLStyleElement;
@@ -1,8 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- /**
4
- * Create/find and return the apply-font stylesheet for the provided selectorSuffix
5
- */
6
3
  function getActiveFontStylesheet(selectorSuffix) {
7
4
  var stylesheetId = "active-font-".concat(selectorSuffix);
8
5
  var activeFontStylesheet = document.getElementById(stylesheetId);
@@ -1,4 +1 @@
1
- /**
2
- * Return the fontId based on the provided font family
3
- */
4
1
  export default function getFontId(fontFamily: string): string;
@@ -1,8 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- /**
4
- * Return the fontId based on the provided font family
5
- */
6
3
  function getFontId(fontFamily) {
7
4
  return fontFamily.replace(/\s+/g, '-').toLowerCase();
8
5
  }
@@ -1,4 +1 @@
1
- /**
2
- * Check whether a font stylesheet already exists in the document head
3
- */
4
1
  export default function isStylesheetExists(fontId: string, isPreview?: boolean): boolean;
@@ -1,9 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  var constants_1 = require("../constants");
4
- /**
5
- * Check whether a font stylesheet already exists in the document head
6
- */
7
4
  function isStylesheetExists(fontId, isPreview) {
8
5
  var stylesheetNode = document.getElementById(fontId);
9
6
  if (isPreview === null || isPreview === undefined) {
@@ -1,4 +1 @@
1
- /**
2
- * Update the value of a stylesheet's "data-is-preview" attribute
3
- */
4
1
  export default function setStylesheetType(fontId: string, isPreview: boolean): void;
@@ -1,9 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  var constants_1 = require("../constants");
4
- /**
5
- * Update the value of a stylesheet's "data-is-preview" attribute
6
- */
7
4
  function setStylesheetType(fontId, isPreview) {
8
5
  var stylesheetId = fontId;
9
6
  var stylesheetNode = document.getElementById(stylesheetId);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "0.2.53",
3
+ "version": "0.2.55",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
package/release-note.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # pds-dev-kit-web-test Release Notes
2
- ## [v0.2.53]
3
- ## 기준 pds-dev-kit-web 버전 @2.2.10
2
+ ## [v0.2.55]
3
+ ## 기준 pds-dev-kit-web 버전 @2.2.19
4
4
  ### sub
5
- * GoogleFontKit
6
- * font weight 400 추가
7
- * 성능 개선 시도
5
+ * DynamicLayout
6
+ * Google Font에 Quatation 추가
7
+ * customsection z-index 500 더하기
@@ -1,2 +0,0 @@
1
- import type { CB_STYLE_PROP_TEXT_SPECS } from './types';
2
- export default function getGoogleFonts(props: CB_STYLE_PROP_TEXT_SPECS, isMobile: boolean): string[];
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- function getGoogleFonts(props, isMobile) {
4
- var typeface = props.CB_STYLE_PROP_TEXT_SPEC_TYPEFACE;
5
- var typefaceHover = props['CB_STYLE_PROP_TEXT_SPEC_TYPEFACE:HOVER'];
6
- var typefaceMobile = props['CB_STYLE_PROP_TEXT_SPEC_TYPEFACE:MOBILE'];
7
- var typefaceMobileHover = props['CB_STYLE_PROP_TEXT_SPEC_TYPEFACE:MOBILE:HOVER'];
8
- if (isMobile) {
9
- return [typefaceMobile, typefaceMobileHover].filter(function (each) { return each && each.startsWith('GOOGLE:'); });
10
- }
11
- return [typeface, typefaceHover].filter(function (each) { return each && each.startsWith('GOOGLE:'); });
12
- }
13
- exports.default = getGoogleFonts;