pds-dev-kit-web 2.2.71 → 2.2.73
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/sub/GoogleFontkit/headless/GoogleFontsList.js +1 -1
- package/dist/src/sub/SandollFontKit/index.d.ts +1 -0
- package/dist/src/sub/SandollFontKit/index.js +3 -1
- package/dist/src/sub/SandollFontKit/utils/getSandollFontNameInKorean.d.ts +3 -0
- package/dist/src/sub/SandollFontKit/utils/getSandollFontNameInKorean.js +46 -0
- package/package.json +1 -1
- package/release-note.md +2 -2
|
@@ -67,7 +67,7 @@ function GoogleFontsList(_a) {
|
|
|
67
67
|
var _d = (0, react_1.useState)({
|
|
68
68
|
searchQuery: '',
|
|
69
69
|
categories: DEFAULT_CATEGORIES,
|
|
70
|
-
subsets: []
|
|
70
|
+
subsets: ['korean']
|
|
71
71
|
}), filterOptions = _d[0], setFilterOptions = _d[1];
|
|
72
72
|
(0, react_1.useEffect)(function () {
|
|
73
73
|
function call() {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { default as SandollFontsList } from './headless/SandollFontsList';
|
|
2
2
|
export { default as appendSandollFontTag } from './utils/appendSandollTagToHead';
|
|
3
|
+
export { default as getSandollFontNameInKorean } from './utils/getSandollFontNameInKorean';
|
|
3
4
|
export * from './types';
|
|
4
5
|
export * from './constants';
|
|
@@ -17,10 +17,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
17
17
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
18
|
};
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
-
exports.appendSandollFontTag = exports.SandollFontsList = void 0;
|
|
20
|
+
exports.getSandollFontNameInKorean = exports.appendSandollFontTag = exports.SandollFontsList = void 0;
|
|
21
21
|
var SandollFontsList_1 = require("./headless/SandollFontsList");
|
|
22
22
|
Object.defineProperty(exports, "SandollFontsList", { enumerable: true, get: function () { return __importDefault(SandollFontsList_1).default; } });
|
|
23
23
|
var appendSandollTagToHead_1 = require("./utils/appendSandollTagToHead");
|
|
24
24
|
Object.defineProperty(exports, "appendSandollFontTag", { enumerable: true, get: function () { return __importDefault(appendSandollTagToHead_1).default; } });
|
|
25
|
+
var getSandollFontNameInKorean_1 = require("./utils/getSandollFontNameInKorean");
|
|
26
|
+
Object.defineProperty(exports, "getSandollFontNameInKorean", { enumerable: true, get: function () { return __importDefault(getSandollFontNameInKorean_1).default; } });
|
|
25
27
|
__exportStar(require("./types"), exports);
|
|
26
28
|
__exportStar(require("./constants"), exports);
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getSandollFontNameInKorean = void 0;
|
|
4
|
+
function getSandollFontNameInKorean(providerFontFamilyName) {
|
|
5
|
+
var koreanName = SANDOLL_NAME_MAP[providerFontFamilyName];
|
|
6
|
+
return koreanName !== null && koreanName !== void 0 ? koreanName : providerFontFamilyName;
|
|
7
|
+
}
|
|
8
|
+
exports.getSandollFontNameInKorean = getSandollFontNameInKorean;
|
|
9
|
+
var SANDOLL_NAME_MAP = {
|
|
10
|
+
'Sandoll Andante': 'Sandoll 안단테',
|
|
11
|
+
'Sandoll BlueNight': 'Sandoll 푸른밤',
|
|
12
|
+
'Sandoll CinemaTheater': 'Sandoll 시네마극장',
|
|
13
|
+
'Sandoll ClairSans': 'Sandoll 클레어산스',
|
|
14
|
+
'Sandoll Cosmos': 'Sandoll 코스모스',
|
|
15
|
+
'Sandoll Epilogue': 'Sandoll 에필로그',
|
|
16
|
+
'Sandoll Gawain': 'Sandoll 가웨인',
|
|
17
|
+
'Sandoll Geobok': 'Sandoll 거복',
|
|
18
|
+
'Sandoll GodeunBuri': 'Sandoll 곧은부리',
|
|
19
|
+
'Sandoll GogoRound': 'Sandoll 고고라운드',
|
|
20
|
+
'Sandoll GongbyunggakPen': 'Sandoll 공병각펜',
|
|
21
|
+
'Sandoll GothicNeo1': 'Sandoll 고딕Neo1',
|
|
22
|
+
'Sandoll GothicNeoRound': 'Sandoll 고딕NeoRound',
|
|
23
|
+
'Sandoll GretaSans': 'Sandoll 그레타산스',
|
|
24
|
+
'Sandoll GyeokdongG2': 'Sandoll 격동고딕2',
|
|
25
|
+
'Sandoll GyeokdongGL2': 'Sandoll 격동굴림2',
|
|
26
|
+
'Sandoll GyeokdongMyeongjo': 'Sandoll 격동명조',
|
|
27
|
+
'Sandoll HeirofLight': 'Sandoll 빛의계승자',
|
|
28
|
+
'Sandoll Heuksong': 'Sandoll 흑송',
|
|
29
|
+
'Sandoll Jebi': 'Sandoll 제비',
|
|
30
|
+
'Sandoll Jeongche 030': 'Sandoll 정체 030',
|
|
31
|
+
'Sandoll Jeongche 530': 'Sandoll 정체 530',
|
|
32
|
+
'Sandoll Jeongche 630': 'Sandoll 정체 630',
|
|
33
|
+
'Sandoll Jeongche 730': 'Sandoll 정체 730',
|
|
34
|
+
'Sandoll Jeongche 830': 'Sandoll 정체 830',
|
|
35
|
+
'Sandoll Jeongche 930': 'Sandoll 정체 930',
|
|
36
|
+
'Sandoll Mojito': 'Sandoll 모히또',
|
|
37
|
+
'Sandoll Nemony2': 'Sandoll 네모니2',
|
|
38
|
+
'Sandoll Odongtong': 'Sandoll 오동통',
|
|
39
|
+
'Sandoll Press': 'Sandoll 프레스',
|
|
40
|
+
'Sandoll RomanStencil': 'Sandoll 로맨스텐실',
|
|
41
|
+
'Sandoll Seolya': 'Sandoll 설야',
|
|
42
|
+
'Sandoll Shootdolie': 'Sandoll 슛돌이',
|
|
43
|
+
'Sandoll Smiley Sans': 'Sandoll 스마일리산스',
|
|
44
|
+
'Sandoll Totori': 'Sandoll 토토리'
|
|
45
|
+
};
|
|
46
|
+
exports.default = getSandollFontNameInKorean;
|
package/package.json
CHANGED