forty-cdk 0.0.2 → 0.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.
@@ -1,23 +1,23 @@
1
- # forty-cdk/internationalized-date
2
-
3
- Secondary entry point holding the [`@internationalized/date`](https://react-spectrum.adobe.com/internationalized/date/) implementations of the `DateAdapter` contract:
4
-
5
- - `InternationalizedDateAdapter` / `provideInternationalizedDateAdapter()` — day-granular `CalendarDate`.
6
- - `InternationalizedDateTimeAdapter` / `provideInternationalizedDateTimeAdapter()` — time-capable `CalendarDateTime`.
7
-
8
- It exists so the main `forty-cdk` bundle never references `@internationalized/date`: the package is an **optional peer dependency**, required only by consumers who import this entry point. The date/time primitives themselves (`Calendar`, `DateField`, `DatePicker`, `TimeField`) depend only on the abstract `DateAdapter` from the main entry point — `provideNativeDateAdapter()` works with zero extra installs.
9
-
10
- ```bash
11
- npm install @internationalized/date
12
- ```
13
-
14
- ```ts
15
- import { bootstrapApplication } from '@angular/platform-browser';
16
- import { provideInternationalizedDateAdapter } from 'forty-cdk/internationalized-date';
17
-
18
- bootstrapApplication(App, {
19
- providers: [provideInternationalizedDateAdapter()],
20
- });
21
- ```
22
-
23
- See the [Calendar README](../src/lib/calendar/README.md) for the full adapter table and usage examples.
1
+ # forty-cdk/internationalized-date
2
+
3
+ Secondary entry point holding the [`@internationalized/date`](https://react-spectrum.adobe.com/internationalized/date/) implementations of the `DateAdapter` contract:
4
+
5
+ - `InternationalizedDateAdapter` / `provideInternationalizedDateAdapter()` — day-granular `CalendarDate`.
6
+ - `InternationalizedDateTimeAdapter` / `provideInternationalizedDateTimeAdapter()` — time-capable `CalendarDateTime`.
7
+
8
+ It exists so the main `forty-cdk` bundle never references `@internationalized/date`: the package is an **optional peer dependency**, required only by consumers who import this entry point. The date/time primitives themselves (`Calendar`, `DateField`, `DatePicker`, `TimeField`) depend only on the abstract `DateAdapter` from the main entry point — `provideNativeDateAdapter()` works with zero extra installs.
9
+
10
+ ```bash
11
+ npm install @internationalized/date
12
+ ```
13
+
14
+ ```ts
15
+ import { bootstrapApplication } from '@angular/platform-browser';
16
+ import { provideInternationalizedDateAdapter } from 'forty-cdk/internationalized-date';
17
+
18
+ bootstrapApplication(App, {
19
+ providers: [provideInternationalizedDateAdapter()],
20
+ });
21
+ ```
22
+
23
+ See the [Calendar README](../src/lib/calendar/README.md) for the full adapter table and usage examples.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "forty-cdk",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "Headless / styleless UI primitives for Angular with WAI-ARIA accessibility built in.",
5
5
  "keywords": [
6
6
  "angular",
@@ -28,9 +28,9 @@
28
28
  "license": "MIT",
29
29
  "author": "tutkli (https://github.com/tutkli)",
30
30
  "peerDependencies": {
31
- "@angular/common": "^22.0.0",
32
- "@angular/core": "^22.0.0",
33
- "@angular/forms": "^22.0.0",
31
+ "@angular/common": "^22.0.1",
32
+ "@angular/core": "^22.0.1",
33
+ "@angular/forms": "^22.0.1",
34
34
  "@internationalized/date": "^3.0.0"
35
35
  },
36
36
  "peerDependenciesMeta": {
@@ -43,6 +43,7 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "@floating-ui/dom": "^1.7.0",
46
+ "@tanstack/virtual-core": "^3.17.1",
46
47
  "tslib": "^2.3.0"
47
48
  },
48
49
  "sideEffects": false,