@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.
Files changed (113) hide show
  1. package/CHANGELOG.md +178 -0
  2. package/README.md +854 -873
  3. package/dist/ai/llms-full.txt +759 -584
  4. package/dist/ai/llms.txt +4 -1
  5. package/dist/ai/registry.json +481 -27
  6. package/dist/components/data-display/Accordion/Accordion.cjs.js +1 -1
  7. package/dist/components/data-display/Accordion/Accordion.mjs +97 -166
  8. package/dist/components/data-display/Chat/Chat.d.ts +13 -2
  9. package/dist/components/data-display/Collapsible/Collapsible.cjs.js +1 -0
  10. package/dist/components/data-display/Collapsible/Collapsible.d.ts +70 -0
  11. package/dist/components/data-display/Collapsible/Collapsible.mjs +102 -0
  12. package/dist/components/data-display/Collapsible/Collapsible.module.css.cjs.js +1 -0
  13. package/dist/components/data-display/Collapsible/Collapsible.module.css.mjs +8 -0
  14. package/dist/components/data-display/Collapsible/index.d.ts +1 -0
  15. package/dist/components/feedback/Progress/Progress.cjs.js +1 -1
  16. package/dist/components/feedback/Progress/Progress.d.ts +32 -2
  17. package/dist/components/feedback/Progress/Progress.mjs +78 -74
  18. package/dist/components/feedback/Progress/Progress.module.css.cjs.js +1 -1
  19. package/dist/components/feedback/Progress/Progress.module.css.mjs +1 -1
  20. package/dist/components/forms/Radio/Radio.cjs.js +1 -1
  21. package/dist/components/forms/Radio/Radio.mjs +12 -10
  22. package/dist/components/forms/ToggleGroup/ToggleGroup.cjs.js +1 -1
  23. package/dist/components/forms/ToggleGroup/ToggleGroup.d.ts +3 -2
  24. package/dist/components/forms/ToggleGroup/ToggleGroup.mjs +133 -131
  25. package/dist/components/navigation/Toolbar/Toolbar.cjs.js +1 -0
  26. package/dist/components/navigation/Toolbar/Toolbar.d.ts +62 -0
  27. package/dist/components/navigation/Toolbar/Toolbar.mjs +106 -0
  28. package/dist/components/navigation/Toolbar/Toolbar.module.css.cjs.js +1 -0
  29. package/dist/components/navigation/Toolbar/Toolbar.module.css.mjs +11 -0
  30. package/dist/components/navigation/Toolbar/ToolbarContext.cjs.js +1 -0
  31. package/dist/components/navigation/Toolbar/ToolbarContext.d.ts +9 -0
  32. package/dist/components/navigation/Toolbar/ToolbarContext.mjs +4 -0
  33. package/dist/components/navigation/Toolbar/index.d.ts +1 -0
  34. package/dist/components/primitives/CopyButton/CopyButton.cjs.js +1 -0
  35. package/dist/components/primitives/CopyButton/CopyButton.d.ts +39 -0
  36. package/dist/components/primitives/CopyButton/CopyButton.mjs +49 -0
  37. package/dist/components/primitives/CopyButton/index.d.ts +1 -0
  38. package/dist/hooks/useCollapsePresence.cjs.js +1 -0
  39. package/dist/hooks/useCollapsePresence.d.ts +33 -0
  40. package/dist/hooks/useCollapsePresence.mjs +83 -0
  41. package/dist/i18n/en.cjs.js +1 -1
  42. package/dist/i18n/en.mjs +5 -0
  43. package/dist/i18n/types.d.ts +8 -0
  44. package/dist/index.cjs.js +1 -1
  45. package/dist/index.d.ts +3 -0
  46. package/dist/index.mjs +104 -101
  47. package/dist/locales/ar.cjs.js +1 -1
  48. package/dist/locales/ar.mjs +5 -0
  49. package/dist/locales/bn.cjs.js +1 -1
  50. package/dist/locales/bn.mjs +5 -0
  51. package/dist/locales/cs.cjs.js +1 -1
  52. package/dist/locales/cs.mjs +5 -0
  53. package/dist/locales/da.cjs.js +1 -1
  54. package/dist/locales/da.mjs +5 -0
  55. package/dist/locales/de.cjs.js +1 -1
  56. package/dist/locales/de.mjs +5 -0
  57. package/dist/locales/el.cjs.js +1 -1
  58. package/dist/locales/el.mjs +5 -0
  59. package/dist/locales/es.cjs.js +1 -1
  60. package/dist/locales/es.mjs +5 -0
  61. package/dist/locales/fa.cjs.js +1 -1
  62. package/dist/locales/fa.mjs +5 -0
  63. package/dist/locales/fi.cjs.js +1 -1
  64. package/dist/locales/fi.mjs +5 -0
  65. package/dist/locales/fr.cjs.js +1 -1
  66. package/dist/locales/fr.mjs +5 -0
  67. package/dist/locales/he.cjs.js +1 -1
  68. package/dist/locales/he.mjs +5 -0
  69. package/dist/locales/hi.cjs.js +1 -1
  70. package/dist/locales/hi.mjs +5 -0
  71. package/dist/locales/hu.cjs.js +1 -1
  72. package/dist/locales/hu.mjs +5 -0
  73. package/dist/locales/id.cjs.js +1 -1
  74. package/dist/locales/id.mjs +5 -0
  75. package/dist/locales/it.cjs.js +1 -1
  76. package/dist/locales/it.mjs +5 -0
  77. package/dist/locales/ja.cjs.js +1 -1
  78. package/dist/locales/ja.mjs +5 -0
  79. package/dist/locales/ko.cjs.js +1 -1
  80. package/dist/locales/ko.mjs +5 -0
  81. package/dist/locales/nb.cjs.js +1 -1
  82. package/dist/locales/nb.mjs +5 -0
  83. package/dist/locales/nl.cjs.js +1 -1
  84. package/dist/locales/nl.mjs +5 -0
  85. package/dist/locales/pl.cjs.js +1 -1
  86. package/dist/locales/pl.mjs +5 -0
  87. package/dist/locales/pt-BR.cjs.js +1 -1
  88. package/dist/locales/pt-BR.mjs +5 -0
  89. package/dist/locales/ro.cjs.js +1 -1
  90. package/dist/locales/ro.mjs +5 -0
  91. package/dist/locales/ru.cjs.js +1 -1
  92. package/dist/locales/ru.mjs +5 -0
  93. package/dist/locales/sv.cjs.js +1 -1
  94. package/dist/locales/sv.mjs +5 -0
  95. package/dist/locales/th.cjs.js +1 -1
  96. package/dist/locales/th.mjs +5 -0
  97. package/dist/locales/tr.cjs.js +1 -1
  98. package/dist/locales/tr.mjs +5 -0
  99. package/dist/locales/uk.cjs.js +1 -1
  100. package/dist/locales/uk.mjs +5 -0
  101. package/dist/locales/ur.cjs.js +1 -1
  102. package/dist/locales/ur.mjs +5 -0
  103. package/dist/locales/vi.cjs.js +1 -1
  104. package/dist/locales/vi.mjs +5 -0
  105. package/dist/locales/zh-Hans.cjs.js +1 -1
  106. package/dist/locales/zh-Hans.mjs +5 -0
  107. package/dist/locales/zh-Hant.cjs.js +1 -1
  108. package/dist/locales/zh-Hant.mjs +5 -0
  109. package/dist/vjdesigns-ui.css +1 -1
  110. package/package.json +9 -5
  111. package/dist/components/feedback/Toast/Toast.storyHelpers.d.ts +0 -21
  112. package/dist/components/navigation/Sidebar/Sidebar.storyHelpers.d.ts +0 -27
  113. 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.