@super-calendar/core 2.1.2 → 2.1.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 +5 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,23 +1,19 @@
|
|
|
1
1
|
# @super-calendar/core
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/@super-calendar/core) [](https://jsr.io/@super-calendar/core) [](https://npmx.dev/package/@super-calendar/core)
|
|
4
4
|
|
|
5
5
|
The render-agnostic core of [super-calendar](https://github.com/afonsojramos/react-native-super-calendar): date math, the selection model, event layout, the month-grid builder, the headless hooks, and the neutral theme tokens.
|
|
6
6
|
|
|
7
|
-
It imports nothing from React Native, react-dom, Reanimated, Gesture Handler, or Legend List, so it bundles into any renderer. Use it to drive your own UI, or pair it with [`@super-calendar/dom`](https://
|
|
7
|
+
It imports nothing from React Native, react-dom, Reanimated, Gesture Handler, or Legend List, so it bundles into any renderer. Use it to drive your own UI, or pair it with [`@super-calendar/dom`](https://www.npmjs.com/package/@super-calendar/dom) (react-dom) or [`@super-calendar/native`](https://www.npmjs.com/package/@super-calendar/native) (React Native).
|
|
8
8
|
|
|
9
9
|
## Install
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
|
|
13
|
-
deno add jsr:@super-calendar/core
|
|
14
|
-
|
|
15
|
-
# npm / pnpm / yarn / bun
|
|
16
|
-
npx jsr add @super-calendar/core
|
|
17
|
-
pnpm dlx jsr add @super-calendar/core
|
|
18
|
-
bunx jsr add @super-calendar/core
|
|
12
|
+
npm install @super-calendar/core
|
|
19
13
|
```
|
|
20
14
|
|
|
15
|
+
Also on [JSR](https://jsr.io/@super-calendar/core): `deno add jsr:@super-calendar/core`.
|
|
16
|
+
|
|
21
17
|
Peer dependencies: `date-fns` (>=3) and `react` (>=19).
|
|
22
18
|
|
|
23
19
|
## Usage
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@super-calendar/core",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.4",
|
|
4
4
|
"description": "Render-agnostic core for super-calendar: date math, selection model, event layout, the month-grid builder, headless hooks, and neutral theme tokens. No renderer.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"calendar",
|