@dashforge/tw 0.9.1-beta → 0.11.0-beta
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/CHANGELOG.md +53 -0
- package/dist/index.esm.js +1330 -405
- package/dist/src/components/DateRangePicker/DateRangePicker.d.ts +13 -0
- package/dist/src/components/DateRangePicker/DateRangePicker.d.ts.map +1 -0
- package/dist/src/components/DateRangePicker/dateRangePicker.types.d.ts +85 -0
- package/dist/src/components/DateRangePicker/dateRangePicker.types.d.ts.map +1 -0
- package/dist/src/components/DateRangePicker/dateRangePicker.variants.d.ts +183 -0
- package/dist/src/components/DateRangePicker/dateRangePicker.variants.d.ts.map +1 -0
- package/dist/src/components/DateTimePicker/DateTimePicker.d.ts +7 -43
- package/dist/src/components/DateTimePicker/DateTimePicker.d.ts.map +1 -1
- package/dist/src/components/DateTimePicker/dateTimePicker.types.d.ts +50 -55
- package/dist/src/components/DateTimePicker/dateTimePicker.types.d.ts.map +1 -1
- package/dist/src/components/DateTimePicker/dateTimePicker.variants.d.ts +36 -94
- package/dist/src/components/DateTimePicker/dateTimePicker.variants.d.ts.map +1 -1
- package/dist/src/components/Tabs/Tabs.d.ts +8 -4
- package/dist/src/components/Tabs/Tabs.d.ts.map +1 -1
- package/dist/src/components/Tabs/tabs.types.d.ts +8 -2
- package/dist/src/components/Tabs/tabs.types.d.ts.map +1 -1
- package/dist/src/components/Tabs/useTabs.d.ts +55 -0
- package/dist/src/components/Tabs/useTabs.d.ts.map +1 -0
- package/dist/src/components/TimePicker/TimePicker.d.ts +12 -0
- package/dist/src/components/TimePicker/TimePicker.d.ts.map +1 -0
- package/dist/src/components/TimePicker/timePicker.types.d.ts +80 -0
- package/dist/src/components/TimePicker/timePicker.types.d.ts.map +1 -0
- package/dist/src/components/TimePicker/timePicker.variants.d.ts +103 -0
- package/dist/src/components/TimePicker/timePicker.variants.d.ts.map +1 -0
- package/dist/src/index.d.ts +10 -4
- package/dist/src/index.d.ts.map +1 -1
- package/package.json +3 -4
- package/src/components/DateRangePicker/DateRangePicker.test.tsx +92 -0
- package/src/components/DateRangePicker/DateRangePicker.tsx +510 -0
- package/src/components/DateRangePicker/dateRangePicker.types.ts +74 -0
- package/src/components/DateRangePicker/dateRangePicker.variants.ts +101 -0
- package/src/components/DateTimePicker/DateTimePicker.test.tsx +60 -186
- package/src/components/DateTimePicker/DateTimePicker.tsx +209 -181
- package/src/components/DateTimePicker/dateTimePicker.types.ts +50 -54
- package/src/components/DateTimePicker/dateTimePicker.variants.ts +22 -51
- package/src/components/Tabs/Tabs.test.tsx +85 -14
- package/src/components/Tabs/Tabs.tsx +35 -24
- package/src/components/Tabs/tabs.types.ts +8 -2
- package/src/components/Tabs/useTabs.ts +167 -0
- package/src/components/TimePicker/TimePicker.test.tsx +65 -0
- package/src/components/TimePicker/TimePicker.tsx +274 -0
- package/src/components/TimePicker/timePicker.types.ts +69 -0
- package/src/components/TimePicker/timePicker.variants.ts +53 -0
- package/src/index.ts +28 -16
- package/src/components/DateTimePicker/DateTimePicker.perf.test.tsx +0 -153
package/CHANGELOG.md
CHANGED
|
@@ -12,6 +12,59 @@ This project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
12
12
|
> duplicated intentionally — no shared "lowest common denominator" headless
|
|
13
13
|
> layer.
|
|
14
14
|
|
|
15
|
+
## [0.11.0-beta] — 2026-05-22
|
|
16
|
+
|
|
17
|
+
**Sprint 7 — Tabs.** `<Tabs>` rebuilt as a custom, clean-room component.
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- **`<Tabs>` rebuilt without Radix.** The component is reimplemented on a
|
|
22
|
+
headless `useTabs` engine (the WAI-ARIA APG keyboard model) — the
|
|
23
|
+
`@radix-ui/react-tabs` dependency is removed. The public API
|
|
24
|
+
(`TabsProps` / `TabItem` / `TabsSlotProps` / `tabsVariants`) is
|
|
25
|
+
**unchanged** — an internal swap, not a breaking change for consumers.
|
|
26
|
+
|
|
27
|
+
### Added
|
|
28
|
+
|
|
29
|
+
- **`keepMounted`** prop on `<Tabs>` — keeps inactive panels mounted
|
|
30
|
+
(hidden) instead of unmounting them. Default `false`.
|
|
31
|
+
|
|
32
|
+
### Removed
|
|
33
|
+
|
|
34
|
+
- Runtime dependency `@radix-ui/react-tabs` — the custom `useTabs` engine
|
|
35
|
+
replaces it.
|
|
36
|
+
|
|
37
|
+
## [0.10.0-beta] — 2026-05-21
|
|
38
|
+
|
|
39
|
+
**Sprint 7 — Calendar suite (part 2).** Completes the Tailwind date-picker
|
|
40
|
+
suite: `TimePicker`, `DateRangePicker`, and a rebuilt `DateTimePicker` —
|
|
41
|
+
all on the shared headless `@dashforge/calendar-core` engine.
|
|
42
|
+
|
|
43
|
+
### Added
|
|
44
|
+
|
|
45
|
+
- **`<TimePicker>`** — a form-bound time field: a read-only trigger paired
|
|
46
|
+
with a time-list popover (Radix Popover). Stores a canonical 24-hour
|
|
47
|
+
`"HH:mm"` string (`hour12` is display-only). Bridge + RBAC.
|
|
48
|
+
- **`<DateRangePicker>`** — a form-bound start/end date field: a read-only
|
|
49
|
+
trigger paired with a dual-month range calendar popover, on the new
|
|
50
|
+
`useDateRange` engine. Stores a `{ start, end }` pair of ISO dates.
|
|
51
|
+
|
|
52
|
+
### Changed
|
|
53
|
+
|
|
54
|
+
- **BREAKING — `<DateTimePicker>` replaced.** The legacy native-input
|
|
55
|
+
`DateTimePicker` is replaced by a custom component — a `Calendar`
|
|
56
|
+
popover paired with a time list, on `@dashforge/calendar-core`. New
|
|
57
|
+
storage contract: a naive ISO datetime `"YYYY-MM-DDTHH:mm"` (no seconds,
|
|
58
|
+
no timezone). The `mode` prop is removed — use `DatePicker` /
|
|
59
|
+
`TimePicker`; `min` / `max` / `step` / `onValueChange` become `minDate` /
|
|
60
|
+
`maxDate` / `stepMinutes` / `onChange`. The `isoToInputValue` export and
|
|
61
|
+
the `DateTimePickerMode` type export are removed. No deprecation cycle —
|
|
62
|
+
the library has no consumers yet.
|
|
63
|
+
|
|
64
|
+
### Dependencies
|
|
65
|
+
|
|
66
|
+
- Requires **`@dashforge/calendar-core` `0.2.0-beta`**.
|
|
67
|
+
|
|
15
68
|
## [0.9.1-beta] — 2026-05-20
|
|
16
69
|
|
|
17
70
|
**Sprint 7 — Calendar suite (part 1).** Adds the Tailwind skin of the
|