@x12i/ui 0.0.0-stage → 1.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.
@@ -0,0 +1,11 @@
1
+ /** Control sizes. Heights come from tokens and follow the density setting. */
2
+ type ControlSize = "xs" | "sm" | "md" | "lg" | "xl";
3
+ /**
4
+ * Status tones. They map to the same status colors as charts, diagrams and
5
+ * report callouts, so one meaning always looks the same.
6
+ */
7
+ type StatusTone = "neutral" | "accent" | "success" | "warning" | "danger" | "info";
8
+ /** Keys of the space scale (`space.<key>`). Key N is N x 4px; `0-5` is 2px. */
9
+ type SpaceKey = "0" | "0-5" | "1" | "2" | "3" | "4" | "5" | "6" | "8" | "10" | "12" | "16" | "20" | "24";
10
+
11
+ export type { ControlSize as C, SpaceKey as S, StatusTone as a };
package/package.json CHANGED
@@ -1,6 +1,71 @@
1
1
  {
2
2
  "name": "@x12i/ui",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "1.1.0",
4
+ "description": "React components for the Unified UI Kit: actions, feedback, layout and the theme and density providers. Styled by kit tokens only.",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/x12i/unified-ui-kit.git",
9
+ "directory": "packages/ui"
10
+ },
11
+ "homepage": "https://github.com/x12i/unified-ui-kit/tree/main/packages/ui#readme",
12
+ "bugs": {
13
+ "url": "https://github.com/x12i/unified-ui-kit/issues"
14
+ },
15
+ "type": "module",
16
+ "sideEffects": [
17
+ "*.css"
18
+ ],
19
+ "files": [
20
+ "dist",
21
+ "README.md"
22
+ ],
23
+ "exports": {
24
+ ".": {
25
+ "types": "./dist/index.d.ts",
26
+ "default": "./dist/index.js"
27
+ },
28
+ "./date": {
29
+ "types": "./dist/date.d.ts",
30
+ "default": "./dist/date.js"
31
+ },
32
+ "./styles.css": "./dist/styles.css",
33
+ "./package.json": "./package.json"
34
+ },
35
+ "publishConfig": {
36
+ "access": "public"
37
+ },
38
+ "dependencies": {
39
+ "@base-ui/react": "^1.9.0",
40
+ "@internationalized/date": "^3.12.4",
41
+ "@x12i/icons": "^1.0.0",
42
+ "@x12i/tokens": "^1.1.0",
43
+ "react-aria-components": "^1.22.1"
44
+ },
45
+ "peerDependencies": {
46
+ "@x12i/themes": "^1.0.0",
47
+ "react": "^19.0.0",
48
+ "react-dom": "^19.0.0"
49
+ },
50
+ "devDependencies": {
51
+ "@testing-library/jest-dom": "^7.0.1",
52
+ "@testing-library/react": "^16.3.3",
53
+ "@testing-library/user-event": "^14.6.8",
54
+ "@types/node": "^24.0.0",
55
+ "@types/react": "^19.3.0",
56
+ "@types/react-dom": "^19.3.0",
57
+ "@vitejs/plugin-react": "^6.2.1",
58
+ "@x12i/themes": "^1.0.0",
59
+ "jsdom": "^30.1.3",
60
+ "react": "^19.3.1",
61
+ "react-dom": "^19.3.1",
62
+ "vite": "^8.3.6",
63
+ "vitest-axe": "^0.1.0"
64
+ },
65
+ "scripts": {
66
+ "build": "tsup && node scripts/copy-css.mjs",
67
+ "typecheck": "tsc --noEmit",
68
+ "lint": "eslint .",
69
+ "test": "vitest run"
70
+ }
6
71
  }