@discuss-ds/ui 0.1.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 ADDED
@@ -0,0 +1,35 @@
1
+ # @discuss-ds/ui
2
+
3
+ ## 0.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#3](https://github.com/TamyresLucas/Discuss-UI-Storybook/pull/3) [`2e17dfe`](https://github.com/TamyresLucas/Discuss-UI-Storybook/commit/2e17dfe079f427e1360b9dabc8ce1cbf699c7745) Thanks [@TamyresLucas](https://github.com/TamyresLucas)! - Add the activity builder components from Figma (error rows use a destructive border and soft red hover fill, 14px labels): `QuestionEditorCard` (idle, hover and active authoring card for select one / multiple, ranking, rate and open end, with optional note strip), `QuestionNavItem` (question list row with selected, error and hover-drag states), `StatCard` and `ActivityStructure`. `QuestionHeader` editor mode gains `active` and `showCounter`.
8
+
9
+ - [#4](https://github.com/TamyresLucas/Discuss-UI-Storybook/pull/4) [`32eefca`](https://github.com/TamyresLucas/Discuss-UI-Storybook/commit/32eefcad344f0880813c88febc7ef1ea693b6de9) Thanks [@TamyresLucas](https://github.com/TamyresLucas)! - Activity Structure now shows text sections (Research Goal, Target Audience) with removable tags in place of the settings button (`sections`, `onRemoveTag`, `onAddTag`; `onOpenSettings` removed). Question Editor Card moves the Ask AI sparkle button outside the card, revealed on hover/focus.
10
+
11
+ - [#2](https://github.com/TamyresLucas/Discuss-UI-Storybook/pull/2) [`c9295f2`](https://github.com/TamyresLucas/Discuss-UI-Storybook/commit/c9295f273dcbc2c9315a575bcdf427bf8cca2e61) Thanks [@TamyresLucas](https://github.com/TamyresLucas)! - Add the AI chat components from Figma: `UserMessageBubble` (+ `FileAttachment`, `AskAiToggle`), `Timestamp` (message actions), `AIMiniAvatar` (idle / thinking / executing / working states), `AIResponseContainer` (+ `TopicCard`, `TopicActivityRow`) and `ChatInput` (+ `AskAiInput`, `ProjectSelector`, `ChatChoices` / `ChatOption`).
12
+
13
+ - [#2](https://github.com/TamyresLucas/Discuss-UI-Storybook/pull/2) [`c9295f2`](https://github.com/TamyresLucas/Discuss-UI-Storybook/commit/c9295f273dcbc2c9315a575bcdf427bf8cca2e61) Thanks [@TamyresLucas](https://github.com/TamyresLucas)! - Add the overlay components from Figma, all on Radix primitives: `Dialog` (header / body / footer sections, scrim, close button), `DropdownMenu` (items with descriptions, destructive, selected check, submenus), `Tooltip` (simple, descriptive and rich content with an arrow) and `Toast` + `ToastInline` (info / success / warning / destructive). The Textarea now grows with its content.
14
+
15
+ - [#1](https://github.com/TamyresLucas/Discuss-UI-Storybook/pull/1) [`9906195`](https://github.com/TamyresLucas/Discuss-UI-Storybook/commit/9906195d481c556940aca6eaedee719a0a6fb0ea) Thanks [@TamyresLucas](https://github.com/TamyresLucas)! - Align component colour pairings with Figma for WCAG AA: add the neutral `label` token (text on dark fills), primary/destructive hover tokens and documented dark-overlay tokens; fields use `surface-background`; Button/Form/Select re-paired; Tailwind theme now `inline` so dark mode reaches utilities.
16
+
17
+ - [#2](https://github.com/TamyresLucas/Discuss-UI-Storybook/pull/2) [`c9295f2`](https://github.com/TamyresLucas/Discuss-UI-Storybook/commit/c9295f273dcbc2c9315a575bcdf427bf8cca2e61) Thanks [@TamyresLucas](https://github.com/TamyresLucas)! - Add the Question Types set from Figma: `QuestionCard`, `QuestionHeader` (default, error and editor modes), `QuestionOption` (radio / checkbox, `QuestionOtherOption`, `QuestionOptionEditor`), `OpenEndAnswer`, `RatingScale`, `RankList` (drag or arrow-key reordering), `FileUploadZone` / `FileUploadItem`, `ImagePreview`, `ImageThumbnails`, `VideoPlayer` and `QuestionTypeIcon`.
18
+
19
+ - [#2](https://github.com/TamyresLucas/Discuss-UI-Storybook/pull/2) [`c9295f2`](https://github.com/TamyresLucas/Discuss-UI-Storybook/commit/c9295f273dcbc2c9315a575bcdf427bf8cca2e61) Thanks [@TamyresLucas](https://github.com/TamyresLucas)! - Add `Table` (`TableHeader`, `TableBody`, `TableRow`, `TableHead`, `TableCell`, `TableCellTwoLines`) with sortable headers, selected / striped rows and checkbox, tag, two-line, actions, select and radio cell types, and `Pagination` (full and compact) with the `getPaginationItems` helper, per the Figma Tables, Table Header Row, Table Row, Table Column and Pagination frames.
20
+
21
+ - [#4](https://github.com/TamyresLucas/Discuss-UI-Storybook/pull/4) [`32eefca`](https://github.com/TamyresLucas/Discuss-UI-Storybook/commit/32eefcad344f0880813c88febc7ef1ea693b6de9) Thanks [@TamyresLucas](https://github.com/TamyresLucas)! - Publish `@discuss-ds/tokens` and `@discuss-ds/ui` to npm as compiled packages (`dist` + `styles.css`) so other projects can install them.
22
+
23
+ - [#2](https://github.com/TamyresLucas/Discuss-UI-Storybook/pull/2) [`c9295f2`](https://github.com/TamyresLucas/Discuss-UI-Storybook/commit/c9295f273dcbc2c9315a575bcdf427bf8cca2e61) Thanks [@TamyresLucas](https://github.com/TamyresLucas)! - Align Button, Tab Navigation/Tab Item, Progress and the Tag family with Figma. Button gains `subtle` (alias `secondary`) and `link` variants and `icon`/`icon-sm` sizes, and `md`/`sm` now match the 40px/32px specs. New: `TabNavigation`/`TabItem`/`Tabs` (Radix Tabs), `Progress`, `Tag`, `StatusTag`, `EditableTag`, `RoleTag`. `cn()` now teaches tailwind-merge the `text-ui-*` type styles and `bg-linear-to-*` so they are no longer dropped. Adds `@phosphor-icons/react`.
24
+
25
+ - [#2](https://github.com/TamyresLucas/Discuss-UI-Storybook/pull/2) [`c9295f2`](https://github.com/TamyresLucas/Discuss-UI-Storybook/commit/c9295f273dcbc2c9315a575bcdf427bf8cca2e61) Thanks [@TamyresLucas](https://github.com/TamyresLucas)! - Align the form controls with Figma and add the missing ones. Restyled: Switch (44×24), Text Input and Textarea (label / helper / success / error via the new `Field`, or the `label`/`description`/`message`/`status` props), Search Bar (clear button, accent focus), Checkbox (indeterminate + `CheckboxField`), Radio Group (`RadioGroupFieldItem`), Slider (label, range and value bubble), Select (`icon`, accent open state) and Label. New: `Toggle`, `NumberInput`, `InputWithAction`, `Calendar`, `TimePicker`, `DateTimePicker`, `DatePicker`. `Input` no longer has a `size` prop (single 40px size per Figma). Adds `react-day-picker`.
26
+
27
+ - [#1](https://github.com/TamyresLucas/Discuss-UI-Storybook/pull/1) [`20b1530`](https://github.com/TamyresLucas/Discuss-UI-Storybook/commit/20b1530d016280d5b20ff3a81d6b1f473749389d) Thanks [@TamyresLucas](https://github.com/TamyresLucas)! - Re-sync tokens with Figma: add dark mode, shadow scale (xs–2xl), radius xs/xxs, opacity steps, surface/accent-muted/input-accent tokens; card/popover, info, muted-foreground and soft variants updated to Figma values.
28
+
29
+ - [#1](https://github.com/TamyresLucas/Discuss-UI-Storybook/pull/1) [`48c5f8f`](https://github.com/TamyresLucas/Discuss-UI-Storybook/commit/48c5f8f20fb4028097ba5dcdd1c0c2a48bec4a61) Thanks [@TamyresLucas](https://github.com/TamyresLucas)! - Add `sys-text-*` composite type-style tokens mirroring the Figma text styles, exposed as `text-heading-h1` … `text-ui-input-value` utilities.
30
+
31
+ ### Patch Changes
32
+
33
+ - [#3](https://github.com/TamyresLucas/Discuss-UI-Storybook/pull/3) [`2e17dfe`](https://github.com/TamyresLucas/Discuss-UI-Storybook/commit/2e17dfe079f427e1360b9dabc8ce1cbf699c7745) Thanks [@TamyresLucas](https://github.com/TamyresLucas)! - `FileUploadZone` now matches the Figma Upload_Zone: 143px minimum height, tighter spacing and a page-background fill on hover.
34
+ - Updated dependencies [[`9906195`](https://github.com/TamyresLucas/Discuss-UI-Storybook/commit/9906195d481c556940aca6eaedee719a0a6fb0ea), [`32eefca`](https://github.com/TamyresLucas/Discuss-UI-Storybook/commit/32eefcad344f0880813c88febc7ef1ea693b6de9), [`20b1530`](https://github.com/TamyresLucas/Discuss-UI-Storybook/commit/20b1530d016280d5b20ff3a81d6b1f473749389d), [`48c5f8f`](https://github.com/TamyresLucas/Discuss-UI-Storybook/commit/48c5f8f20fb4028097ba5dcdd1c0c2a48bec4a61)]:
35
+ - @discuss-ds/tokens@0.1.0