@smilodon/core 1.0.2 → 1.0.4
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 +17 -6
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -65,14 +65,25 @@ npm install @smilodon/core
|
|
|
65
65
|
</html>
|
|
66
66
|
```
|
|
67
67
|
|
|
68
|
-
###
|
|
68
|
+
### Framework Usage
|
|
69
69
|
|
|
70
|
-
|
|
70
|
+
**`@smilodon/core` works directly in all frameworks** as a Web Component - no adapters needed!
|
|
71
71
|
|
|
72
|
-
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
72
|
+
Simply import and use `<smilodon-select>` in React, Vue, Angular, Svelte, or any framework:
|
|
73
|
+
|
|
74
|
+
```jsx
|
|
75
|
+
// React, Vue, Svelte, Angular - all work the same way
|
|
76
|
+
import '@smilodon/core';
|
|
77
|
+
<smilodon-select ref={selectRef} />
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
**Optional Framework Adapters** (coming soon):
|
|
81
|
+
- **React**: `@smilodon/react` - React hooks and components
|
|
82
|
+
- **Vue**: `@smilodon/vue` - Vue composables and components
|
|
83
|
+
- **Svelte**: `@smilodon/svelte` - Svelte stores and components
|
|
84
|
+
- **Angular**: `@smilodon/angular` - Angular directives and services
|
|
85
|
+
|
|
86
|
+
These adapters provide framework-native APIs for enhanced developer experience, but are **not required** - the core package works everywhere!
|
|
76
87
|
|
|
77
88
|
See the [main documentation](https://github.com/navidrezadoost/smilodon#readme) for framework-specific examples.
|
|
78
89
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smilodon/core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "High-performance native select component with extreme-scale virtualization",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"license": "MIT",
|
|
40
40
|
"repository": {
|
|
41
41
|
"type": "git",
|
|
42
|
-
"url": "https://github.com/navidrezadoost/smilodon.git",
|
|
42
|
+
"url": "git+https://github.com/navidrezadoost/smilodon.git",
|
|
43
43
|
"directory": "packages/core"
|
|
44
44
|
},
|
|
45
45
|
"homepage": "https://github.com/navidrezadoost/smilodon#readme",
|