pds-dev-kit-web 2.1.19 → 2.1.21

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.
@@ -86,7 +86,7 @@
86
86
  "sys_papp_vod_background": "lightpink500",
87
87
  "sys_papp_vodplus_background": "pink500",
88
88
  "sys_papp_live_background": "pink300",
89
- "sys_selcontrols_base_off_disabled": "darkgrey400/opacity65",
89
+ "sys_selcontrols_base_off_disabled": "darkgrey400/opacity35",
90
90
  "sys_selcontrols_base_on_disabled": "darklightgreen500/opacity65",
91
91
  "sys_component_base_blue_opacity10": "blue500/opacity10",
92
92
  "sys_component_base_05": "grey950",
@@ -1,9 +1,7 @@
1
- import { CSSProperties } from 'react';
1
+ /// <reference types="react" />
2
2
  import type { ISection } from '../../types';
3
3
  declare type SectionPropTypes = ISection & {
4
4
  children?: React.ReactNode;
5
- } & {
6
- overrideStyles?: CSSProperties;
7
5
  };
8
- declare function Section({ children, overrideStyles, ...props }: SectionPropTypes): JSX.Element;
6
+ declare function Section({ children, ...props }: SectionPropTypes): JSX.Element;
9
7
  export default Section;
@@ -37,9 +37,8 @@ var YouTubeIframe_1 = require("../YouTubeIframe");
37
37
  var sectionContext_1 = require("./sectionContext");
38
38
  function Section(_a) {
39
39
  var _b;
40
- var children = _a.children, overrideStyles = _a.overrideStyles, props = __rest(_a, ["children", "overrideStyles"]);
41
- var _c = (0, react_1.useState)(false), isHover = _c[0], setIsHover = _c[1];
42
- return ((0, jsx_runtime_1.jsx)(sectionContext_1.sectionContext.Provider, __assign({ value: __assign({}, props) }, { children: (0, jsx_runtime_1.jsxs)(S_Section, __assign({ style: overrideStyles, isIframeSection: ((_b = props.manifest) === null || _b === void 0 ? void 0 : _b.schema) === 'EXP_IFRAME', onMouseEnter: function () { return setIsHover(true); }, onMouseMove: function () { return !isHover && setIsHover(true); }, onMouseLeave: function () { return setIsHover(false); } }, { children: [(0, jsx_runtime_1.jsx)(Background, {}, void 0), children] }), void 0) }), void 0));
40
+ var children = _a.children, props = __rest(_a, ["children"]);
41
+ return ((0, jsx_runtime_1.jsx)(sectionContext_1.sectionContext.Provider, __assign({ value: __assign({}, props) }, { children: (0, jsx_runtime_1.jsxs)(S_Section, __assign({ isIframeSection: ((_b = props.manifest) === null || _b === void 0 ? void 0 : _b.schema) === 'EXP_IFRAME' }, { children: [(0, jsx_runtime_1.jsx)(Background, {}, void 0), children] }), void 0) }), void 0));
43
42
  }
44
43
  var S_Section = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n box-sizing: border-box;\n height: ", ";\n position: relative;\n width: 100%;\n z-index: 0;\n"], ["\n box-sizing: border-box;\n height: ", ";\n position: relative;\n width: 100%;\n z-index: 0;\n"])), function (_a) {
45
44
  var isIframeSection = _a.isIframeSection;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web",
3
- "version": "2.1.19",
3
+ "version": "2.1.21",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
package/release-note.md CHANGED
@@ -1,9 +1,6 @@
1
1
  # PDS-DEV-KIT-WEB Release Notes
2
- ## [v2.1.19]
3
- ## daily|https://design.storybook.publ.biz/
4
-
5
- ### Components
6
- * CB와 관련한 픽스들을 모았습니다.
2
+ ## [v2.1.21]
3
+ ## urgent|https://design.storybook.publ.biz/
7
4
 
8
5
  ### Color
9
- * 컬러 키 값 23.08.07 0223분 기준 싱크
6
+ * 컬러 키 값 23.08.07 1557분 기준 싱크
@@ -0,0 +1,3 @@
1
+ {
2
+ "presets": ["es2015"]
3
+ }