@bstage-sdk/design 0.8.0 → 0.8.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 ADDED
@@ -0,0 +1,18 @@
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 __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+
16
+ // src/index.ts
17
+ var src_exports = {};
18
+ module.exports = __toCommonJS(src_exports);
@@ -0,0 +1,25 @@
1
+ /** Light / Dark 값 쌍 (테마 대응 색·그림자) */
2
+ interface ColorPair {
3
+ light: string;
4
+ dark: string;
5
+ }
6
+ /** 그림자 값 쌍 */
7
+ interface ShadowPair {
8
+ light: string;
9
+ dark: string;
10
+ }
11
+ /** 타이포그래피 값 (font-weight 제외 — weight는 별도) */
12
+ interface TypographyValue {
13
+ fontSize: string;
14
+ lineHeight: string;
15
+ letterSpacing: string;
16
+ }
17
+ /** textStyle() 반환 — 인라인 스타일 객체 */
18
+ interface TextStyleResult {
19
+ fontSize: string;
20
+ lineHeight: string;
21
+ fontWeight: number;
22
+ letterSpacing: string;
23
+ }
24
+
25
+ export type { ColorPair, ShadowPair, TextStyleResult, TypographyValue };
@@ -0,0 +1,25 @@
1
+ /** Light / Dark 값 쌍 (테마 대응 색·그림자) */
2
+ interface ColorPair {
3
+ light: string;
4
+ dark: string;
5
+ }
6
+ /** 그림자 값 쌍 */
7
+ interface ShadowPair {
8
+ light: string;
9
+ dark: string;
10
+ }
11
+ /** 타이포그래피 값 (font-weight 제외 — weight는 별도) */
12
+ interface TypographyValue {
13
+ fontSize: string;
14
+ lineHeight: string;
15
+ letterSpacing: string;
16
+ }
17
+ /** textStyle() 반환 — 인라인 스타일 객체 */
18
+ interface TextStyleResult {
19
+ fontSize: string;
20
+ lineHeight: string;
21
+ fontWeight: number;
22
+ letterSpacing: string;
23
+ }
24
+
25
+ export type { ColorPair, ShadowPair, TextStyleResult, TypographyValue };
package/dist/index.js ADDED
File without changes