@tokis/tokis 1.2.2 → 1.2.3

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
@@ -55,7 +55,7 @@ npm install @tokis/theme
55
55
 
56
56
  - **Zero Runtime CSS** — No CSS-in-JS overhead. Precompiled static CSS.
57
57
  - **Token-Native** — Every value is a CSS custom property. Theming is predictable.
58
- - **Accessible by Default** — WAI-ARIA 1.2, keyboard navigation, focus management built-in.
58
+ - **Designed for Accessibility** — Following WAI-ARIA Authoring Practices, targeting WCAG 2.2 Level AA. Keyboard navigation and focus management built-in.
59
59
  - **Composable** — Compound component patterns. No prop explosion.
60
60
  - **Dark Mode** — First-class light/dark support via `ThemeProvider`.
61
61
  - **TypeScript** — Full type safety with exported interfaces for every component.
package/index.d.ts CHANGED
@@ -1,7 +1,9 @@
1
1
  /**
2
2
  * @tokis/tokis — Performance-first, token-native UI design system
3
3
  *
4
- * Re-exports all types and components from @tokis/react and @tokis/icons.
4
+ * Re-exports all types and components from the Tokis ecosystem.
5
5
  */
6
6
  export * from '@tokis/react';
7
+ export * from '@tokis/core';
8
+ export * from '@tokis/tokens';
7
9
  export * from '@tokis/icons';
package/index.js CHANGED
@@ -10,7 +10,12 @@
10
10
  */
11
11
  'use strict';
12
12
 
13
- const react = require('@tokis/react');
14
- const icons = require('@tokis/icons');
13
+ // CSS side-effect
14
+ require('@tokis/theme');
15
15
 
16
- module.exports = { ...react, ...icons };
16
+ const react = require('@tokis/react');
17
+ const core = require('@tokis/core');
18
+ const tokens = require('@tokis/tokens');
19
+ const icons = require('@tokis/icons');
20
+
21
+ module.exports = { ...react, ...core, ...tokens, ...icons };
package/index.mjs CHANGED
@@ -8,5 +8,11 @@
8
8
  * @tokis/tokens — Design token definitions (TypeScript + JSON)
9
9
  * @tokis/icons — Tree-shakable SVG icons with Lucide support
10
10
  */
11
+
12
+ // CSS side-effect — must come before JS exports so styles are loaded first
13
+ import '@tokis/theme';
14
+
11
15
  export * from '@tokis/react';
16
+ export * from '@tokis/core';
17
+ export * from '@tokis/tokens';
12
18
  export * from '@tokis/icons';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tokis/tokis",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "Tokis Only Knows Its Styles — Performance-first, token-native UI design system for React. Install this package to get all Tokis packages: @tokis/react, @tokis/theme, @tokis/core, and @tokis/tokens.",
5
5
  "main": "./index.js",
6
6
  "module": "./index.mjs",
@@ -10,32 +10,6 @@
10
10
  "types": "./index.d.ts",
11
11
  "import": "./index.mjs",
12
12
  "require": "./index.js"
13
- },
14
- "./react": {
15
- "types": "@tokis/react",
16
- "import": "@tokis/react",
17
- "require": "@tokis/react"
18
- },
19
- "./theme": "@tokis/theme",
20
- "./core": {
21
- "types": "@tokis/core",
22
- "import": "@tokis/core",
23
- "require": "@tokis/core"
24
- },
25
- "./tokens": {
26
- "types": "@tokis/tokens",
27
- "import": "@tokis/tokens",
28
- "require": "@tokis/tokens"
29
- },
30
- "./icons": {
31
- "types": "@tokis/icons",
32
- "import": "@tokis/icons",
33
- "require": "@tokis/icons"
34
- },
35
- "./icons/lucide": {
36
- "types": "@tokis/icons/lucide",
37
- "import": "@tokis/icons/lucide",
38
- "require": "@tokis/icons/lucide"
39
13
  }
40
14
  },
41
15
  "files": [
@@ -45,7 +19,10 @@
45
19
  "README.md",
46
20
  "LICENSE"
47
21
  ],
48
- "sideEffects": false,
22
+ "sideEffects": [
23
+ "./index.js",
24
+ "./index.mjs"
25
+ ],
49
26
  "keywords": [
50
27
  "tokis",
51
28
  "design-system",
@@ -83,16 +60,24 @@
83
60
  "url": "https://github.com/PrerakMathur20/TokisLib/issues"
84
61
  },
85
62
  "dependencies": {
86
- "@tokis/react": "^1.2.2",
87
- "@tokis/theme": "^1.2.2",
88
- "@tokis/core": "^1.2.2",
89
- "@tokis/tokens": "^1.2.2",
90
- "@tokis/icons": "^1.2.2"
63
+ "@tokis/react": "^1.2.3",
64
+ "@tokis/theme": "^1.2.3",
65
+ "@tokis/core": "^1.2.3",
66
+ "@tokis/tokens": "^1.2.3",
67
+ "@tokis/icons": "^1.2.3"
91
68
  },
92
69
  "peerDependencies": {
93
70
  "react": ">=18.0.0",
94
71
  "react-dom": ">=18.0.0"
95
72
  },
73
+ "engines": {
74
+ "node": ">=18.0.0"
75
+ },
76
+ "pnpm": {
77
+ "peerDependencyRules": {
78
+ "ignoreMissing": []
79
+ }
80
+ },
96
81
  "publishConfig": {
97
82
  "access": "public",
98
83
  "registry": "https://registry.npmjs.org/"