@tokis/core 1.2.2 → 1.3.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/README.md +3 -3
- package/package.json +6 -3
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ npm install @tokis/core
|
|
|
14
14
|
|
|
15
15
|
```ts
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
trapFocus,
|
|
18
18
|
rovingTabIndex,
|
|
19
19
|
generateId,
|
|
20
20
|
createMachine,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
|
|
24
24
|
## What's Included
|
|
25
25
|
|
|
26
|
-
- **Focus Management** — `
|
|
26
|
+
- **Focus Management** — `trapFocus`, `rovingTabIndex`, `useFocusVisible`
|
|
27
27
|
- **Accessibility** — ARIA attribute helpers, unique ID generation
|
|
28
28
|
- **State Machines** — Lightweight `createMachine` for component behavior
|
|
29
29
|
- **Controllable State** — Unified controlled/uncontrolled state pattern
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
|
|
35
35
|
## Documentation
|
|
36
36
|
|
|
37
|
-
Visit [
|
|
37
|
+
Visit [Tokis Documentation](https://prerakmathur20.github.io/TokisWebsite/) for the full documentation.
|
|
38
38
|
|
|
39
39
|
## License
|
|
40
40
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tokis/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "Framework-agnostic headless primitives for Tokis — state machines, accessibility helpers, and focus management. Zero dependencies.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/cjs/index.js",
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
"types": "./dist/index.d.ts",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
|
-
"
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
12
|
"import": "./dist/index.js",
|
|
13
|
-
"
|
|
13
|
+
"require": "./dist/cjs/index.js"
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
"files": [
|
|
@@ -52,6 +52,9 @@
|
|
|
52
52
|
"bugs": {
|
|
53
53
|
"url": "https://github.com/PrerakMathur20/TokisLib/issues"
|
|
54
54
|
},
|
|
55
|
+
"engines": {
|
|
56
|
+
"node": ">=18.0.0"
|
|
57
|
+
},
|
|
55
58
|
"publishConfig": {
|
|
56
59
|
"access": "public",
|
|
57
60
|
"registry": "https://registry.npmjs.org/"
|