@discuss-ds/ui 0.9.1 → 0.10.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 +12 -0
- package/dist/index.cjs +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @discuss-ds/ui
|
|
2
2
|
|
|
3
|
+
## 0.10.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#53](https://github.com/TamyresLucas/Discuss-UI-Storybook/pull/53) [`45ffca4`](https://github.com/TamyresLucas/Discuss-UI-Storybook/commit/45ffca41d4dc75a71b27c37548f7207ba8543774) Thanks [@TamyresLucas](https://github.com/TamyresLucas)! - Add the `screen-recording` question type: `QuestionType` now includes `'screen-recording'`, and `QuestionTypeIcon` / `QuestionNavItem` render a monitor-play glyph for it. Additive; existing types are unchanged.
|
|
8
|
+
|
|
9
|
+
## 0.9.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#51](https://github.com/TamyresLucas/Discuss-UI-Storybook/pull/51) [`6f9df5b`](https://github.com/TamyresLucas/Discuss-UI-Storybook/commit/6f9df5bcb1f8e84d1b76efcc416744889928d86b) Thanks [@TamyresLucas](https://github.com/TamyresLucas)! - `StimulusCard`: the minimum height is now 98px (was 86px) and the thumbnail is at least 92px, per the updated Figma. A one-line caption with the character counter showing is exactly that tall, so the card no longer changes height between its default and selected states.
|
|
14
|
+
|
|
3
15
|
## 0.9.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
@@ -2893,7 +2893,8 @@ var icons = {
|
|
|
2893
2893
|
ranking: import_react21.ListNumbers,
|
|
2894
2894
|
upload: import_react21.FileArrowUp,
|
|
2895
2895
|
rating: import_react21.StarHalf,
|
|
2896
|
-
"open-end": import_react21.ChatsCircle
|
|
2896
|
+
"open-end": import_react21.ChatsCircle,
|
|
2897
|
+
"screen-recording": import_react21.MonitorPlay
|
|
2897
2898
|
};
|
|
2898
2899
|
function QuestionTypeIcon({ type, size = 22.5, className, ...props }) {
|
|
2899
2900
|
const Icon = icons[type];
|
|
@@ -3212,7 +3213,7 @@ var import_jsx_runtime48 = (
|
|
|
3212
3213
|
// Out of flow, so the image's own size never sets the thumbnail's size.
|
|
3213
3214
|
require("react/jsx-runtime")
|
|
3214
3215
|
);
|
|
3215
|
-
var MIN_THUMBNAIL =
|
|
3216
|
+
var MIN_THUMBNAIL = 92;
|
|
3216
3217
|
var MAX_THUMBNAIL = 240;
|
|
3217
3218
|
var StimulusCard = React47.forwardRef(
|
|
3218
3219
|
({
|
|
@@ -3252,7 +3253,7 @@ var StimulusCard = React47.forwardRef(
|
|
|
3252
3253
|
{
|
|
3253
3254
|
ref,
|
|
3254
3255
|
"data-status": error ? "error" : "default",
|
|
3255
|
-
className: cn("flex min-h-
|
|
3256
|
+
className: cn("flex min-h-24.5 w-full items-center gap-4 rounded-md border border-border p-0.5 pr-4", className),
|
|
3256
3257
|
...props,
|
|
3257
3258
|
children: [
|
|
3258
3259
|
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex min-w-0 flex-1 items-center gap-4", children: [
|