pds-dev-kit-web-test 2.5.259 → 2.5.261
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/src/common/assets/icons/fill/BringToFrontArrow.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/BringToFrontArrow.js +30 -0
- package/dist/src/common/assets/icons/fill/DesktopSync.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/DesktopSync.js +30 -0
- package/dist/src/common/assets/icons/fill/MoveBackwardArrow.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/MoveBackwardArrow.js +30 -0
- package/dist/src/common/assets/icons/fill/MoveForwardArrow.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/MoveForwardArrow.js +30 -0
- package/dist/src/common/assets/icons/fill/SendToBackArrow.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/SendToBackArrow.js +30 -0
- package/dist/src/common/assets/icons/fill/index.d.ts +5 -0
- package/dist/src/common/assets/icons/fill/index.js +11 -1
- package/dist/src/common/assets/icons/line/BringToFrontArrow.d.ts +4 -0
- package/dist/src/common/assets/icons/line/BringToFrontArrow.js +30 -0
- package/dist/src/common/assets/icons/line/DesktopSync.d.ts +4 -0
- package/dist/src/common/assets/icons/line/DesktopSync.js +30 -0
- package/dist/src/common/assets/icons/line/MoveBackwardArrow.d.ts +4 -0
- package/dist/src/common/assets/icons/line/MoveBackwardArrow.js +30 -0
- package/dist/src/common/assets/icons/line/MoveForwardArrow.d.ts +4 -0
- package/dist/src/common/assets/icons/line/MoveForwardArrow.js +30 -0
- package/dist/src/common/assets/icons/line/SendToBackArrow.d.ts +4 -0
- package/dist/src/common/assets/icons/line/SendToBackArrow.js +30 -0
- package/dist/src/common/assets/icons/line/index.d.ts +5 -0
- package/dist/src/common/assets/icons/line/index.js +11 -1
- package/dist/src/common/hooks/useTooltip.js +1 -1
- package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +3 -1
- package/dist/src/common/styles/colorSet/PaletteColor_light.json +3 -1
- package/dist/src/common/styles/colorSet/SemanticColor.json +3 -1
- package/dist/src/common/styles/colorSet/UIColor.json +6 -2
- package/dist/src/common/styles/colorSet/index.d.ts +10 -0
- package/dist/src/common/styles/colorSet/ui-type.d.ts +4 -0
- package/dist/src/common/utils/SystemUIPositionGenerator/hoverTypeSystemUICssGenerator.js +1 -1
- package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.js +1 -1
- package/dist/src/desktop/components/Dropdown/Dropdown.js +6 -4
- package/dist/src/desktop/components/MainButton/MainButton.d.ts +1 -1
- package/dist/src/desktop/components/MainButton/MainButton.js +20 -6
- package/dist/src/desktop/components/UploadMainButton/UploadMainButton.d.ts +1 -1
- package/dist/src/desktop/components/UploadMainButton/UploadMainButton.js +21 -7
- package/dist/src/mobile/components/MainButton/MainButton.d.ts +1 -1
- package/dist/src/mobile/components/MainButton/MainButton.js +20 -6
- package/dist/src/mobile/components/UploadMainButton/UploadMainButton.d.ts +1 -1
- package/dist/src/mobile/components/UploadMainButton/UploadMainButton.js +20 -6
- package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/EditModeSectionMatcher.js +0 -3
- package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/SectionBox.js +1 -1
- package/dist/src/sub/DynamicLayout/components/Section/ErrorBoundary/ErrorBoundary.js +1 -12
- package/dist/src/sub/DynamicLayout/components/SectionMatcher/SectionMatcher.js +3 -5
- package/dist/src/sub/DynamicLayout/hooks/useCustomSectionShortcut/useCustomSectionShortcut.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/hooks/useCustomSectionShortcut/useCustomSectionShortcut.js +1 -6
- package/dist/src/sub/DynamicLayout/mock_samplePage.js +132 -132
- package/dist/src/sub/DynamicLayout/pagesPreviewMock.d.ts +14038 -0
- package/dist/src/sub/DynamicLayout/pagesPreviewMock.js +35827 -0
- package/dist/src/sub/DynamicLayout/sectionActionTypes.d.ts +15 -64
- package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.d.ts +5 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +200 -731
- package/dist/src/sub/DynamicLayout/sections/{FlexGridCustomSection.d.ts → CustomSection/FlexGridCustomSection.d.ts} +5 -1
- package/dist/src/sub/DynamicLayout/sections/{FlexGridCustomSection.js → CustomSection/FlexGridCustomSection.js} +88 -44
- package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.d.ts +1 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.js +5 -8
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.d.ts +0 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +0 -5
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +23 -25
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/btnTypes.d.ts +76 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/btnTypes.js +2 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +2 -16
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/types.d.ts +38 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/types.js +2 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_Box.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_BoxWithShadow.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +1 -79
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGoogleFonts/getGoogleFonts.d.ts +4 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGoogleFonts/getGoogleFonts.js +14 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGoogleFonts/index.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGoogleFonts/index.js +3 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGroupDrag/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGroupDrag/index.js +8 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGroupDrag/useGroupDrag.d.ts +22 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGroupDrag/useGroupDrag.js +273 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/{newUtils/group.d.ts → hooks/useGroupDrag/utils.d.ts} +1 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/{newUtils/group.js → hooks/useGroupDrag/utils.js} +1 -14
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/colorUtil.d.ts +4 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/replaceUndefinedValues.js +1 -8
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/textUtil.d.ts +6 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +2 -18
- package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +0 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.d.ts +2 -5
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.js +9 -12
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropTextSpec.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/types.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/types.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +5 -3
- package/dist/src/sub/DynamicLayout/types.d.ts +1 -45
- package/dist/src/sub/SandollFontKit/utils/appendSandollTagToHead.d.ts +1 -1
- package/dist/src/sub/SandollFontKit/utils/appendSandollTagToHead.js +11 -17
- package/package.json +2 -3
- package/release-note.md +2 -3
- package/dist/src/sub/DynamicLayout/CompositionRenderer/ComponentBlockMatcher.d.ts +0 -11
- package/dist/src/sub/DynamicLayout/CompositionRenderer/ComponentBlockMatcher.js +0 -56
- package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.d.ts +0 -9
- package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +0 -217
- package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.d.ts +0 -6
- package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.js +0 -27
- package/dist/src/sub/DynamicLayout/CompositionRenderer/FlexGridItem.d.ts +0 -12
- package/dist/src/sub/DynamicLayout/CompositionRenderer/FlexGridItem.js +0 -75
- package/dist/src/sub/DynamicLayout/gleStyles.d.ts +0 -3
- package/dist/src/sub/DynamicLayout/gleStyles.js +0 -19
- package/dist/src/sub/DynamicLayout/mocks.d.ts +0 -1111
- package/dist/src/sub/DynamicLayout/mocks.js +0 -4775
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.d.ts +0 -8
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +0 -12
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_Backdrop.d.ts +0 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_Backdrop.js +0 -13
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/clsx.d.ts +0 -7
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/clsx.js +0 -33
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/fontSizeAdjustment.d.ts +0 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/fontSizeAdjustment.js +0 -333
@@ -1,8 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import type { CB_CONTENTS_CAROUSEL } from '../../../../../../../DynamicLayout/sections/CustomSection/types';
|
3
|
-
import type { CB_BTN_PROPERTIES_TYPE, IndexForIntersection } from '../../../../../../../DynamicLayout/sections/CustomSection/util/types';
|
4
|
-
type Props = CB_BTN_PROPERTIES_TYPE & IndexForIntersection & {
|
5
|
-
compositions: CB_CONTENTS_CAROUSEL['compositions'];
|
6
|
-
};
|
7
|
-
declare function ContentsCarousel(props: Props): JSX.Element;
|
8
|
-
export default ContentsCarousel;
|
@@ -1,12 +0,0 @@
|
|
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
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
7
|
-
var CompositionRenderer_1 = __importDefault(require("../../../../../../../DynamicLayout/CompositionRenderer/CompositionRenderer"));
|
8
|
-
function ContentsCarousel(props) {
|
9
|
-
var compositions = props.compositions;
|
10
|
-
return (0, jsx_runtime_1.jsx)(CompositionRenderer_1.default, { compositions: compositions });
|
11
|
-
}
|
12
|
-
exports.default = ContentsCarousel;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const S_Backdrop: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
@@ -1,13 +0,0 @@
|
|
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
|
-
exports.S_Backdrop = void 0;
|
11
|
-
var styled_components_1 = __importDefault(require("styled-components"));
|
12
|
-
exports.S_Backdrop = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n /* background: #bababaa3; */\n background-color: red;\n height: 100vh;\n pointer-events: none;\n position: absolute;\n width: 100vw;\n z-index: 100002;\n"], ["\n /* background: #bababaa3; */\n background-color: red;\n height: 100vh;\n pointer-events: none;\n position: absolute;\n width: 100vw;\n z-index: 100002;\n"])));
|
13
|
-
var templateObject_1;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
type ClassValue = string | number | boolean | null | undefined | ClassDictionary | ClassArray;
|
2
|
-
type ClassDictionary = {
|
3
|
-
[key: string]: boolean | undefined | null;
|
4
|
-
};
|
5
|
-
type ClassArray = ClassValue[];
|
6
|
-
export declare const clsx: (...args: ClassValue[]) => string;
|
7
|
-
export {};
|
@@ -1,33 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.clsx = void 0;
|
4
|
-
var clsx = function () {
|
5
|
-
var args = [];
|
6
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
7
|
-
args[_i] = arguments[_i];
|
8
|
-
}
|
9
|
-
return args
|
10
|
-
.flatMap(function (arg) {
|
11
|
-
if (!arg)
|
12
|
-
return [];
|
13
|
-
if (typeof arg === 'string' || typeof arg === 'number')
|
14
|
-
return [arg];
|
15
|
-
if (Array.isArray(arg))
|
16
|
-
return exports.clsx.apply(void 0, arg);
|
17
|
-
if (typeof arg === 'object') {
|
18
|
-
return (Object.entries(arg)
|
19
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
20
|
-
.filter(function (_a) {
|
21
|
-
var _ = _a[0], value = _a[1];
|
22
|
-
return Boolean(value);
|
23
|
-
})
|
24
|
-
.map(function (_a) {
|
25
|
-
var key = _a[0];
|
26
|
-
return key;
|
27
|
-
}));
|
28
|
-
}
|
29
|
-
return [];
|
30
|
-
})
|
31
|
-
.join(' ');
|
32
|
-
};
|
33
|
-
exports.clsx = clsx;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function getMobileFontSize(desktopSize: number): number;
|
@@ -1,333 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.getMobileFontSize = void 0;
|
4
|
-
// desktop 폰트 사이즈를 key로, mobile 폰트 사이즈를 value로 하는 매핑 객체
|
5
|
-
var fontSizeMapping = {
|
6
|
-
6: 7,
|
7
|
-
7: 7,
|
8
|
-
8: 8,
|
9
|
-
9: 9,
|
10
|
-
10: 10,
|
11
|
-
11: 11,
|
12
|
-
12: 12,
|
13
|
-
13: 13,
|
14
|
-
14: 14,
|
15
|
-
15: 16,
|
16
|
-
16: 16,
|
17
|
-
17: 16,
|
18
|
-
18: 16,
|
19
|
-
19: 16,
|
20
|
-
20: 18,
|
21
|
-
21: 18,
|
22
|
-
22: 18,
|
23
|
-
23: 18,
|
24
|
-
24: 18,
|
25
|
-
25: 18,
|
26
|
-
26: 20,
|
27
|
-
27: 20,
|
28
|
-
28: 22,
|
29
|
-
29: 22,
|
30
|
-
30: 24,
|
31
|
-
31: 24,
|
32
|
-
32: 24,
|
33
|
-
33: 26,
|
34
|
-
34: 26,
|
35
|
-
35: 26,
|
36
|
-
36: 26,
|
37
|
-
37: 28,
|
38
|
-
38: 28,
|
39
|
-
39: 28,
|
40
|
-
40: 28,
|
41
|
-
41: 30,
|
42
|
-
42: 30,
|
43
|
-
43: 30,
|
44
|
-
44: 30,
|
45
|
-
45: 30,
|
46
|
-
46: 32,
|
47
|
-
47: 32,
|
48
|
-
48: 32,
|
49
|
-
49: 32,
|
50
|
-
50: 36,
|
51
|
-
51: 36,
|
52
|
-
52: 36,
|
53
|
-
53: 36,
|
54
|
-
54: 36,
|
55
|
-
55: 36,
|
56
|
-
56: 36,
|
57
|
-
57: 36,
|
58
|
-
58: 36,
|
59
|
-
59: 36,
|
60
|
-
60: 40,
|
61
|
-
61: 40,
|
62
|
-
62: 40,
|
63
|
-
63: 40,
|
64
|
-
64: 42,
|
65
|
-
65: 42,
|
66
|
-
66: 42,
|
67
|
-
67: 42,
|
68
|
-
68: 44,
|
69
|
-
69: 44,
|
70
|
-
70: 46,
|
71
|
-
71: 46,
|
72
|
-
72: 48,
|
73
|
-
73: 48,
|
74
|
-
74: 48,
|
75
|
-
75: 48,
|
76
|
-
76: 48,
|
77
|
-
77: 48,
|
78
|
-
78: 48,
|
79
|
-
79: 48,
|
80
|
-
80: 48,
|
81
|
-
81: 48,
|
82
|
-
82: 48,
|
83
|
-
83: 48,
|
84
|
-
84: 48,
|
85
|
-
85: 48,
|
86
|
-
86: 48,
|
87
|
-
87: 48,
|
88
|
-
88: 48,
|
89
|
-
89: 48,
|
90
|
-
90: 50,
|
91
|
-
91: 50,
|
92
|
-
92: 50,
|
93
|
-
93: 50,
|
94
|
-
94: 50,
|
95
|
-
95: 52,
|
96
|
-
96: 52,
|
97
|
-
97: 52,
|
98
|
-
98: 52,
|
99
|
-
99: 52,
|
100
|
-
100: 52,
|
101
|
-
101: 50,
|
102
|
-
102: 50,
|
103
|
-
103: 50,
|
104
|
-
104: 50,
|
105
|
-
105: 50,
|
106
|
-
106: 50,
|
107
|
-
107: 50,
|
108
|
-
108: 50,
|
109
|
-
109: 50,
|
110
|
-
110: 50,
|
111
|
-
111: 50,
|
112
|
-
112: 52,
|
113
|
-
113: 52,
|
114
|
-
114: 52,
|
115
|
-
115: 52,
|
116
|
-
116: 53,
|
117
|
-
117: 54,
|
118
|
-
118: 55,
|
119
|
-
119: 56,
|
120
|
-
120: 57,
|
121
|
-
121: 58,
|
122
|
-
122: 59,
|
123
|
-
123: 60,
|
124
|
-
124: 61,
|
125
|
-
125: 62,
|
126
|
-
126: 63,
|
127
|
-
127: 64,
|
128
|
-
128: 65,
|
129
|
-
129: 66,
|
130
|
-
130: 67,
|
131
|
-
131: 68,
|
132
|
-
132: 69,
|
133
|
-
133: 70,
|
134
|
-
134: 71,
|
135
|
-
135: 72,
|
136
|
-
136: 73,
|
137
|
-
137: 74,
|
138
|
-
138: 75,
|
139
|
-
139: 76,
|
140
|
-
140: 77,
|
141
|
-
141: 78,
|
142
|
-
142: 79,
|
143
|
-
143: 80,
|
144
|
-
144: 81,
|
145
|
-
145: 82,
|
146
|
-
146: 83,
|
147
|
-
147: 84,
|
148
|
-
148: 85,
|
149
|
-
149: 86,
|
150
|
-
150: 87,
|
151
|
-
151: 88,
|
152
|
-
152: 89,
|
153
|
-
153: 90,
|
154
|
-
154: 91,
|
155
|
-
155: 92,
|
156
|
-
156: 93,
|
157
|
-
157: 94,
|
158
|
-
158: 95,
|
159
|
-
159: 96,
|
160
|
-
160: 97,
|
161
|
-
161: 98,
|
162
|
-
162: 99,
|
163
|
-
163: 100,
|
164
|
-
164: 101,
|
165
|
-
165: 102,
|
166
|
-
166: 103,
|
167
|
-
167: 104,
|
168
|
-
168: 105,
|
169
|
-
169: 106,
|
170
|
-
170: 107,
|
171
|
-
171: 108,
|
172
|
-
172: 109,
|
173
|
-
173: 110,
|
174
|
-
174: 111,
|
175
|
-
175: 112,
|
176
|
-
176: 113,
|
177
|
-
177: 114,
|
178
|
-
178: 115,
|
179
|
-
179: 116,
|
180
|
-
180: 117,
|
181
|
-
181: 118,
|
182
|
-
182: 119,
|
183
|
-
183: 120,
|
184
|
-
184: 121,
|
185
|
-
185: 122,
|
186
|
-
186: 123,
|
187
|
-
187: 124,
|
188
|
-
188: 125,
|
189
|
-
189: 126,
|
190
|
-
190: 127,
|
191
|
-
191: 128,
|
192
|
-
192: 129,
|
193
|
-
193: 130,
|
194
|
-
194: 131,
|
195
|
-
195: 132,
|
196
|
-
196: 133,
|
197
|
-
197: 134,
|
198
|
-
198: 135,
|
199
|
-
199: 136,
|
200
|
-
200: 137,
|
201
|
-
201: 138,
|
202
|
-
202: 139,
|
203
|
-
203: 140,
|
204
|
-
204: 141,
|
205
|
-
205: 142,
|
206
|
-
206: 143,
|
207
|
-
207: 144,
|
208
|
-
208: 145,
|
209
|
-
209: 146,
|
210
|
-
210: 147,
|
211
|
-
211: 148,
|
212
|
-
212: 149,
|
213
|
-
213: 150,
|
214
|
-
214: 151,
|
215
|
-
215: 152,
|
216
|
-
216: 153,
|
217
|
-
217: 154,
|
218
|
-
218: 155,
|
219
|
-
219: 156,
|
220
|
-
220: 157,
|
221
|
-
221: 158,
|
222
|
-
222: 159,
|
223
|
-
223: 160,
|
224
|
-
224: 161,
|
225
|
-
225: 162,
|
226
|
-
226: 163,
|
227
|
-
227: 164,
|
228
|
-
228: 165,
|
229
|
-
229: 166,
|
230
|
-
230: 167,
|
231
|
-
231: 168,
|
232
|
-
232: 169,
|
233
|
-
233: 170,
|
234
|
-
234: 171,
|
235
|
-
235: 172,
|
236
|
-
236: 173,
|
237
|
-
237: 174,
|
238
|
-
238: 175,
|
239
|
-
239: 176,
|
240
|
-
240: 177,
|
241
|
-
241: 178,
|
242
|
-
242: 179,
|
243
|
-
243: 180,
|
244
|
-
244: 181,
|
245
|
-
245: 182,
|
246
|
-
246: 183,
|
247
|
-
247: 184,
|
248
|
-
248: 185,
|
249
|
-
249: 186,
|
250
|
-
250: 187,
|
251
|
-
251: 188,
|
252
|
-
252: 189,
|
253
|
-
253: 190,
|
254
|
-
254: 191,
|
255
|
-
255: 192,
|
256
|
-
256: 193,
|
257
|
-
257: 194,
|
258
|
-
258: 195,
|
259
|
-
259: 196,
|
260
|
-
260: 197,
|
261
|
-
261: 198,
|
262
|
-
262: 199,
|
263
|
-
263: 200,
|
264
|
-
264: 200,
|
265
|
-
265: 200,
|
266
|
-
266: 200,
|
267
|
-
267: 200,
|
268
|
-
268: 200,
|
269
|
-
269: 200,
|
270
|
-
270: 200,
|
271
|
-
271: 200,
|
272
|
-
272: 200,
|
273
|
-
273: 200,
|
274
|
-
274: 200,
|
275
|
-
275: 200,
|
276
|
-
276: 200,
|
277
|
-
277: 200,
|
278
|
-
278: 200,
|
279
|
-
279: 200,
|
280
|
-
280: 200,
|
281
|
-
281: 200,
|
282
|
-
282: 200,
|
283
|
-
283: 200,
|
284
|
-
284: 200,
|
285
|
-
285: 200,
|
286
|
-
286: 200,
|
287
|
-
287: 200,
|
288
|
-
288: 200,
|
289
|
-
289: 200,
|
290
|
-
290: 200,
|
291
|
-
291: 200,
|
292
|
-
292: 200,
|
293
|
-
293: 200,
|
294
|
-
294: 200,
|
295
|
-
295: 200,
|
296
|
-
296: 200,
|
297
|
-
297: 200,
|
298
|
-
298: 200,
|
299
|
-
299: 200,
|
300
|
-
300: 200,
|
301
|
-
301: 200,
|
302
|
-
302: 200,
|
303
|
-
303: 200,
|
304
|
-
304: 200,
|
305
|
-
305: 200,
|
306
|
-
306: 200,
|
307
|
-
307: 200,
|
308
|
-
308: 200,
|
309
|
-
309: 200,
|
310
|
-
310: 200,
|
311
|
-
311: 200,
|
312
|
-
312: 200,
|
313
|
-
313: 200,
|
314
|
-
314: 200,
|
315
|
-
315: 200,
|
316
|
-
316: 200,
|
317
|
-
317: 200,
|
318
|
-
318: 200,
|
319
|
-
319: 200,
|
320
|
-
320: 200
|
321
|
-
};
|
322
|
-
function getMobileFontSize(desktopSize) {
|
323
|
-
if (fontSizeMapping[desktopSize]) {
|
324
|
-
return fontSizeMapping[desktopSize];
|
325
|
-
}
|
326
|
-
return desktopSize;
|
327
|
-
}
|
328
|
-
exports.getMobileFontSize = getMobileFontSize;
|
329
|
-
// 사용 예시:
|
330
|
-
// const desktopFontSize = 15;
|
331
|
-
// const mobileFontSizeFromServer: number | null = null;
|
332
|
-
// const finalMobileFontSize = getMobileFontSize(desktopFontSize, mobileFontSizeFromServer);
|
333
|
-
// console.log(finalMobileFontSize); // 출력: 16
|