pds-dev-kit-web 1.4.12 → 1.4.13

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.
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import IconType from '../IconType';
3
+ declare const Internal: ({ color, size, ...rest }: IconType) => JSX.Element;
4
+ export default Internal;
@@ -0,0 +1,36 @@
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 __rest = (this && this.__rest) || function (s, e) {
14
+ var t = {};
15
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
16
+ t[p] = s[p];
17
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
18
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
19
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
20
+ t[p[i]] = s[p[i]];
21
+ }
22
+ return t;
23
+ };
24
+ var __importDefault = (this && this.__importDefault) || function (mod) {
25
+ return (mod && mod.__esModule) ? mod : { "default": mod };
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ var react_1 = __importDefault(require("react"));
29
+ var Internal = function (_a) {
30
+ var color = _a.color, size = _a.size, rest = __rest(_a, ["color", "size"]);
31
+ return (react_1.default.createElement("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24" }, rest),
32
+ react_1.default.createElement("g", { fill: "none", fillRule: "evenodd" },
33
+ react_1.default.createElement("path", { fill: color, d: "M14.7582,12.7939 L10.8292,16.2299 C10.3482,16.6499 9.5962,16.3079 9.5972,15.6689 L9.5992,14.4879 C5.4052,14.4259 2.3502,10.9379 1.0372,8.1439 C0.8732,7.7959 1.2792,7.4679 1.5952,7.6859 C5.5832,10.4329 9.0162,9.9579 9.6062,9.8499 C9.6062,9.8499 9.6072,9.3539 9.6072,8.7879 C9.6082,8.1489 10.3612,7.8079 10.8402,8.2299 L14.7602,11.6769 C15.0972,11.9739 15.0962,12.4989 14.7582,12.7939" }),
34
+ react_1.default.createElement("path", { stroke: color, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", d: "M5.6353,7.6233 C5.6353,5.6903 7.2023,4.1233 9.1353,4.1233 L17.8883,4.1233 C19.8213,4.1233 21.3883,5.6903 21.3883,7.6233 L21.3883,16.3763 C21.3883,18.3093 19.8213,19.8763 17.8883,19.8763 L9.1353,19.8763 C7.2023,19.8763 5.6353,18.3093 5.6353,16.3763" }))));
35
+ };
36
+ exports.default = Internal;
@@ -46,6 +46,7 @@ declare const lineIcons: {
46
46
  readonly ic_filter: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
47
47
  readonly ic_folder: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
48
48
  readonly ic_information: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
49
+ readonly ic_internal: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
49
50
  readonly ic_language: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
50
51
  readonly ic_links: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
51
52
  readonly ic_live: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
@@ -49,6 +49,7 @@ var EyeClose_1 = __importDefault(require("./EyeClose"));
49
49
  var Filter_1 = __importDefault(require("./Filter"));
50
50
  var Folder_1 = __importDefault(require("./Folder"));
51
51
  var Information_1 = __importDefault(require("./Information"));
52
+ var Internal_1 = __importDefault(require("./Internal"));
52
53
  var Language_1 = __importDefault(require("./Language"));
53
54
  var Links_1 = __importDefault(require("./Links"));
54
55
  var Live_1 = __importDefault(require("./Live"));
@@ -187,6 +188,7 @@ var lineIcons = {
187
188
  ic_filter: Filter_1.default,
188
189
  ic_folder: Folder_1.default,
189
190
  ic_information: Information_1.default,
191
+ ic_internal: Internal_1.default,
190
192
  ic_language: Language_1.default,
191
193
  ic_links: Links_1.default,
192
194
  ic_live: Live_1.default,
@@ -19,9 +19,12 @@ function Switch(_a) {
19
19
  react_1.default.createElement(S_Label, { htmlFor: name, disabled: state === 'disabled' })));
20
20
  }
21
21
  var S_Switch = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: relative;\n width: 56px;\n height: 32px;\n"], ["\n position: relative;\n width: 56px;\n height: 32px;\n"])));
22
- var S_Label = styled_components_1.default.label(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n width: 56px;\n height: 32px;\n border-radius: 24px;\n background: ", ";\n cursor: pointer;\n\n &::after {\n content: '';\n display: block;\n border-radius: 24px;\n width: 24px;\n height: 24px;\n margin: ", ";\n background: ", ";\n }\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n width: 56px;\n height: 32px;\n border-radius: 24px;\n background: ", ";\n cursor: pointer;\n\n &::after {\n content: '';\n display: block;\n border-radius: 24px;\n width: 24px;\n height: 24px;\n margin: ", ";\n background: ", ";\n }\n"])), function (_a) {
22
+ var S_Label = styled_components_1.default.label(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n width: 56px;\n height: 32px;\n border-radius: 24px;\n background: ", ";\n cursor: ", ";\n\n &::after {\n content: '';\n display: block;\n border-radius: 24px;\n width: 24px;\n height: 24px;\n margin: ", ";\n background: ", ";\n }\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n width: 56px;\n height: 32px;\n border-radius: 24px;\n background: ", ";\n cursor: ", ";\n\n &::after {\n content: '';\n display: block;\n border-radius: 24px;\n width: 24px;\n height: 24px;\n margin: ", ";\n background: ", ";\n }\n"])), function (_a) {
23
23
  var theme = _a.theme, disabled = _a.disabled;
24
24
  return disabled ? theme.ui_cpnt_selcontrols_base_off_disabled : theme.ui_cpnt_selcontrols_base_off;
25
+ }, function (_a) {
26
+ var disabled = _a.disabled;
27
+ return (disabled ? 'default' : 'pointer');
25
28
  }, function (_a) {
26
29
  var theme = _a.theme;
27
30
  return theme.spacing.spacingA;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web",
3
- "version": "1.4.12",
3
+ "version": "1.4.13",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
package/release-note.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # PDS-DEV-KIT-WEB Release Notes
2
- ## [v1.4.12]
2
+ ## [v1.4.13]
3
3
 
4
4
  ### Component
5
- * DynamicDesktopNavBar
6
- * pAppMenuItemNav내부에서 쓰이는 iconNav가 iconName이 아닌 src를 우선적으로 사용하도록 수정
5
+ * Icon
6
+ * ic_internal line추가
7
+ * Switch
8
+ * disabled 상태일 때의 커서를 기본 상태로 변경