@discuss-ds/ui 0.1.0 → 0.3.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 +16 -0
- package/dist/index.cjs +547 -412
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +40 -5
- package/dist/index.d.ts +40 -5
- package/dist/index.js +522 -388
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @discuss-ds/ui
|
|
2
2
|
|
|
3
|
+
## 0.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#9](https://github.com/TamyresLucas/Discuss-UI-Storybook/pull/9) [`db43142`](https://github.com/TamyresLucas/Discuss-UI-Storybook/commit/db4314275efe9be5428b446ea3f170b1ab5d3829) Thanks [@TamyresLucas](https://github.com/TamyresLucas)! - `InlineEdit` gets a second style for question text and clearer rules for long text. A short single-line label keeps the pencil and hugs its text; `multiline` (longer text) now hides the pencil and fills the full width. New `variant="question"`: full width, no pencil, square corners, and a bottom border on hover and focus. New `selected` keeps that bottom border while the owning question is selected. In the question variant Enter saves and Shift+Enter adds a line break. New `onDraftChange` reports the text on every keystroke.
|
|
8
|
+
|
|
9
|
+
`QuestionHeader` (and so `QuestionEditorCard`) editor mode now edits the title with the question-variant `InlineEdit`: click the title to edit, Enter or blur saves, and the underline stays while the card is `active`. `onTitleChange` now fires when an edit is saved instead of on every keystroke; the character counter still updates live.
|
|
10
|
+
|
|
11
|
+
## 0.2.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [#7](https://github.com/TamyresLucas/Discuss-UI-Storybook/pull/7) [`d108153`](https://github.com/TamyresLucas/Discuss-UI-Storybook/commit/d1081532e7a1342d5282bb6c6e0ecc0572a34000) Thanks [@TamyresLucas](https://github.com/TamyresLucas)! - Rename `RoleTag` to `Badge` (types: `primary`, `secondary`, `question`, `interactable`, plus new `id` and `count` types covering ID Badge and Count Badge). `RoleTag` and `RoleTagProps` are no longer exported — import `Badge` and `BadgeProps` instead.
|
|
16
|
+
|
|
17
|
+
- [#7](https://github.com/TamyresLucas/Discuss-UI-Storybook/pull/7) [`d108153`](https://github.com/TamyresLucas/Discuss-UI-Storybook/commit/d1081532e7a1342d5282bb6c6e0ecc0572a34000) Thanks [@TamyresLucas](https://github.com/TamyresLucas)! - Add `InlineEdit`: text that becomes a field on click (Enter/blur saves, Escape cancels), with `multiline`, controlled and uncontrolled modes.
|
|
18
|
+
|
|
3
19
|
## 0.1.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|