spoclip-kit 1.2.0 → 1.3.1

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,9 +20,11 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
20
20
  // src/index.ts
21
21
  var src_exports = {};
22
22
  __export(src_exports, {
23
+ colorV2: () => colorV2,
23
24
  getClipVideoDownloadCost: () => getClipVideoDownloadCost,
24
25
  getRawVideoDownloadCost: () => getRawVideoDownloadCost,
25
- getVideoDownloadCost: () => getVideoDownloadCost
26
+ getVideoDownloadCost: () => getVideoDownloadCost,
27
+ typo: () => typo
26
28
  });
27
29
  module.exports = __toCommonJS(src_exports);
28
30
 
@@ -60,10 +62,159 @@ function getClipVideoDownloadCost({
60
62
  function getRawVideoDownloadCost() {
61
63
  return { cost: 20, isPlusFree: false };
62
64
  }
65
+
66
+ // src/styles/color.ts
67
+ var colorV2 = {
68
+ primary: "#242535",
69
+ primary2: "#2B2C3D",
70
+ secondary: "#38394D",
71
+ bgColor: "#F3F4F6",
72
+ error: "#EA2E2E",
73
+ white: "#FFFFFF",
74
+ black: "#111111",
75
+ gray1: "#424242",
76
+ gray2: "#616161",
77
+ gray3: "#8E8E8E",
78
+ gray4: "#BDBDBD",
79
+ gray5: "#E0E0E0",
80
+ gray6: "#EDEDED"
81
+ };
82
+
83
+ // src/styles/typo.ts
84
+ var typo = {
85
+ "h1-24b": {
86
+ fontSize: 24,
87
+ fontWeight: 700,
88
+ lineHeight: 1.5,
89
+ letterSpacing: 0
90
+ },
91
+ "h1-24m": {
92
+ fontSize: 24,
93
+ fontWeight: 500,
94
+ lineHeight: 1.5,
95
+ letterSpacing: 0
96
+ },
97
+ "h1-24": {
98
+ fontSize: 24,
99
+ fontWeight: 400,
100
+ lineHeight: 1.5,
101
+ letterSpacing: 0
102
+ },
103
+ "h2-20b": {
104
+ fontSize: 20,
105
+ fontWeight: 700,
106
+ lineHeight: 1.5,
107
+ letterSpacing: 0
108
+ },
109
+ "h2-20m": {
110
+ fontSize: 20,
111
+ fontWeight: 500,
112
+ lineHeight: 1.5,
113
+ letterSpacing: 0
114
+ },
115
+ "h2-20": {
116
+ fontSize: 20,
117
+ fontWeight: 400,
118
+ lineHeight: 1.5,
119
+ letterSpacing: 0
120
+ },
121
+ "h3-18b": {
122
+ fontSize: 18,
123
+ fontWeight: 700,
124
+ lineHeight: 1.5,
125
+ letterSpacing: 0
126
+ },
127
+ "h3-18m": {
128
+ fontSize: 18,
129
+ fontWeight: 500,
130
+ lineHeight: 1.5,
131
+ letterSpacing: 0
132
+ },
133
+ "h3-18": {
134
+ fontSize: 18,
135
+ fontWeight: 400,
136
+ lineHeight: 1.5,
137
+ letterSpacing: 0
138
+ },
139
+ "b1-16b": {
140
+ fontSize: 16,
141
+ fontWeight: 700,
142
+ lineHeight: 1.5,
143
+ letterSpacing: 0
144
+ },
145
+ "b1-16m": {
146
+ fontSize: 16,
147
+ fontWeight: 500,
148
+ lineHeight: 1.5,
149
+ letterSpacing: 0
150
+ },
151
+ "b1-16": {
152
+ fontSize: 16,
153
+ fontWeight: 400,
154
+ lineHeight: 1.5,
155
+ letterSpacing: 0
156
+ },
157
+ "b2-14b": {
158
+ fontSize: 14,
159
+ fontWeight: 700,
160
+ lineHeight: 1.5,
161
+ letterSpacing: 0
162
+ },
163
+ "b2-14m": {
164
+ fontSize: 14,
165
+ fontWeight: 500,
166
+ lineHeight: 1.5,
167
+ letterSpacing: 0
168
+ },
169
+ "b2-14": {
170
+ fontSize: 14,
171
+ fontWeight: 400,
172
+ lineHeight: 1.5,
173
+ letterSpacing: 0
174
+ },
175
+ "b3-12b": {
176
+ fontSize: 12,
177
+ fontWeight: 700,
178
+ lineHeight: 1.5,
179
+ letterSpacing: 0
180
+ },
181
+ "b3-12m": {
182
+ fontSize: 12,
183
+ fontWeight: 500,
184
+ lineHeight: 1.5,
185
+ letterSpacing: 0
186
+ },
187
+ "b3-12": {
188
+ fontSize: 12,
189
+ fontWeight: 400,
190
+ lineHeight: 1.5,
191
+ letterSpacing: 0
192
+ },
193
+ "s1-10b": {
194
+ fontSize: 10,
195
+ fontWeight: 700,
196
+ lineHeight: 1.5,
197
+ letterSpacing: 0
198
+ },
199
+ "s1-10m": {
200
+ fontSize: 10,
201
+ fontWeight: 500,
202
+ lineHeight: 1.5,
203
+ letterSpacing: 0
204
+ },
205
+ "s1-10": {
206
+ fontSize: 10,
207
+ fontWeight: 400,
208
+ lineHeight: 1.5,
209
+ letterSpacing: 0
210
+ }
211
+ };
63
212
  // Annotate the CommonJS export names for ESM import in node:
64
213
  0 && (module.exports = {
214
+ colorV2,
65
215
  getClipVideoDownloadCost,
66
216
  getRawVideoDownloadCost,
67
- getVideoDownloadCost
217
+ getVideoDownloadCost,
218
+ typo
68
219
  });
69
220
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts","../src/libs/cost.ts"],"sourcesContent":["// Main entry point for spoclip-kit\nexport * from './libs';\nexport * from './types';\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"],"mappings":";;;;;;;;;;;;;;;;;;;;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;","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 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,yBAA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ACZ,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/dist/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
1
  export { 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
+ export { colorV2, typo } from './styles.cjs';
package/dist/index.d.ts CHANGED
@@ -1,3 +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
+ export { colorV2, typo } from './styles.js';
package/dist/index.js CHANGED
@@ -32,9 +32,158 @@ function getClipVideoDownloadCost({
32
32
  function getRawVideoDownloadCost() {
33
33
  return { cost: 20, isPlusFree: false };
34
34
  }
35
+
36
+ // src/styles/color.ts
37
+ var colorV2 = {
38
+ primary: "#242535",
39
+ primary2: "#2B2C3D",
40
+ secondary: "#38394D",
41
+ bgColor: "#F3F4F6",
42
+ error: "#EA2E2E",
43
+ white: "#FFFFFF",
44
+ black: "#111111",
45
+ gray1: "#424242",
46
+ gray2: "#616161",
47
+ gray3: "#8E8E8E",
48
+ gray4: "#BDBDBD",
49
+ gray5: "#E0E0E0",
50
+ gray6: "#EDEDED"
51
+ };
52
+
53
+ // src/styles/typo.ts
54
+ var typo = {
55
+ "h1-24b": {
56
+ fontSize: 24,
57
+ fontWeight: 700,
58
+ lineHeight: 1.5,
59
+ letterSpacing: 0
60
+ },
61
+ "h1-24m": {
62
+ fontSize: 24,
63
+ fontWeight: 500,
64
+ lineHeight: 1.5,
65
+ letterSpacing: 0
66
+ },
67
+ "h1-24": {
68
+ fontSize: 24,
69
+ fontWeight: 400,
70
+ lineHeight: 1.5,
71
+ letterSpacing: 0
72
+ },
73
+ "h2-20b": {
74
+ fontSize: 20,
75
+ fontWeight: 700,
76
+ lineHeight: 1.5,
77
+ letterSpacing: 0
78
+ },
79
+ "h2-20m": {
80
+ fontSize: 20,
81
+ fontWeight: 500,
82
+ lineHeight: 1.5,
83
+ letterSpacing: 0
84
+ },
85
+ "h2-20": {
86
+ fontSize: 20,
87
+ fontWeight: 400,
88
+ lineHeight: 1.5,
89
+ letterSpacing: 0
90
+ },
91
+ "h3-18b": {
92
+ fontSize: 18,
93
+ fontWeight: 700,
94
+ lineHeight: 1.5,
95
+ letterSpacing: 0
96
+ },
97
+ "h3-18m": {
98
+ fontSize: 18,
99
+ fontWeight: 500,
100
+ lineHeight: 1.5,
101
+ letterSpacing: 0
102
+ },
103
+ "h3-18": {
104
+ fontSize: 18,
105
+ fontWeight: 400,
106
+ lineHeight: 1.5,
107
+ letterSpacing: 0
108
+ },
109
+ "b1-16b": {
110
+ fontSize: 16,
111
+ fontWeight: 700,
112
+ lineHeight: 1.5,
113
+ letterSpacing: 0
114
+ },
115
+ "b1-16m": {
116
+ fontSize: 16,
117
+ fontWeight: 500,
118
+ lineHeight: 1.5,
119
+ letterSpacing: 0
120
+ },
121
+ "b1-16": {
122
+ fontSize: 16,
123
+ fontWeight: 400,
124
+ lineHeight: 1.5,
125
+ letterSpacing: 0
126
+ },
127
+ "b2-14b": {
128
+ fontSize: 14,
129
+ fontWeight: 700,
130
+ lineHeight: 1.5,
131
+ letterSpacing: 0
132
+ },
133
+ "b2-14m": {
134
+ fontSize: 14,
135
+ fontWeight: 500,
136
+ lineHeight: 1.5,
137
+ letterSpacing: 0
138
+ },
139
+ "b2-14": {
140
+ fontSize: 14,
141
+ fontWeight: 400,
142
+ lineHeight: 1.5,
143
+ letterSpacing: 0
144
+ },
145
+ "b3-12b": {
146
+ fontSize: 12,
147
+ fontWeight: 700,
148
+ lineHeight: 1.5,
149
+ letterSpacing: 0
150
+ },
151
+ "b3-12m": {
152
+ fontSize: 12,
153
+ fontWeight: 500,
154
+ lineHeight: 1.5,
155
+ letterSpacing: 0
156
+ },
157
+ "b3-12": {
158
+ fontSize: 12,
159
+ fontWeight: 400,
160
+ lineHeight: 1.5,
161
+ letterSpacing: 0
162
+ },
163
+ "s1-10b": {
164
+ fontSize: 10,
165
+ fontWeight: 700,
166
+ lineHeight: 1.5,
167
+ letterSpacing: 0
168
+ },
169
+ "s1-10m": {
170
+ fontSize: 10,
171
+ fontWeight: 500,
172
+ lineHeight: 1.5,
173
+ letterSpacing: 0
174
+ },
175
+ "s1-10": {
176
+ fontSize: 10,
177
+ fontWeight: 400,
178
+ lineHeight: 1.5,
179
+ letterSpacing: 0
180
+ }
181
+ };
35
182
  export {
183
+ colorV2,
36
184
  getClipVideoDownloadCost,
37
185
  getRawVideoDownloadCost,
38
- getVideoDownloadCost
186
+ getVideoDownloadCost,
187
+ typo
39
188
  };
40
189
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/libs/cost.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"],"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;","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 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,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,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,179 @@
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
+ colorV2: () => colorV2,
24
+ typo: () => typo
25
+ });
26
+ module.exports = __toCommonJS(styles_exports);
27
+
28
+ // src/styles/color.ts
29
+ var colorV2 = {
30
+ primary: "#242535",
31
+ primary2: "#2B2C3D",
32
+ secondary: "#38394D",
33
+ bgColor: "#F3F4F6",
34
+ error: "#EA2E2E",
35
+ white: "#FFFFFF",
36
+ black: "#111111",
37
+ gray1: "#424242",
38
+ gray2: "#616161",
39
+ gray3: "#8E8E8E",
40
+ gray4: "#BDBDBD",
41
+ gray5: "#E0E0E0",
42
+ gray6: "#EDEDED"
43
+ };
44
+
45
+ // src/styles/typo.ts
46
+ var typo = {
47
+ "h1-24b": {
48
+ fontSize: 24,
49
+ fontWeight: 700,
50
+ lineHeight: 1.5,
51
+ letterSpacing: 0
52
+ },
53
+ "h1-24m": {
54
+ fontSize: 24,
55
+ fontWeight: 500,
56
+ lineHeight: 1.5,
57
+ letterSpacing: 0
58
+ },
59
+ "h1-24": {
60
+ fontSize: 24,
61
+ fontWeight: 400,
62
+ lineHeight: 1.5,
63
+ letterSpacing: 0
64
+ },
65
+ "h2-20b": {
66
+ fontSize: 20,
67
+ fontWeight: 700,
68
+ lineHeight: 1.5,
69
+ letterSpacing: 0
70
+ },
71
+ "h2-20m": {
72
+ fontSize: 20,
73
+ fontWeight: 500,
74
+ lineHeight: 1.5,
75
+ letterSpacing: 0
76
+ },
77
+ "h2-20": {
78
+ fontSize: 20,
79
+ fontWeight: 400,
80
+ lineHeight: 1.5,
81
+ letterSpacing: 0
82
+ },
83
+ "h3-18b": {
84
+ fontSize: 18,
85
+ fontWeight: 700,
86
+ lineHeight: 1.5,
87
+ letterSpacing: 0
88
+ },
89
+ "h3-18m": {
90
+ fontSize: 18,
91
+ fontWeight: 500,
92
+ lineHeight: 1.5,
93
+ letterSpacing: 0
94
+ },
95
+ "h3-18": {
96
+ fontSize: 18,
97
+ fontWeight: 400,
98
+ lineHeight: 1.5,
99
+ letterSpacing: 0
100
+ },
101
+ "b1-16b": {
102
+ fontSize: 16,
103
+ fontWeight: 700,
104
+ lineHeight: 1.5,
105
+ letterSpacing: 0
106
+ },
107
+ "b1-16m": {
108
+ fontSize: 16,
109
+ fontWeight: 500,
110
+ lineHeight: 1.5,
111
+ letterSpacing: 0
112
+ },
113
+ "b1-16": {
114
+ fontSize: 16,
115
+ fontWeight: 400,
116
+ lineHeight: 1.5,
117
+ letterSpacing: 0
118
+ },
119
+ "b2-14b": {
120
+ fontSize: 14,
121
+ fontWeight: 700,
122
+ lineHeight: 1.5,
123
+ letterSpacing: 0
124
+ },
125
+ "b2-14m": {
126
+ fontSize: 14,
127
+ fontWeight: 500,
128
+ lineHeight: 1.5,
129
+ letterSpacing: 0
130
+ },
131
+ "b2-14": {
132
+ fontSize: 14,
133
+ fontWeight: 400,
134
+ lineHeight: 1.5,
135
+ letterSpacing: 0
136
+ },
137
+ "b3-12b": {
138
+ fontSize: 12,
139
+ fontWeight: 700,
140
+ lineHeight: 1.5,
141
+ letterSpacing: 0
142
+ },
143
+ "b3-12m": {
144
+ fontSize: 12,
145
+ fontWeight: 500,
146
+ lineHeight: 1.5,
147
+ letterSpacing: 0
148
+ },
149
+ "b3-12": {
150
+ fontSize: 12,
151
+ fontWeight: 400,
152
+ lineHeight: 1.5,
153
+ letterSpacing: 0
154
+ },
155
+ "s1-10b": {
156
+ fontSize: 10,
157
+ fontWeight: 700,
158
+ lineHeight: 1.5,
159
+ letterSpacing: 0
160
+ },
161
+ "s1-10m": {
162
+ fontSize: 10,
163
+ fontWeight: 500,
164
+ lineHeight: 1.5,
165
+ letterSpacing: 0
166
+ },
167
+ "s1-10": {
168
+ fontSize: 10,
169
+ fontWeight: 400,
170
+ lineHeight: 1.5,
171
+ letterSpacing: 0
172
+ }
173
+ };
174
+ // Annotate the CommonJS export names for ESM import in node:
175
+ 0 && (module.exports = {
176
+ colorV2,
177
+ typo
178
+ });
179
+ //# 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 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;;;ACAA,IAAM,UAAU;AAAA,EACd,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;;;ACfA,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;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,EACA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EACA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,YA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,EACjB;AAAA,EACA,SAAS;AAAA,IACP,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AACF;","names":[]}
@@ -0,0 +1,146 @@
1
+ declare const colorV2: {
2
+ readonly primary: "#242535";
3
+ readonly primary2: "#2B2C3D";
4
+ readonly secondary: "#38394D";
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
+ declare const typo: {
18
+ readonly 'h1-24b': {
19
+ readonly fontSize: 24;
20
+ readonly fontWeight: 700;
21
+ readonly lineHeight: 1.5;
22
+ readonly letterSpacing: 0;
23
+ };
24
+ readonly 'h1-24m': {
25
+ readonly fontSize: 24;
26
+ readonly fontWeight: 500;
27
+ readonly lineHeight: 1.5;
28
+ readonly letterSpacing: 0;
29
+ };
30
+ readonly 'h1-24': {
31
+ readonly fontSize: 24;
32
+ readonly fontWeight: 400;
33
+ readonly lineHeight: 1.5;
34
+ readonly letterSpacing: 0;
35
+ };
36
+ readonly 'h2-20b': {
37
+ readonly fontSize: 20;
38
+ readonly fontWeight: 700;
39
+ readonly lineHeight: 1.5;
40
+ readonly letterSpacing: 0;
41
+ };
42
+ readonly 'h2-20m': {
43
+ readonly fontSize: 20;
44
+ readonly fontWeight: 500;
45
+ readonly lineHeight: 1.5;
46
+ readonly letterSpacing: 0;
47
+ };
48
+ readonly 'h2-20': {
49
+ readonly fontSize: 20;
50
+ readonly fontWeight: 400;
51
+ readonly lineHeight: 1.5;
52
+ readonly letterSpacing: 0;
53
+ };
54
+ readonly 'h3-18b': {
55
+ readonly fontSize: 18;
56
+ readonly fontWeight: 700;
57
+ readonly lineHeight: 1.5;
58
+ readonly letterSpacing: 0;
59
+ };
60
+ readonly 'h3-18m': {
61
+ readonly fontSize: 18;
62
+ readonly fontWeight: 500;
63
+ readonly lineHeight: 1.5;
64
+ readonly letterSpacing: 0;
65
+ };
66
+ readonly 'h3-18': {
67
+ readonly fontSize: 18;
68
+ readonly fontWeight: 400;
69
+ readonly lineHeight: 1.5;
70
+ readonly letterSpacing: 0;
71
+ };
72
+ readonly 'b1-16b': {
73
+ readonly fontSize: 16;
74
+ readonly fontWeight: 700;
75
+ readonly lineHeight: 1.5;
76
+ readonly letterSpacing: 0;
77
+ };
78
+ readonly 'b1-16m': {
79
+ readonly fontSize: 16;
80
+ readonly fontWeight: 500;
81
+ readonly lineHeight: 1.5;
82
+ readonly letterSpacing: 0;
83
+ };
84
+ readonly 'b1-16': {
85
+ readonly fontSize: 16;
86
+ readonly fontWeight: 400;
87
+ readonly lineHeight: 1.5;
88
+ readonly letterSpacing: 0;
89
+ };
90
+ readonly 'b2-14b': {
91
+ readonly fontSize: 14;
92
+ readonly fontWeight: 700;
93
+ readonly lineHeight: 1.5;
94
+ readonly letterSpacing: 0;
95
+ };
96
+ readonly 'b2-14m': {
97
+ readonly fontSize: 14;
98
+ readonly fontWeight: 500;
99
+ readonly lineHeight: 1.5;
100
+ readonly letterSpacing: 0;
101
+ };
102
+ readonly 'b2-14': {
103
+ readonly fontSize: 14;
104
+ readonly fontWeight: 400;
105
+ readonly lineHeight: 1.5;
106
+ readonly letterSpacing: 0;
107
+ };
108
+ readonly 'b3-12b': {
109
+ readonly fontSize: 12;
110
+ readonly fontWeight: 700;
111
+ readonly lineHeight: 1.5;
112
+ readonly letterSpacing: 0;
113
+ };
114
+ readonly 'b3-12m': {
115
+ readonly fontSize: 12;
116
+ readonly fontWeight: 500;
117
+ readonly lineHeight: 1.5;
118
+ readonly letterSpacing: 0;
119
+ };
120
+ readonly 'b3-12': {
121
+ readonly fontSize: 12;
122
+ readonly fontWeight: 400;
123
+ readonly lineHeight: 1.5;
124
+ readonly letterSpacing: 0;
125
+ };
126
+ readonly 's1-10b': {
127
+ readonly fontSize: 10;
128
+ readonly fontWeight: 700;
129
+ readonly lineHeight: 1.5;
130
+ readonly letterSpacing: 0;
131
+ };
132
+ readonly 's1-10m': {
133
+ readonly fontSize: 10;
134
+ readonly fontWeight: 500;
135
+ readonly lineHeight: 1.5;
136
+ readonly letterSpacing: 0;
137
+ };
138
+ readonly 's1-10': {
139
+ readonly fontSize: 10;
140
+ readonly fontWeight: 400;
141
+ readonly lineHeight: 1.5;
142
+ readonly letterSpacing: 0;
143
+ };
144
+ };
145
+
146
+ export { colorV2, typo };
@@ -0,0 +1,146 @@
1
+ declare const colorV2: {
2
+ readonly primary: "#242535";
3
+ readonly primary2: "#2B2C3D";
4
+ readonly secondary: "#38394D";
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
+ declare const typo: {
18
+ readonly 'h1-24b': {
19
+ readonly fontSize: 24;
20
+ readonly fontWeight: 700;
21
+ readonly lineHeight: 1.5;
22
+ readonly letterSpacing: 0;
23
+ };
24
+ readonly 'h1-24m': {
25
+ readonly fontSize: 24;
26
+ readonly fontWeight: 500;
27
+ readonly lineHeight: 1.5;
28
+ readonly letterSpacing: 0;
29
+ };
30
+ readonly 'h1-24': {
31
+ readonly fontSize: 24;
32
+ readonly fontWeight: 400;
33
+ readonly lineHeight: 1.5;
34
+ readonly letterSpacing: 0;
35
+ };
36
+ readonly 'h2-20b': {
37
+ readonly fontSize: 20;
38
+ readonly fontWeight: 700;
39
+ readonly lineHeight: 1.5;
40
+ readonly letterSpacing: 0;
41
+ };
42
+ readonly 'h2-20m': {
43
+ readonly fontSize: 20;
44
+ readonly fontWeight: 500;
45
+ readonly lineHeight: 1.5;
46
+ readonly letterSpacing: 0;
47
+ };
48
+ readonly 'h2-20': {
49
+ readonly fontSize: 20;
50
+ readonly fontWeight: 400;
51
+ readonly lineHeight: 1.5;
52
+ readonly letterSpacing: 0;
53
+ };
54
+ readonly 'h3-18b': {
55
+ readonly fontSize: 18;
56
+ readonly fontWeight: 700;
57
+ readonly lineHeight: 1.5;
58
+ readonly letterSpacing: 0;
59
+ };
60
+ readonly 'h3-18m': {
61
+ readonly fontSize: 18;
62
+ readonly fontWeight: 500;
63
+ readonly lineHeight: 1.5;
64
+ readonly letterSpacing: 0;
65
+ };
66
+ readonly 'h3-18': {
67
+ readonly fontSize: 18;
68
+ readonly fontWeight: 400;
69
+ readonly lineHeight: 1.5;
70
+ readonly letterSpacing: 0;
71
+ };
72
+ readonly 'b1-16b': {
73
+ readonly fontSize: 16;
74
+ readonly fontWeight: 700;
75
+ readonly lineHeight: 1.5;
76
+ readonly letterSpacing: 0;
77
+ };
78
+ readonly 'b1-16m': {
79
+ readonly fontSize: 16;
80
+ readonly fontWeight: 500;
81
+ readonly lineHeight: 1.5;
82
+ readonly letterSpacing: 0;
83
+ };
84
+ readonly 'b1-16': {
85
+ readonly fontSize: 16;
86
+ readonly fontWeight: 400;
87
+ readonly lineHeight: 1.5;
88
+ readonly letterSpacing: 0;
89
+ };
90
+ readonly 'b2-14b': {
91
+ readonly fontSize: 14;
92
+ readonly fontWeight: 700;
93
+ readonly lineHeight: 1.5;
94
+ readonly letterSpacing: 0;
95
+ };
96
+ readonly 'b2-14m': {
97
+ readonly fontSize: 14;
98
+ readonly fontWeight: 500;
99
+ readonly lineHeight: 1.5;
100
+ readonly letterSpacing: 0;
101
+ };
102
+ readonly 'b2-14': {
103
+ readonly fontSize: 14;
104
+ readonly fontWeight: 400;
105
+ readonly lineHeight: 1.5;
106
+ readonly letterSpacing: 0;
107
+ };
108
+ readonly 'b3-12b': {
109
+ readonly fontSize: 12;
110
+ readonly fontWeight: 700;
111
+ readonly lineHeight: 1.5;
112
+ readonly letterSpacing: 0;
113
+ };
114
+ readonly 'b3-12m': {
115
+ readonly fontSize: 12;
116
+ readonly fontWeight: 500;
117
+ readonly lineHeight: 1.5;
118
+ readonly letterSpacing: 0;
119
+ };
120
+ readonly 'b3-12': {
121
+ readonly fontSize: 12;
122
+ readonly fontWeight: 400;
123
+ readonly lineHeight: 1.5;
124
+ readonly letterSpacing: 0;
125
+ };
126
+ readonly 's1-10b': {
127
+ readonly fontSize: 10;
128
+ readonly fontWeight: 700;
129
+ readonly lineHeight: 1.5;
130
+ readonly letterSpacing: 0;
131
+ };
132
+ readonly 's1-10m': {
133
+ readonly fontSize: 10;
134
+ readonly fontWeight: 500;
135
+ readonly lineHeight: 1.5;
136
+ readonly letterSpacing: 0;
137
+ };
138
+ readonly 's1-10': {
139
+ readonly fontSize: 10;
140
+ readonly fontWeight: 400;
141
+ readonly lineHeight: 1.5;
142
+ readonly letterSpacing: 0;
143
+ };
144
+ };
145
+
146
+ export { colorV2, typo };
package/dist/styles.js ADDED
@@ -0,0 +1,151 @@
1
+ // src/styles/color.ts
2
+ var colorV2 = {
3
+ primary: "#242535",
4
+ primary2: "#2B2C3D",
5
+ secondary: "#38394D",
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
+
18
+ // src/styles/typo.ts
19
+ var typo = {
20
+ "h1-24b": {
21
+ fontSize: 24,
22
+ fontWeight: 700,
23
+ lineHeight: 1.5,
24
+ letterSpacing: 0
25
+ },
26
+ "h1-24m": {
27
+ fontSize: 24,
28
+ fontWeight: 500,
29
+ lineHeight: 1.5,
30
+ letterSpacing: 0
31
+ },
32
+ "h1-24": {
33
+ fontSize: 24,
34
+ fontWeight: 400,
35
+ lineHeight: 1.5,
36
+ letterSpacing: 0
37
+ },
38
+ "h2-20b": {
39
+ fontSize: 20,
40
+ fontWeight: 700,
41
+ lineHeight: 1.5,
42
+ letterSpacing: 0
43
+ },
44
+ "h2-20m": {
45
+ fontSize: 20,
46
+ fontWeight: 500,
47
+ lineHeight: 1.5,
48
+ letterSpacing: 0
49
+ },
50
+ "h2-20": {
51
+ fontSize: 20,
52
+ fontWeight: 400,
53
+ lineHeight: 1.5,
54
+ letterSpacing: 0
55
+ },
56
+ "h3-18b": {
57
+ fontSize: 18,
58
+ fontWeight: 700,
59
+ lineHeight: 1.5,
60
+ letterSpacing: 0
61
+ },
62
+ "h3-18m": {
63
+ fontSize: 18,
64
+ fontWeight: 500,
65
+ lineHeight: 1.5,
66
+ letterSpacing: 0
67
+ },
68
+ "h3-18": {
69
+ fontSize: 18,
70
+ fontWeight: 400,
71
+ lineHeight: 1.5,
72
+ letterSpacing: 0
73
+ },
74
+ "b1-16b": {
75
+ fontSize: 16,
76
+ fontWeight: 700,
77
+ lineHeight: 1.5,
78
+ letterSpacing: 0
79
+ },
80
+ "b1-16m": {
81
+ fontSize: 16,
82
+ fontWeight: 500,
83
+ lineHeight: 1.5,
84
+ letterSpacing: 0
85
+ },
86
+ "b1-16": {
87
+ fontSize: 16,
88
+ fontWeight: 400,
89
+ lineHeight: 1.5,
90
+ letterSpacing: 0
91
+ },
92
+ "b2-14b": {
93
+ fontSize: 14,
94
+ fontWeight: 700,
95
+ lineHeight: 1.5,
96
+ letterSpacing: 0
97
+ },
98
+ "b2-14m": {
99
+ fontSize: 14,
100
+ fontWeight: 500,
101
+ lineHeight: 1.5,
102
+ letterSpacing: 0
103
+ },
104
+ "b2-14": {
105
+ fontSize: 14,
106
+ fontWeight: 400,
107
+ lineHeight: 1.5,
108
+ letterSpacing: 0
109
+ },
110
+ "b3-12b": {
111
+ fontSize: 12,
112
+ fontWeight: 700,
113
+ lineHeight: 1.5,
114
+ letterSpacing: 0
115
+ },
116
+ "b3-12m": {
117
+ fontSize: 12,
118
+ fontWeight: 500,
119
+ lineHeight: 1.5,
120
+ letterSpacing: 0
121
+ },
122
+ "b3-12": {
123
+ fontSize: 12,
124
+ fontWeight: 400,
125
+ lineHeight: 1.5,
126
+ letterSpacing: 0
127
+ },
128
+ "s1-10b": {
129
+ fontSize: 10,
130
+ fontWeight: 700,
131
+ lineHeight: 1.5,
132
+ letterSpacing: 0
133
+ },
134
+ "s1-10m": {
135
+ fontSize: 10,
136
+ fontWeight: 500,
137
+ lineHeight: 1.5,
138
+ letterSpacing: 0
139
+ },
140
+ "s1-10": {
141
+ fontSize: 10,
142
+ fontWeight: 400,
143
+ lineHeight: 1.5,
144
+ letterSpacing: 0
145
+ }
146
+ };
147
+ export {
148
+ colorV2,
149
+ typo
150
+ };
151
+ //# sourceMappingURL=styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/styles/color.ts","../src/styles/typo.ts"],"sourcesContent":["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,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":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spoclip-kit",
3
- "version": "1.2.0",
3
+ "version": "1.3.1",
4
4
  "type": "module",
5
5
  "description": "TypeScript utility library for internal use",
6
6
  "files": [
@@ -39,6 +39,16 @@
39
39
  "types": "./dist/types.d.cts",
40
40
  "default": "./dist/types.cjs"
41
41
  }
42
+ },
43
+ "./styles": {
44
+ "import": {
45
+ "types": "./dist/styles.d.ts",
46
+ "default": "./dist/styles.js"
47
+ },
48
+ "require": {
49
+ "types": "./dist/styles.d.cts",
50
+ "default": "./dist/styles.cjs"
51
+ }
42
52
  }
43
53
  },
44
54
  "scripts": {