@structyl/primitives 1.0.0 → 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.
- package/LICENSE +1 -1
- package/README.md +3 -3
- package/dist/index.cjs +232 -143
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +66 -100
- package/dist/index.d.ts +66 -100
- package/dist/index.mjs +232 -143
- package/dist/index.mjs.map +1 -1
- package/package.json +15 -4
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2026
|
|
3
|
+
Copyright (c) 2026 Mohammed Irfanul Alam Tanveer
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|

|
|
7
7
|
|
|
8
|
-
`@structyl/primitives` is the headless behavior layer of [structyl](https://structyl.
|
|
8
|
+
`@structyl/primitives` is the headless behavior layer of [structyl](https://www.structyl.com). It provides unstyled, WAI-ARIA compliant React components — dialogs, menus, selects, date pickers, and dozens more — that ship full keyboard navigation, focus management, and accessibility while leaving styling entirely up to you. It is the foundation that `@structyl/styled` builds on, and it's also a complete toolkit on its own for teams that bring their own design system.
|
|
9
9
|
|
|
10
10
|
## Installation
|
|
11
11
|
|
|
@@ -96,11 +96,11 @@ The package exports both standalone primitives and namespaced compound component
|
|
|
96
96
|
| `Avatar` / `Progress` / `Toast` / `Card` / `Chart` | namespace | Display & feedback |
|
|
97
97
|
| `Switch` / `Toggle` / `Checkbox` / `Label` / `Separator` / `Skeleton` / `Spinner` / `Badge` / `Alert` / `Input` / `Textarea` / `AspectRatio` | component | Standalone primitives |
|
|
98
98
|
|
|
99
|
-
Every component ships its corresponding prop types (for example `ButtonProps`, `DialogContentProps`, `SelectRootProps`). See the [documentation](https://structyl.
|
|
99
|
+
Every component ships its corresponding prop types (for example `ButtonProps`, `DialogContentProps`, `SelectRootProps`). See the [documentation](https://www.structyl.com) for the full API reference.
|
|
100
100
|
|
|
101
101
|
## Part of structyl
|
|
102
102
|
|
|
103
|
-
Part of the [structyl](https://github.com/imirfanul/structyl) component library — see the full docs at [structyl.
|
|
103
|
+
Part of the [structyl](https://github.com/imirfanul/structyl) component library — see the full docs at [www.structyl.com](https://www.structyl.com).
|
|
104
104
|
|
|
105
105
|
## License
|
|
106
106
|
|