@drawnagency/primitives 0.1.41 → 0.1.42
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BugReportFAB.d.ts","sourceRoot":"","sources":["../../../src/components/shell/BugReportFAB.tsx"],"names":[],"mappings":"AAMA,UAAU,KAAK;IACb,MAAM,EAAE,MAAM,CAAC;CAChB;
|
|
1
|
+
{"version":3,"file":"BugReportFAB.d.ts","sourceRoot":"","sources":["../../../src/components/shell/BugReportFAB.tsx"],"names":[],"mappings":"AAMA,UAAU,KAAK;IACb,MAAM,EAAE,MAAM,CAAC;CAChB;AA0BD,wBAAgB,YAAY,CAAC,EAAE,MAAM,EAAE,EAAE,KAAK,kDAsT7C"}
|
package/package.json
CHANGED
|
@@ -8,13 +8,14 @@ interface Props {
|
|
|
8
8
|
siteId: string;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
type Category = "Visual" | "Unexpected Behavior" | "Media / Media Library" | "Save / Publish" | "Other";
|
|
11
|
+
type Category = "Visual" | "Unexpected Behavior" | "Media / Media Library" | "Save / Publish" | "Feature Request" | "Other";
|
|
12
12
|
|
|
13
13
|
const CATEGORIES: Category[] = [
|
|
14
14
|
"Visual",
|
|
15
15
|
"Unexpected Behavior",
|
|
16
16
|
"Media / Media Library",
|
|
17
17
|
"Save / Publish",
|
|
18
|
+
"Feature Request",
|
|
18
19
|
"Other",
|
|
19
20
|
];
|
|
20
21
|
|
|
@@ -245,7 +246,7 @@ export function BugReportFAB({ siteId }: Props) {
|
|
|
245
246
|
} mt-0.5`}
|
|
246
247
|
/>
|
|
247
248
|
</button>
|
|
248
|
-
<span className="text-sm text-base-contrast">
|
|
249
|
+
<span className="text-sm text-base-contrast">Critical / Blocking</span>
|
|
249
250
|
</div>
|
|
250
251
|
|
|
251
252
|
{/* Description */}
|
|
@@ -328,7 +329,7 @@ export function BugReportFAB({ siteId }: Props) {
|
|
|
328
329
|
disabled={isSubmitting}
|
|
329
330
|
className="w-full rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-contrast hover:opacity-90 transition-opacity disabled:opacity-60"
|
|
330
331
|
>
|
|
331
|
-
{isSubmitting ? "Submitting..." : "Submit
|
|
332
|
+
{isSubmitting ? "Submitting..." : "Submit"}
|
|
332
333
|
</button>
|
|
333
334
|
</div>
|
|
334
335
|
</EditorModal>
|