@atom63/styles 0.1.0-beta.0 → 0.1.0-beta.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/README.md CHANGED
@@ -16,29 +16,16 @@ Built by You Zhang through Hermes Agent
16
16
 
17
17
  ### Install
18
18
 
19
- The package name is `@atom63/styles`. Public npm availability is not promised
20
- yet: the currently verified paths are a workspace dependency or a locally
21
- packed tarball. Public publishing requires YZ approval and confirmation of the
22
- npm organization policy.
23
-
24
- After an approved public release, install by package name:
19
+ `@atom63/styles` is available as a public npm beta. It is not yet a stable API,
20
+ so install from the explicit `beta` dist-tag:
25
21
 
26
22
  ```sh
27
- pnpm add @atom63/styles
28
- ```
29
-
30
- Until then, use the workspace dependency:
31
-
32
- ```json
33
- {
34
- "dependencies": {
35
- "@atom63/styles": "workspace:*"
36
- }
37
- }
23
+ pnpm add @atom63/styles@beta
38
24
  ```
39
25
 
40
- For a non-workspace consumer, pack the package and install the generated
41
- `atom63-styles-*.tgz` file by path.
26
+ React adopters should start with the
27
+ [public beta quickstart](../../docs/design-system/quickstart.md), which covers
28
+ both `@atom63/styles` and `@atom63/ui-react`.
42
29
 
43
30
  ### Minimum setup
44
31
 
@@ -86,13 +73,14 @@ variable names can import `@atom63/styles/compat/shadcn`.
86
73
  ### Stable vs preview
87
74
 
88
75
  The production consumption path is verified by `pnpm check:ds-pack-smoke`
89
- against packed tarballs. Public publishing still requires YZ approval and npm
90
- organization policy. Some token, adapter, and package surfaces may remain
91
- preview while API hardening continues; do not infer stability from an export
92
- alone.
76
+ against packed tarballs. The package is publicly available under the `beta`
77
+ tag, but some token, adapter, and package surfaces may remain preview while API
78
+ hardening continues; do not infer stability from an export alone.
93
79
 
94
80
  ### Docs
95
81
 
82
+ - [Public beta quickstart](../../docs/design-system/quickstart.md)
83
+ - [Support and governance policy](../../docs/design-system/support-governance.md)
96
84
  - [Design system handbook](../../docs/design-system/README.md)
97
85
  - [Authoring surfaces](../../docs/design-system/authoring-surfaces.md)
98
86
  - [Production readiness audit](../../docs/design-system/production-readiness-audit.md)
@@ -14871,6 +14871,20 @@
14871
14871
  "lifecycle": "preview",
14872
14872
  "scope": ":root"
14873
14873
  },
14874
+ {
14875
+ "name": "font-weight-medium",
14876
+ "cssVar": "--font-weight-medium",
14877
+ "type": "typography",
14878
+ "value": "500",
14879
+ "sourceFile": "packages/styles/src/tokens/font.css",
14880
+ "layer": "semantic",
14881
+ "figma": {
14882
+ "collection": "Atom63 Semantic",
14883
+ "path": "font/weight/medium"
14884
+ },
14885
+ "lifecycle": "preview",
14886
+ "scope": ":root"
14887
+ },
14874
14888
  {
14875
14889
  "name": "radius",
14876
14890
  "cssVar": "--radius",
@@ -41,9 +41,9 @@
41
41
  ],
42
42
  "summary": {
43
43
  "sourceFiles": 36,
44
- "declarations": 1477,
45
- "uniqueCssVariables": 1015,
46
- "figmaMappedDeclarations": 1456
44
+ "declarations": 1478,
45
+ "uniqueCssVariables": 1016,
46
+ "figmaMappedDeclarations": 1457
47
47
  },
48
48
  "entries": [
49
49
  {
@@ -15130,6 +15130,20 @@
15130
15130
  "lifecycle": "preview",
15131
15131
  "scope": ":root"
15132
15132
  },
15133
+ {
15134
+ "name": "font-weight-medium",
15135
+ "cssVar": "--font-weight-medium",
15136
+ "type": "typography",
15137
+ "value": "500",
15138
+ "sourceFile": "packages/styles/src/tokens/font.css",
15139
+ "layer": "semantic",
15140
+ "figma": {
15141
+ "collection": "Atom63 Semantic",
15142
+ "path": "font/weight/medium"
15143
+ },
15144
+ "lifecycle": "preview",
15145
+ "scope": ":root"
15146
+ },
15133
15147
  {
15134
15148
  "name": "radius",
15135
15149
  "cssVar": "--radius",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atom63/styles",
3
- "version": "0.1.0-beta.0",
3
+ "version": "0.1.0-beta.1",
4
4
  "description": "CSS tokens, themes, contracts, and utilities for the Atom63 design system",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -96,21 +96,21 @@
96
96
  "sideEffects": [
97
97
  "*.css"
98
98
  ],
99
- "scripts": {
100
- "generate:tokens": "node scripts/generate-token-manifest.mjs",
101
- "check:tokens": "node scripts/check-token-manifest.mjs",
102
- "lint": "eslint . --cache --max-warnings 0",
103
- "test": "vitest run"
104
- },
105
99
  "dependencies": {
106
100
  "tw-animate-css": "1.4.0"
107
101
  },
108
102
  "devDependencies": {
109
- "@atom63/eslint-config": "workspace:*",
110
103
  "@vitest/browser": "4.1.10",
111
104
  "@vitest/browser-playwright": "4.1.10",
112
105
  "eslint": "10.7.0",
113
106
  "playwright": "1.61.1",
114
- "vitest": "catalog:"
107
+ "vitest": "4.1.10",
108
+ "@atom63/eslint-config": "0.1.0"
109
+ },
110
+ "scripts": {
111
+ "generate:tokens": "node scripts/generate-token-manifest.mjs",
112
+ "check:tokens": "node scripts/check-token-manifest.mjs",
113
+ "lint": "eslint . --cache --max-warnings 0",
114
+ "test": "vitest run"
115
115
  }
116
- }
116
+ }
@@ -8,6 +8,7 @@
8
8
  */
9
9
  :root {
10
10
  --a63-font-app: var(--font-family-sans);
11
+ --font-weight-medium: 500;
11
12
  }
12
13
 
13
14
  [data-a63-font='sans'] {
@@ -101,8 +101,9 @@ describe('type scale axis', () => {
101
101
  })
102
102
 
103
103
  describe('font family axis', () => {
104
- it('defaults --a63-font-app to the sans stack', () => {
104
+ it('defaults --a63-font-app to the sans stack and publishes medium weight', () => {
105
105
  expect(cssVar('--a63-font-app')).toContain('Geist')
106
+ expect(cssVar('--font-weight-medium')).toBe('500')
106
107
  })
107
108
 
108
109
  it('remaps --a63-font-app per [data-a63-font]', () => {