@appquality/unguess-design-system 4.1.6 → 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 +28 -0
- package/build/index.d.ts +5 -0
- package/build/index.js +21 -13
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
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
|
+
|
|
15
|
+
# v4.1.7 (Thu Sep 24 2026)
|
|
16
|
+
|
|
17
|
+
#### 🐛 Bug Fix
|
|
18
|
+
|
|
19
|
+
- Add disabled state for cb and radio [#610](https://github.com/AppQuality/unguess-design-system/pull/610) ([@Kariamos](https://github.com/Kariamos) [@d-beezee](https://github.com/d-beezee))
|
|
20
|
+
- UN-2424: improve checkbox and radio buttons visibility when disabled [#609](https://github.com/AppQuality/unguess-design-system/pull/609) ([@Kariamos](https://github.com/Kariamos))
|
|
21
|
+
|
|
22
|
+
#### Authors: 2
|
|
23
|
+
|
|
24
|
+
- [@d-beezee](https://github.com/d-beezee)
|
|
25
|
+
- Marco ([@Kariamos](https://github.com/Kariamos))
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
1
29
|
# v4.1.6 (Mon Sep 14 2026)
|
|
2
30
|
|
|
3
31
|
#### 🐛 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
|
);
|
|
@@ -87695,7 +87695,11 @@ const yat = X.div`
|
|
|
87695
87695
|
!g && b && /* @__PURE__ */ M.jsx(xat, { saveText: n })
|
|
87696
87696
|
] })) : null;
|
|
87697
87697
|
}
|
|
87698
|
-
), Tat = X(Vy)
|
|
87698
|
+
), Tat = X(Vy)`
|
|
87699
|
+
&&:disabled ~ label::before {
|
|
87700
|
+
background-color: ${({ theme: e }) => e.palette.grey[300]};
|
|
87701
|
+
}
|
|
87702
|
+
`, kat = (e) => /* @__PURE__ */ M.jsx(Tat, { ...e }), Iat = X(Pg)``, q_ = (e) => /* @__PURE__ */ M.jsx(Iat, { ...e }), _at = X(q_)`
|
|
87699
87703
|
margin: ${({ theme: e }) => e.space.base}px auto;
|
|
87700
87704
|
`, aft = (e) => {
|
|
87701
87705
|
const { card: t } = e, [n, r] = qe(e.defaultChecked || !1), i = () => {
|
|
@@ -88001,7 +88005,11 @@ const Rat = X(f4)``, $at = X(vj)``, Pat = X(m4)``, oft = (e) => /* @__PURE__ */
|
|
|
88001
88005
|
};
|
|
88002
88006
|
zZ.Item = Uat;
|
|
88003
88007
|
zZ.Label = Bat;
|
|
88004
|
-
const Vat = X(v4)``, Wat = (e) => /* @__PURE__ */ M.jsx(Vat, { ...e }), Gat = X(o4)
|
|
88008
|
+
const Vat = X(v4)``, Wat = (e) => /* @__PURE__ */ M.jsx(Vat, { ...e }), Gat = X(o4)`
|
|
88009
|
+
&&:disabled ~ label::before {
|
|
88010
|
+
background-color: ${({ theme: e }) => e.palette.grey[300]};
|
|
88011
|
+
}
|
|
88012
|
+
`, uft = (e) => /* @__PURE__ */ M.jsx(Gat, { ...e }), UZ = (e) => /* @__PURE__ */ G.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "#68737D", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ G.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.6464 2.64645C14.8417 2.45118 15.1583 2.45118 15.3536 2.64645C15.5488 2.84171 15.5488 3.15829 15.3536 3.35355L5.35355 13.3536C5.15829 13.5488 4.84171 13.5488 4.64645 13.3536L0.646447 9.35355C0.451184 9.15829 0.451184 8.84171 0.646447 8.64645C0.841709 8.45118 1.15829 8.45118 1.35355 8.64645L5 12.2929L14.6464 2.64645Z" })), Kat = X(Ky)`
|
|
88005
88013
|
margin: ${({ theme: e }) => e.space.base}px auto;
|
|
88006
88014
|
color: ${({ theme: e }) => e.palette.grey[700]};
|
|
88007
88015
|
font-weight: ${({ theme: e }) => e.fontWeights.medium};
|
|
@@ -91422,22 +91430,22 @@ const Put = ({ children: e }) => /* @__PURE__ */ M.jsx("span", { style: { backgr
|
|
|
91422
91430
|
box-shadow: ${({ theme: e }) => e.shadows.boxShadow()};
|
|
91423
91431
|
display: flex;
|
|
91424
91432
|
`, Kut = (e) => {
|
|
91425
|
-
const { editor: t, onClick: n } = e,
|
|
91426
|
-
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(
|
|
91427
91435
|
kr,
|
|
91428
91436
|
{
|
|
91429
91437
|
isAccent: !0,
|
|
91430
91438
|
isPrimary: !0,
|
|
91431
91439
|
onClick: () => {
|
|
91432
|
-
const { from:
|
|
91433
|
-
let
|
|
91434
|
-
t.state.doc.nodesBetween(
|
|
91435
|
-
|
|
91436
|
-
}),
|
|
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 });
|
|
91437
91445
|
},
|
|
91438
91446
|
children: [
|
|
91439
91447
|
/* @__PURE__ */ M.jsx(kr.StartIcon, { children: /* @__PURE__ */ M.jsx(M_, {}) }),
|
|
91440
|
-
"Create
|
|
91448
|
+
(r == null ? void 0 : r.floatingCreateLabel) ?? "Create Highlight"
|
|
91441
91449
|
]
|
|
91442
91450
|
}
|
|
91443
91451
|
) }) }) : null;
|