@appquality/unguess-design-system 4.0.9 → 4.0.11
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 +2 -1
- package/build/index.js +18 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
# v4.0.11 (Thu Nov 21 2024)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- new version for global-alert [#446](https://github.com/AppQuality/unguess-design-system/pull/446) ([@iacopolea](https://github.com/iacopolea) [@d-beezee](https://github.com/d-beezee))
|
|
6
|
+
- feat: enhance GlobalAlert component [#445](https://github.com/AppQuality/unguess-design-system/pull/445) ([@iacopolea](https://github.com/iacopolea))
|
|
7
|
+
|
|
8
|
+
#### Authors: 2
|
|
9
|
+
|
|
10
|
+
- [@d-beezee](https://github.com/d-beezee)
|
|
11
|
+
- Iacopo Leardini ([@iacopolea](https://github.com/iacopolea))
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# v4.0.10 (Tue Nov 19 2024)
|
|
16
|
+
|
|
17
|
+
#### 🐛 Bug Fix
|
|
18
|
+
|
|
19
|
+
- Update player spacings [#444](https://github.com/AppQuality/unguess-design-system/pull/444) ([@iDome89](https://github.com/iDome89) [@d-beezee](https://github.com/d-beezee))
|
|
20
|
+
- reviewed spacings of video controls according to figma [#443](https://github.com/AppQuality/unguess-design-system/pull/443) ([@iDome89](https://github.com/iDome89))
|
|
21
|
+
|
|
22
|
+
#### Authors: 2
|
|
23
|
+
|
|
24
|
+
- [@d-beezee](https://github.com/d-beezee)
|
|
25
|
+
- [@iDome89](https://github.com/iDome89)
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
1
29
|
# v4.0.9 (Wed Nov 13 2024)
|
|
2
30
|
|
|
3
31
|
#### 🐛 Bug Fix
|
package/build/index.d.ts
CHANGED
|
@@ -2664,8 +2664,9 @@ export declare interface GlobalAlertProps extends Omit<IGlobalAlertProps, 'type'
|
|
|
2664
2664
|
dismissable?: boolean;
|
|
2665
2665
|
onClose?: () => void;
|
|
2666
2666
|
cta?: {
|
|
2667
|
-
label:
|
|
2667
|
+
label: ReactNode;
|
|
2668
2668
|
onClick?: () => void;
|
|
2669
|
+
buttonProps?: ButtonArgs;
|
|
2669
2670
|
};
|
|
2670
2671
|
}
|
|
2671
2672
|
|
package/build/index.js
CHANGED
|
@@ -64045,6 +64045,7 @@ const mQ = Cn(null), KWe = ({
|
|
|
64045
64045
|
display: flex;
|
|
64046
64046
|
align-items: center;
|
|
64047
64047
|
justify-content: center;
|
|
64048
|
+
gap: ${({ theme: e }) => e.space.xxs};
|
|
64048
64049
|
`, uGe = (e) => {
|
|
64049
64050
|
var d;
|
|
64050
64051
|
const [t, n] = Ue(1), { context: r, togglePlay: i } = qc(), o = (d = r.player) == null ? void 0 : d.ref.current, a = r.isPlaying;
|
|
@@ -64064,6 +64065,7 @@ const mQ = Cn(null), KWe = ({
|
|
|
64064
64065
|
/* @__PURE__ */ k.jsx(
|
|
64065
64066
|
Bl,
|
|
64066
64067
|
{
|
|
64068
|
+
size: "small",
|
|
64067
64069
|
onClick: (h) => {
|
|
64068
64070
|
o && (o.currentTime = 0), h.stopPropagation();
|
|
64069
64071
|
},
|
|
@@ -64073,16 +64075,18 @@ const mQ = Cn(null), KWe = ({
|
|
|
64073
64075
|
/* @__PURE__ */ k.jsx(
|
|
64074
64076
|
Bl,
|
|
64075
64077
|
{
|
|
64078
|
+
size: "small",
|
|
64076
64079
|
onClick: (h) => {
|
|
64077
64080
|
s(), h.stopPropagation();
|
|
64078
64081
|
},
|
|
64079
64082
|
children: /* @__PURE__ */ k.jsx(rGe, {})
|
|
64080
64083
|
}
|
|
64081
64084
|
),
|
|
64082
|
-
/* @__PURE__ */ k.jsx(Bl, {
|
|
64085
|
+
/* @__PURE__ */ k.jsx(Bl, { onClick: i, children: a ? /* @__PURE__ */ k.jsx(oGe, { style: { width: "20px", height: "20px" } }) : /* @__PURE__ */ k.jsx(aGe, { style: { width: "20px", height: "20px" } }) }),
|
|
64083
64086
|
/* @__PURE__ */ k.jsx(
|
|
64084
64087
|
Bl,
|
|
64085
64088
|
{
|
|
64089
|
+
size: "small",
|
|
64086
64090
|
onClick: (h) => {
|
|
64087
64091
|
l(), h.stopPropagation();
|
|
64088
64092
|
},
|
|
@@ -64092,6 +64096,7 @@ const mQ = Cn(null), KWe = ({
|
|
|
64092
64096
|
/* @__PURE__ */ k.jsx(
|
|
64093
64097
|
Bl,
|
|
64094
64098
|
{
|
|
64099
|
+
size: "small",
|
|
64095
64100
|
isPill: !0,
|
|
64096
64101
|
onClick: (h) => {
|
|
64097
64102
|
const m = lGe(t);
|
|
@@ -64260,6 +64265,7 @@ const IGe = Tr.div`
|
|
|
64260
64265
|
`, v7 = Y.div`
|
|
64261
64266
|
display: flex;
|
|
64262
64267
|
align-items: center;
|
|
64268
|
+
gap: ${({ theme: e }) => e.space.xxs};
|
|
64263
64269
|
`, OGe = Y.div`
|
|
64264
64270
|
width: 2px;
|
|
64265
64271
|
top: 0;
|
|
@@ -64368,10 +64374,16 @@ const IGe = Tr.div`
|
|
|
64368
64374
|
}
|
|
64369
64375
|
),
|
|
64370
64376
|
/* @__PURE__ */ k.jsxs(AGe, { children: [
|
|
64371
|
-
/* @__PURE__ */ k.jsxs(
|
|
64372
|
-
|
|
64373
|
-
|
|
64374
|
-
|
|
64377
|
+
/* @__PURE__ */ k.jsxs(
|
|
64378
|
+
v7,
|
|
64379
|
+
{
|
|
64380
|
+
style: { width: "20%", justifyContent: "start" },
|
|
64381
|
+
children: [
|
|
64382
|
+
/* @__PURE__ */ k.jsx(JWe, {}),
|
|
64383
|
+
/* @__PURE__ */ k.jsx(SGe, { current: G, duration: J })
|
|
64384
|
+
]
|
|
64385
|
+
}
|
|
64386
|
+
),
|
|
64375
64387
|
/* @__PURE__ */ k.jsx(uGe, { style: { width: "60%" } }),
|
|
64376
64388
|
/* @__PURE__ */ k.jsxs(v7, { style: { width: "20%", justifyContent: "end" }, children: [
|
|
64377
64389
|
/* @__PURE__ */ k.jsx(
|
|
@@ -73685,7 +73697,7 @@ const WQe = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
|
|
|
73685
73697
|
i && /* @__PURE__ */ k.jsx(zg.Title, { children: i }),
|
|
73686
73698
|
o
|
|
73687
73699
|
] }),
|
|
73688
|
-
r && /* @__PURE__ */ k.jsx(KQe, { onClick: r.onClick, className: "global-alert-cta", isAccent: e === "accent", children: r.label }),
|
|
73700
|
+
r && /* @__PURE__ */ k.jsx(KQe, { onClick: r.onClick, className: "global-alert-cta", isAccent: e === "accent", ...r.buttonProps, children: r.label }),
|
|
73689
73701
|
n && /* @__PURE__ */ k.jsx(zg.Close, { "aria-label": "Close Global Alert", onClick: t })
|
|
73690
73702
|
] }));
|
|
73691
73703
|
function g2() {
|