@spectrabrain/eds 0.0.4 → 0.1.0
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/AI.md +41 -18
- package/AI_CONTEXT.json +159 -0
- package/CHANGELOG.md +58 -0
- package/CONSUMER_AGENT.md +230 -0
- package/QUICKSTART.md +47 -0
- package/README.md +28 -10
- package/TAILWIND_V4.md +129 -180
- package/TOKEN_CONTEXT.md +71 -0
- package/consumer/cli.mjs +107 -0
- package/consumer/css-root.mjs +239 -0
- package/consumer/doctor.mjs +178 -0
- package/consumer/generate-tailwind.mjs +83 -0
- package/consumer/init.mjs +172 -0
- package/consumer/managed-block.mjs +120 -0
- package/consumer/paths.mjs +211 -0
- package/consumer/register-scripts.mjs +124 -0
- package/consumer/scan-classes.mjs +70 -0
- package/consumer/sync.mjs +133 -0
- package/consumer/update-agent-context.mjs +87 -0
- package/consumer-postinstall.mjs +59 -0
- package/dist/base.css +4 -0
- package/dist/components/Button/README.md +24 -5
- package/dist/components/Button/spec.json +58 -1
- package/dist/components.css +0 -2
- package/dist/index.d.mts +38 -1
- package/dist/index.d.ts +38 -1
- package/dist/index.js +34 -6250
- package/dist/index.mjs +36 -6252
- package/dist/styles.css +1 -0
- package/dist/tokens.d.mts +2 -2
- package/dist/tokens.d.ts +2 -2
- package/dist/tokens.js +6 -7
- package/dist/tokens.mjs +6 -7
- package/llms.txt +15 -8
- package/package.json +31 -2
package/dist/styles.css
CHANGED
package/dist/tokens.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
type SemanticTokenName = "color-bg-brand-primary" | "color-bg-brand-primary-hover" | "color-bg-brand-weak" | "color-bg-brand-weak-hover" | "color-bg-critical-primary" | "color-bg-critical-primary-hover" | "color-bg-critical-weak" | "color-bg-critical-weak-hover" | "color-bg-disabled" | "color-bg-informative-primary" | "color-bg-informative-primary-hover" | "color-bg-informative-weak" | "color-bg-informative-weak-hover" | "color-bg-layer-basement" | "color-bg-layer-basement-hover" | "color-bg-layer-default" | "color-bg-layer-default-hover" | "color-bg-layer-floating" | "color-bg-layer-floating-hover" | "color-bg-neutral-inverted" | "color-bg-neutral-inverted-hover" | "color-bg-neutral-primary" | "color-bg-neutral-primary-hover" | "color-bg-neutral-weak" | "color-bg-neutral-weak-hover" | "color-bg-positive-primary" | "color-bg-positive-primary-hover" | "color-bg-positive-weak" | "color-bg-positive-weak-hover" | "color-bg-transparent" | "color-bg-transparent-hover" | "color-bg-warning-primary" | "color-bg-warning-primary-hover" | "color-bg-warning-weak" | "color-bg-warning-weak-hover" | "color-fg-brand" | "color-fg-brand-contrast" | "color-fg-critical" | "color-fg-critical-contrast" | "color-fg-disabled" | "color-fg-focus" | "color-fg-informative" | "color-fg-informative-contrast" | "color-fg-neutral" | "color-fg-neutral-inverted" | "color-fg-neutral-secondary" | "color-fg-neutral-tertiary" | "color-fg-placeholder" | "color-fg-positive" | "color-fg-positive-contrast" | "color-fg-warning" | "color-fg-warning-contrast" | "color-stroke-brand-primary" | "color-stroke-brand-weak" | "color-stroke-critical-primary" | "color-stroke-critical-weak" | "color-stroke-focusRing" | "color-stroke-informative-primary" | "color-stroke-informative-weak" | "color-stroke-neutral-contrast" | "color-stroke-neutral-primary" | "color-stroke-neutral-secondary" | "color-stroke-neutral-tertiary" | "color-stroke-neutral-weak" | "color-stroke-positive-primary" | "color-stroke-positive-weak" | "color-stroke-warning-primary" | "color-stroke-warning-weak" | "typography-body1-fontFamily" | "typography-body1-fontSize" | "typography-body1-fontWeight" | "typography-body1-letterSpacing" | "typography-body1-lineHeight" | "typography-body2-fontFamily" | "typography-body2-fontSize" | "typography-body2-fontWeight" | "typography-body2-letterSpacing" | "typography-body2-lineHeight" | "typography-body3-fontFamily" | "typography-body3-fontSize" | "typography-body3-fontWeight" | "typography-body3-letterSpacing" | "typography-body3-lineHeight" | "typography-body4-fontFamily" | "typography-body4-fontSize" | "typography-body4-fontWeight" | "typography-body4-letterSpacing" | "typography-body4-lineHeight" | "typography-caption1-fontFamily" | "typography-caption1-fontSize" | "typography-caption1-fontWeight" | "typography-caption1-letterSpacing" | "typography-caption1-lineHeight" | "typography-caption2-fontFamily" | "typography-caption2-fontSize" | "typography-caption2-fontWeight" | "typography-caption2-letterSpacing" | "typography-caption2-lineHeight" | "typography-caption3-fontFamily" | "typography-caption3-fontSize" | "typography-caption3-fontWeight" | "typography-caption3-letterSpacing" | "typography-caption3-lineHeight" | "typography-display1-fontFamily" | "typography-display1-fontSize" | "typography-display1-fontWeight" | "typography-display1-letterSpacing" | "typography-display1-lineHeight" | "typography-display2-fontFamily" | "typography-display2-fontSize" | "typography-display2-fontWeight" | "typography-display2-letterSpacing" | "typography-display2-lineHeight" | "typography-heading1-fontFamily" | "typography-heading1-fontSize" | "typography-heading1-fontWeight" | "typography-heading1-letterSpacing" | "typography-heading1-lineHeight" | "typography-heading2-fontFamily" | "typography-heading2-fontSize" | "typography-heading2-fontWeight" | "typography-heading2-letterSpacing" | "typography-heading2-lineHeight" | "typography-heading3-fontFamily" | "typography-heading3-fontSize" | "typography-heading3-fontWeight" | "typography-heading3-letterSpacing" | "typography-heading3-lineHeight" | "typography-heading4-fontFamily" | "typography-heading4-fontSize" | "typography-heading4-fontWeight" | "typography-heading4-letterSpacing" | "typography-heading4-lineHeight" | "typography-title1-fontFamily" | "typography-title1-fontSize" | "typography-title1-fontWeight" | "typography-title1-letterSpacing" | "typography-title1-lineHeight" | "typography-title2-fontFamily" | "typography-title2-fontSize" | "typography-title2-fontWeight" | "typography-title2-letterSpacing" | "typography-title2-lineHeight" | "typography-title3-fontFamily" | "typography-title3-fontSize" | "typography-title3-fontWeight" | "typography-title3-letterSpacing" | "typography-title3-lineHeight" | "typography-title4-fontFamily" | "typography-title4-fontSize" | "typography-title4-fontWeight" | "typography-title4-letterSpacing" | "typography-title4-lineHeight";
|
|
2
2
|
type SemanticTokenType = "color" | "dimension" | "fontFamily" | "fontWeight";
|
|
3
|
-
type SemanticTokenCssVariable =
|
|
4
|
-
type SemanticTokenCssReference =
|
|
3
|
+
type SemanticTokenCssVariable = `--eds-${SemanticTokenName}`;
|
|
4
|
+
type SemanticTokenCssReference = `var(${SemanticTokenCssVariable})`;
|
|
5
5
|
interface SemanticToken {
|
|
6
6
|
readonly name: SemanticTokenName;
|
|
7
7
|
readonly type: SemanticTokenType;
|
package/dist/tokens.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
type SemanticTokenName = "color-bg-brand-primary" | "color-bg-brand-primary-hover" | "color-bg-brand-weak" | "color-bg-brand-weak-hover" | "color-bg-critical-primary" | "color-bg-critical-primary-hover" | "color-bg-critical-weak" | "color-bg-critical-weak-hover" | "color-bg-disabled" | "color-bg-informative-primary" | "color-bg-informative-primary-hover" | "color-bg-informative-weak" | "color-bg-informative-weak-hover" | "color-bg-layer-basement" | "color-bg-layer-basement-hover" | "color-bg-layer-default" | "color-bg-layer-default-hover" | "color-bg-layer-floating" | "color-bg-layer-floating-hover" | "color-bg-neutral-inverted" | "color-bg-neutral-inverted-hover" | "color-bg-neutral-primary" | "color-bg-neutral-primary-hover" | "color-bg-neutral-weak" | "color-bg-neutral-weak-hover" | "color-bg-positive-primary" | "color-bg-positive-primary-hover" | "color-bg-positive-weak" | "color-bg-positive-weak-hover" | "color-bg-transparent" | "color-bg-transparent-hover" | "color-bg-warning-primary" | "color-bg-warning-primary-hover" | "color-bg-warning-weak" | "color-bg-warning-weak-hover" | "color-fg-brand" | "color-fg-brand-contrast" | "color-fg-critical" | "color-fg-critical-contrast" | "color-fg-disabled" | "color-fg-focus" | "color-fg-informative" | "color-fg-informative-contrast" | "color-fg-neutral" | "color-fg-neutral-inverted" | "color-fg-neutral-secondary" | "color-fg-neutral-tertiary" | "color-fg-placeholder" | "color-fg-positive" | "color-fg-positive-contrast" | "color-fg-warning" | "color-fg-warning-contrast" | "color-stroke-brand-primary" | "color-stroke-brand-weak" | "color-stroke-critical-primary" | "color-stroke-critical-weak" | "color-stroke-focusRing" | "color-stroke-informative-primary" | "color-stroke-informative-weak" | "color-stroke-neutral-contrast" | "color-stroke-neutral-primary" | "color-stroke-neutral-secondary" | "color-stroke-neutral-tertiary" | "color-stroke-neutral-weak" | "color-stroke-positive-primary" | "color-stroke-positive-weak" | "color-stroke-warning-primary" | "color-stroke-warning-weak" | "typography-body1-fontFamily" | "typography-body1-fontSize" | "typography-body1-fontWeight" | "typography-body1-letterSpacing" | "typography-body1-lineHeight" | "typography-body2-fontFamily" | "typography-body2-fontSize" | "typography-body2-fontWeight" | "typography-body2-letterSpacing" | "typography-body2-lineHeight" | "typography-body3-fontFamily" | "typography-body3-fontSize" | "typography-body3-fontWeight" | "typography-body3-letterSpacing" | "typography-body3-lineHeight" | "typography-body4-fontFamily" | "typography-body4-fontSize" | "typography-body4-fontWeight" | "typography-body4-letterSpacing" | "typography-body4-lineHeight" | "typography-caption1-fontFamily" | "typography-caption1-fontSize" | "typography-caption1-fontWeight" | "typography-caption1-letterSpacing" | "typography-caption1-lineHeight" | "typography-caption2-fontFamily" | "typography-caption2-fontSize" | "typography-caption2-fontWeight" | "typography-caption2-letterSpacing" | "typography-caption2-lineHeight" | "typography-caption3-fontFamily" | "typography-caption3-fontSize" | "typography-caption3-fontWeight" | "typography-caption3-letterSpacing" | "typography-caption3-lineHeight" | "typography-display1-fontFamily" | "typography-display1-fontSize" | "typography-display1-fontWeight" | "typography-display1-letterSpacing" | "typography-display1-lineHeight" | "typography-display2-fontFamily" | "typography-display2-fontSize" | "typography-display2-fontWeight" | "typography-display2-letterSpacing" | "typography-display2-lineHeight" | "typography-heading1-fontFamily" | "typography-heading1-fontSize" | "typography-heading1-fontWeight" | "typography-heading1-letterSpacing" | "typography-heading1-lineHeight" | "typography-heading2-fontFamily" | "typography-heading2-fontSize" | "typography-heading2-fontWeight" | "typography-heading2-letterSpacing" | "typography-heading2-lineHeight" | "typography-heading3-fontFamily" | "typography-heading3-fontSize" | "typography-heading3-fontWeight" | "typography-heading3-letterSpacing" | "typography-heading3-lineHeight" | "typography-heading4-fontFamily" | "typography-heading4-fontSize" | "typography-heading4-fontWeight" | "typography-heading4-letterSpacing" | "typography-heading4-lineHeight" | "typography-title1-fontFamily" | "typography-title1-fontSize" | "typography-title1-fontWeight" | "typography-title1-letterSpacing" | "typography-title1-lineHeight" | "typography-title2-fontFamily" | "typography-title2-fontSize" | "typography-title2-fontWeight" | "typography-title2-letterSpacing" | "typography-title2-lineHeight" | "typography-title3-fontFamily" | "typography-title3-fontSize" | "typography-title3-fontWeight" | "typography-title3-letterSpacing" | "typography-title3-lineHeight" | "typography-title4-fontFamily" | "typography-title4-fontSize" | "typography-title4-fontWeight" | "typography-title4-letterSpacing" | "typography-title4-lineHeight";
|
|
2
2
|
type SemanticTokenType = "color" | "dimension" | "fontFamily" | "fontWeight";
|
|
3
|
-
type SemanticTokenCssVariable =
|
|
4
|
-
type SemanticTokenCssReference =
|
|
3
|
+
type SemanticTokenCssVariable = `--eds-${SemanticTokenName}`;
|
|
4
|
+
type SemanticTokenCssReference = `var(${SemanticTokenCssVariable})`;
|
|
5
5
|
interface SemanticToken {
|
|
6
6
|
readonly name: SemanticTokenName;
|
|
7
7
|
readonly type: SemanticTokenType;
|
package/dist/tokens.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
// src/generated/tokens.ts
|
|
4
|
-
var tokenMap = {
|
|
4
|
+
var tokenMap = /* @__PURE__ */ Object.freeze({
|
|
5
5
|
"color-bg-brand-primary": {
|
|
6
6
|
"name": "color-bg-brand-primary",
|
|
7
7
|
"type": "color",
|
|
@@ -1141,9 +1141,9 @@ var tokenMap = {
|
|
|
1141
1141
|
},
|
|
1142
1142
|
"cssVariable": "--eds-typography-title4-lineHeight"
|
|
1143
1143
|
}
|
|
1144
|
-
};
|
|
1145
|
-
var tokens =
|
|
1146
|
-
var tokenNames = Object.freeze([
|
|
1144
|
+
});
|
|
1145
|
+
var tokens = tokenMap;
|
|
1146
|
+
var tokenNames = /* @__PURE__ */ Object.freeze([
|
|
1147
1147
|
"color-bg-brand-primary",
|
|
1148
1148
|
"color-bg-brand-primary-hover",
|
|
1149
1149
|
"color-bg-brand-weak",
|
|
@@ -1299,11 +1299,10 @@ var tokenNames = Object.freeze([
|
|
|
1299
1299
|
"typography-title4-lineHeight"
|
|
1300
1300
|
]);
|
|
1301
1301
|
function cssVar(name) {
|
|
1302
|
-
|
|
1303
|
-
if (!token) {
|
|
1302
|
+
if (!tokenNames.includes(name)) {
|
|
1304
1303
|
throw new Error("Unknown semantic token: " + name);
|
|
1305
1304
|
}
|
|
1306
|
-
return "var(" +
|
|
1305
|
+
return "var(--eds-" + name + ")";
|
|
1307
1306
|
}
|
|
1308
1307
|
|
|
1309
1308
|
exports.cssVar = cssVar;
|
package/dist/tokens.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/generated/tokens.ts
|
|
2
|
-
var tokenMap = {
|
|
2
|
+
var tokenMap = /* @__PURE__ */ Object.freeze({
|
|
3
3
|
"color-bg-brand-primary": {
|
|
4
4
|
"name": "color-bg-brand-primary",
|
|
5
5
|
"type": "color",
|
|
@@ -1139,9 +1139,9 @@ var tokenMap = {
|
|
|
1139
1139
|
},
|
|
1140
1140
|
"cssVariable": "--eds-typography-title4-lineHeight"
|
|
1141
1141
|
}
|
|
1142
|
-
};
|
|
1143
|
-
var tokens =
|
|
1144
|
-
var tokenNames = Object.freeze([
|
|
1142
|
+
});
|
|
1143
|
+
var tokens = tokenMap;
|
|
1144
|
+
var tokenNames = /* @__PURE__ */ Object.freeze([
|
|
1145
1145
|
"color-bg-brand-primary",
|
|
1146
1146
|
"color-bg-brand-primary-hover",
|
|
1147
1147
|
"color-bg-brand-weak",
|
|
@@ -1297,11 +1297,10 @@ var tokenNames = Object.freeze([
|
|
|
1297
1297
|
"typography-title4-lineHeight"
|
|
1298
1298
|
]);
|
|
1299
1299
|
function cssVar(name) {
|
|
1300
|
-
|
|
1301
|
-
if (!token) {
|
|
1300
|
+
if (!tokenNames.includes(name)) {
|
|
1302
1301
|
throw new Error("Unknown semantic token: " + name);
|
|
1303
1302
|
}
|
|
1304
|
-
return "var(" +
|
|
1303
|
+
return "var(--eds-" + name + ")";
|
|
1305
1304
|
}
|
|
1306
1305
|
|
|
1307
1306
|
export { cssVar, tokenNames, tokens };
|
package/llms.txt
CHANGED
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
# EVA Design System AI 문서 인덱스
|
|
2
2
|
|
|
3
|
-
이 패키지는 React 웹용 EVA 디자인 시스템입니다. 다음 순서로 문서를 읽습니다.
|
|
3
|
+
이 패키지는 React 웹용 EVA 디자인 시스템입니다. 소비처 AI는 `require.resolve("@spectrabrain/eds/package.json")`로 설치된 package root를 찾은 뒤 다음 순서로 문서를 읽습니다. 아래 경로는 모두 package root 기준 파일 경로입니다. 필수 읽기는 1번 하나이며 나머지는 조건에 해당할 때만 읽습니다. 읽기 순서와 조건의 기계용 원천은 `AI_CONTEXT.json`의 `readOrder`이며, 이 문서와 다르면 `AI_CONTEXT.json`을 따릅니다.
|
|
4
4
|
|
|
5
|
-
1.
|
|
6
|
-
2.
|
|
7
|
-
3.
|
|
8
|
-
4.
|
|
9
|
-
5.
|
|
10
|
-
6.
|
|
5
|
+
1. `QUICKSTART.md`: 규칙, 명령, 더 읽을 문서의 조건입니다. 필수입니다.
|
|
6
|
+
2. `CONSUMER_AGENT.md`: setup·sync·doctor를 다룰 때 managed block, 패키지 매니저별 `init`, font 정책, 보고 형식을 확인합니다.
|
|
7
|
+
3. `AI.md`: 공개 범위와 금지 사례를 확인할 때 읽습니다.
|
|
8
|
+
4. `TOKEN_CONTEXT.md`: token을 직접 고를 때 semantic color·typography의 역할을 확인합니다.
|
|
9
|
+
5. `TAILWIND_V4.md`: Tailwind CSS v4에서 token을 사용할 때 읽습니다.
|
|
10
|
+
6. `dist/tokens.json`: token, CSS variable, Tailwind alias를 고를 때 설치된 버전의 공개 token 이름을 확인합니다.
|
|
11
|
+
7. `dist/components/Button/README.md`: Button을 사용할 때 개요·사용 맥락·API를 읽습니다.
|
|
12
|
+
8. `dist/components/Button/spec.json`: Button API나 접근성 동작을 구현할 때 허용 조합, 접근성 계약, `api.iconNames` 아이콘 목록을 확인합니다.
|
|
13
|
+
9. `CHANGELOG.md`: EDS 버전을 올린 뒤 바뀐 내용을 확인할 때 읽습니다.
|
|
11
14
|
|
|
12
|
-
|
|
15
|
+
설치 방법과 CSS 진입점은 `README.md`에서 확인합니다. `dist/` 아래 파일은 `@spectrabrain/eds/tokens.json`, `@spectrabrain/eds/components/Button/spec.json`처럼 `dist/`를 뗀 export 경로로도 읽을 수 있습니다.
|
|
16
|
+
|
|
17
|
+
npm 10·11에서는 EDS `postinstall`이 소비처 `package.json`에 `sync:eds`·`eds:doctor` script를 등록하고, 그 밖의 환경에서는 `npx @spectrabrain/eds init`이 같은 script를 등록합니다. 설치·업데이트 후 소비처는 `npm run sync:eds`를 명시적으로 실행해 Tailwind root CSS import, Tailwind alias, `AGENTS.md` managed block을 갱신하며, `npm run eds:doctor`로 동기화 상태를 점검합니다. EDS text style은 `@spectrabrain/eds/fonts.css`가 선언하는 font family를 참조하므로 `styles.css` 또는 `fonts.css` import를 생략하지 않습니다.
|
|
18
|
+
|
|
19
|
+
문서에 없는 API나 시각 상태를 추측하지 않습니다. 구현보다 공개 문서와 TypeScript contract를 우선합니다.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spectrabrain/eds",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "EVA services' shared React design system",
|
|
5
5
|
"author": "SpectraBrain",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -8,14 +8,31 @@
|
|
|
8
8
|
"main": "./dist/index.js",
|
|
9
9
|
"module": "./dist/index.mjs",
|
|
10
10
|
"types": "./dist/index.d.ts",
|
|
11
|
+
"typesVersions": {
|
|
12
|
+
"*": {
|
|
13
|
+
"tokens": [
|
|
14
|
+
"./dist/tokens.d.ts"
|
|
15
|
+
]
|
|
16
|
+
}
|
|
17
|
+
},
|
|
11
18
|
"files": [
|
|
12
19
|
"dist",
|
|
13
20
|
"README.md",
|
|
14
21
|
"AI.md",
|
|
22
|
+
"AI_CONTEXT.json",
|
|
23
|
+
"CONSUMER_AGENT.md",
|
|
24
|
+
"TOKEN_CONTEXT.md",
|
|
15
25
|
"llms.txt",
|
|
16
26
|
"TAILWIND_V4.md",
|
|
27
|
+
"QUICKSTART.md",
|
|
28
|
+
"CHANGELOG.md",
|
|
29
|
+
"consumer-postinstall.mjs",
|
|
30
|
+
"consumer",
|
|
17
31
|
"NOTICE"
|
|
18
32
|
],
|
|
33
|
+
"bin": {
|
|
34
|
+
"eds": "./consumer/cli.mjs"
|
|
35
|
+
},
|
|
19
36
|
"scripts": {
|
|
20
37
|
"tokens:generate": "tsx scripts/build-tokens.ts",
|
|
21
38
|
"components:generate": "tsx scripts/build-components.ts",
|
|
@@ -23,6 +40,7 @@
|
|
|
23
40
|
"tokens:validate": "tsx scripts/build-tokens.ts --validate",
|
|
24
41
|
"tokens:connectivity": "tsx scripts/check-token-connectivity.ts",
|
|
25
42
|
"tokens:connectivity:strict": "npm run tokens:connectivity -- --strict",
|
|
43
|
+
"tokens:contrast": "npm run tokens:generate && tsx scripts/check-token-contrast.ts",
|
|
26
44
|
"library:build": "tsup",
|
|
27
45
|
"fonts:build": "tsx scripts/build-font-assets.ts",
|
|
28
46
|
"tokens:build": "npm run typecheck && npm run library:build && npm run component-manifest:generate && npm run fonts:build && npm run public-boundary:check",
|
|
@@ -33,6 +51,7 @@
|
|
|
33
51
|
"typecheck": "npm run tokens:generate && npm run components:generate && npm run component-manifest:generate && tsc --noEmit",
|
|
34
52
|
"build": "npm run tokens:build",
|
|
35
53
|
"package:check": "node scripts/check-package-exports.mjs",
|
|
54
|
+
"postinstall": "node ./consumer-postinstall.mjs",
|
|
36
55
|
"prepack": "npm run tokens:build",
|
|
37
56
|
"test:unit": "vitest run",
|
|
38
57
|
"test": "npm run tokens:build && npm run test:unit"
|
|
@@ -46,7 +65,9 @@
|
|
|
46
65
|
"sideEffects": [
|
|
47
66
|
"./dist/tokens.css",
|
|
48
67
|
"./dist/styles.css",
|
|
49
|
-
"./dist/fonts.css"
|
|
68
|
+
"./dist/fonts.css",
|
|
69
|
+
"./dist/components.css",
|
|
70
|
+
"./dist/base.css"
|
|
50
71
|
],
|
|
51
72
|
"peerDependencies": {
|
|
52
73
|
"react": ">=18.2 <20"
|
|
@@ -106,11 +127,19 @@
|
|
|
106
127
|
"./tokens.css": "./dist/tokens.css",
|
|
107
128
|
"./styles.css": "./dist/styles.css",
|
|
108
129
|
"./fonts.css": "./dist/fonts.css",
|
|
130
|
+
"./components.css": "./dist/components.css",
|
|
131
|
+
"./base.css": "./dist/base.css",
|
|
109
132
|
"./tokens.json": "./dist/tokens.json",
|
|
110
133
|
"./components/Button/README.md": "./dist/components/Button/README.md",
|
|
111
134
|
"./components/Button/spec.json": "./dist/components/Button/spec.json",
|
|
135
|
+
"./CONSUMER_AGENT.md": "./CONSUMER_AGENT.md",
|
|
136
|
+
"./AI.md": "./AI.md",
|
|
137
|
+
"./CHANGELOG.md": "./CHANGELOG.md",
|
|
138
|
+
"./AI_CONTEXT.json": "./AI_CONTEXT.json",
|
|
139
|
+
"./TOKEN_CONTEXT.md": "./TOKEN_CONTEXT.md",
|
|
112
140
|
"./llms.txt": "./llms.txt",
|
|
113
141
|
"./TAILWIND_V4.md": "./TAILWIND_V4.md",
|
|
142
|
+
"./QUICKSTART.md": "./QUICKSTART.md",
|
|
114
143
|
"./package.json": "./package.json"
|
|
115
144
|
}
|
|
116
145
|
}
|