@discuss-ds/ui 0.9.1 → 0.9.2
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 +6 -0
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -784,7 +784,7 @@ interface RatingScaleProps extends Omit<React.ComponentPropsWithoutRef<typeof To
|
|
|
784
784
|
declare const RatingScale: React.ForwardRefExoticComponent<RatingScaleProps & React.RefAttributes<HTMLDivElement>>;
|
|
785
785
|
|
|
786
786
|
interface StimulusCardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
787
|
-
/** Image shown in the
|
|
787
|
+
/** Image shown in the square thumbnail (92-240px, as tall as the text). Without one the thumbnail shows `icon` on a neutral fill. */
|
|
788
788
|
thumbnail?: string;
|
|
789
789
|
/** Alt text for `thumbnail`. Leave empty when the caption already describes the image. */
|
|
790
790
|
thumbnailAlt?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -784,7 +784,7 @@ interface RatingScaleProps extends Omit<React.ComponentPropsWithoutRef<typeof To
|
|
|
784
784
|
declare const RatingScale: React.ForwardRefExoticComponent<RatingScaleProps & React.RefAttributes<HTMLDivElement>>;
|
|
785
785
|
|
|
786
786
|
interface StimulusCardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
787
|
-
/** Image shown in the
|
|
787
|
+
/** Image shown in the square thumbnail (92-240px, as tall as the text). Without one the thumbnail shows `icon` on a neutral fill. */
|
|
788
788
|
thumbnail?: string;
|
|
789
789
|
/** Alt text for `thumbnail`. Leave empty when the caption already describes the image. */
|
|
790
790
|
thumbnailAlt?: string;
|
package/dist/index.js
CHANGED
|
@@ -3062,7 +3062,7 @@ RatingScale.displayName = "RatingScale";
|
|
|
3062
3062
|
import * as React47 from "react";
|
|
3063
3063
|
import { Image as ImageIcon2, ImageBroken, Trash as Trash5 } from "@phosphor-icons/react";
|
|
3064
3064
|
import { jsx as jsx48, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
3065
|
-
var MIN_THUMBNAIL =
|
|
3065
|
+
var MIN_THUMBNAIL = 92;
|
|
3066
3066
|
var MAX_THUMBNAIL = 240;
|
|
3067
3067
|
var StimulusCard = React47.forwardRef(
|
|
3068
3068
|
({
|
|
@@ -3102,7 +3102,7 @@ var StimulusCard = React47.forwardRef(
|
|
|
3102
3102
|
{
|
|
3103
3103
|
ref,
|
|
3104
3104
|
"data-status": error ? "error" : "default",
|
|
3105
|
-
className: cn("flex min-h-
|
|
3105
|
+
className: cn("flex min-h-24.5 w-full items-center gap-4 rounded-md border border-border p-0.5 pr-4", className),
|
|
3106
3106
|
...props,
|
|
3107
3107
|
children: [
|
|
3108
3108
|
/* @__PURE__ */ jsxs34("div", { className: "flex min-w-0 flex-1 items-center gap-4", children: [
|