@discuss-ds/ui 0.33.0 → 0.35.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 CHANGED
@@ -1,5 +1,19 @@
1
1
  # @discuss-ds/ui
2
2
 
3
+ ## 0.35.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#135](https://github.com/TamyresLucas/Discuss-UI-Storybook/pull/135) [`7c03cee`](https://github.com/TamyresLucas/Discuss-UI-Storybook/commit/7c03ceec8cfd6c3ce6c8677499c254071184a559) Thanks [@TamyresLucas](https://github.com/TamyresLucas)! - `QuestionNavItem`: the `error` state now shows the exclamation circle (it was the triangle), and a new optional `warning` prop shows the exclamation triangle in the warning colour, with a soft warning hover fill and, when selected or focused, a border in the same colour as the icon. `error` wins when both are set. Nothing changes for rows that set neither.
8
+
9
+ ## 0.34.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#134](https://github.com/TamyresLucas/Discuss-UI-Storybook/pull/134) [`81d991e`](https://github.com/TamyresLucas/Discuss-UI-Storybook/commit/81d991e06172535f2c85d15bad93147e76203c67) Thanks [@TamyresLucas](https://github.com/TamyresLucas)! - A character count now shows only when it is an error. `InlineEdit` (`showLimits`), `QuestionOptionEditor` (`minLength` / `maxLength`), `QuestionHeader` and `QuestionEditorCard` (the title's "n/2000 characters"), and `StimulusCard` (the caption's) show the allowed length and the count only while the text is shorter than the minimum or longer than the maximum, or after a save was refused; within the limits they show nothing. The props are unchanged, but a screen that relied on the always-on count now sees it only out of range.
14
+
15
+ - [#132](https://github.com/TamyresLucas/Discuss-UI-Storybook/pull/132) [`c9a0371`](https://github.com/TamyresLucas/Discuss-UI-Storybook/commit/c9a0371a0d3aee6bbe2cd63dd46ffe85996d8ca5) Thanks [@TamyresLucas](https://github.com/TamyresLucas)! - New `DataTable` in Data Display: pass `columns` and `data` and get a `Table` with sorting, a select-all checkbox column, pagination, a column-visibility menu, loading and empty states. It is built on TanStack Table (`@tanstack/react-table`), and any of its state can be controlled from outside. Optional features, each switched on by a prop: column pinning, sizing, resizing and ordering, column and global filtering with counts, grouping with aggregation and a footer, expandable rows and detail panels, row pinning, cell selection and spanning, grouped headers, inline editing, server-side data, virtualized rows (`@tanstack/react-virtual`), infinite scrolling and a compact density. `Table` gains a `TableFooter`, a `containerRef` and a `resizer` slot on `TableHead`.
16
+
3
17
  ## 0.33.0
4
18
 
5
19
  ### Minor Changes