pds-dev-kit-web 1.9.10 → 1.9.12
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.
- package/dist/index.d.ts +3 -2
- package/dist/index.js +3 -2
- package/dist/src/common/assets/icons/line/BookingExtension.d.ts +4 -0
- package/dist/src/common/assets/icons/line/BookingExtension.js +36 -0
- package/dist/src/common/assets/icons/line/index.d.ts +1 -0
- package/dist/src/common/assets/icons/line/index.js +2 -0
- package/dist/src/common/styles/colorSet/UIColor.json +8 -1
- package/dist/src/common/styles/colorSet/index.d.ts +105 -98
- package/dist/src/common/styles/colorSet/index.js +2 -2
- package/dist/src/common/styles/colorSet/ui-type.d.ts +7 -0
- package/dist/src/desktop/components/DesktopHeaderBar/DesktopHeaderBar.d.ts +4 -1
- package/dist/src/desktop/components/DesktopHeaderBar/DesktopHeaderBar.js +26 -2
- package/dist/src/desktop/components/TextLabel/TextLabel.d.ts +2 -1
- package/dist/src/desktop/components/TextLabel/TextLabel.js +3 -3
- package/dist/src/desktop/index.d.ts +3 -2
- package/dist/src/desktop/index.js +2 -1
- package/dist/src/desktop/panels/DesktopTutorialModal/Components/SideTab/SideTab.d.ts +8 -0
- package/dist/src/desktop/panels/DesktopTutorialModal/Components/SideTab/SideTab.js +48 -0
- package/dist/src/desktop/panels/DesktopTutorialModal/Components/SideTab/index.d.ts +1 -0
- package/dist/src/desktop/panels/DesktopTutorialModal/Components/SideTab/index.js +8 -0
- package/dist/src/desktop/panels/DesktopTutorialModal/Components/index.d.ts +2 -0
- package/dist/src/desktop/panels/DesktopTutorialModal/Components/index.js +5 -0
- package/dist/src/desktop/panels/DesktopTutorialModal/DesktopTutorialModal.d.ts +18 -0
- package/dist/src/desktop/panels/DesktopTutorialModal/DesktopTutorialModal.js +153 -0
- package/dist/src/desktop/panels/DesktopTutorialModal/index.d.ts +3 -0
- package/dist/src/desktop/panels/DesktopTutorialModal/index.js +8 -0
- package/dist/src/desktop/panels/index.d.ts +3 -1
- package/dist/src/desktop/panels/index.js +3 -1
- package/dist/storybook-static/{0.6b1bd5db.iframe.bundle.d.ts → 0.9bb7767d.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{0.6b1bd5db.iframe.bundle.js → 0.9bb7767d.iframe.bundle.js} +7 -7
- package/dist/storybook-static/{4.75c7fb7a.iframe.bundle.d.ts → 4.ed983a0a.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{4.75c7fb7a.iframe.bundle.js → 4.ed983a0a.iframe.bundle.js} +69 -69
- package/dist/storybook-static/{5.ea130e18.iframe.bundle.d.ts → 5.949eb428.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{5.ea130e18.iframe.bundle.js → 5.949eb428.iframe.bundle.js} +12 -12
- package/dist/storybook-static/{6.0fced635.iframe.bundle.d.ts → 6.e34350b7.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{6.0fced635.iframe.bundle.js → 6.e34350b7.iframe.bundle.js} +6 -6
- package/dist/storybook-static/{7.d8e1bf72.iframe.bundle.d.ts → 7.f7cfb88e.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{7.d8e1bf72.iframe.bundle.js → 7.f7cfb88e.iframe.bundle.js} +1 -1
- package/dist/storybook-static/{main.f342bf23.iframe.bundle.d.ts → main.f16a77cc.iframe.bundle.d.ts} +585 -602
- package/dist/storybook-static/{main.f342bf23.iframe.bundle.js → main.f16a77cc.iframe.bundle.js} +961 -963
- package/dist/storybook-static/{runtime~main.29195093.iframe.bundle.d.ts → runtime~main.b5a58837.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{runtime~main.29195093.iframe.bundle.js → runtime~main.b5a58837.iframe.bundle.js} +1 -1
- package/dist/storybook-static/{vendors~main.91124dd5.iframe.bundle.d.ts → vendors~main.ed405a26.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{vendors~main.91124dd5.iframe.bundle.js → vendors~main.ed405a26.iframe.bundle.js} +530 -530
- package/package.json +1 -1
- package/release-note.md +11 -2
package/dist/index.d.ts
CHANGED
|
@@ -8,13 +8,14 @@ export * from './src/common/styles/movement/transitionStyle';
|
|
|
8
8
|
export { Form };
|
|
9
9
|
import { Divider, Icon, ImageView, LinearProgress, LottieIcon, Spacing, Switch } from './src/hybrid';
|
|
10
10
|
export { Divider, Icon, ImageView, LinearProgress, LottieIcon, Spacing, Switch };
|
|
11
|
-
import { LayoutWF, WFContainersBox, LayoutWH, WHContainersBox, LayoutWS, WSGlobalMenuContainer, WSContainersBox, LayoutWT, WTGlobalMenuContainer, WTContainersBox, D_AdminList, D_AdminListHeader, D_AdminListItem, D_BasicChatListItem, D_BasicFormGroup, D_BasicList, D_BasicListItem, D_BlogTextField, D_BodyTextGroup, D_Card, D_CardList, D_ChatBubbleListItem, D_ChatList, D_Checkbox, D_Chip, D_ContextMenu, D_ContextMenuItem, D_DesktopAlertDialog, D_DesktopHeaderBar, D_DesktopTabBar, D_Dropdown, D_DynamicDesktopNavBar, D_DynamicDesktopNavBarTemplates, D_EditApplyTextField, D_FilterBar, D_FloatingActionButton, D_Hero, D_HorizontalFormGroup, D_IconButton, D_ImageSlide, D_LottieReactionButton, D_MainButton, D_PageTitleTextGroup, D_Radio, D_ReactionButton, D_Select, D_StatusBlock, D_TextButton, D_TextField, D_TextLabel, D_UploadIconButton, D_UploadMainButton, D_UploadTextButton, D_UserDesktopNavBar, D_UserDesktopTabBar, D_UserDesktopSideTab, D_AnnotationSheet, D_ContentSheet, D_DesktopBasicModal, D_DesktopHeadlessModal, D_SectionSheet } from './src/desktop';
|
|
11
|
+
import { LayoutWF, WFContainersBox, LayoutWH, WHContainersBox, LayoutWS, WSGlobalMenuContainer, WSContainersBox, LayoutWT, WTGlobalMenuContainer, WTContainersBox, D_AdminList, D_AdminListHeader, D_AdminListItem, D_BasicChatListItem, D_BasicFormGroup, D_BasicList, D_BasicListItem, D_BlogTextField, D_BodyTextGroup, D_Card, D_CardList, D_ChatBubbleListItem, D_ChatList, D_Checkbox, D_Chip, D_ContextMenu, D_ContextMenuItem, D_DesktopAlertDialog, D_DesktopHeaderBar, D_DesktopTabBar, D_Dropdown, D_DynamicDesktopNavBar, D_DynamicDesktopNavBarTemplates, D_EditApplyTextField, D_FilterBar, D_FloatingActionButton, D_Hero, D_HorizontalFormGroup, D_IconButton, D_ImageSlide, D_LottieReactionButton, D_MainButton, D_PageTitleTextGroup, D_Radio, D_ReactionButton, D_Select, D_StatusBlock, D_TextButton, D_TextField, D_TextLabel, D_UploadIconButton, D_UploadMainButton, D_UploadTextButton, D_UserDesktopNavBar, D_UserDesktopTabBar, D_UserDesktopSideTab, D_AnnotationSheet, D_ContentSheet, D_DesktopBasicModal, D_DesktopHeadlessModal, D_DesktopTutorialModal, DesktopTutorialModalInfoType, D_SectionSheet } from './src/desktop';
|
|
12
12
|
export { LayoutWF, WFContainersBox };
|
|
13
13
|
export { LayoutWH, WHContainersBox };
|
|
14
14
|
export { LayoutWS, WSGlobalMenuContainer, WSContainersBox };
|
|
15
15
|
export { LayoutWT, WTGlobalMenuContainer, WTContainersBox };
|
|
16
16
|
export { D_AdminList, D_AdminListHeader, D_AdminListItem, D_BasicChatListItem, D_BasicFormGroup, D_BasicList, D_BasicListItem, D_BlogTextField, D_BodyTextGroup, D_Card, D_CardList, D_ChatBubbleListItem, D_ChatList, D_Checkbox, D_Chip, D_ContextMenu, D_ContextMenuItem, D_DesktopAlertDialog, D_DesktopHeaderBar, D_DesktopTabBar, D_Dropdown, D_DynamicDesktopNavBar, D_DynamicDesktopNavBarTemplates, D_EditApplyTextField, D_FilterBar, D_FloatingActionButton, D_Hero, D_HorizontalFormGroup, D_IconButton, D_ImageSlide, D_LottieReactionButton, D_MainButton, D_PageTitleTextGroup, D_Radio, D_ReactionButton, D_Select, D_StatusBlock, D_TextButton, D_TextField, D_TextLabel, D_UploadIconButton, D_UploadMainButton, D_UploadTextButton, D_UserDesktopNavBar, D_UserDesktopTabBar, D_UserDesktopSideTab };
|
|
17
|
-
export { D_AnnotationSheet, D_ContentSheet, D_DesktopBasicModal, D_DesktopHeadlessModal, D_SectionSheet };
|
|
17
|
+
export { D_AnnotationSheet, D_ContentSheet, D_DesktopBasicModal, D_DesktopHeadlessModal, D_DesktopTutorialModal, D_SectionSheet };
|
|
18
|
+
export type { DesktopTutorialModalInfoType };
|
|
18
19
|
import { LayoutMF, MFContainersBox, LayoutMM, MMNavigationContainer, MMContainersBox, LayoutMP, MPNavigationContainer, MPTabContainer, MPContainersBox, LayoutMS, MSNavigationContainer, MSContainersBox, M_BasicChatListItem, M_BasicFormGroup, M_BasicList, M_BasicListItem, M_BlogTextField, M_BodyTextGroup, M_Card, M_CardList, M_ChatBubbleListItem, M_ChatList, M_Checkbox, M_Chip, M_ContextMenu, M_ContextMenuItem, M_Dropdown, M_FloatingActionButton, M_HorizontalFormGroup, M_IconButton, M_ImageSlide, M_LottieReactionButton, M_MainButton, M_MobileAlertDialog, M_MobileHeaderBar, M_MobileTabBar, M_Radio, M_ReactionButton, M_Select, M_StatusBlock, M_TextButton, M_TextField, M_TextLabel, M_UploadIconButton, M_UploadMainButton, M_UploadTextButton, M_AnnotationSheet, M_ContentSheet, M_MobileBasicModal, M_SectionSheet } from './src/mobile';
|
|
19
20
|
export { LayoutMF, MFContainersBox };
|
|
20
21
|
export { LayoutMM, MMNavigationContainer, MMContainersBox };
|
package/dist/index.js
CHANGED
|
@@ -11,8 +11,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
exports.D_DesktopAlertDialog = exports.D_ContextMenuItem = exports.D_ContextMenu = exports.D_Chip = exports.D_Checkbox = exports.D_ChatList = exports.D_ChatBubbleListItem = exports.D_CardList = exports.D_Card = exports.D_BodyTextGroup = exports.D_BlogTextField = exports.D_BasicListItem = exports.D_BasicList = exports.D_BasicFormGroup = exports.D_BasicChatListItem = exports.D_AdminListItem = exports.D_AdminListHeader = exports.D_AdminList = exports.WTContainersBox = exports.WTGlobalMenuContainer = exports.LayoutWT = exports.WSContainersBox = exports.WSGlobalMenuContainer = exports.LayoutWS = exports.WHContainersBox = exports.LayoutWH = exports.WFContainersBox = exports.LayoutWF = exports.Switch = exports.Spacing = exports.LottieIcon = exports.LinearProgress = exports.ImageView = exports.Icon = exports.Divider = exports.Form = exports.theme = exports.customTheme = exports.uiColors = exports.spacing = exports.boxShadow = exports.mobileEditorLineHeight = exports.mobileEditorFontSize = exports.mobileLineHeight = exports.mobileFontSize = exports.desktopEditorLineHeight = exports.desktopEditorFontSize = exports.desktopLineHeight = exports.desktopFontSize = exports.fontWeight = void 0;
|
|
14
|
-
exports.
|
|
15
|
-
exports.DynamicLayout = exports.M_SectionSheet = exports.M_MobileBasicModal = exports.M_ContentSheet = exports.M_AnnotationSheet = exports.M_UploadTextButton = exports.M_UploadMainButton = exports.M_UploadIconButton = exports.M_TextLabel = exports.M_TextField = exports.M_TextButton = exports.M_StatusBlock = exports.M_Select = exports.M_ReactionButton = exports.M_Radio = exports.M_MobileTabBar = exports.M_MobileHeaderBar = exports.M_MobileAlertDialog = exports.M_MainButton = exports.M_LottieReactionButton = exports.M_ImageSlide = exports.M_IconButton = exports.M_HorizontalFormGroup = exports.M_FloatingActionButton = exports.M_Dropdown = exports.M_ContextMenuItem = exports.M_ContextMenu = exports.M_Chip = exports.M_Checkbox = exports.M_ChatList = exports.M_ChatBubbleListItem = exports.M_CardList = exports.M_Card = exports.M_BodyTextGroup = void 0;
|
|
14
|
+
exports.M_BasicListItem = exports.M_BasicList = exports.M_BasicFormGroup = exports.M_BasicChatListItem = exports.MSContainersBox = exports.MSNavigationContainer = exports.LayoutMS = exports.MPContainersBox = exports.MPTabContainer = exports.MPNavigationContainer = exports.LayoutMP = exports.MMContainersBox = exports.MMNavigationContainer = exports.LayoutMM = exports.MFContainersBox = exports.LayoutMF = exports.D_SectionSheet = exports.D_DesktopTutorialModal = exports.D_DesktopHeadlessModal = exports.D_DesktopBasicModal = exports.D_ContentSheet = exports.D_AnnotationSheet = exports.D_UserDesktopSideTab = exports.D_UserDesktopTabBar = exports.D_UserDesktopNavBar = exports.D_UploadTextButton = exports.D_UploadMainButton = exports.D_UploadIconButton = exports.D_TextLabel = exports.D_TextField = exports.D_TextButton = exports.D_StatusBlock = exports.D_Select = exports.D_ReactionButton = exports.D_Radio = exports.D_PageTitleTextGroup = exports.D_MainButton = exports.D_LottieReactionButton = exports.D_ImageSlide = exports.D_IconButton = exports.D_HorizontalFormGroup = exports.D_Hero = exports.D_FloatingActionButton = exports.D_FilterBar = exports.D_EditApplyTextField = exports.D_DynamicDesktopNavBarTemplates = exports.D_DynamicDesktopNavBar = exports.D_Dropdown = exports.D_DesktopTabBar = exports.D_DesktopHeaderBar = void 0;
|
|
15
|
+
exports.DynamicLayout = exports.M_SectionSheet = exports.M_MobileBasicModal = exports.M_ContentSheet = exports.M_AnnotationSheet = exports.M_UploadTextButton = exports.M_UploadMainButton = exports.M_UploadIconButton = exports.M_TextLabel = exports.M_TextField = exports.M_TextButton = exports.M_StatusBlock = exports.M_Select = exports.M_ReactionButton = exports.M_Radio = exports.M_MobileTabBar = exports.M_MobileHeaderBar = exports.M_MobileAlertDialog = exports.M_MainButton = exports.M_LottieReactionButton = exports.M_ImageSlide = exports.M_IconButton = exports.M_HorizontalFormGroup = exports.M_FloatingActionButton = exports.M_Dropdown = exports.M_ContextMenuItem = exports.M_ContextMenu = exports.M_Chip = exports.M_Checkbox = exports.M_ChatList = exports.M_ChatBubbleListItem = exports.M_CardList = exports.M_Card = exports.M_BodyTextGroup = exports.M_BlogTextField = void 0;
|
|
16
16
|
/* eslint-disable import/order */
|
|
17
17
|
/* eslint-disable import/first */
|
|
18
18
|
// common
|
|
@@ -109,6 +109,7 @@ Object.defineProperty(exports, "D_AnnotationSheet", { enumerable: true, get: fun
|
|
|
109
109
|
Object.defineProperty(exports, "D_ContentSheet", { enumerable: true, get: function () { return desktop_1.D_ContentSheet; } });
|
|
110
110
|
Object.defineProperty(exports, "D_DesktopBasicModal", { enumerable: true, get: function () { return desktop_1.D_DesktopBasicModal; } });
|
|
111
111
|
Object.defineProperty(exports, "D_DesktopHeadlessModal", { enumerable: true, get: function () { return desktop_1.D_DesktopHeadlessModal; } });
|
|
112
|
+
Object.defineProperty(exports, "D_DesktopTutorialModal", { enumerable: true, get: function () { return desktop_1.D_DesktopTutorialModal; } });
|
|
112
113
|
Object.defineProperty(exports, "D_SectionSheet", { enumerable: true, get: function () { return desktop_1.D_SectionSheet; } });
|
|
113
114
|
// mobile
|
|
114
115
|
var mobile_1 = require("./src/mobile");
|
|
@@ -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 BookingExtension = 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: "M13.9607,8 C15.3377,8 16.4537,9.116 16.4537,10.493 L16.4537,18.124 C16.4537,19.501 15.3377,20.617 13.9607,20.617 L4.0307,20.617 C2.6537,20.617 1.5367,19.501 1.5367,18.124 L1.5367,10.493 C1.5367,9.116 2.6537,8 4.0307,8 L13.9607,8 Z M14.9537,11.633 L3.0367,11.633 L3.0367,18.124 C3.0367,18.672 3.4827,19.117 4.0307,19.117 L13.9607,19.117 C14.5087,19.117 14.9537,18.672 14.9537,18.124 L14.9537,11.633 Z M5.0458,17.0816 C5.4578,17.0816 5.7918,17.4166 5.7918,17.8286 C5.7918,18.2406 5.4578,18.5746 5.0458,18.5746 C4.6338,18.5746 4.2998,18.2406 4.2998,17.8286 C4.2998,17.4166 4.6338,17.0816 5.0458,17.0816 Z M7.675,17.0816 C8.087,17.0816 8.421,17.4166 8.421,17.8286 C8.421,18.2406 8.087,18.5746 7.675,18.5746 C7.263,18.5746 6.929,18.2406 6.929,17.8286 C6.929,17.4166 7.263,17.0816 7.675,17.0816 Z M5.0458,14.749 C5.4578,14.749 5.7918,15.084 5.7918,15.496 C5.7918,15.908 5.4578,16.242 5.0458,16.242 C4.6338,16.242 4.2998,15.908 4.2998,15.496 C4.2998,15.084 4.6338,14.749 5.0458,14.749 Z M7.675,14.749 C8.087,14.749 8.421,15.084 8.421,15.496 C8.421,15.908 8.087,16.242 7.675,16.242 C7.263,16.242 6.929,15.908 6.929,15.496 C6.929,15.084 7.263,14.749 7.675,14.749 Z M10.3044,14.749 L10.4056269,14.7558299 C10.7697472,14.8053681 11.0504,15.1183333 11.0504,15.496 C11.0504,15.908 10.7164,16.242 10.3044,16.242 L10.2031731,16.2351898 C9.83905278,16.1857917 9.5584,15.8736667 9.5584,15.496 C9.5584,15.084 9.8924,14.749 10.3044,14.749 Z M12.9337,14.749 C13.3457,14.749 13.6797,15.084 13.6797,15.496 C13.6797,15.908 13.3457,16.242 12.9337,16.242 C12.5217,16.242 12.1877,15.908 12.1877,15.496 C12.1877,15.084 12.5217,14.749 12.9337,14.749 Z M7.675,12.4163 C8.087,12.4163 8.421,12.7513 8.421,13.1633 C8.421,13.5753 8.087,13.9093 7.675,13.9093 C7.263,13.9093 6.929,13.5753 6.929,13.1633 C6.929,12.7513 7.263,12.4163 7.675,12.4163 Z M10.3044,12.4163 L10.4056269,12.4231299 C10.7697472,12.4726681 11.0504,12.7856333 11.0504,13.1633 C11.0504,13.5753 10.7164,13.9093 10.3044,13.9093 L10.2031731,13.9024898 C9.83905278,13.8530917 9.5584,13.5409667 9.5584,13.1633 C9.5584,12.7513 9.8924,12.4163 10.3044,12.4163 Z M12.9337,12.4163 C13.3457,12.4163 13.6797,12.7513 13.6797,13.1633 C13.6797,13.5753 13.3457,13.9093 12.9337,13.9093 C12.5217,13.9093 12.1877,13.5753 12.1877,13.1633 C12.1877,12.7513 12.5217,12.4163 12.9337,12.4163 Z" }),
|
|
34
|
+
react_1.default.createElement("path", { stroke: color, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", d: "M15.8327,6.2368 L22.3407,6.2368 M19.0869,2.9826 L19.0869,9.4906" }))));
|
|
35
|
+
};
|
|
36
|
+
exports.default = BookingExtension;
|
|
@@ -18,6 +18,7 @@ declare const lineIcons: {
|
|
|
18
18
|
readonly ic_bell_notification: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
|
19
19
|
readonly ic_booking: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
|
20
20
|
readonly ic_booking_completed: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
|
21
|
+
readonly ic_booking_extension: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
|
21
22
|
readonly ic_booking_history: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
|
22
23
|
readonly ic_booking_papp: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
|
23
24
|
readonly ic_booking_ticket: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
|
@@ -21,6 +21,7 @@ var Bell_1 = __importDefault(require("./Bell"));
|
|
|
21
21
|
var BellNotification_1 = __importDefault(require("./BellNotification"));
|
|
22
22
|
var Booking_1 = __importDefault(require("./Booking"));
|
|
23
23
|
var BookingCompleted_1 = __importDefault(require("./BookingCompleted"));
|
|
24
|
+
var BookingExtension_1 = __importDefault(require("./BookingExtension"));
|
|
24
25
|
var BookingHistory_1 = __importDefault(require("./BookingHistory"));
|
|
25
26
|
var BookingPapp_1 = __importDefault(require("./BookingPapp"));
|
|
26
27
|
var BookingTicket_1 = __importDefault(require("./BookingTicket"));
|
|
@@ -214,6 +215,7 @@ var lineIcons = {
|
|
|
214
215
|
ic_bell_notification: BellNotification_1.default,
|
|
215
216
|
ic_booking: Booking_1.default,
|
|
216
217
|
ic_booking_completed: BookingCompleted_1.default,
|
|
218
|
+
ic_booking_extension: BookingExtension_1.default,
|
|
217
219
|
ic_booking_history: BookingHistory_1.default,
|
|
218
220
|
ic_booking_papp: BookingPapp_1.default,
|
|
219
221
|
ic_booking_ticket: BookingTicket_1.default,
|
|
@@ -726,5 +726,12 @@
|
|
|
726
726
|
"ui_cpnt_sheet_border_07": "sys_border_line_04",
|
|
727
727
|
"ui_cpnt_sheet_base_14": "sys_cpnt_sheet_base_09",
|
|
728
728
|
"ui_cpnt_sheet_base_15": "sys_cpnt_sheet_base_10",
|
|
729
|
-
"ui_cpnt_tutorialmodal_sidetab_default": "sys_component_base_white_opacity00"
|
|
729
|
+
"ui_cpnt_tutorialmodal_sidetab_default": "sys_component_base_white_opacity00",
|
|
730
|
+
"ui_cpnt_tutorialmodal_info_base": "sys_component_base_06",
|
|
731
|
+
"ui_domain_record_card_status_1": "sys_component_base_green",
|
|
732
|
+
"ui_domain_record_card_status_2": "sys_component_base_orange",
|
|
733
|
+
"ui_domain_record_card_status_3": "sys_component_base_red",
|
|
734
|
+
"ui_domain_record_card_status_4": "sys_component_base_grey",
|
|
735
|
+
"ui_cpnt_button_fill_base_tutorialmodal": "sys_component_base_black_opacity30",
|
|
736
|
+
"ui_cpnt_toolbar_base": "sys_component_base_white_opacity00"
|
|
730
737
|
}
|
|
@@ -1,4 +1,102 @@
|
|
|
1
1
|
declare const colorSet: {
|
|
2
|
+
readonly SemanticColor: {
|
|
3
|
+
blue500: string;
|
|
4
|
+
blue700: string;
|
|
5
|
+
blue300: string;
|
|
6
|
+
green700: string;
|
|
7
|
+
green500: string;
|
|
8
|
+
green300: string;
|
|
9
|
+
red500: string;
|
|
10
|
+
grey900: string;
|
|
11
|
+
grey500: string;
|
|
12
|
+
grey400: string;
|
|
13
|
+
grey100: string;
|
|
14
|
+
grey50: string;
|
|
15
|
+
white: string;
|
|
16
|
+
black: string;
|
|
17
|
+
darkblue500: string;
|
|
18
|
+
grey950: string;
|
|
19
|
+
darkgrey900: string;
|
|
20
|
+
darkgrey500: string;
|
|
21
|
+
darkgrey400: string;
|
|
22
|
+
darkgrey100: string;
|
|
23
|
+
darkgrey50: string;
|
|
24
|
+
darkred500: string;
|
|
25
|
+
darkgreen700: string;
|
|
26
|
+
orange500: string;
|
|
27
|
+
darkorange500: string;
|
|
28
|
+
opacity00: string;
|
|
29
|
+
opacity20: string;
|
|
30
|
+
opacity30: string;
|
|
31
|
+
opacity65: string;
|
|
32
|
+
darkgreen500: string;
|
|
33
|
+
grey70: string;
|
|
34
|
+
navy500: string;
|
|
35
|
+
lightgreen500: string;
|
|
36
|
+
pink500: string;
|
|
37
|
+
darkgrey70: string;
|
|
38
|
+
darknavy500: string;
|
|
39
|
+
darkpink500: string;
|
|
40
|
+
darklightgreen500: string;
|
|
41
|
+
opacity10: string;
|
|
42
|
+
grey600: string;
|
|
43
|
+
darkgrey600: string;
|
|
44
|
+
skyblue500: string;
|
|
45
|
+
skyblue300: string;
|
|
46
|
+
pink300: string;
|
|
47
|
+
lightpink500: string;
|
|
48
|
+
darkblue300: string;
|
|
49
|
+
darkblue700: string;
|
|
50
|
+
darkgreen300: string;
|
|
51
|
+
darkskyblue500: string;
|
|
52
|
+
navy100: string;
|
|
53
|
+
darknavy100: string;
|
|
54
|
+
opacity80: string;
|
|
55
|
+
opacity50: string;
|
|
56
|
+
grey30: string;
|
|
57
|
+
opacity95: string;
|
|
58
|
+
darkgrey30: string;
|
|
59
|
+
opacity40: string;
|
|
60
|
+
kakaoyellow: string;
|
|
61
|
+
pastelblue500: string;
|
|
62
|
+
pastelpink500: string;
|
|
63
|
+
pastelorange500: string;
|
|
64
|
+
pastelgreen500: string;
|
|
65
|
+
pastelpurple500: string;
|
|
66
|
+
darkpastelblue500: string;
|
|
67
|
+
darkpastelpink500: string;
|
|
68
|
+
darkpastelorange500: string;
|
|
69
|
+
darkpastelgreen500: string;
|
|
70
|
+
darkpastelpurple500: string;
|
|
71
|
+
green30: string;
|
|
72
|
+
darkgreen30: string;
|
|
73
|
+
orange50: string;
|
|
74
|
+
darkorange50: string;
|
|
75
|
+
orange30: string;
|
|
76
|
+
darkorange30: string;
|
|
77
|
+
green50: string;
|
|
78
|
+
darkgreen50: string;
|
|
79
|
+
opacity90: string;
|
|
80
|
+
facebookblue: string;
|
|
81
|
+
opacity05: string;
|
|
82
|
+
opacity15: string;
|
|
83
|
+
grey80: string;
|
|
84
|
+
grey200: string;
|
|
85
|
+
darkgrey80: string;
|
|
86
|
+
darkgrey200: string;
|
|
87
|
+
opacity70: string;
|
|
88
|
+
opacity60: string;
|
|
89
|
+
skyblue100: string;
|
|
90
|
+
green100: string;
|
|
91
|
+
darkgreen100: string;
|
|
92
|
+
darkskyblue100: string;
|
|
93
|
+
opacity25: string;
|
|
94
|
+
opacity35: string;
|
|
95
|
+
grey10: string;
|
|
96
|
+
darkgrey10: string;
|
|
97
|
+
blue50: string;
|
|
98
|
+
darkblue50: string;
|
|
99
|
+
};
|
|
2
100
|
readonly PaletteColor_light: {
|
|
3
101
|
sys_container_background_01: string;
|
|
4
102
|
sys_container_background_02: string;
|
|
@@ -1002,104 +1100,13 @@ declare const colorSet: {
|
|
|
1002
1100
|
ui_cpnt_sheet_base_14: string;
|
|
1003
1101
|
ui_cpnt_sheet_base_15: string;
|
|
1004
1102
|
ui_cpnt_tutorialmodal_sidetab_default: string;
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
green300: string;
|
|
1013
|
-
red500: string;
|
|
1014
|
-
grey900: string;
|
|
1015
|
-
grey500: string;
|
|
1016
|
-
grey400: string;
|
|
1017
|
-
grey100: string;
|
|
1018
|
-
grey50: string;
|
|
1019
|
-
white: string;
|
|
1020
|
-
black: string;
|
|
1021
|
-
darkblue500: string;
|
|
1022
|
-
grey950: string;
|
|
1023
|
-
darkgrey900: string;
|
|
1024
|
-
darkgrey500: string;
|
|
1025
|
-
darkgrey400: string;
|
|
1026
|
-
darkgrey100: string;
|
|
1027
|
-
darkgrey50: string;
|
|
1028
|
-
darkred500: string;
|
|
1029
|
-
darkgreen700: string;
|
|
1030
|
-
orange500: string;
|
|
1031
|
-
darkorange500: string;
|
|
1032
|
-
opacity00: string;
|
|
1033
|
-
opacity20: string;
|
|
1034
|
-
opacity30: string;
|
|
1035
|
-
opacity65: string;
|
|
1036
|
-
darkgreen500: string;
|
|
1037
|
-
grey70: string;
|
|
1038
|
-
navy500: string;
|
|
1039
|
-
lightgreen500: string;
|
|
1040
|
-
pink500: string;
|
|
1041
|
-
darkgrey70: string;
|
|
1042
|
-
darknavy500: string;
|
|
1043
|
-
darkpink500: string;
|
|
1044
|
-
darklightgreen500: string;
|
|
1045
|
-
opacity10: string;
|
|
1046
|
-
grey600: string;
|
|
1047
|
-
darkgrey600: string;
|
|
1048
|
-
skyblue500: string;
|
|
1049
|
-
skyblue300: string;
|
|
1050
|
-
pink300: string;
|
|
1051
|
-
lightpink500: string;
|
|
1052
|
-
darkblue300: string;
|
|
1053
|
-
darkblue700: string;
|
|
1054
|
-
darkgreen300: string;
|
|
1055
|
-
darkskyblue500: string;
|
|
1056
|
-
navy100: string;
|
|
1057
|
-
darknavy100: string;
|
|
1058
|
-
opacity80: string;
|
|
1059
|
-
opacity50: string;
|
|
1060
|
-
grey30: string;
|
|
1061
|
-
opacity95: string;
|
|
1062
|
-
darkgrey30: string;
|
|
1063
|
-
opacity40: string;
|
|
1064
|
-
kakaoyellow: string;
|
|
1065
|
-
pastelblue500: string;
|
|
1066
|
-
pastelpink500: string;
|
|
1067
|
-
pastelorange500: string;
|
|
1068
|
-
pastelgreen500: string;
|
|
1069
|
-
pastelpurple500: string;
|
|
1070
|
-
darkpastelblue500: string;
|
|
1071
|
-
darkpastelpink500: string;
|
|
1072
|
-
darkpastelorange500: string;
|
|
1073
|
-
darkpastelgreen500: string;
|
|
1074
|
-
darkpastelpurple500: string;
|
|
1075
|
-
green30: string;
|
|
1076
|
-
darkgreen30: string;
|
|
1077
|
-
orange50: string;
|
|
1078
|
-
darkorange50: string;
|
|
1079
|
-
orange30: string;
|
|
1080
|
-
darkorange30: string;
|
|
1081
|
-
green50: string;
|
|
1082
|
-
darkgreen50: string;
|
|
1083
|
-
opacity90: string;
|
|
1084
|
-
facebookblue: string;
|
|
1085
|
-
opacity05: string;
|
|
1086
|
-
opacity15: string;
|
|
1087
|
-
grey80: string;
|
|
1088
|
-
grey200: string;
|
|
1089
|
-
darkgrey80: string;
|
|
1090
|
-
darkgrey200: string;
|
|
1091
|
-
opacity70: string;
|
|
1092
|
-
opacity60: string;
|
|
1093
|
-
skyblue100: string;
|
|
1094
|
-
green100: string;
|
|
1095
|
-
darkgreen100: string;
|
|
1096
|
-
darkskyblue100: string;
|
|
1097
|
-
opacity25: string;
|
|
1098
|
-
opacity35: string;
|
|
1099
|
-
grey10: string;
|
|
1100
|
-
darkgrey10: string;
|
|
1101
|
-
blue50: string;
|
|
1102
|
-
darkblue50: string;
|
|
1103
|
+
ui_cpnt_tutorialmodal_info_base: string;
|
|
1104
|
+
ui_domain_record_card_status_1: string;
|
|
1105
|
+
ui_domain_record_card_status_2: string;
|
|
1106
|
+
ui_domain_record_card_status_3: string;
|
|
1107
|
+
ui_domain_record_card_status_4: string;
|
|
1108
|
+
ui_cpnt_button_fill_base_tutorialmodal: string;
|
|
1109
|
+
ui_cpnt_toolbar_base: string;
|
|
1103
1110
|
};
|
|
1104
1111
|
readonly PaletteColor_Dark: {
|
|
1105
1112
|
sys_container_background_01: string;
|
|
@@ -4,14 +4,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
/* eslint-disable import/order */
|
|
7
|
+
var SemanticColor_json_1 = __importDefault(require("./SemanticColor.json"));
|
|
7
8
|
var PaletteColor_light_json_1 = __importDefault(require("./PaletteColor_light.json"));
|
|
8
9
|
var UIColor_json_1 = __importDefault(require("./UIColor.json"));
|
|
9
|
-
var SemanticColor_json_1 = __importDefault(require("./SemanticColor.json"));
|
|
10
10
|
var PaletteColor_Dark_json_1 = __importDefault(require("./PaletteColor_Dark.json"));
|
|
11
11
|
var colorSet = {
|
|
12
|
+
SemanticColor: SemanticColor_json_1.default,
|
|
12
13
|
PaletteColor_light: PaletteColor_light_json_1.default,
|
|
13
14
|
UIColor: UIColor_json_1.default,
|
|
14
|
-
SemanticColor: SemanticColor_json_1.default,
|
|
15
15
|
PaletteColor_Dark: PaletteColor_Dark_json_1.default
|
|
16
16
|
};
|
|
17
17
|
exports.default = colorSet;
|
|
@@ -727,4 +727,11 @@ export interface UITheme {
|
|
|
727
727
|
ui_cpnt_sheet_base_14: string;
|
|
728
728
|
ui_cpnt_sheet_base_15: string;
|
|
729
729
|
ui_cpnt_tutorialmodal_sidetab_default: string;
|
|
730
|
+
ui_cpnt_tutorialmodal_info_base: string;
|
|
731
|
+
ui_domain_record_card_status_1: string;
|
|
732
|
+
ui_domain_record_card_status_2: string;
|
|
733
|
+
ui_domain_record_card_status_3: string;
|
|
734
|
+
ui_domain_record_card_status_4: string;
|
|
735
|
+
ui_cpnt_button_fill_base_tutorialmodal: string;
|
|
736
|
+
ui_cpnt_toolbar_base: string;
|
|
730
737
|
}
|
|
@@ -5,6 +5,8 @@ declare type DesktopHeaderBarProps = {
|
|
|
5
5
|
size?: 'xlarge' | 'large';
|
|
6
6
|
leftDisplayType?: 'text' | 'icon' | 'back';
|
|
7
7
|
iconName?: FillIconNameKeys | LineIconNameKeys;
|
|
8
|
+
leftBtn2Mode?: 'none' | 'mbtn' | 'tbtn';
|
|
9
|
+
leftBtn2Text?: PDSTextType;
|
|
8
10
|
rightBtnMode?: 'none' | 'close' | 'mbtn' | 'mbtn_fill' | 'help_window';
|
|
9
11
|
rightBtn2Mode?: 'none' | 'mbtn' | 'mbtn_fill' | 'help_window';
|
|
10
12
|
rightBtn3Mode?: 'none' | 'help_window';
|
|
@@ -14,9 +16,10 @@ declare type DesktopHeaderBarProps = {
|
|
|
14
16
|
mBtn2State?: 'normal' | 'disabled';
|
|
15
17
|
dividerType?: 'none' | 'solid';
|
|
16
18
|
onClickLeftBtn?: () => void;
|
|
19
|
+
onClickLeft2Btn?: () => void;
|
|
17
20
|
onClickRightBtn?: () => void;
|
|
18
21
|
onClickRightBtn2?: () => void;
|
|
19
22
|
onClickRightBtn3?: () => void;
|
|
20
23
|
};
|
|
21
|
-
declare function DesktopHeaderBar({ text, size, leftDisplayType, iconName, rightBtnMode, rightBtn2Mode, rightBtn3Mode, mBtnText, mBtn2Text, mBtnState, mBtn2State, dividerType, onClickLeftBtn, onClickRightBtn, onClickRightBtn2, onClickRightBtn3 }: DesktopHeaderBarProps): JSX.Element;
|
|
24
|
+
declare function DesktopHeaderBar({ text, size, leftDisplayType, iconName, leftBtn2Mode, leftBtn2Text, rightBtnMode, rightBtn2Mode, rightBtn3Mode, mBtnText, mBtn2Text, mBtnState, mBtn2State, dividerType, onClickLeftBtn, onClickLeft2Btn, onClickRightBtn, onClickRightBtn2, onClickRightBtn3 }: DesktopHeaderBarProps): JSX.Element;
|
|
22
25
|
export default DesktopHeaderBar;
|
|
@@ -12,9 +12,10 @@ var styled_components_1 = __importDefault(require("styled-components"));
|
|
|
12
12
|
var hybrid_1 = require("../../../hybrid");
|
|
13
13
|
var IconButton_1 = require("../IconButton");
|
|
14
14
|
var MainButton_1 = require("../MainButton");
|
|
15
|
+
var TextButton_1 = require("../TextButton");
|
|
15
16
|
var TextLabel_1 = require("../TextLabel");
|
|
16
17
|
function DesktopHeaderBar(_a) {
|
|
17
|
-
var text = _a.text, _b = _a.size, size = _b === void 0 ? 'xlarge' : _b, _c = _a.leftDisplayType, leftDisplayType = _c === void 0 ? 'text' : _c, iconName = _a.iconName, _d = _a.rightBtnMode, rightBtnMode = _d === void 0 ? 'none' : _d, _e = _a.rightBtn2Mode, rightBtn2Mode = _e === void 0 ? 'none' : _e, _f = _a.rightBtn3Mode, rightBtn3Mode = _f === void 0 ? 'none' : _f, mBtnText = _a.mBtnText, mBtn2Text = _a.mBtn2Text, _g = _a.mBtnState, mBtnState = _g === void 0 ? 'normal' : _g, _h = _a.mBtn2State, mBtn2State = _h === void 0 ? 'normal' : _h, _j = _a.dividerType, dividerType = _j === void 0 ? 'none' : _j, onClickLeftBtn = _a.onClickLeftBtn, onClickRightBtn = _a.onClickRightBtn, onClickRightBtn2 = _a.onClickRightBtn2, onClickRightBtn3 = _a.onClickRightBtn3;
|
|
18
|
+
var text = _a.text, _b = _a.size, size = _b === void 0 ? 'xlarge' : _b, _c = _a.leftDisplayType, leftDisplayType = _c === void 0 ? 'text' : _c, iconName = _a.iconName, leftBtn2Mode = _a.leftBtn2Mode, leftBtn2Text = _a.leftBtn2Text, _d = _a.rightBtnMode, rightBtnMode = _d === void 0 ? 'none' : _d, _e = _a.rightBtn2Mode, rightBtn2Mode = _e === void 0 ? 'none' : _e, _f = _a.rightBtn3Mode, rightBtn3Mode = _f === void 0 ? 'none' : _f, mBtnText = _a.mBtnText, mBtn2Text = _a.mBtn2Text, _g = _a.mBtnState, mBtnState = _g === void 0 ? 'normal' : _g, _h = _a.mBtn2State, mBtn2State = _h === void 0 ? 'normal' : _h, _j = _a.dividerType, dividerType = _j === void 0 ? 'none' : _j, onClickLeftBtn = _a.onClickLeftBtn, onClickLeft2Btn = _a.onClickLeft2Btn, onClickRightBtn = _a.onClickRightBtn, onClickRightBtn2 = _a.onClickRightBtn2, onClickRightBtn3 = _a.onClickRightBtn3;
|
|
18
19
|
var isLastButtonIcon = rightBtnMode === 'close' ||
|
|
19
20
|
rightBtnMode === 'help_window' ||
|
|
20
21
|
(rightBtnMode === 'none' && rightBtn2Mode === 'help_window') ||
|
|
@@ -24,6 +25,11 @@ function DesktopHeaderBar(_a) {
|
|
|
24
25
|
onClickLeftBtn();
|
|
25
26
|
}
|
|
26
27
|
};
|
|
28
|
+
var handleClickLeft2Btn = function () {
|
|
29
|
+
if (onClickLeft2Btn) {
|
|
30
|
+
onClickLeft2Btn();
|
|
31
|
+
}
|
|
32
|
+
};
|
|
27
33
|
var handleClickRightBtn = function () {
|
|
28
34
|
if (onClickRightBtn) {
|
|
29
35
|
onClickRightBtn();
|
|
@@ -63,6 +69,23 @@ function DesktopHeaderBar(_a) {
|
|
|
63
69
|
}
|
|
64
70
|
}
|
|
65
71
|
};
|
|
72
|
+
var leftButton2Mode = function () {
|
|
73
|
+
switch (leftBtn2Mode) {
|
|
74
|
+
case 'mbtn': {
|
|
75
|
+
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
76
|
+
react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_d", spacingType: "width" }),
|
|
77
|
+
react_1.default.createElement(MainButton_1.MainButton, { styleTheme: "secondary", size: "xsmall", text: leftBtn2Text, onClick: handleClickLeft2Btn })));
|
|
78
|
+
}
|
|
79
|
+
case 'tbtn': {
|
|
80
|
+
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
81
|
+
react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_d", spacingType: "width" }),
|
|
82
|
+
react_1.default.createElement(TextButton_1.TextButton, { size: "xsmall", text: leftBtn2Text, onClick: handleClickLeft2Btn })));
|
|
83
|
+
}
|
|
84
|
+
case 'none': {
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
};
|
|
66
89
|
var rightButton3Mode = function () {
|
|
67
90
|
switch (rightBtn3Mode) {
|
|
68
91
|
case 'help_window': {
|
|
@@ -111,7 +134,8 @@ function DesktopHeaderBar(_a) {
|
|
|
111
134
|
return (react_1.default.createElement(S_DesktopHeaderBar, { "x-pds-name": "DesktopHeaderBar", "x-pds-element-type": "component", "x-pds-device-type": "desktop", size: size, hasDivider: dividerType === 'solid', hasBackIcon: leftDisplayType === 'back' },
|
|
112
135
|
react_1.default.createElement(S_LeftDisplayBox, null,
|
|
113
136
|
leftDisplayMode(),
|
|
114
|
-
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: "body1Bold", singleLineMode: "use", colorTheme: "sysTextPrimary" })
|
|
137
|
+
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: "body1Bold", singleLineMode: "use", colorTheme: "sysTextPrimary" }),
|
|
138
|
+
leftButton2Mode()),
|
|
115
139
|
react_1.default.createElement(S_ButtonBox, { isLastButtonIcon: isLastButtonIcon },
|
|
116
140
|
rightButton3Mode(),
|
|
117
141
|
rightButton2Mode(),
|
|
@@ -4,6 +4,7 @@ export declare type TextLabelProps = {
|
|
|
4
4
|
text: PDSTextType;
|
|
5
5
|
tooltipText?: PDSTextType;
|
|
6
6
|
tooltipPosition?: 'left_top' | 'left_bottom' | 'right_top' | 'right_bottom';
|
|
7
|
+
tooltipIconColorKey?: UiColors;
|
|
7
8
|
textAlign?: 'left' | 'center' | 'right';
|
|
8
9
|
styleTheme?: 'displayBold' | 'wizardPageTitleBold' | 'headingBold' | 'leadParaBold' | 'leadParaRegular' | 'subTitleBold' | 'subTitleRegular' | 'body1Bold' | 'body1Regular' | 'body2Bold' | 'body2Regular' | 'caption1Bold' | 'caption1Regular' | 'caption2Bold' | 'caption2Regular' | 'form1Regular' | 'form2Regular' | 'blog1Regular';
|
|
9
10
|
colorOverride?: UiColors;
|
|
@@ -37,5 +38,5 @@ export declare type TextStyleProps = {
|
|
|
37
38
|
wordBreak?: 'normal' | 'break_all' | 'keep_all' | 'break_word';
|
|
38
39
|
$letterSpacing?: string;
|
|
39
40
|
};
|
|
40
|
-
declare function TextLabel({ text, tooltipText, tooltipPosition, textAlign, styleTheme, colorOverride, colorTheme, singleLineMode, ellipsisMode, lineLimit, userSelectMode, customFontSize, customFontWeight, textDecorationType, requirementMode, bulletPointMode, wordBreak, letterSpacing }: TextLabelProps): JSX.Element;
|
|
41
|
+
declare function TextLabel({ text, tooltipText, tooltipPosition, tooltipIconColorKey, textAlign, styleTheme, colorOverride, colorTheme, singleLineMode, ellipsisMode, lineLimit, userSelectMode, customFontSize, customFontWeight, textDecorationType, requirementMode, bulletPointMode, wordBreak, letterSpacing }: TextLabelProps): JSX.Element;
|
|
41
42
|
export default TextLabel;
|
|
@@ -27,8 +27,8 @@ var react_1 = __importStar(require("react"));
|
|
|
27
27
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
28
28
|
var hybrid_1 = require("../../../hybrid");
|
|
29
29
|
function TextLabel(_a) {
|
|
30
|
-
var text = _a.text, tooltipText = _a.tooltipText, _b = _a.tooltipPosition, tooltipPosition = _b === void 0 ? 'right_bottom' : _b, _c = _a.
|
|
31
|
-
var
|
|
30
|
+
var text = _a.text, tooltipText = _a.tooltipText, _b = _a.tooltipPosition, tooltipPosition = _b === void 0 ? 'right_bottom' : _b, _c = _a.tooltipIconColorKey, tooltipIconColorKey = _c === void 0 ? 'ui_cpnt_icon_sys_grey_03' : _c, _d = _a.textAlign, textAlign = _d === void 0 ? 'left' : _d, _e = _a.styleTheme, styleTheme = _e === void 0 ? 'body2Bold' : _e, colorOverride = _a.colorOverride, _f = _a.colorTheme, colorTheme = _f === void 0 ? 'sysTextPrimary' : _f, _g = _a.singleLineMode, singleLineMode = _g === void 0 ? 'none' : _g, _h = _a.ellipsisMode, ellipsisMode = _h === void 0 ? 'none' : _h, lineLimit = _a.lineLimit, _j = _a.userSelectMode, userSelectMode = _j === void 0 ? 'none' : _j, customFontSize = _a.customFontSize, customFontWeight = _a.customFontWeight, _k = _a.textDecorationType, textDecorationType = _k === void 0 ? 'none' : _k, _l = _a.requirementMode, requirementMode = _l === void 0 ? 'none' : _l, _m = _a.bulletPointMode, bulletPointMode = _m === void 0 ? 'none' : _m, _o = _a.wordBreak, wordBreak = _o === void 0 ? 'keep_all' : _o, letterSpacing = _a.letterSpacing;
|
|
31
|
+
var _p = (0, react_1.useState)(false), isTooltipOpen = _p[0], setIsTooltipOpen = _p[1];
|
|
32
32
|
var handleTooltipToggle = function (value) {
|
|
33
33
|
setIsTooltipOpen(value);
|
|
34
34
|
};
|
|
@@ -39,7 +39,7 @@ function TextLabel(_a) {
|
|
|
39
39
|
react_1.default.createElement(hybrid_1.Icon, { iconName: "ic_requirement", size: 16, fillType: "line", colorKey: "ui_cpnt_icon_sys_error_01" })))),
|
|
40
40
|
tooltipText && (react_1.default.createElement(S_AfterTextBox, { styleTheme: styleTheme },
|
|
41
41
|
react_1.default.createElement(S_IconWrapper, { onMouseEnter: function () { return handleTooltipToggle(true); }, onMouseLeave: function () { return handleTooltipToggle(false); } },
|
|
42
|
-
react_1.default.createElement(hybrid_1.Icon, { iconName: "ic_question", size: 16, fillType: "fill", colorKey:
|
|
42
|
+
react_1.default.createElement(hybrid_1.Icon, { iconName: "ic_question", size: 16, fillType: "fill", colorKey: tooltipIconColorKey })),
|
|
43
43
|
react_1.default.createElement(S_TooltipWrapper, { className: "TooltipWrapper", isTooltipOpen: isTooltipOpen, tooltipPosition: tooltipPosition }, "" + tooltipText)))));
|
|
44
44
|
}
|
|
45
45
|
var displayBold = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
@@ -14,5 +14,6 @@ import { ContainersBox as WTContainersBox } from './layout/LayoutWT/ContainersBo
|
|
|
14
14
|
export { LayoutWT, WTGlobalMenuContainer, WTContainersBox };
|
|
15
15
|
import { AdminList as D_AdminList, AdminListHeader as D_AdminListHeader, AdminListItem as D_AdminListItem, BasicChatListItem as D_BasicChatListItem, BasicFormGroup as D_BasicFormGroup, BasicList as D_BasicList, BasicListItem as D_BasicListItem, BlogTextField as D_BlogTextField, BodyTextGroup as D_BodyTextGroup, Card as D_Card, CardList as D_CardList, ChatBubbleListItem as D_ChatBubbleListItem, ChatList as D_ChatList, Checkbox as D_Checkbox, Chip as D_Chip, ContextMenu as D_ContextMenu, ContextMenuItem as D_ContextMenuItem, DesktopAlertDialog as D_DesktopAlertDialog, DesktopHeaderBar as D_DesktopHeaderBar, DesktopTabBar as D_DesktopTabBar, Dropdown as D_Dropdown, DynamicDesktopNavBar as D_DynamicDesktopNavBar, DynamicDesktopNavBarTemplates as D_DynamicDesktopNavBarTemplates, EditApplyTextField as D_EditApplyTextField, FilterBar as D_FilterBar, FloatingActionButton as D_FloatingActionButton, Hero as D_Hero, HorizontalFormGroup as D_HorizontalFormGroup, IconButton as D_IconButton, ImageSlide as D_ImageSlide, LottieReactionButton as D_LottieReactionButton, MainButton as D_MainButton, PageTitleTextGroup as D_PageTitleTextGroup, Radio as D_Radio, ReactionButton as D_ReactionButton, Select as D_Select, StatusBlock as D_StatusBlock, TextButton as D_TextButton, TextField as D_TextField, TextLabel as D_TextLabel, UploadIconButton as D_UploadIconButton, UploadMainButton as D_UploadMainButton, UploadTextButton as D_UploadTextButton, UserDesktopNavBar as D_UserDesktopNavBar, UserDesktopTabBar as D_UserDesktopTabBar, UserDesktopSideTab as D_UserDesktopSideTab } from './components';
|
|
16
16
|
export { D_AdminList, D_AdminListHeader, D_AdminListItem, D_BasicChatListItem, D_BasicFormGroup, D_BasicList, D_BasicListItem, D_BlogTextField, D_BodyTextGroup, D_Card, D_CardList, D_ChatBubbleListItem, D_ChatList, D_Checkbox, D_Chip, D_ContextMenu, D_ContextMenuItem, D_DesktopAlertDialog, D_DesktopHeaderBar, D_DesktopTabBar, D_Dropdown, D_DynamicDesktopNavBar, D_DynamicDesktopNavBarTemplates, D_EditApplyTextField, D_FilterBar, D_FloatingActionButton, D_Hero, D_HorizontalFormGroup, D_IconButton, D_ImageSlide, D_LottieReactionButton, D_MainButton, D_PageTitleTextGroup, D_Radio, D_Select, D_ReactionButton, D_StatusBlock, D_TextButton, D_TextField, D_TextLabel, D_UploadIconButton, D_UploadMainButton, D_UploadTextButton, D_UserDesktopNavBar, D_UserDesktopTabBar, D_UserDesktopSideTab };
|
|
17
|
-
import { AnnotationSheet as D_AnnotationSheet, ContentSheet as D_ContentSheet, DesktopBasicModal as D_DesktopBasicModal, DesktopHeadlessModal as D_DesktopHeadlessModal, SectionSheet as D_SectionSheet } from './panels';
|
|
18
|
-
export { D_AnnotationSheet, D_ContentSheet, D_DesktopBasicModal, D_DesktopHeadlessModal, D_SectionSheet };
|
|
17
|
+
import { AnnotationSheet as D_AnnotationSheet, ContentSheet as D_ContentSheet, DesktopBasicModal as D_DesktopBasicModal, DesktopHeadlessModal as D_DesktopHeadlessModal, DesktopTutorialModal as D_DesktopTutorialModal, DesktopTutorialModalInfoType, SectionSheet as D_SectionSheet } from './panels';
|
|
18
|
+
export { D_AnnotationSheet, D_ContentSheet, D_DesktopBasicModal, D_DesktopHeadlessModal, D_DesktopTutorialModal, D_SectionSheet };
|
|
19
|
+
export { DesktopTutorialModalInfoType };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable import/first */
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.D_TextLabel = exports.D_TextField = exports.D_TextButton = exports.D_StatusBlock = exports.D_ReactionButton = exports.D_Select = exports.D_Radio = exports.D_PageTitleTextGroup = exports.D_MainButton = exports.D_LottieReactionButton = exports.D_ImageSlide = exports.D_IconButton = exports.D_HorizontalFormGroup = exports.D_Hero = exports.D_FloatingActionButton = exports.D_FilterBar = exports.D_EditApplyTextField = exports.D_DynamicDesktopNavBarTemplates = exports.D_DynamicDesktopNavBar = exports.D_Dropdown = exports.D_DesktopTabBar = exports.D_DesktopHeaderBar = exports.D_DesktopAlertDialog = exports.D_ContextMenuItem = exports.D_ContextMenu = exports.D_Chip = exports.D_Checkbox = exports.D_ChatList = exports.D_ChatBubbleListItem = exports.D_CardList = exports.D_Card = exports.D_BodyTextGroup = exports.D_BlogTextField = exports.D_BasicListItem = exports.D_BasicList = exports.D_BasicFormGroup = exports.D_BasicChatListItem = exports.D_AdminListItem = exports.D_AdminListHeader = exports.D_AdminList = exports.WTContainersBox = exports.WTGlobalMenuContainer = exports.LayoutWT = exports.WSContainersBox = exports.WSGlobalMenuContainer = exports.LayoutWS = exports.WHContainersBox = exports.LayoutWH = exports.WFContainersBox = exports.LayoutWF = void 0;
|
|
6
|
-
exports.D_SectionSheet = exports.D_DesktopHeadlessModal = exports.D_DesktopBasicModal = exports.D_ContentSheet = exports.D_AnnotationSheet = exports.D_UserDesktopSideTab = exports.D_UserDesktopTabBar = exports.D_UserDesktopNavBar = exports.D_UploadTextButton = exports.D_UploadMainButton = exports.D_UploadIconButton = void 0;
|
|
6
|
+
exports.D_SectionSheet = exports.D_DesktopTutorialModal = exports.D_DesktopHeadlessModal = exports.D_DesktopBasicModal = exports.D_ContentSheet = exports.D_AnnotationSheet = exports.D_UserDesktopSideTab = exports.D_UserDesktopTabBar = exports.D_UserDesktopNavBar = exports.D_UploadTextButton = exports.D_UploadMainButton = exports.D_UploadIconButton = void 0;
|
|
7
7
|
// layoutWF
|
|
8
8
|
var LayoutWF_1 = require("./layout/LayoutWF");
|
|
9
9
|
Object.defineProperty(exports, "LayoutWF", { enumerable: true, get: function () { return LayoutWF_1.LayoutWF; } });
|
|
@@ -82,4 +82,5 @@ Object.defineProperty(exports, "D_AnnotationSheet", { enumerable: true, get: fun
|
|
|
82
82
|
Object.defineProperty(exports, "D_ContentSheet", { enumerable: true, get: function () { return panels_1.ContentSheet; } });
|
|
83
83
|
Object.defineProperty(exports, "D_DesktopBasicModal", { enumerable: true, get: function () { return panels_1.DesktopBasicModal; } });
|
|
84
84
|
Object.defineProperty(exports, "D_DesktopHeadlessModal", { enumerable: true, get: function () { return panels_1.DesktopHeadlessModal; } });
|
|
85
|
+
Object.defineProperty(exports, "D_DesktopTutorialModal", { enumerable: true, get: function () { return panels_1.DesktopTutorialModal; } });
|
|
85
86
|
Object.defineProperty(exports, "D_SectionSheet", { enumerable: true, get: function () { return panels_1.SectionSheet; } });
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PDSTabItemOption } from '../../../../../common/types';
|
|
3
|
+
export declare type ItemType = PDSTabItemOption;
|
|
4
|
+
declare type SideTabProps = {
|
|
5
|
+
itemArray: ItemType[];
|
|
6
|
+
};
|
|
7
|
+
declare function SideTab({ itemArray }: SideTabProps): JSX.Element;
|
|
8
|
+
export default SideTab;
|
|
@@ -0,0 +1,48 @@
|
|
|
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 __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
+
};
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
var react_1 = __importDefault(require("react"));
|
|
11
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
+
var components_1 = require("../../../../components");
|
|
13
|
+
function SideTab(_a) {
|
|
14
|
+
var itemArray = _a.itemArray;
|
|
15
|
+
var handleClickTabItem = function (item, e) {
|
|
16
|
+
if (item.onClick) {
|
|
17
|
+
item.onClick(e);
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
return (react_1.default.createElement("div", null, itemArray.map(function (item, index) {
|
|
21
|
+
return (react_1.default.createElement(S_TabWrapper, { key: index, onClick: function (e) { return handleClickTabItem(item, e); } },
|
|
22
|
+
react_1.default.createElement(components_1.TextLabel, { text: item.title, styleTheme: item.isActive ? 'subTitleBold' : 'subTitleRegular', colorTheme: item.isActive ? 'sysTextPrimary' : 'sysTextSecondary' })));
|
|
23
|
+
})));
|
|
24
|
+
}
|
|
25
|
+
var S_TabWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n box-sizing: border-box;\n background-color: ", ";\n cursor: pointer;\n padding-top: ", ";\n padding-right: ", ";\n padding-bottom: ", ";\n padding-left: ", ";\n\n &:hover {\n background-color: ", ";\n }\n\n &:active {\n background-color: ", ";\n }\n"], ["\n box-sizing: border-box;\n background-color: ", ";\n cursor: pointer;\n padding-top: ", ";\n padding-right: ", ";\n padding-bottom: ", ";\n padding-left: ", ";\n\n &:hover {\n background-color: ", ";\n }\n\n &:active {\n background-color: ", ";\n }\n"])), function (_a) {
|
|
26
|
+
var theme = _a.theme;
|
|
27
|
+
return theme.ui_cpnt_tutorialmodal_sidetab_default;
|
|
28
|
+
}, function (_a) {
|
|
29
|
+
var theme = _a.theme;
|
|
30
|
+
return theme.spacing.spacingB;
|
|
31
|
+
}, function (_a) {
|
|
32
|
+
var theme = _a.theme;
|
|
33
|
+
return theme.spacing.spacingE;
|
|
34
|
+
}, function (_a) {
|
|
35
|
+
var theme = _a.theme;
|
|
36
|
+
return theme.spacing.spacingB;
|
|
37
|
+
}, function (_a) {
|
|
38
|
+
var theme = _a.theme;
|
|
39
|
+
return theme.spacing.spacingE;
|
|
40
|
+
}, function (_a) {
|
|
41
|
+
var theme = _a.theme;
|
|
42
|
+
return theme.ui_cpnt_tutorialmodal_sidetab_hover;
|
|
43
|
+
}, function (_a) {
|
|
44
|
+
var theme = _a.theme;
|
|
45
|
+
return theme.ui_cpnt_tutorialmodal_sidetab_pressed;
|
|
46
|
+
});
|
|
47
|
+
exports.default = SideTab;
|
|
48
|
+
var templateObject_1;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SideTab } from './SideTab';
|
|
@@ -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.SideTab = void 0;
|
|
7
|
+
var SideTab_1 = require("./SideTab");
|
|
8
|
+
Object.defineProperty(exports, "SideTab", { enumerable: true, get: function () { return __importDefault(SideTab_1).default; } });
|