spoclip-kit 1.3.0 → 1.3.2

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.cjs CHANGED
@@ -20,6 +20,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
20
20
  // src/index.ts
21
21
  var src_exports = {};
22
22
  __export(src_exports, {
23
+ color: () => color,
23
24
  colorV2: () => colorV2,
24
25
  getClipVideoDownloadCost: () => getClipVideoDownloadCost,
25
26
  getRawVideoDownloadCost: () => getRawVideoDownloadCost,
@@ -64,10 +65,10 @@ function getRawVideoDownloadCost() {
64
65
  }
65
66
 
66
67
  // src/styles/color.ts
67
- var colorV2 = {
68
+ var color = {
68
69
  primary: "#242535",
69
- primary2: "#2B2C3D",
70
- secondary: "#38394D",
70
+ primary2: "#9335FB",
71
+ secondary: "#FADD32",
71
72
  bgColor: "#F3F4F6",
72
73
  error: "#EA2E2E",
73
74
  white: "#FFFFFF",
@@ -79,6 +80,7 @@ var colorV2 = {
79
80
  gray5: "#E0E0E0",
80
81
  gray6: "#EDEDED"
81
82
  };
83
+ var colorV2 = color;
82
84
 
83
85
  // src/styles/typo.ts
84
86
  var typo = {
@@ -211,6 +213,7 @@ var typo = {
211
213
  };
212
214
  // Annotate the CommonJS export names for ESM import in node:
213
215
  0 && (module.exports = {
216
+ color,
214
217
  colorV2,
215
218
  getClipVideoDownloadCost,
216
219
  getRawVideoDownloadCost,
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts","../src/libs/cost.ts","../src/styles/color.ts","../src/styles/typo.ts"],"sourcesContent":["// Main entry point for spoclip-kit\nexport * from './libs';\nexport * from './types';\nexport * from './styles';\n","import type { TicketCode } from '@/types/membership';\n\nconst CLIP_COST_PER_SECOND = 1 / 60;\n\n/**\n * 비디오 다운로드 비용을 계산합니다.\n *\n * @description\n * - 전체 시간 4K 다운로드 시 티켓 상관없이 20톨\n * - 1분 미만인 경우, remainingFreeDownloads > 0 이면 무료\n * - 1분 미만인 경우, remainingFreeDownloads <= 0 이면 1톨부터 시작\n * - 55초부터는 1.92xx 이므로 반올림 시 1.9톨\n * - 59초부터는 1.98xx 이므로 반올림 시 2톨\n * - 60초부터는 2.00xx 이므로 반올림 시 2톨\n * - 62초부터는 2.03xx 이므로 반올림 시 2톨\n * - 63초부터는 2.05xx 이므로 반올림 시 2.1톨\n *\n */\n\ntype GetVideoDownloadCostParams = {\n duration: number;\n quality: '2K' | '4K';\n ticketCode?: TicketCode;\n remainingFreeDownloads?: number;\n\n /** @deprecated 이 파라미터는 더이상 사용되지 않습니다. */\n isFullTime?: boolean;\n};\n\nexport function getVideoDownloadCost({\n duration,\n quality,\n ticketCode = 'FREE',\n remainingFreeDownloads = 0,\n}: GetVideoDownloadCostParams) {\n if (quality === '4K') {\n return getRawVideoDownloadCost();\n }\n\n return getClipVideoDownloadCost({\n duration,\n ticketCode,\n remainingFreeDownloads,\n });\n}\n\ntype GetClipVideoDownloadCostParams = {\n duration: number;\n ticketCode?: TicketCode;\n remainingFreeDownloads?: number;\n};\n\nexport function getClipVideoDownloadCost({\n duration,\n ticketCode = 'FREE',\n remainingFreeDownloads = 0,\n}: GetClipVideoDownloadCostParams) {\n const durationInSeconds = duration / 1000;\n const isUnder61 = durationInSeconds < 61;\n const isPlus = ticketCode === 'PLUS';\n\n if (isPlus && remainingFreeDownloads > 0 && isUnder61) {\n return { cost: 0, isPlusFree: true };\n }\n\n const cost = Math.round(durationInSeconds * CLIP_COST_PER_SECOND * 10) / 10;\n return { cost, isPlusFree: false };\n}\n\nexport function getRawVideoDownloadCost() {\n return { cost: 20, isPlusFree: false };\n}\n","const colorV2 = {\n primary: '#242535',\n primary2: '#2B2C3D',\n secondary: '#38394D',\n bgColor: '#F3F4F6',\n error: '#EA2E2E',\n\n white: '#FFFFFF',\n black: '#111111',\n gray1: '#424242',\n gray2: '#616161',\n gray3: '#8E8E8E',\n gray4: '#BDBDBD',\n gray5: '#E0E0E0',\n gray6: '#EDEDED',\n} as const;\n\nexport { colorV2 };\n","const typo = {\n 'h1-24b': {\n fontSize: 24,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h1-24m': {\n fontSize: 24,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h1-24': {\n fontSize: 24,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n\n 'h2-20b': {\n fontSize: 20,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h2-20m': {\n fontSize: 20,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h2-20': {\n fontSize: 20,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h3-18b': {\n fontSize: 18,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h3-18m': {\n fontSize: 18,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h3-18': {\n fontSize: 18,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b1-16b': {\n fontSize: 16,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b1-16m': {\n fontSize: 16,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b1-16': {\n fontSize: 16,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n\n 'b2-14b': {\n fontSize: 14,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b2-14m': {\n fontSize: 14,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b2-14': {\n fontSize: 14,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n\n 'b3-12b': {\n fontSize: 12,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b3-12m': {\n fontSize: 12,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b3-12': {\n fontSize: 12,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n\n 's1-10b': {\n fontSize: 10,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 's1-10m': {\n fontSize: 10,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 's1-10': {\n fontSize: 10,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n} as const;\n\nexport { typo };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACEA,IAAM,uBAAuB,IAAI;AA2B1B,SAAS,qBAAqB;AAAA,EACnC;AAAA,EACA;AAAA,EACA,aAAa;AAAA,EACb,yBAAyB;AAC3B,GAA+B;AAC7B,MAAI,YAAY,MAAM;AACpB,WAAO,wBAAwB;AAAA,EACjC;AAEA,SAAO,yBAAyB;AAAA,IAC9B;AAAA,IACA;AAAA,IACA;AAAA,EACF,CAAC;AACH;AAQO,SAAS,yBAAyB;AAAA,EACvC;AAAA,EACA,aAAa;AAAA,EACb,yBAAyB;AAC3B,GAAmC;AACjC,QAAM,oBAAoB,WAAW;AACrC,QAAM,YAAY,oBAAoB;AACtC,QAAM,SAAS,eAAe;AAE9B,MAAI,UAAU,yBAAyB,KAAK,WAAW;AACrD,WAAO,EAAE,MAAM,GAAG,YAAY,KAAK;AAAA,EACrC;AAEA,QAAM,OAAO,KAAK,MAAM,oBAAoB,uBAAuB,EAAE,IAAI;AACzE,SAAO,EAAE,MAAM,YAAY,MAAM;AACnC;AAEO,SAAS,0BAA0B;AACxC,SAAO,EAAE,MAAM,IAAI,YAAY,MAAM;AACvC;;;ACvEA,IAAM,UAAU;AAAA,EACd,SAAS;AAAA,EACT,UAAU;AAAA,EACV,WAAW;AAAA,EACX,SAAS;AAAA,EACT,OAAO;AAAA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AAA,EACjB;AAAA,EACA,SAAS;AAAA,IACP,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EAEA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EACA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EACA,SAAS;AAAA,IACP,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EAEA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EACA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EACA,SAAS;AAAA,IACP,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EAEA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EACA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EACA,SAAS;AAAA,IACP,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AACF;","names":[]}
1
+ {"version":3,"sources":["../src/index.ts","../src/libs/cost.ts","../src/styles/color.ts","../src/styles/typo.ts"],"sourcesContent":["// Main entry point for spoclip-kit\nexport * from './libs';\nexport * from './types';\nexport * from './styles';\n","import type { TicketCode } from '@/types/membership';\n\nconst CLIP_COST_PER_SECOND = 1 / 60;\n\n/**\n * 비디오 다운로드 비용을 계산합니다.\n *\n * @description\n * - 전체 시간 4K 다운로드 시 티켓 상관없이 20톨\n * - 1분 미만인 경우, remainingFreeDownloads > 0 이면 무료\n * - 1분 미만인 경우, remainingFreeDownloads <= 0 이면 1톨부터 시작\n * - 55초부터는 1.92xx 이므로 반올림 시 1.9톨\n * - 59초부터는 1.98xx 이므로 반올림 시 2톨\n * - 60초부터는 2.00xx 이므로 반올림 시 2톨\n * - 62초부터는 2.03xx 이므로 반올림 시 2톨\n * - 63초부터는 2.05xx 이므로 반올림 시 2.1톨\n *\n */\n\ntype GetVideoDownloadCostParams = {\n duration: number;\n quality: '2K' | '4K';\n ticketCode?: TicketCode;\n remainingFreeDownloads?: number;\n\n /** @deprecated 이 파라미터는 더이상 사용되지 않습니다. */\n isFullTime?: boolean;\n};\n\nexport function getVideoDownloadCost({\n duration,\n quality,\n ticketCode = 'FREE',\n remainingFreeDownloads = 0,\n}: GetVideoDownloadCostParams) {\n if (quality === '4K') {\n return getRawVideoDownloadCost();\n }\n\n return getClipVideoDownloadCost({\n duration,\n ticketCode,\n remainingFreeDownloads,\n });\n}\n\ntype GetClipVideoDownloadCostParams = {\n duration: number;\n ticketCode?: TicketCode;\n remainingFreeDownloads?: number;\n};\n\nexport function getClipVideoDownloadCost({\n duration,\n ticketCode = 'FREE',\n remainingFreeDownloads = 0,\n}: GetClipVideoDownloadCostParams) {\n const durationInSeconds = duration / 1000;\n const isUnder61 = durationInSeconds < 61;\n const isPlus = ticketCode === 'PLUS';\n\n if (isPlus && remainingFreeDownloads > 0 && isUnder61) {\n return { cost: 0, isPlusFree: true };\n }\n\n const cost = Math.round(durationInSeconds * CLIP_COST_PER_SECOND * 10) / 10;\n return { cost, isPlusFree: false };\n}\n\nexport function getRawVideoDownloadCost() {\n return { cost: 20, isPlusFree: false };\n}\n","const color = {\n primary: '#242535',\n primary2: '#9335FB',\n secondary: '#FADD32',\n bgColor: '#F3F4F6',\n error: '#EA2E2E',\n\n white: '#FFFFFF',\n black: '#111111',\n gray1: '#424242',\n gray2: '#616161',\n gray3: '#8E8E8E',\n gray4: '#BDBDBD',\n gray5: '#E0E0E0',\n gray6: '#EDEDED',\n} as const;\n\n/**\n * @deprecated use color instead (작명 실수 ㅠ)\n */\n\nconst colorV2 = color;\n\nexport { colorV2, color };\n","const typo = {\n 'h1-24b': {\n fontSize: 24,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h1-24m': {\n fontSize: 24,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h1-24': {\n fontSize: 24,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n\n 'h2-20b': {\n fontSize: 20,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h2-20m': {\n fontSize: 20,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h2-20': {\n fontSize: 20,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h3-18b': {\n fontSize: 18,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h3-18m': {\n fontSize: 18,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h3-18': {\n fontSize: 18,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b1-16b': {\n fontSize: 16,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b1-16m': {\n fontSize: 16,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b1-16': {\n fontSize: 16,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n\n 'b2-14b': {\n fontSize: 14,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b2-14m': {\n fontSize: 14,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b2-14': {\n fontSize: 14,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n\n 'b3-12b': {\n fontSize: 12,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b3-12m': {\n fontSize: 12,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b3-12': {\n fontSize: 12,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n\n 's1-10b': {\n fontSize: 10,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 's1-10m': {\n fontSize: 10,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 's1-10': {\n fontSize: 10,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n} as const;\n\nexport { typo };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACEA,IAAM,uBAAuB,IAAI;AA2B1B,SAAS,qBAAqB;AAAA,EACnC;AAAA,EACA;AAAA,EACA,aAAa;AAAA,EACb,yBAAyB;AAC3B,GAA+B;AAC7B,MAAI,YAAY,MAAM;AACpB,WAAO,wBAAwB;AAAA,EACjC;AAEA,SAAO,yBAAyB;AAAA,IAC9B;AAAA,IACA;AAAA,IACA;AAAA,EACF,CAAC;AACH;AAQO,SAAS,yBAAyB;AAAA,EACvC;AAAA,EACA,aAAa;AAAA,EACb,yBAAyB;AAC3B,GAAmC;AACjC,QAAM,oBAAoB,WAAW;AACrC,QAAM,YAAY,oBAAoB;AACtC,QAAM,SAAS,eAAe;AAE9B,MAAI,UAAU,yBAAyB,KAAK,WAAW;AACrD,WAAO,EAAE,MAAM,GAAG,YAAY,KAAK;AAAA,EACrC;AAEA,QAAM,OAAO,KAAK,MAAM,oBAAoB,uBAAuB,EAAE,IAAI;AACzE,SAAO,EAAE,MAAM,YAAY,MAAM;AACnC;AAEO,SAAS,0BAA0B;AACxC,SAAO,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getClipVideoDownloadCost, getRawVideoDownloadCost, getVideoDownloadCost } from './libs.cjs';
2
2
  export { T as TicketCode } from './membership-DWX-PuXh.cjs';
3
3
  export { APIErrorResponse, APIResponse, APIResponseBase } from './types.cjs';
4
-
5
- declare const colorV2: {
6
- readonly primary: "#242535";
7
- readonly primary2: "#2B2C3D";
8
- readonly secondary: "#38394D";
9
- readonly bgColor: "#F3F4F6";
10
- readonly error: "#EA2E2E";
11
- readonly white: "#FFFFFF";
12
- readonly black: "#111111";
13
- readonly gray1: "#424242";
14
- readonly gray2: "#616161";
15
- readonly gray3: "#8E8E8E";
16
- readonly gray4: "#BDBDBD";
17
- readonly gray5: "#E0E0E0";
18
- readonly gray6: "#EDEDED";
19
- };
20
-
21
- declare const typo: {
22
- readonly 'h1-24b': {
23
- readonly fontSize: 24;
24
- readonly fontWeight: 700;
25
- readonly lineHeight: 1.5;
26
- readonly letterSpacing: 0;
27
- };
28
- readonly 'h1-24m': {
29
- readonly fontSize: 24;
30
- readonly fontWeight: 500;
31
- readonly lineHeight: 1.5;
32
- readonly letterSpacing: 0;
33
- };
34
- readonly 'h1-24': {
35
- readonly fontSize: 24;
36
- readonly fontWeight: 400;
37
- readonly lineHeight: 1.5;
38
- readonly letterSpacing: 0;
39
- };
40
- readonly 'h2-20b': {
41
- readonly fontSize: 20;
42
- readonly fontWeight: 700;
43
- readonly lineHeight: 1.5;
44
- readonly letterSpacing: 0;
45
- };
46
- readonly 'h2-20m': {
47
- readonly fontSize: 20;
48
- readonly fontWeight: 500;
49
- readonly lineHeight: 1.5;
50
- readonly letterSpacing: 0;
51
- };
52
- readonly 'h2-20': {
53
- readonly fontSize: 20;
54
- readonly fontWeight: 400;
55
- readonly lineHeight: 1.5;
56
- readonly letterSpacing: 0;
57
- };
58
- readonly 'h3-18b': {
59
- readonly fontSize: 18;
60
- readonly fontWeight: 700;
61
- readonly lineHeight: 1.5;
62
- readonly letterSpacing: 0;
63
- };
64
- readonly 'h3-18m': {
65
- readonly fontSize: 18;
66
- readonly fontWeight: 500;
67
- readonly lineHeight: 1.5;
68
- readonly letterSpacing: 0;
69
- };
70
- readonly 'h3-18': {
71
- readonly fontSize: 18;
72
- readonly fontWeight: 400;
73
- readonly lineHeight: 1.5;
74
- readonly letterSpacing: 0;
75
- };
76
- readonly 'b1-16b': {
77
- readonly fontSize: 16;
78
- readonly fontWeight: 700;
79
- readonly lineHeight: 1.5;
80
- readonly letterSpacing: 0;
81
- };
82
- readonly 'b1-16m': {
83
- readonly fontSize: 16;
84
- readonly fontWeight: 500;
85
- readonly lineHeight: 1.5;
86
- readonly letterSpacing: 0;
87
- };
88
- readonly 'b1-16': {
89
- readonly fontSize: 16;
90
- readonly fontWeight: 400;
91
- readonly lineHeight: 1.5;
92
- readonly letterSpacing: 0;
93
- };
94
- readonly 'b2-14b': {
95
- readonly fontSize: 14;
96
- readonly fontWeight: 700;
97
- readonly lineHeight: 1.5;
98
- readonly letterSpacing: 0;
99
- };
100
- readonly 'b2-14m': {
101
- readonly fontSize: 14;
102
- readonly fontWeight: 500;
103
- readonly lineHeight: 1.5;
104
- readonly letterSpacing: 0;
105
- };
106
- readonly 'b2-14': {
107
- readonly fontSize: 14;
108
- readonly fontWeight: 400;
109
- readonly lineHeight: 1.5;
110
- readonly letterSpacing: 0;
111
- };
112
- readonly 'b3-12b': {
113
- readonly fontSize: 12;
114
- readonly fontWeight: 700;
115
- readonly lineHeight: 1.5;
116
- readonly letterSpacing: 0;
117
- };
118
- readonly 'b3-12m': {
119
- readonly fontSize: 12;
120
- readonly fontWeight: 500;
121
- readonly lineHeight: 1.5;
122
- readonly letterSpacing: 0;
123
- };
124
- readonly 'b3-12': {
125
- readonly fontSize: 12;
126
- readonly fontWeight: 400;
127
- readonly lineHeight: 1.5;
128
- readonly letterSpacing: 0;
129
- };
130
- readonly 's1-10b': {
131
- readonly fontSize: 10;
132
- readonly fontWeight: 700;
133
- readonly lineHeight: 1.5;
134
- readonly letterSpacing: 0;
135
- };
136
- readonly 's1-10m': {
137
- readonly fontSize: 10;
138
- readonly fontWeight: 500;
139
- readonly lineHeight: 1.5;
140
- readonly letterSpacing: 0;
141
- };
142
- readonly 's1-10': {
143
- readonly fontSize: 10;
144
- readonly fontWeight: 400;
145
- readonly lineHeight: 1.5;
146
- readonly letterSpacing: 0;
147
- };
148
- };
149
-
150
- export { colorV2, typo };
4
+ export { color, colorV2, typo } from './styles.cjs';
package/dist/index.d.ts CHANGED
@@ -1,150 +1,4 @@
1
1
  export { getClipVideoDownloadCost, getRawVideoDownloadCost, getVideoDownloadCost } from './libs.js';
2
2
  export { T as TicketCode } from './membership-DWX-PuXh.js';
3
3
  export { APIErrorResponse, APIResponse, APIResponseBase } from './types.js';
4
-
5
- declare const colorV2: {
6
- readonly primary: "#242535";
7
- readonly primary2: "#2B2C3D";
8
- readonly secondary: "#38394D";
9
- readonly bgColor: "#F3F4F6";
10
- readonly error: "#EA2E2E";
11
- readonly white: "#FFFFFF";
12
- readonly black: "#111111";
13
- readonly gray1: "#424242";
14
- readonly gray2: "#616161";
15
- readonly gray3: "#8E8E8E";
16
- readonly gray4: "#BDBDBD";
17
- readonly gray5: "#E0E0E0";
18
- readonly gray6: "#EDEDED";
19
- };
20
-
21
- declare const typo: {
22
- readonly 'h1-24b': {
23
- readonly fontSize: 24;
24
- readonly fontWeight: 700;
25
- readonly lineHeight: 1.5;
26
- readonly letterSpacing: 0;
27
- };
28
- readonly 'h1-24m': {
29
- readonly fontSize: 24;
30
- readonly fontWeight: 500;
31
- readonly lineHeight: 1.5;
32
- readonly letterSpacing: 0;
33
- };
34
- readonly 'h1-24': {
35
- readonly fontSize: 24;
36
- readonly fontWeight: 400;
37
- readonly lineHeight: 1.5;
38
- readonly letterSpacing: 0;
39
- };
40
- readonly 'h2-20b': {
41
- readonly fontSize: 20;
42
- readonly fontWeight: 700;
43
- readonly lineHeight: 1.5;
44
- readonly letterSpacing: 0;
45
- };
46
- readonly 'h2-20m': {
47
- readonly fontSize: 20;
48
- readonly fontWeight: 500;
49
- readonly lineHeight: 1.5;
50
- readonly letterSpacing: 0;
51
- };
52
- readonly 'h2-20': {
53
- readonly fontSize: 20;
54
- readonly fontWeight: 400;
55
- readonly lineHeight: 1.5;
56
- readonly letterSpacing: 0;
57
- };
58
- readonly 'h3-18b': {
59
- readonly fontSize: 18;
60
- readonly fontWeight: 700;
61
- readonly lineHeight: 1.5;
62
- readonly letterSpacing: 0;
63
- };
64
- readonly 'h3-18m': {
65
- readonly fontSize: 18;
66
- readonly fontWeight: 500;
67
- readonly lineHeight: 1.5;
68
- readonly letterSpacing: 0;
69
- };
70
- readonly 'h3-18': {
71
- readonly fontSize: 18;
72
- readonly fontWeight: 400;
73
- readonly lineHeight: 1.5;
74
- readonly letterSpacing: 0;
75
- };
76
- readonly 'b1-16b': {
77
- readonly fontSize: 16;
78
- readonly fontWeight: 700;
79
- readonly lineHeight: 1.5;
80
- readonly letterSpacing: 0;
81
- };
82
- readonly 'b1-16m': {
83
- readonly fontSize: 16;
84
- readonly fontWeight: 500;
85
- readonly lineHeight: 1.5;
86
- readonly letterSpacing: 0;
87
- };
88
- readonly 'b1-16': {
89
- readonly fontSize: 16;
90
- readonly fontWeight: 400;
91
- readonly lineHeight: 1.5;
92
- readonly letterSpacing: 0;
93
- };
94
- readonly 'b2-14b': {
95
- readonly fontSize: 14;
96
- readonly fontWeight: 700;
97
- readonly lineHeight: 1.5;
98
- readonly letterSpacing: 0;
99
- };
100
- readonly 'b2-14m': {
101
- readonly fontSize: 14;
102
- readonly fontWeight: 500;
103
- readonly lineHeight: 1.5;
104
- readonly letterSpacing: 0;
105
- };
106
- readonly 'b2-14': {
107
- readonly fontSize: 14;
108
- readonly fontWeight: 400;
109
- readonly lineHeight: 1.5;
110
- readonly letterSpacing: 0;
111
- };
112
- readonly 'b3-12b': {
113
- readonly fontSize: 12;
114
- readonly fontWeight: 700;
115
- readonly lineHeight: 1.5;
116
- readonly letterSpacing: 0;
117
- };
118
- readonly 'b3-12m': {
119
- readonly fontSize: 12;
120
- readonly fontWeight: 500;
121
- readonly lineHeight: 1.5;
122
- readonly letterSpacing: 0;
123
- };
124
- readonly 'b3-12': {
125
- readonly fontSize: 12;
126
- readonly fontWeight: 400;
127
- readonly lineHeight: 1.5;
128
- readonly letterSpacing: 0;
129
- };
130
- readonly 's1-10b': {
131
- readonly fontSize: 10;
132
- readonly fontWeight: 700;
133
- readonly lineHeight: 1.5;
134
- readonly letterSpacing: 0;
135
- };
136
- readonly 's1-10m': {
137
- readonly fontSize: 10;
138
- readonly fontWeight: 500;
139
- readonly lineHeight: 1.5;
140
- readonly letterSpacing: 0;
141
- };
142
- readonly 's1-10': {
143
- readonly fontSize: 10;
144
- readonly fontWeight: 400;
145
- readonly lineHeight: 1.5;
146
- readonly letterSpacing: 0;
147
- };
148
- };
149
-
150
- export { colorV2, typo };
4
+ export { color, colorV2, typo } from './styles.js';
package/dist/index.js CHANGED
@@ -34,10 +34,10 @@ function getRawVideoDownloadCost() {
34
34
  }
35
35
 
36
36
  // src/styles/color.ts
37
- var colorV2 = {
37
+ var color = {
38
38
  primary: "#242535",
39
- primary2: "#2B2C3D",
40
- secondary: "#38394D",
39
+ primary2: "#9335FB",
40
+ secondary: "#FADD32",
41
41
  bgColor: "#F3F4F6",
42
42
  error: "#EA2E2E",
43
43
  white: "#FFFFFF",
@@ -49,6 +49,7 @@ var colorV2 = {
49
49
  gray5: "#E0E0E0",
50
50
  gray6: "#EDEDED"
51
51
  };
52
+ var colorV2 = color;
52
53
 
53
54
  // src/styles/typo.ts
54
55
  var typo = {
@@ -180,6 +181,7 @@ var typo = {
180
181
  }
181
182
  };
182
183
  export {
184
+ color,
183
185
  colorV2,
184
186
  getClipVideoDownloadCost,
185
187
  getRawVideoDownloadCost,
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/libs/cost.ts","../src/styles/color.ts","../src/styles/typo.ts"],"sourcesContent":["import type { TicketCode } from '@/types/membership';\n\nconst CLIP_COST_PER_SECOND = 1 / 60;\n\n/**\n * 비디오 다운로드 비용을 계산합니다.\n *\n * @description\n * - 전체 시간 4K 다운로드 시 티켓 상관없이 20톨\n * - 1분 미만인 경우, remainingFreeDownloads > 0 이면 무료\n * - 1분 미만인 경우, remainingFreeDownloads <= 0 이면 1톨부터 시작\n * - 55초부터는 1.92xx 이므로 반올림 시 1.9톨\n * - 59초부터는 1.98xx 이므로 반올림 시 2톨\n * - 60초부터는 2.00xx 이므로 반올림 시 2톨\n * - 62초부터는 2.03xx 이므로 반올림 시 2톨\n * - 63초부터는 2.05xx 이므로 반올림 시 2.1톨\n *\n */\n\ntype GetVideoDownloadCostParams = {\n duration: number;\n quality: '2K' | '4K';\n ticketCode?: TicketCode;\n remainingFreeDownloads?: number;\n\n /** @deprecated 이 파라미터는 더이상 사용되지 않습니다. */\n isFullTime?: boolean;\n};\n\nexport function getVideoDownloadCost({\n duration,\n quality,\n ticketCode = 'FREE',\n remainingFreeDownloads = 0,\n}: GetVideoDownloadCostParams) {\n if (quality === '4K') {\n return getRawVideoDownloadCost();\n }\n\n return getClipVideoDownloadCost({\n duration,\n ticketCode,\n remainingFreeDownloads,\n });\n}\n\ntype GetClipVideoDownloadCostParams = {\n duration: number;\n ticketCode?: TicketCode;\n remainingFreeDownloads?: number;\n};\n\nexport function getClipVideoDownloadCost({\n duration,\n ticketCode = 'FREE',\n remainingFreeDownloads = 0,\n}: GetClipVideoDownloadCostParams) {\n const durationInSeconds = duration / 1000;\n const isUnder61 = durationInSeconds < 61;\n const isPlus = ticketCode === 'PLUS';\n\n if (isPlus && remainingFreeDownloads > 0 && isUnder61) {\n return { cost: 0, isPlusFree: true };\n }\n\n const cost = Math.round(durationInSeconds * CLIP_COST_PER_SECOND * 10) / 10;\n return { cost, isPlusFree: false };\n}\n\nexport function getRawVideoDownloadCost() {\n return { cost: 20, isPlusFree: false };\n}\n","const colorV2 = {\n primary: '#242535',\n primary2: '#2B2C3D',\n secondary: '#38394D',\n bgColor: '#F3F4F6',\n error: '#EA2E2E',\n\n white: '#FFFFFF',\n black: '#111111',\n gray1: '#424242',\n gray2: '#616161',\n gray3: '#8E8E8E',\n gray4: '#BDBDBD',\n gray5: '#E0E0E0',\n gray6: '#EDEDED',\n} as const;\n\nexport { colorV2 };\n","const typo = {\n 'h1-24b': {\n fontSize: 24,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h1-24m': {\n fontSize: 24,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h1-24': {\n fontSize: 24,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n\n 'h2-20b': {\n fontSize: 20,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h2-20m': {\n fontSize: 20,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h2-20': {\n fontSize: 20,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h3-18b': {\n fontSize: 18,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h3-18m': {\n fontSize: 18,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h3-18': {\n fontSize: 18,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b1-16b': {\n fontSize: 16,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b1-16m': {\n fontSize: 16,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b1-16': {\n fontSize: 16,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n\n 'b2-14b': {\n fontSize: 14,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b2-14m': {\n fontSize: 14,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b2-14': {\n fontSize: 14,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n\n 'b3-12b': {\n fontSize: 12,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b3-12m': {\n fontSize: 12,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b3-12': {\n fontSize: 12,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n\n 's1-10b': {\n fontSize: 10,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 's1-10m': {\n fontSize: 10,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 's1-10': {\n fontSize: 10,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n} as const;\n\nexport { typo };\n"],"mappings":";AAEA,IAAM,uBAAuB,IAAI;AA2B1B,SAAS,qBAAqB;AAAA,EACnC;AAAA,EACA;AAAA,EACA,aAAa;AAAA,EACb,yBAAyB;AAC3B,GAA+B;AAC7B,MAAI,YAAY,MAAM;AACpB,WAAO,wBAAwB;AAAA,EACjC;AAEA,SAAO,yBAAyB;AAAA,IAC9B;AAAA,IACA;AAAA,IACA;AAAA,EACF,CAAC;AACH;AAQO,SAAS,yBAAyB;AAAA,EACvC;AAAA,EACA,aAAa;AAAA,EACb,yBAAyB;AAC3B,GAAmC;AACjC,QAAM,oBAAoB,WAAW;AACrC,QAAM,YAAY,oBAAoB;AACtC,QAAM,SAAS,eAAe;AAE9B,MAAI,UAAU,yBAAyB,KAAK,WAAW;AACrD,WAAO,EAAE,MAAM,GAAG,YAAY,KAAK;AAAA,EACrC;AAEA,QAAM,OAAO,KAAK,MAAM,oBAAoB,uBAAuB,EAAE,IAAI;AACzE,SAAO,EAAE,MAAM,YAAY,MAAM;AACnC;AAEO,SAAS,0BAA0B;AACxC,SAAO,EAAE,MAAM,IAAI,YAAY,MAAM;AACvC;;;ACvEA,IAAM,UAAU;AAAA,EACd,SAAS;AAAA,EACT,UAAU;AAAA,EACV,WAAW;A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AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EACA,SAAS;AAAA,IACP,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EAEA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EACA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EACA,SAAS;AAAA,IACP,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EAEA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EACA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EACA,SAAS;AAAA,IACP,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EAEA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EACA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EACA,SAAS;AAAA,IACP,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AACF;","names":[]}
1
+ {"version":3,"sources":["../src/libs/cost.ts","../src/styles/color.ts","../src/styles/typo.ts"],"sourcesContent":["import type { TicketCode } from '@/types/membership';\n\nconst CLIP_COST_PER_SECOND = 1 / 60;\n\n/**\n * 비디오 다운로드 비용을 계산합니다.\n *\n * @description\n * - 전체 시간 4K 다운로드 시 티켓 상관없이 20톨\n * - 1분 미만인 경우, remainingFreeDownloads > 0 이면 무료\n * - 1분 미만인 경우, remainingFreeDownloads <= 0 이면 1톨부터 시작\n * - 55초부터는 1.92xx 이므로 반올림 시 1.9톨\n * - 59초부터는 1.98xx 이므로 반올림 시 2톨\n * - 60초부터는 2.00xx 이므로 반올림 시 2톨\n * - 62초부터는 2.03xx 이므로 반올림 시 2톨\n * - 63초부터는 2.05xx 이므로 반올림 시 2.1톨\n *\n */\n\ntype GetVideoDownloadCostParams = {\n duration: number;\n quality: '2K' | '4K';\n ticketCode?: TicketCode;\n remainingFreeDownloads?: number;\n\n /** @deprecated 이 파라미터는 더이상 사용되지 않습니다. */\n isFullTime?: boolean;\n};\n\nexport function getVideoDownloadCost({\n duration,\n quality,\n ticketCode = 'FREE',\n remainingFreeDownloads = 0,\n}: GetVideoDownloadCostParams) {\n if (quality === '4K') {\n return getRawVideoDownloadCost();\n }\n\n return getClipVideoDownloadCost({\n duration,\n ticketCode,\n remainingFreeDownloads,\n });\n}\n\ntype GetClipVideoDownloadCostParams = {\n duration: number;\n ticketCode?: TicketCode;\n remainingFreeDownloads?: number;\n};\n\nexport function getClipVideoDownloadCost({\n duration,\n ticketCode = 'FREE',\n remainingFreeDownloads = 0,\n}: GetClipVideoDownloadCostParams) {\n const durationInSeconds = duration / 1000;\n const isUnder61 = durationInSeconds < 61;\n const isPlus = ticketCode === 'PLUS';\n\n if (isPlus && remainingFreeDownloads > 0 && isUnder61) {\n return { cost: 0, isPlusFree: true };\n }\n\n const cost = Math.round(durationInSeconds * CLIP_COST_PER_SECOND * 10) / 10;\n return { cost, isPlusFree: false };\n}\n\nexport function getRawVideoDownloadCost() {\n return { cost: 20, isPlusFree: false };\n}\n","const color = {\n primary: '#242535',\n primary2: '#9335FB',\n secondary: '#FADD32',\n bgColor: '#F3F4F6',\n error: '#EA2E2E',\n\n white: '#FFFFFF',\n black: '#111111',\n gray1: '#424242',\n gray2: '#616161',\n gray3: '#8E8E8E',\n gray4: '#BDBDBD',\n gray5: '#E0E0E0',\n gray6: '#EDEDED',\n} as const;\n\n/**\n * @deprecated use color instead (작명 실수 ㅠ)\n */\n\nconst colorV2 = color;\n\nexport { colorV2, color };\n","const typo = {\n 'h1-24b': {\n fontSize: 24,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h1-24m': {\n fontSize: 24,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h1-24': {\n fontSize: 24,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n\n 'h2-20b': {\n fontSize: 20,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h2-20m': {\n fontSize: 20,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h2-20': {\n fontSize: 20,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h3-18b': {\n fontSize: 18,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h3-18m': {\n fontSize: 18,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h3-18': {\n fontSize: 18,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b1-16b': {\n fontSize: 16,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b1-16m': {\n fontSize: 16,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b1-16': {\n fontSize: 16,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n\n 'b2-14b': {\n fontSize: 14,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b2-14m': {\n fontSize: 14,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b2-14': {\n fontSize: 14,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n\n 'b3-12b': {\n fontSize: 12,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b3-12m': {\n fontSize: 12,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b3-12': {\n fontSize: 12,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n\n 's1-10b': {\n fontSize: 10,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 's1-10m': {\n fontSize: 10,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 's1-10': {\n fontSize: 10,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n} as const;\n\nexport { typo };\n"],"mappings":";AAEA,IAAM,uBAAuB,IAAI;AA2B1B,SAAS,qBAAqB;AAAA,EACnC;AAAA,EACA;AAAA,EACA,aAAa;AAAA,EACb,yBAAyB;AAC3B,GAA+B;AAC7B,MAAI,YAAY,MAAM;AACpB,WAAO,wBAAwB;AAAA,EACjC;AAEA,SAAO,yBAAyB;AAAA,IAC9B;AAAA,IACA;AAAA,IACA;AAAA,EACF,CAAC;AACH;AAQO,SAAS,yBAAyB;AAAA,EACvC;AAAA,EACA,aAAa;AAAA,EACb,yBAAyB;AAC3B,GAAmC;AACjC,QAAM,oBAAoB,WAAW;AACrC,QAAM,YAAY,oBAAoB;AACtC,QAAM,SAAS,eAAe;AAE9B,MAAI,UAAU,yBAAyB,KAAK,WAAW;AACrD,WAAO,EAAE,MAAM,GAAG,YAAY,KAAK;AAAA,EACrC;AAEA,QAAM,OAAO,KAAK,MAAM,oBAAoB,uBAAuB,EAAE,IAAI;AACzE,SAAO,EAAE,MAAM,YAAY,MAAM;AACnC;AAEO,SAAS,0BAA0B;AACxC,SAAO,EAAE,MAAM,IAAI,YAAY,MAAM;AACvC;;;ACvEA,IAAM,QAAQ;AAAA,EACZ,SAAS;AAAA,EACT,UAAU;AAAA,EACV,WAAW;AA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U;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EACA,SAAS;AAAA,IACP,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EAEA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EACA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EACA,SAAS;AAAA,IACP,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EAEA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EACA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EACA,SAAS;AAAA,IACP,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EAEA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EACA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EACA,SAAS;AAAA,IACP,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AACF;","names":[]}
@@ -0,0 +1,182 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/styles/index.ts
21
+ var styles_exports = {};
22
+ __export(styles_exports, {
23
+ color: () => color,
24
+ colorV2: () => colorV2,
25
+ typo: () => typo
26
+ });
27
+ module.exports = __toCommonJS(styles_exports);
28
+
29
+ // src/styles/color.ts
30
+ var color = {
31
+ primary: "#242535",
32
+ primary2: "#9335FB",
33
+ secondary: "#FADD32",
34
+ bgColor: "#F3F4F6",
35
+ error: "#EA2E2E",
36
+ white: "#FFFFFF",
37
+ black: "#111111",
38
+ gray1: "#424242",
39
+ gray2: "#616161",
40
+ gray3: "#8E8E8E",
41
+ gray4: "#BDBDBD",
42
+ gray5: "#E0E0E0",
43
+ gray6: "#EDEDED"
44
+ };
45
+ var colorV2 = color;
46
+
47
+ // src/styles/typo.ts
48
+ var typo = {
49
+ "h1-24b": {
50
+ fontSize: 24,
51
+ fontWeight: 700,
52
+ lineHeight: 1.5,
53
+ letterSpacing: 0
54
+ },
55
+ "h1-24m": {
56
+ fontSize: 24,
57
+ fontWeight: 500,
58
+ lineHeight: 1.5,
59
+ letterSpacing: 0
60
+ },
61
+ "h1-24": {
62
+ fontSize: 24,
63
+ fontWeight: 400,
64
+ lineHeight: 1.5,
65
+ letterSpacing: 0
66
+ },
67
+ "h2-20b": {
68
+ fontSize: 20,
69
+ fontWeight: 700,
70
+ lineHeight: 1.5,
71
+ letterSpacing: 0
72
+ },
73
+ "h2-20m": {
74
+ fontSize: 20,
75
+ fontWeight: 500,
76
+ lineHeight: 1.5,
77
+ letterSpacing: 0
78
+ },
79
+ "h2-20": {
80
+ fontSize: 20,
81
+ fontWeight: 400,
82
+ lineHeight: 1.5,
83
+ letterSpacing: 0
84
+ },
85
+ "h3-18b": {
86
+ fontSize: 18,
87
+ fontWeight: 700,
88
+ lineHeight: 1.5,
89
+ letterSpacing: 0
90
+ },
91
+ "h3-18m": {
92
+ fontSize: 18,
93
+ fontWeight: 500,
94
+ lineHeight: 1.5,
95
+ letterSpacing: 0
96
+ },
97
+ "h3-18": {
98
+ fontSize: 18,
99
+ fontWeight: 400,
100
+ lineHeight: 1.5,
101
+ letterSpacing: 0
102
+ },
103
+ "b1-16b": {
104
+ fontSize: 16,
105
+ fontWeight: 700,
106
+ lineHeight: 1.5,
107
+ letterSpacing: 0
108
+ },
109
+ "b1-16m": {
110
+ fontSize: 16,
111
+ fontWeight: 500,
112
+ lineHeight: 1.5,
113
+ letterSpacing: 0
114
+ },
115
+ "b1-16": {
116
+ fontSize: 16,
117
+ fontWeight: 400,
118
+ lineHeight: 1.5,
119
+ letterSpacing: 0
120
+ },
121
+ "b2-14b": {
122
+ fontSize: 14,
123
+ fontWeight: 700,
124
+ lineHeight: 1.5,
125
+ letterSpacing: 0
126
+ },
127
+ "b2-14m": {
128
+ fontSize: 14,
129
+ fontWeight: 500,
130
+ lineHeight: 1.5,
131
+ letterSpacing: 0
132
+ },
133
+ "b2-14": {
134
+ fontSize: 14,
135
+ fontWeight: 400,
136
+ lineHeight: 1.5,
137
+ letterSpacing: 0
138
+ },
139
+ "b3-12b": {
140
+ fontSize: 12,
141
+ fontWeight: 700,
142
+ lineHeight: 1.5,
143
+ letterSpacing: 0
144
+ },
145
+ "b3-12m": {
146
+ fontSize: 12,
147
+ fontWeight: 500,
148
+ lineHeight: 1.5,
149
+ letterSpacing: 0
150
+ },
151
+ "b3-12": {
152
+ fontSize: 12,
153
+ fontWeight: 400,
154
+ lineHeight: 1.5,
155
+ letterSpacing: 0
156
+ },
157
+ "s1-10b": {
158
+ fontSize: 10,
159
+ fontWeight: 700,
160
+ lineHeight: 1.5,
161
+ letterSpacing: 0
162
+ },
163
+ "s1-10m": {
164
+ fontSize: 10,
165
+ fontWeight: 500,
166
+ lineHeight: 1.5,
167
+ letterSpacing: 0
168
+ },
169
+ "s1-10": {
170
+ fontSize: 10,
171
+ fontWeight: 400,
172
+ lineHeight: 1.5,
173
+ letterSpacing: 0
174
+ }
175
+ };
176
+ // Annotate the CommonJS export names for ESM import in node:
177
+ 0 && (module.exports = {
178
+ color,
179
+ colorV2,
180
+ typo
181
+ });
182
+ //# sourceMappingURL=styles.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/styles/index.ts","../src/styles/color.ts","../src/styles/typo.ts"],"sourcesContent":["export * from './color';\nexport * from './typo';\n","const color = {\n primary: '#242535',\n primary2: '#9335FB',\n secondary: '#FADD32',\n bgColor: '#F3F4F6',\n error: '#EA2E2E',\n\n white: '#FFFFFF',\n black: '#111111',\n gray1: '#424242',\n gray2: '#616161',\n gray3: '#8E8E8E',\n gray4: '#BDBDBD',\n gray5: '#E0E0E0',\n gray6: '#EDEDED',\n} as const;\n\n/**\n * @deprecated use color instead (작명 실수 ㅠ)\n */\n\nconst colorV2 = color;\n\nexport { colorV2, color };\n","const typo = {\n 'h1-24b': {\n fontSize: 24,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h1-24m': {\n fontSize: 24,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h1-24': {\n fontSize: 24,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n\n 'h2-20b': {\n fontSize: 20,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h2-20m': {\n fontSize: 20,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h2-20': {\n fontSize: 20,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h3-18b': {\n fontSize: 18,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h3-18m': {\n fontSize: 18,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h3-18': {\n fontSize: 18,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b1-16b': {\n fontSize: 16,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b1-16m': {\n fontSize: 16,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b1-16': {\n fontSize: 16,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n\n 'b2-14b': {\n fontSize: 14,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b2-14m': {\n fontSize: 14,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b2-14': {\n fontSize: 14,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n\n 'b3-12b': {\n fontSize: 12,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b3-12m': {\n fontSize: 12,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b3-12': {\n fontSize: 12,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n\n 's1-10b': {\n fontSize: 10,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 's1-10m': {\n fontSize: 10,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 's1-10': {\n fontSize: 10,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n} as const;\n\nexport { typo };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,IAAM,QAAQ;AAAA,EACZ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;AAAA,EACjB;AAAA,EACA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EACA,SAAS;AAAA,IACP,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EAEA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EACA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EACA,SAAS;AAAA,IACP,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EAEA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EACA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EACA,SAAS;AAAA,IACP,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EAEA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EACA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EACA,SAAS;AAAA,IACP,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AACF;","names":[]}
@@ -0,0 +1,164 @@
1
+ declare const color: {
2
+ readonly primary: "#242535";
3
+ readonly primary2: "#9335FB";
4
+ readonly secondary: "#FADD32";
5
+ readonly bgColor: "#F3F4F6";
6
+ readonly error: "#EA2E2E";
7
+ readonly white: "#FFFFFF";
8
+ readonly black: "#111111";
9
+ readonly gray1: "#424242";
10
+ readonly gray2: "#616161";
11
+ readonly gray3: "#8E8E8E";
12
+ readonly gray4: "#BDBDBD";
13
+ readonly gray5: "#E0E0E0";
14
+ readonly gray6: "#EDEDED";
15
+ };
16
+ /**
17
+ * @deprecated use color instead (작명 실수 ㅠ)
18
+ */
19
+ declare const colorV2: {
20
+ readonly primary: "#242535";
21
+ readonly primary2: "#9335FB";
22
+ readonly secondary: "#FADD32";
23
+ readonly bgColor: "#F3F4F6";
24
+ readonly error: "#EA2E2E";
25
+ readonly white: "#FFFFFF";
26
+ readonly black: "#111111";
27
+ readonly gray1: "#424242";
28
+ readonly gray2: "#616161";
29
+ readonly gray3: "#8E8E8E";
30
+ readonly gray4: "#BDBDBD";
31
+ readonly gray5: "#E0E0E0";
32
+ readonly gray6: "#EDEDED";
33
+ };
34
+
35
+ declare const typo: {
36
+ readonly 'h1-24b': {
37
+ readonly fontSize: 24;
38
+ readonly fontWeight: 700;
39
+ readonly lineHeight: 1.5;
40
+ readonly letterSpacing: 0;
41
+ };
42
+ readonly 'h1-24m': {
43
+ readonly fontSize: 24;
44
+ readonly fontWeight: 500;
45
+ readonly lineHeight: 1.5;
46
+ readonly letterSpacing: 0;
47
+ };
48
+ readonly 'h1-24': {
49
+ readonly fontSize: 24;
50
+ readonly fontWeight: 400;
51
+ readonly lineHeight: 1.5;
52
+ readonly letterSpacing: 0;
53
+ };
54
+ readonly 'h2-20b': {
55
+ readonly fontSize: 20;
56
+ readonly fontWeight: 700;
57
+ readonly lineHeight: 1.5;
58
+ readonly letterSpacing: 0;
59
+ };
60
+ readonly 'h2-20m': {
61
+ readonly fontSize: 20;
62
+ readonly fontWeight: 500;
63
+ readonly lineHeight: 1.5;
64
+ readonly letterSpacing: 0;
65
+ };
66
+ readonly 'h2-20': {
67
+ readonly fontSize: 20;
68
+ readonly fontWeight: 400;
69
+ readonly lineHeight: 1.5;
70
+ readonly letterSpacing: 0;
71
+ };
72
+ readonly 'h3-18b': {
73
+ readonly fontSize: 18;
74
+ readonly fontWeight: 700;
75
+ readonly lineHeight: 1.5;
76
+ readonly letterSpacing: 0;
77
+ };
78
+ readonly 'h3-18m': {
79
+ readonly fontSize: 18;
80
+ readonly fontWeight: 500;
81
+ readonly lineHeight: 1.5;
82
+ readonly letterSpacing: 0;
83
+ };
84
+ readonly 'h3-18': {
85
+ readonly fontSize: 18;
86
+ readonly fontWeight: 400;
87
+ readonly lineHeight: 1.5;
88
+ readonly letterSpacing: 0;
89
+ };
90
+ readonly 'b1-16b': {
91
+ readonly fontSize: 16;
92
+ readonly fontWeight: 700;
93
+ readonly lineHeight: 1.5;
94
+ readonly letterSpacing: 0;
95
+ };
96
+ readonly 'b1-16m': {
97
+ readonly fontSize: 16;
98
+ readonly fontWeight: 500;
99
+ readonly lineHeight: 1.5;
100
+ readonly letterSpacing: 0;
101
+ };
102
+ readonly 'b1-16': {
103
+ readonly fontSize: 16;
104
+ readonly fontWeight: 400;
105
+ readonly lineHeight: 1.5;
106
+ readonly letterSpacing: 0;
107
+ };
108
+ readonly 'b2-14b': {
109
+ readonly fontSize: 14;
110
+ readonly fontWeight: 700;
111
+ readonly lineHeight: 1.5;
112
+ readonly letterSpacing: 0;
113
+ };
114
+ readonly 'b2-14m': {
115
+ readonly fontSize: 14;
116
+ readonly fontWeight: 500;
117
+ readonly lineHeight: 1.5;
118
+ readonly letterSpacing: 0;
119
+ };
120
+ readonly 'b2-14': {
121
+ readonly fontSize: 14;
122
+ readonly fontWeight: 400;
123
+ readonly lineHeight: 1.5;
124
+ readonly letterSpacing: 0;
125
+ };
126
+ readonly 'b3-12b': {
127
+ readonly fontSize: 12;
128
+ readonly fontWeight: 700;
129
+ readonly lineHeight: 1.5;
130
+ readonly letterSpacing: 0;
131
+ };
132
+ readonly 'b3-12m': {
133
+ readonly fontSize: 12;
134
+ readonly fontWeight: 500;
135
+ readonly lineHeight: 1.5;
136
+ readonly letterSpacing: 0;
137
+ };
138
+ readonly 'b3-12': {
139
+ readonly fontSize: 12;
140
+ readonly fontWeight: 400;
141
+ readonly lineHeight: 1.5;
142
+ readonly letterSpacing: 0;
143
+ };
144
+ readonly 's1-10b': {
145
+ readonly fontSize: 10;
146
+ readonly fontWeight: 700;
147
+ readonly lineHeight: 1.5;
148
+ readonly letterSpacing: 0;
149
+ };
150
+ readonly 's1-10m': {
151
+ readonly fontSize: 10;
152
+ readonly fontWeight: 500;
153
+ readonly lineHeight: 1.5;
154
+ readonly letterSpacing: 0;
155
+ };
156
+ readonly 's1-10': {
157
+ readonly fontSize: 10;
158
+ readonly fontWeight: 400;
159
+ readonly lineHeight: 1.5;
160
+ readonly letterSpacing: 0;
161
+ };
162
+ };
163
+
164
+ export { color, colorV2, typo };
@@ -0,0 +1,164 @@
1
+ declare const color: {
2
+ readonly primary: "#242535";
3
+ readonly primary2: "#9335FB";
4
+ readonly secondary: "#FADD32";
5
+ readonly bgColor: "#F3F4F6";
6
+ readonly error: "#EA2E2E";
7
+ readonly white: "#FFFFFF";
8
+ readonly black: "#111111";
9
+ readonly gray1: "#424242";
10
+ readonly gray2: "#616161";
11
+ readonly gray3: "#8E8E8E";
12
+ readonly gray4: "#BDBDBD";
13
+ readonly gray5: "#E0E0E0";
14
+ readonly gray6: "#EDEDED";
15
+ };
16
+ /**
17
+ * @deprecated use color instead (작명 실수 ㅠ)
18
+ */
19
+ declare const colorV2: {
20
+ readonly primary: "#242535";
21
+ readonly primary2: "#9335FB";
22
+ readonly secondary: "#FADD32";
23
+ readonly bgColor: "#F3F4F6";
24
+ readonly error: "#EA2E2E";
25
+ readonly white: "#FFFFFF";
26
+ readonly black: "#111111";
27
+ readonly gray1: "#424242";
28
+ readonly gray2: "#616161";
29
+ readonly gray3: "#8E8E8E";
30
+ readonly gray4: "#BDBDBD";
31
+ readonly gray5: "#E0E0E0";
32
+ readonly gray6: "#EDEDED";
33
+ };
34
+
35
+ declare const typo: {
36
+ readonly 'h1-24b': {
37
+ readonly fontSize: 24;
38
+ readonly fontWeight: 700;
39
+ readonly lineHeight: 1.5;
40
+ readonly letterSpacing: 0;
41
+ };
42
+ readonly 'h1-24m': {
43
+ readonly fontSize: 24;
44
+ readonly fontWeight: 500;
45
+ readonly lineHeight: 1.5;
46
+ readonly letterSpacing: 0;
47
+ };
48
+ readonly 'h1-24': {
49
+ readonly fontSize: 24;
50
+ readonly fontWeight: 400;
51
+ readonly lineHeight: 1.5;
52
+ readonly letterSpacing: 0;
53
+ };
54
+ readonly 'h2-20b': {
55
+ readonly fontSize: 20;
56
+ readonly fontWeight: 700;
57
+ readonly lineHeight: 1.5;
58
+ readonly letterSpacing: 0;
59
+ };
60
+ readonly 'h2-20m': {
61
+ readonly fontSize: 20;
62
+ readonly fontWeight: 500;
63
+ readonly lineHeight: 1.5;
64
+ readonly letterSpacing: 0;
65
+ };
66
+ readonly 'h2-20': {
67
+ readonly fontSize: 20;
68
+ readonly fontWeight: 400;
69
+ readonly lineHeight: 1.5;
70
+ readonly letterSpacing: 0;
71
+ };
72
+ readonly 'h3-18b': {
73
+ readonly fontSize: 18;
74
+ readonly fontWeight: 700;
75
+ readonly lineHeight: 1.5;
76
+ readonly letterSpacing: 0;
77
+ };
78
+ readonly 'h3-18m': {
79
+ readonly fontSize: 18;
80
+ readonly fontWeight: 500;
81
+ readonly lineHeight: 1.5;
82
+ readonly letterSpacing: 0;
83
+ };
84
+ readonly 'h3-18': {
85
+ readonly fontSize: 18;
86
+ readonly fontWeight: 400;
87
+ readonly lineHeight: 1.5;
88
+ readonly letterSpacing: 0;
89
+ };
90
+ readonly 'b1-16b': {
91
+ readonly fontSize: 16;
92
+ readonly fontWeight: 700;
93
+ readonly lineHeight: 1.5;
94
+ readonly letterSpacing: 0;
95
+ };
96
+ readonly 'b1-16m': {
97
+ readonly fontSize: 16;
98
+ readonly fontWeight: 500;
99
+ readonly lineHeight: 1.5;
100
+ readonly letterSpacing: 0;
101
+ };
102
+ readonly 'b1-16': {
103
+ readonly fontSize: 16;
104
+ readonly fontWeight: 400;
105
+ readonly lineHeight: 1.5;
106
+ readonly letterSpacing: 0;
107
+ };
108
+ readonly 'b2-14b': {
109
+ readonly fontSize: 14;
110
+ readonly fontWeight: 700;
111
+ readonly lineHeight: 1.5;
112
+ readonly letterSpacing: 0;
113
+ };
114
+ readonly 'b2-14m': {
115
+ readonly fontSize: 14;
116
+ readonly fontWeight: 500;
117
+ readonly lineHeight: 1.5;
118
+ readonly letterSpacing: 0;
119
+ };
120
+ readonly 'b2-14': {
121
+ readonly fontSize: 14;
122
+ readonly fontWeight: 400;
123
+ readonly lineHeight: 1.5;
124
+ readonly letterSpacing: 0;
125
+ };
126
+ readonly 'b3-12b': {
127
+ readonly fontSize: 12;
128
+ readonly fontWeight: 700;
129
+ readonly lineHeight: 1.5;
130
+ readonly letterSpacing: 0;
131
+ };
132
+ readonly 'b3-12m': {
133
+ readonly fontSize: 12;
134
+ readonly fontWeight: 500;
135
+ readonly lineHeight: 1.5;
136
+ readonly letterSpacing: 0;
137
+ };
138
+ readonly 'b3-12': {
139
+ readonly fontSize: 12;
140
+ readonly fontWeight: 400;
141
+ readonly lineHeight: 1.5;
142
+ readonly letterSpacing: 0;
143
+ };
144
+ readonly 's1-10b': {
145
+ readonly fontSize: 10;
146
+ readonly fontWeight: 700;
147
+ readonly lineHeight: 1.5;
148
+ readonly letterSpacing: 0;
149
+ };
150
+ readonly 's1-10m': {
151
+ readonly fontSize: 10;
152
+ readonly fontWeight: 500;
153
+ readonly lineHeight: 1.5;
154
+ readonly letterSpacing: 0;
155
+ };
156
+ readonly 's1-10': {
157
+ readonly fontSize: 10;
158
+ readonly fontWeight: 400;
159
+ readonly lineHeight: 1.5;
160
+ readonly letterSpacing: 0;
161
+ };
162
+ };
163
+
164
+ export { color, colorV2, typo };
package/dist/styles.js ADDED
@@ -0,0 +1,153 @@
1
+ // src/styles/color.ts
2
+ var color = {
3
+ primary: "#242535",
4
+ primary2: "#9335FB",
5
+ secondary: "#FADD32",
6
+ bgColor: "#F3F4F6",
7
+ error: "#EA2E2E",
8
+ white: "#FFFFFF",
9
+ black: "#111111",
10
+ gray1: "#424242",
11
+ gray2: "#616161",
12
+ gray3: "#8E8E8E",
13
+ gray4: "#BDBDBD",
14
+ gray5: "#E0E0E0",
15
+ gray6: "#EDEDED"
16
+ };
17
+ var colorV2 = color;
18
+
19
+ // src/styles/typo.ts
20
+ var typo = {
21
+ "h1-24b": {
22
+ fontSize: 24,
23
+ fontWeight: 700,
24
+ lineHeight: 1.5,
25
+ letterSpacing: 0
26
+ },
27
+ "h1-24m": {
28
+ fontSize: 24,
29
+ fontWeight: 500,
30
+ lineHeight: 1.5,
31
+ letterSpacing: 0
32
+ },
33
+ "h1-24": {
34
+ fontSize: 24,
35
+ fontWeight: 400,
36
+ lineHeight: 1.5,
37
+ letterSpacing: 0
38
+ },
39
+ "h2-20b": {
40
+ fontSize: 20,
41
+ fontWeight: 700,
42
+ lineHeight: 1.5,
43
+ letterSpacing: 0
44
+ },
45
+ "h2-20m": {
46
+ fontSize: 20,
47
+ fontWeight: 500,
48
+ lineHeight: 1.5,
49
+ letterSpacing: 0
50
+ },
51
+ "h2-20": {
52
+ fontSize: 20,
53
+ fontWeight: 400,
54
+ lineHeight: 1.5,
55
+ letterSpacing: 0
56
+ },
57
+ "h3-18b": {
58
+ fontSize: 18,
59
+ fontWeight: 700,
60
+ lineHeight: 1.5,
61
+ letterSpacing: 0
62
+ },
63
+ "h3-18m": {
64
+ fontSize: 18,
65
+ fontWeight: 500,
66
+ lineHeight: 1.5,
67
+ letterSpacing: 0
68
+ },
69
+ "h3-18": {
70
+ fontSize: 18,
71
+ fontWeight: 400,
72
+ lineHeight: 1.5,
73
+ letterSpacing: 0
74
+ },
75
+ "b1-16b": {
76
+ fontSize: 16,
77
+ fontWeight: 700,
78
+ lineHeight: 1.5,
79
+ letterSpacing: 0
80
+ },
81
+ "b1-16m": {
82
+ fontSize: 16,
83
+ fontWeight: 500,
84
+ lineHeight: 1.5,
85
+ letterSpacing: 0
86
+ },
87
+ "b1-16": {
88
+ fontSize: 16,
89
+ fontWeight: 400,
90
+ lineHeight: 1.5,
91
+ letterSpacing: 0
92
+ },
93
+ "b2-14b": {
94
+ fontSize: 14,
95
+ fontWeight: 700,
96
+ lineHeight: 1.5,
97
+ letterSpacing: 0
98
+ },
99
+ "b2-14m": {
100
+ fontSize: 14,
101
+ fontWeight: 500,
102
+ lineHeight: 1.5,
103
+ letterSpacing: 0
104
+ },
105
+ "b2-14": {
106
+ fontSize: 14,
107
+ fontWeight: 400,
108
+ lineHeight: 1.5,
109
+ letterSpacing: 0
110
+ },
111
+ "b3-12b": {
112
+ fontSize: 12,
113
+ fontWeight: 700,
114
+ lineHeight: 1.5,
115
+ letterSpacing: 0
116
+ },
117
+ "b3-12m": {
118
+ fontSize: 12,
119
+ fontWeight: 500,
120
+ lineHeight: 1.5,
121
+ letterSpacing: 0
122
+ },
123
+ "b3-12": {
124
+ fontSize: 12,
125
+ fontWeight: 400,
126
+ lineHeight: 1.5,
127
+ letterSpacing: 0
128
+ },
129
+ "s1-10b": {
130
+ fontSize: 10,
131
+ fontWeight: 700,
132
+ lineHeight: 1.5,
133
+ letterSpacing: 0
134
+ },
135
+ "s1-10m": {
136
+ fontSize: 10,
137
+ fontWeight: 500,
138
+ lineHeight: 1.5,
139
+ letterSpacing: 0
140
+ },
141
+ "s1-10": {
142
+ fontSize: 10,
143
+ fontWeight: 400,
144
+ lineHeight: 1.5,
145
+ letterSpacing: 0
146
+ }
147
+ };
148
+ export {
149
+ color,
150
+ colorV2,
151
+ typo
152
+ };
153
+ //# sourceMappingURL=styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/styles/color.ts","../src/styles/typo.ts"],"sourcesContent":["const color = {\n primary: '#242535',\n primary2: '#9335FB',\n secondary: '#FADD32',\n bgColor: '#F3F4F6',\n error: '#EA2E2E',\n\n white: '#FFFFFF',\n black: '#111111',\n gray1: '#424242',\n gray2: '#616161',\n gray3: '#8E8E8E',\n gray4: '#BDBDBD',\n gray5: '#E0E0E0',\n gray6: '#EDEDED',\n} as const;\n\n/**\n * @deprecated use color instead (작명 실수 ㅠ)\n */\n\nconst colorV2 = color;\n\nexport { colorV2, color };\n","const typo = {\n 'h1-24b': {\n fontSize: 24,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h1-24m': {\n fontSize: 24,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h1-24': {\n fontSize: 24,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n\n 'h2-20b': {\n fontSize: 20,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h2-20m': {\n fontSize: 20,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h2-20': {\n fontSize: 20,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h3-18b': {\n fontSize: 18,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h3-18m': {\n fontSize: 18,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'h3-18': {\n fontSize: 18,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b1-16b': {\n fontSize: 16,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b1-16m': {\n fontSize: 16,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b1-16': {\n fontSize: 16,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n\n 'b2-14b': {\n fontSize: 14,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b2-14m': {\n fontSize: 14,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b2-14': {\n fontSize: 14,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n\n 'b3-12b': {\n fontSize: 12,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b3-12m': {\n fontSize: 12,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 'b3-12': {\n fontSize: 12,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n\n 's1-10b': {\n fontSize: 10,\n fontWeight: 700,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 's1-10m': {\n fontSize: 10,\n fontWeight: 500,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n 's1-10': {\n fontSize: 10,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0,\n },\n} as const;\n\nexport { typo };\n"],"mappings":";AAAA,IAAM,QAAQ;AAAA,EACZ,SAAS;AAAA,EACT,UAAU;AAAA,EACV,WAAW;AAAA,EACX,SAAS;AAAA,EACT,OAAO;AAAA,EAEP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AACT;AAMA,IAAM,UAAU;;;ACrBhB,IAAM,OAAO;AAAA,EACX,UAAU;AAAA,IACR,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EACA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EACA,SAAS;AAAA,IACP,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EAEA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EACA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,YAAY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jB;AAAA,EACA,SAAS;AAAA,IACP,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EAEA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EACA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EACA,SAAS;AAAA,IACP,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AACF;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spoclip-kit",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "type": "module",
5
5
  "description": "TypeScript utility library for internal use",
6
6
  "files": [