klun-ui 0.1.0 → 0.1.2
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 +45 -0
- package/dist/{chunk-FTYQRXS5.cjs → chunk-OPAZ7GAU.cjs} +587 -524
- package/dist/chunk-OPAZ7GAU.cjs.map +1 -0
- package/dist/{chunk-XDAR7UMF.js → chunk-RRE3PQLX.js} +587 -525
- package/dist/chunk-RRE3PQLX.js.map +1 -0
- package/dist/index.cjs +147 -143
- package/dist/index.d.cts +50 -3
- package/dist/index.d.ts +50 -3
- package/dist/index.js +1 -1
- package/dist/styles.css +49 -0
- package/dist/templates/index.cjs +82 -82
- package/dist/templates/index.js +1 -1
- package/package.json +3 -2
- package/dist/chunk-FTYQRXS5.cjs.map +0 -1
- package/dist/chunk-XDAR7UMF.js.map +0 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to **klun-ui** are documented here. The format follows
|
|
4
|
+
[Keep a Changelog](https://keepachangelog.com/), and the project adheres to
|
|
5
|
+
[Semantic Versioning](https://semver.org/) (pre-1.0: minor/patch bumps may carry
|
|
6
|
+
small breaking changes).
|
|
7
|
+
|
|
8
|
+
## [0.1.2] — 2026-06-20
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- **`DateTimePicker`** — a single input that selects both a date and a time. It
|
|
12
|
+
opens a popover containing the month calendar plus a time selector, sharing one
|
|
13
|
+
`Date` (changing the date keeps the time and vice-versa). Supports `inline`,
|
|
14
|
+
`placeholder`, `format`, `align` and `disabled`, mirroring the other pickers.
|
|
15
|
+
|
|
16
|
+
## [0.1.1] — 2026-06-20
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
- **`DatePicker` / `DateRangePicker` now default to an input trigger.** They
|
|
20
|
+
render a read-only input that opens the calendar in a popover, instead of an
|
|
21
|
+
always-visible inline calendar. New props on both:
|
|
22
|
+
- `inline` — render the bare calendar (the previous behaviour).
|
|
23
|
+
- `placeholder` — trigger text when nothing is selected.
|
|
24
|
+
- `format` — `Intl.DateTimeFormatOptions` for the trigger label.
|
|
25
|
+
- `align` — popover alignment (`"left"` | `"right"`).
|
|
26
|
+
- `disabled` — disable the trigger.
|
|
27
|
+
- Corrected the package `description` (6 accent themes; dropped the stale
|
|
28
|
+
component count).
|
|
29
|
+
|
|
30
|
+
### Migration
|
|
31
|
+
- Replace `<DatePicker … />` used as an inline calendar with
|
|
32
|
+
`<DatePicker inline … />` to keep the old always-open behaviour. The default
|
|
33
|
+
(no `inline`) is now the input-triggered popover.
|
|
34
|
+
|
|
35
|
+
## [0.1.0] — 2026-06-20
|
|
36
|
+
|
|
37
|
+
### Added
|
|
38
|
+
- Initial public release: a themeable React + TypeScript component library and
|
|
39
|
+
design system — light/dark, multiple accent themes, a global radius axis,
|
|
40
|
+
`ConfigProvider`, i18n locales, and the full component set (layout, forms,
|
|
41
|
+
navigation, data display, feedback, overlays, charts).
|
|
42
|
+
|
|
43
|
+
[0.1.2]: https://www.npmjs.com/package/klun-ui/v/0.1.2
|
|
44
|
+
[0.1.1]: https://www.npmjs.com/package/klun-ui/v/0.1.1
|
|
45
|
+
[0.1.0]: https://www.npmjs.com/package/klun-ui/v/0.1.0
|