@vjdesigns/vjdesigns-ui 3.4.0 → 3.5.1
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 +178 -0
- package/README.md +854 -873
- package/dist/ai/llms-full.txt +759 -584
- package/dist/ai/llms.txt +4 -1
- package/dist/ai/registry.json +481 -27
- package/dist/components/data-display/Accordion/Accordion.cjs.js +1 -1
- package/dist/components/data-display/Accordion/Accordion.mjs +97 -166
- package/dist/components/data-display/Chat/Chat.d.ts +13 -2
- package/dist/components/data-display/Collapsible/Collapsible.cjs.js +1 -0
- package/dist/components/data-display/Collapsible/Collapsible.d.ts +70 -0
- package/dist/components/data-display/Collapsible/Collapsible.mjs +102 -0
- package/dist/components/data-display/Collapsible/Collapsible.module.css.cjs.js +1 -0
- package/dist/components/data-display/Collapsible/Collapsible.module.css.mjs +8 -0
- package/dist/components/data-display/Collapsible/index.d.ts +1 -0
- package/dist/components/feedback/Progress/Progress.cjs.js +1 -1
- package/dist/components/feedback/Progress/Progress.d.ts +32 -2
- package/dist/components/feedback/Progress/Progress.mjs +78 -74
- package/dist/components/feedback/Progress/Progress.module.css.cjs.js +1 -1
- package/dist/components/feedback/Progress/Progress.module.css.mjs +1 -1
- package/dist/components/forms/Radio/Radio.cjs.js +1 -1
- package/dist/components/forms/Radio/Radio.mjs +12 -10
- package/dist/components/forms/ToggleGroup/ToggleGroup.cjs.js +1 -1
- package/dist/components/forms/ToggleGroup/ToggleGroup.d.ts +3 -2
- package/dist/components/forms/ToggleGroup/ToggleGroup.mjs +133 -131
- package/dist/components/navigation/Toolbar/Toolbar.cjs.js +1 -0
- package/dist/components/navigation/Toolbar/Toolbar.d.ts +62 -0
- package/dist/components/navigation/Toolbar/Toolbar.mjs +106 -0
- package/dist/components/navigation/Toolbar/Toolbar.module.css.cjs.js +1 -0
- package/dist/components/navigation/Toolbar/Toolbar.module.css.mjs +11 -0
- package/dist/components/navigation/Toolbar/ToolbarContext.cjs.js +1 -0
- package/dist/components/navigation/Toolbar/ToolbarContext.d.ts +9 -0
- package/dist/components/navigation/Toolbar/ToolbarContext.mjs +4 -0
- package/dist/components/navigation/Toolbar/index.d.ts +1 -0
- package/dist/components/primitives/CopyButton/CopyButton.cjs.js +1 -0
- package/dist/components/primitives/CopyButton/CopyButton.d.ts +39 -0
- package/dist/components/primitives/CopyButton/CopyButton.mjs +49 -0
- package/dist/components/primitives/CopyButton/index.d.ts +1 -0
- package/dist/hooks/useCollapsePresence.cjs.js +1 -0
- package/dist/hooks/useCollapsePresence.d.ts +33 -0
- package/dist/hooks/useCollapsePresence.mjs +83 -0
- package/dist/i18n/en.cjs.js +1 -1
- package/dist/i18n/en.mjs +5 -0
- package/dist/i18n/types.d.ts +8 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.mjs +104 -101
- package/dist/locales/ar.cjs.js +1 -1
- package/dist/locales/ar.mjs +5 -0
- package/dist/locales/bn.cjs.js +1 -1
- package/dist/locales/bn.mjs +5 -0
- package/dist/locales/cs.cjs.js +1 -1
- package/dist/locales/cs.mjs +5 -0
- package/dist/locales/da.cjs.js +1 -1
- package/dist/locales/da.mjs +5 -0
- package/dist/locales/de.cjs.js +1 -1
- package/dist/locales/de.mjs +5 -0
- package/dist/locales/el.cjs.js +1 -1
- package/dist/locales/el.mjs +5 -0
- package/dist/locales/es.cjs.js +1 -1
- package/dist/locales/es.mjs +5 -0
- package/dist/locales/fa.cjs.js +1 -1
- package/dist/locales/fa.mjs +5 -0
- package/dist/locales/fi.cjs.js +1 -1
- package/dist/locales/fi.mjs +5 -0
- package/dist/locales/fr.cjs.js +1 -1
- package/dist/locales/fr.mjs +5 -0
- package/dist/locales/he.cjs.js +1 -1
- package/dist/locales/he.mjs +5 -0
- package/dist/locales/hi.cjs.js +1 -1
- package/dist/locales/hi.mjs +5 -0
- package/dist/locales/hu.cjs.js +1 -1
- package/dist/locales/hu.mjs +5 -0
- package/dist/locales/id.cjs.js +1 -1
- package/dist/locales/id.mjs +5 -0
- package/dist/locales/it.cjs.js +1 -1
- package/dist/locales/it.mjs +5 -0
- package/dist/locales/ja.cjs.js +1 -1
- package/dist/locales/ja.mjs +5 -0
- package/dist/locales/ko.cjs.js +1 -1
- package/dist/locales/ko.mjs +5 -0
- package/dist/locales/nb.cjs.js +1 -1
- package/dist/locales/nb.mjs +5 -0
- package/dist/locales/nl.cjs.js +1 -1
- package/dist/locales/nl.mjs +5 -0
- package/dist/locales/pl.cjs.js +1 -1
- package/dist/locales/pl.mjs +5 -0
- package/dist/locales/pt-BR.cjs.js +1 -1
- package/dist/locales/pt-BR.mjs +5 -0
- package/dist/locales/ro.cjs.js +1 -1
- package/dist/locales/ro.mjs +5 -0
- package/dist/locales/ru.cjs.js +1 -1
- package/dist/locales/ru.mjs +5 -0
- package/dist/locales/sv.cjs.js +1 -1
- package/dist/locales/sv.mjs +5 -0
- package/dist/locales/th.cjs.js +1 -1
- package/dist/locales/th.mjs +5 -0
- package/dist/locales/tr.cjs.js +1 -1
- package/dist/locales/tr.mjs +5 -0
- package/dist/locales/uk.cjs.js +1 -1
- package/dist/locales/uk.mjs +5 -0
- package/dist/locales/ur.cjs.js +1 -1
- package/dist/locales/ur.mjs +5 -0
- package/dist/locales/vi.cjs.js +1 -1
- package/dist/locales/vi.mjs +5 -0
- package/dist/locales/zh-Hans.cjs.js +1 -1
- package/dist/locales/zh-Hans.mjs +5 -0
- package/dist/locales/zh-Hant.cjs.js +1 -1
- package/dist/locales/zh-Hant.mjs +5 -0
- package/dist/vjdesigns-ui.css +1 -1
- package/package.json +9 -5
- package/dist/components/feedback/Toast/Toast.storyHelpers.d.ts +0 -21
- package/dist/components/navigation/Sidebar/Sidebar.storyHelpers.d.ts +0 -27
- package/dist/components/overlays/Drawer/Drawer.storyHelpers.d.ts +0 -16
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
Notable changes to `@vjdesigns/vjdesigns-ui`. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the package uses [Semantic Versioning](https://semver.org/).
|
|
4
|
+
|
|
5
|
+
Pro (`@vjdesigns-pro/ui`) has its own release notes, included with the Pro package.
|
|
6
|
+
|
|
7
|
+
## Unreleased
|
|
8
|
+
|
|
9
|
+
## 3.5.1 - 2026-11-13
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- **3.5.0 was published from an incomplete build.** It had no CommonJS files (so `require()` failed), no root type declarations (so TypeScript found no types for the main import), and no AI docs (`llms.txt`, `registry.json`, and the `vjdesigns-ui-mcp` command). 3.5.1 is the complete build, with no code changes from 3.5.0. If you installed 3.5.0, upgrade to 3.5.1.
|
|
14
|
+
- Publishing now rebuilds the package and checks it before uploading, so an incomplete build can't be published again.
|
|
15
|
+
|
|
16
|
+
## 3.5.0 - 2026-11-13
|
|
17
|
+
|
|
18
|
+
> Deprecated: published without types, CommonJS, or the AI docs. Use 3.5.1.
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
|
|
22
|
+
- **React 19 is now required.** The peer dependency range is now `react` and `react-dom` `^19.0.0` (it was `^18.0.0 || ^19.0.0`). The components already relied on React 19, which passes `ref` as an ordinary prop and supports the `inert` attribute. Under React 18, refs on most components were silently ignored, and Accordion, Carousel, and Banner couldn't hide collapsed content from keyboard and screen-reader users. If you're on React 18, upgrade React before you upgrade this package.
|
|
23
|
+
- `ToggleGroup`: inside a `Toolbar`, `rovingFocus` now defaults to off, so the group's buttons join the toolbar's arrow keys. Outside a toolbar nothing changes.
|
|
24
|
+
|
|
25
|
+
### Added
|
|
26
|
+
|
|
27
|
+
- `Toolbar` component: a row or column of controls that is one Tab stop, with arrow keys, Home, and End between controls (the WAI-ARIA toolbar pattern). Includes `Toolbar.Separator` and `Toolbar.Group`, `surface` and `plain` variants, wrapping, and right-to-left support. Text fields inside keep their caret keys.
|
|
28
|
+
- `Collapsible` component: a single show/hide section (the WAI-ARIA disclosure pattern) with `Collapsible.Trigger` and `Collapsible.Content`. Animates open and closed, hides closed content from everyone, supports `asChild` triggers and find-in-page (`hiddenUntilFound`).
|
|
29
|
+
- `CopyButton` component: copies text and confirms it with a check icon, a "Copied" label, and a screen-reader announcement. Shows an error state when the clipboard is unavailable, and works icon-only.
|
|
30
|
+
|
|
31
|
+
- `Progress` and `CircularProgress`: `toneSteps` changes the fill color with the value, for example red up to 40%, yellow up to 75%, and green above that. The color fades smoothly from one band to the next.
|
|
32
|
+
- `resolveProgressTone` and the `ProgressToneStep` type, for custom indicators that use the same bands.
|
|
33
|
+
- `Chat`: guidance in the docs for rendering replies safely with `renderContent` (no raw HTML, safe link protocols, no automatic remote images).
|
|
34
|
+
- Supported browsers are now documented in the README (Chrome and Edge 111, Firefox 121, Safari 16.2, and later).
|
|
35
|
+
- Every component configuration in Storybook is now tested to render on the server (`renderToString` in Node), in CI on every change.
|
|
36
|
+
|
|
37
|
+
### Fixed
|
|
38
|
+
|
|
39
|
+
- `Radio`: an option with a `description` included the description in its accessible name, so screen readers read it twice. The name is now just the label, and the description is read as the description.
|
|
40
|
+
|
|
41
|
+
## 3.4.0 - 2026-11-04
|
|
42
|
+
|
|
43
|
+
### Added
|
|
44
|
+
|
|
45
|
+
- `CheckBoxGroup`: `selectAll` adds a parent "select all" box. It checks or clears every enabled option, shows a mixed state when only some are checked, and tells screen readers which options it controls.
|
|
46
|
+
|
|
47
|
+
### Fixed
|
|
48
|
+
|
|
49
|
+
- `CheckBox`: an accessibility issue.
|
|
50
|
+
|
|
51
|
+
## 3.3.0 - 2026-11-02
|
|
52
|
+
|
|
53
|
+
No changes to this package. Released alongside a Pro update.
|
|
54
|
+
|
|
55
|
+
## 3.2.0 - 2026-11-02
|
|
56
|
+
|
|
57
|
+
### Added
|
|
58
|
+
|
|
59
|
+
- Tailwind CSS v4 preset, `@vjdesigns/vjdesigns-ui/tailwind.css`, with utilities for the library's colors, fonts, radii, shadows, and easings.
|
|
60
|
+
- `Countdown` component.
|
|
61
|
+
|
|
62
|
+
## 3.1.0 - 2026-11-01
|
|
63
|
+
|
|
64
|
+
### Added
|
|
65
|
+
|
|
66
|
+
- Built-in text, in every bundled language, for the new Pro sports components.
|
|
67
|
+
|
|
68
|
+
## 3.0.0 - 2026-11-01
|
|
69
|
+
|
|
70
|
+
### Added
|
|
71
|
+
|
|
72
|
+
- Sequential chart color tokens (`--chart-seq-1` to `--chart-seq-7`) and matching label ink colors, for heatmaps and gauges.
|
|
73
|
+
- Built-in text, in every bundled language, for the new Pro components.
|
|
74
|
+
|
|
75
|
+
## 2.5.0 - 2026-10-31
|
|
76
|
+
|
|
77
|
+
### Added
|
|
78
|
+
|
|
79
|
+
- `"use client"` markers on interactive components, so they work from Server Components in Next.js (App Router) and other React Server Components frameworks.
|
|
80
|
+
|
|
81
|
+
### Changed
|
|
82
|
+
|
|
83
|
+
- `DataGrid`, `Combobox`, `VirtualList` (and `useVirtualizer`), and `TimePicker` time parsing: improvements and new options.
|
|
84
|
+
|
|
85
|
+
### Fixed
|
|
86
|
+
|
|
87
|
+
- Bug and security fixes across Avatar, List, Table, FileUpload, NumberInput, Rating, SegmentedControl, CommandPalette, and Tooltip.
|
|
88
|
+
|
|
89
|
+
## 2.4.0 - 2026-10-28
|
|
90
|
+
|
|
91
|
+
### Added
|
|
92
|
+
|
|
93
|
+
- `Navbar.Group`: dropdown groups of links in the bar. Opening one closes the others.
|
|
94
|
+
- `Navbar` items: `badge`, `badgeLabel`, and `badgeTone` for counts like unread messages, with screen-reader text.
|
|
95
|
+
- `Badge`: `inverse` variant, for badges on solid backgrounds.
|
|
96
|
+
|
|
97
|
+
## 2.3.0 - 2026-10-28
|
|
98
|
+
|
|
99
|
+
### Added
|
|
100
|
+
|
|
101
|
+
- `Avatar`: image support and an optional border.
|
|
102
|
+
|
|
103
|
+
## 2.2.0 - 2026-10-28
|
|
104
|
+
|
|
105
|
+
### Fixed
|
|
106
|
+
|
|
107
|
+
- `Toast`: a bug in `ToastProvider`.
|
|
108
|
+
|
|
109
|
+
## 2.1.0 - 2026-10-27
|
|
110
|
+
|
|
111
|
+
### Added
|
|
112
|
+
|
|
113
|
+
- `Chat` component, for AI assistants and messaging, with streaming replies.
|
|
114
|
+
|
|
115
|
+
## 2.0.0 - 2026-10-27
|
|
116
|
+
|
|
117
|
+
### Changed
|
|
118
|
+
|
|
119
|
+
- **Breaking:** the package was renamed from `@vjdesigns/dhernandez-ui` to `@vjdesigns/vjdesigns-ui`. Uninstall the old package, install the new one, and update your imports, including the stylesheet path (`@vjdesigns/vjdesigns-ui/dist/vjdesigns-ui.css`).
|
|
120
|
+
|
|
121
|
+
## 1.5.0 - 2026-10-22
|
|
122
|
+
|
|
123
|
+
### Added
|
|
124
|
+
|
|
125
|
+
- New components: `DataGrid`, `VirtualList`, `DateTimePicker`, `TimePicker`, `ResizablePanels`, `ScrollArea`, `ContextMenu`, and `HoverCard`.
|
|
126
|
+
- `useVirtualizer` hook.
|
|
127
|
+
|
|
128
|
+
## 1.4.10 - 2026-10-22
|
|
129
|
+
|
|
130
|
+
### Added
|
|
131
|
+
|
|
132
|
+
- Form validation: `useFormValidation`, the `ErrorSummary` component, and format checks (`isEmail`, `isIP`, and more).
|
|
133
|
+
|
|
134
|
+
## 1.4.5 - 2026-10-21
|
|
135
|
+
|
|
136
|
+
### Fixed
|
|
137
|
+
|
|
138
|
+
- Accessibility fixes in Progress, ColorPicker, Calendar, Field, PinInput, Textarea, and Link.
|
|
139
|
+
|
|
140
|
+
## 1.4.2 - 2026-10-21
|
|
141
|
+
|
|
142
|
+
### Added
|
|
143
|
+
|
|
144
|
+
- Accent colors, set through `Theme accent` or `data-accent`.
|
|
145
|
+
|
|
146
|
+
## 1.4.0 - 2026-10-21
|
|
147
|
+
|
|
148
|
+
### Added
|
|
149
|
+
|
|
150
|
+
- `Navbar`: `activeTone` (`accent`, `primary`, or `neutral`) for the current page's indicator.
|
|
151
|
+
|
|
152
|
+
## 1.3.0 - 2026-10-20
|
|
153
|
+
|
|
154
|
+
### Added
|
|
155
|
+
|
|
156
|
+
- Built-in text in 31 languages, with `LocaleProvider`, right-to-left support, and per-component overrides.
|
|
157
|
+
|
|
158
|
+
## 1.2.0 - 2026-10-20
|
|
159
|
+
|
|
160
|
+
### Added
|
|
161
|
+
|
|
162
|
+
- `Theme`: any hex color as a brand. The library generates an accessible palette for light and dark mode from it.
|
|
163
|
+
|
|
164
|
+
## 1.1.5 - 2026-10-12
|
|
165
|
+
|
|
166
|
+
### Changed
|
|
167
|
+
|
|
168
|
+
- `Navbar`: more spacing between items.
|
|
169
|
+
|
|
170
|
+
## 1.1.4 - 2026-10-12
|
|
171
|
+
|
|
172
|
+
### Added
|
|
173
|
+
|
|
174
|
+
- Black brand palette.
|
|
175
|
+
|
|
176
|
+
## 1.1.1 - 2026-10-12
|
|
177
|
+
|
|
178
|
+
First tagged release.
|