@appquality/unguess-design-system 4.1.7 → 4.1.8
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 +14 -0
- package/build/index.d.ts +5 -0
- package/build/index.js +11 -11
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# v4.1.8 (Thu Oct 22 2026)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- expose create obs floating button custom label for transcript [#613](https://github.com/AppQuality/unguess-design-system/pull/613) ([@marcbon](https://github.com/marcbon) [@iacopolea](https://github.com/iacopolea))
|
|
6
|
+
- feat(transcript): expose floating create obs label + fix old naming [#612](https://github.com/AppQuality/unguess-design-system/pull/612) ([@marcbon](https://github.com/marcbon))
|
|
7
|
+
|
|
8
|
+
#### Authors: 2
|
|
9
|
+
|
|
10
|
+
- Iacopo Leardini ([@iacopolea](https://github.com/iacopolea))
|
|
11
|
+
- Marco Bonomo ([@marcbon](https://github.com/marcbon))
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
1
15
|
# v4.1.7 (Thu Sep 24 2026)
|
|
2
16
|
|
|
3
17
|
#### 🐛 Bug Fix
|
package/build/index.d.ts
CHANGED
|
@@ -1180,6 +1180,10 @@ export declare const FileUpload: (props: IFileUploadProps) => JSX_2.Element;
|
|
|
1180
1180
|
|
|
1181
1181
|
declare const FLEX_DIRECTION: string[];
|
|
1182
1182
|
|
|
1183
|
+
declare interface FloatingMenuI18n {
|
|
1184
|
+
floatingCreateLabel?: string;
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1183
1187
|
declare const Footer_2: IStyledComponentBase<"web", FastOmit<Omit<HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1184
1188
|
ref?: ((instance: HTMLDivElement | null) => void | DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | RefObject<HTMLDivElement> | null | undefined;
|
|
1185
1189
|
}, never>> & string & Omit<ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>, keyof Component<any, {}, any>>;
|
|
@@ -3514,6 +3518,7 @@ export declare const Transcript: {
|
|
|
3514
3518
|
start: number;
|
|
3515
3519
|
end: number;
|
|
3516
3520
|
}) => void;
|
|
3521
|
+
i18n?: FloatingMenuI18n;
|
|
3517
3522
|
}) => JSX_2.Element | null;
|
|
3518
3523
|
};
|
|
3519
3524
|
|
package/build/index.js
CHANGED
|
@@ -80304,10 +80304,10 @@ const nT = (e) => {
|
|
|
80304
80304
|
},
|
|
80305
80305
|
children: t ? /* @__PURE__ */ M.jsxs(M.Fragment, { children: [
|
|
80306
80306
|
/* @__PURE__ */ M.jsx(kr.StartIcon, { children: /* @__PURE__ */ M.jsx(M_, {}) }),
|
|
80307
|
-
/* @__PURE__ */ M.jsx(du, { children: (n == null ? void 0 : n.onHighlight) || "End
|
|
80307
|
+
/* @__PURE__ */ M.jsx(du, { children: (n == null ? void 0 : n.onHighlight) || "End highlight" })
|
|
80308
80308
|
] }) : /* @__PURE__ */ M.jsxs(M.Fragment, { children: [
|
|
80309
80309
|
/* @__PURE__ */ M.jsx(kr.StartIcon, { children: /* @__PURE__ */ M.jsx(aJe, {}) }),
|
|
80310
|
-
/* @__PURE__ */ M.jsx(du, { children: (n == null ? void 0 : n.beforeHighlight) || "Start
|
|
80310
|
+
/* @__PURE__ */ M.jsx(du, { children: (n == null ? void 0 : n.beforeHighlight) || "Start highlight" })
|
|
80311
80311
|
] })
|
|
80312
80312
|
}
|
|
80313
80313
|
);
|
|
@@ -80320,7 +80320,7 @@ const nT = (e) => {
|
|
|
80320
80320
|
size: "medium",
|
|
80321
80321
|
maxWidth: "unset",
|
|
80322
80322
|
appendToNode: l,
|
|
80323
|
-
content: r ? n == null ? void 0 : n.observationsDisable : /* @__PURE__ */ M.jsx(__, { type: "observation", children: (n == null ? void 0 : n.observations) || "Start/stop new
|
|
80323
|
+
content: r ? n == null ? void 0 : n.observationsDisable : /* @__PURE__ */ M.jsx(__, { type: "observation", children: (n == null ? void 0 : n.observations) || "Start/stop new highlight" }),
|
|
80324
80324
|
children: /* @__PURE__ */ M.jsx(sJe, { children: o })
|
|
80325
80325
|
}
|
|
80326
80326
|
);
|
|
@@ -91430,22 +91430,22 @@ const Put = ({ children: e }) => /* @__PURE__ */ M.jsx("span", { style: { backgr
|
|
|
91430
91430
|
box-shadow: ${({ theme: e }) => e.shadows.boxShadow()};
|
|
91431
91431
|
display: flex;
|
|
91432
91432
|
`, Kut = (e) => {
|
|
91433
|
-
const { editor: t, onClick: n } = e,
|
|
91434
|
-
return t ? /* @__PURE__ */ M.jsx(TY, { editor: t, shouldShow:
|
|
91433
|
+
const { editor: t, onClick: n, i18n: r } = e, i = (a) => a.from !== a.to;
|
|
91434
|
+
return t ? /* @__PURE__ */ M.jsx(TY, { editor: t, shouldShow: i, children: /* @__PURE__ */ M.jsx(Gut, { className: "bubble-menu", children: /* @__PURE__ */ M.jsxs(
|
|
91435
91435
|
kr,
|
|
91436
91436
|
{
|
|
91437
91437
|
isAccent: !0,
|
|
91438
91438
|
isPrimary: !0,
|
|
91439
91439
|
onClick: () => {
|
|
91440
|
-
const { from:
|
|
91441
|
-
let
|
|
91442
|
-
t.state.doc.nodesBetween(
|
|
91443
|
-
|
|
91444
|
-
}),
|
|
91440
|
+
const { from: a, to: o } = t.state.selection;
|
|
91441
|
+
let l = 0, c = 0;
|
|
91442
|
+
t.state.doc.nodesBetween(a, o, (f) => {
|
|
91443
|
+
f.type.name === "Word" && (l || (l = f.attrs["data-start"]), c = f.attrs["data-end"]);
|
|
91444
|
+
}), l !== c && n(t, { start: l, end: c });
|
|
91445
91445
|
},
|
|
91446
91446
|
children: [
|
|
91447
91447
|
/* @__PURE__ */ M.jsx(kr.StartIcon, { children: /* @__PURE__ */ M.jsx(M_, {}) }),
|
|
91448
|
-
"Create
|
|
91448
|
+
(r == null ? void 0 : r.floatingCreateLabel) ?? "Create Highlight"
|
|
91449
91449
|
]
|
|
91450
91450
|
}
|
|
91451
91451
|
) }) }) : null;
|