@dinachi/cli 1.1.0 → 1.4.0
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 +81 -0
- package/README.md +1 -0
- package/dist/index.js +698 -314
- package/package.json +5 -1
- package/templates/agent/agent.tsx +35 -18
- package/templates/alert/alert.tsx +345 -0
- package/templates/alert/index.ts +16 -0
- package/templates/ask-bar/ask-bar.tsx +1061 -0
- package/templates/ask-bar/index.ts +1 -0
- package/templates/autocomplete/autocomplete.tsx +0 -1
- package/templates/breadcrumb/breadcrumb.tsx +606 -0
- package/templates/breadcrumb/index.ts +9 -0
- package/templates/calendar/calendar.tsx +1155 -0
- package/templates/calendar/index.ts +15 -0
- package/templates/combobox/combobox.tsx +0 -1
- package/templates/command-items/command-items.tsx +69 -0
- package/templates/command-items/index.ts +1 -0
- package/templates/command-palette/command-palette.tsx +954 -0
- package/templates/command-palette/index.ts +1 -0
- package/templates/comparison-table/comparison-table.tsx +540 -0
- package/templates/comparison-table/index.ts +15 -0
- package/templates/data-table/data-table.tsx +2077 -0
- package/templates/data-table/index.ts +14 -0
- package/templates/date-picker/date-picker.tsx +527 -0
- package/templates/date-picker/index.ts +2 -0
- package/templates/date-range-picker/date-range-picker.tsx +504 -0
- package/templates/date-range-picker/index.ts +2 -0
- package/templates/detail-list/detail-list.tsx +419 -0
- package/templates/detail-list/index.ts +12 -0
- package/templates/heat-table/heat-table.tsx +613 -0
- package/templates/heat-table/index.ts +9 -0
- package/templates/menu/menu.tsx +8 -3
- package/templates/month-picker/index.ts +1 -0
- package/templates/month-picker/month-picker.tsx +351 -0
- package/templates/omnibar/index.ts +1 -0
- package/templates/omnibar/omnibar.tsx +1009 -0
- package/templates/pagination/index.ts +8 -0
- package/templates/pagination/pagination.tsx +389 -0
- package/templates/table/index.ts +13 -0
- package/templates/table/table.tsx +265 -0
- package/templates/time-slots/index.ts +1 -0
- package/templates/time-slots/time-slots.tsx +589 -0
- package/templates/week-strip/index.ts +1 -0
- package/templates/week-strip/week-strip.tsx +329 -0
- package/templates/year-view/index.ts +1 -0
- package/templates/year-view/year-view.tsx +362 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,87 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.4.0] - 2026-12-02
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- `dinachi info` shows the project as the CLI sees it: framework, RSC, TypeScript, Tailwind
|
|
15
|
+
version and CSS file, package manager, aliases and where they resolve, installed
|
|
16
|
+
components, whether the agent bridge is installed, and every component by tier.
|
|
17
|
+
`--json` prints it for an agent to read, with a `problems` list for an unreadable config or
|
|
18
|
+
one found in another workspace package.
|
|
19
|
+
- `init` and `add` check for an installed `dinachi-assistant` skill. When it lists fewer
|
|
20
|
+
components than the CLI can add, they print how many it knows and the
|
|
21
|
+
`npx skills update` command. Nothing is printed when no skill is installed.
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
- The `dinachi-assistant` skill is rewritten as plain markdown with no scripts: a short
|
|
26
|
+
workflow built on `info --json`, a component-selection table, and rules with wrong and
|
|
27
|
+
right examples for composition, styling, the agent bridge and motion. Its component list
|
|
28
|
+
is generated from the registry, with each component's description and docs link.
|
|
29
|
+
|
|
30
|
+
### Fixed
|
|
31
|
+
|
|
32
|
+
- `init` and `add` read the Tailwind version that is installed, looking up through a
|
|
33
|
+
monorepo, so a `catalog:` or `workspace:` range or a root-only declaration no longer
|
|
34
|
+
reads as Tailwind 4. `init` no longer fails on an unreadable `package.json`.
|
|
35
|
+
|
|
36
|
+
## [1.3.0] - 2026-11-21
|
|
37
|
+
|
|
38
|
+
### Added
|
|
39
|
+
|
|
40
|
+
- Five navigation and feedback components, each registered with the agent
|
|
41
|
+
bridge:
|
|
42
|
+
- **Alert**: an inline message with variants, an action and dismiss.
|
|
43
|
+
- **Breadcrumb**: a trail that folds what does not fit, measured, and opens
|
|
44
|
+
a sheet on phones.
|
|
45
|
+
- **Command Palette**: Cmd+K search over pages, actions and records, with
|
|
46
|
+
sub-lists.
|
|
47
|
+
- **Omnibar**: a header search that grows into scoped results.
|
|
48
|
+
- **Ask Bar**: a docked bar that turns a request into a plan to review.
|
|
49
|
+
- **Agent**: registered components carry a hint, so an agent reading the
|
|
50
|
+
snapshot knows what each control takes before it acts.
|
|
51
|
+
- Six table components:
|
|
52
|
+
- **Table**: styled native table parts, with numeric columns, density,
|
|
53
|
+
dividers and a stacked layout for phones.
|
|
54
|
+
- **Pagination**: previous, next and seven fixed page slots, with gaps that
|
|
55
|
+
open a go-to-page field and a compact "Page 6 of 25" form. Registers with
|
|
56
|
+
the agent bridge.
|
|
57
|
+
- **Data Table**: TanStack Table with sorting, search, status filters,
|
|
58
|
+
selection across pages, column visibility, resizing, reordering and
|
|
59
|
+
pinning, loading, empty and error states, expandable rows, row actions,
|
|
60
|
+
a keyboard grid, server mode, virtualization and its own phone layout.
|
|
61
|
+
Registers with the agent bridge. It is the only component that installs
|
|
62
|
+
`@tanstack/react-table` and `@tanstack/react-virtual`.
|
|
63
|
+
- **Comparison Table**: plans against grouped features, with billing and an
|
|
64
|
+
"Only differences" switch. Registers with the agent bridge.
|
|
65
|
+
- **Heat Table**: values shaded by size, as a keyboard grid, with squares
|
|
66
|
+
and a readout on phones.
|
|
67
|
+
- **Detail List**: labelled values with copy and inline edit per row.
|
|
68
|
+
Registers with the agent bridge.
|
|
69
|
+
|
|
70
|
+
### Changed
|
|
71
|
+
|
|
72
|
+
- **Menu**: `MenuContent` takes `side`, `align`, `sideOffset` and
|
|
73
|
+
`alignOffset`.
|
|
74
|
+
- **Theme**: the light `--info` is darker, so it passes contrast as text.
|
|
75
|
+
|
|
76
|
+
## [1.2.0] - 2026-11-17
|
|
77
|
+
|
|
78
|
+
### Added
|
|
79
|
+
|
|
80
|
+
- Seven date and time components, each registered with the agent bridge:
|
|
81
|
+
- **Calendar**: a month grid for one day, several days or a range, with months
|
|
82
|
+
that scroll as one column or page side by side.
|
|
83
|
+
- **Date Picker** and **Date Range Picker**: a field that opens the calendar in
|
|
84
|
+
a popover, or a drawer on narrow screens.
|
|
85
|
+
- **Month Picker**: twelve months a year, for one month or a span.
|
|
86
|
+
- **Week Strip**: a scrolling row of days with counts.
|
|
87
|
+
- **Year View**: a year of daily counts, as weeks or stacked months.
|
|
88
|
+
- **Time Slots**: a day as a track to drag a booking across, around busy and
|
|
89
|
+
past time, with rows on phones.
|
|
90
|
+
|
|
10
91
|
## [1.1.0] - 2026-11-17
|
|
11
92
|
|
|
12
93
|
### Added
|
package/README.md
CHANGED
|
@@ -70,6 +70,7 @@ This will:
|
|
|
70
70
|
### Available Commands
|
|
71
71
|
|
|
72
72
|
- `dinachi init` - Initialize Dinachi UI in your project
|
|
73
|
+
- `dinachi info` - Show the project setup and installed components (`--json` for agents)
|
|
73
74
|
- `dinachi init --skip-install` - Initialize without package installation
|
|
74
75
|
- `dinachi add <component>` - Add a component to your project
|
|
75
76
|
- `dinachi add <component> --overwrite` - Overwrite existing component files
|