meticulous-ui 2.8.5 → 2.9.0
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,156 +1,174 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { Wrapper as
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { jsxs as n, jsx as e, Fragment as v } from "react/jsx-runtime";
|
|
2
|
+
import { useState as a, useRef as de, useEffect as O } from "react";
|
|
3
|
+
import ce from "../Glass/Glass.js";
|
|
4
|
+
import ue from "./components/TimerRing/TimerRing.js";
|
|
5
|
+
import h from "../../colors/white.js";
|
|
6
|
+
import { Wrapper as me, Dimmer as he, DotsWrapper as pe, AllDots as ge, Dots as be, Time as U, TimeTxt as _, HourHand as fe, MinuteHand as Se, SecondHand as Te, AlarmRing as $e, BulletRing as Ae, Bullet as ye, VisuallyHidden as Re, LeftActions as De, ActionBtn as p, MediaStopFilledWrapper as Pe, MediaPauseFilledWrapper as we, MediaPlayFilledWrapper as He, RightActions as Ie, AddWrapper as Me } from "./styles.js";
|
|
7
|
+
import { getSize as ke } from "./helpers.js";
|
|
8
|
+
const c = () => {
|
|
9
|
+
}, Ce = (g) => () => {
|
|
10
|
+
const o = (/* @__PURE__ */ new Date()).toLocaleString("en-Us", { hour12: !0, timeZone: g }).split(", ")[1].split(" ")[0], [f, r, u] = o.split(":").map(Number);
|
|
10
11
|
return {
|
|
11
|
-
second:
|
|
12
|
-
minute: r * 6 +
|
|
13
|
-
hour:
|
|
12
|
+
second: u * 6,
|
|
13
|
+
minute: r * 6 + u * 0.1,
|
|
14
|
+
hour: f % 12 * 30 + r * 0.5
|
|
14
15
|
};
|
|
15
|
-
},
|
|
16
|
-
color:
|
|
17
|
-
showTime:
|
|
18
|
-
showTimeWithSec:
|
|
19
|
-
timeZone:
|
|
20
|
-
isDigital:
|
|
16
|
+
}, ve = ({
|
|
17
|
+
color: g = "green",
|
|
18
|
+
showTime: M = !0,
|
|
19
|
+
showTimeWithSec: b = !0,
|
|
20
|
+
timeZone: o = "Asia/Kolkata",
|
|
21
|
+
isDigital: f = !0,
|
|
21
22
|
timerSeconds: r = 0,
|
|
22
|
-
onTimerAdd:
|
|
23
|
-
onTimerComplete:
|
|
24
|
-
onTimerRemove:
|
|
25
|
-
onTimerPause:
|
|
26
|
-
onTimerPlay:
|
|
27
|
-
|
|
23
|
+
onTimerAdd: u = c,
|
|
24
|
+
onTimerComplete: G = c,
|
|
25
|
+
onTimerRemove: K = c,
|
|
26
|
+
onTimerPause: q = c,
|
|
27
|
+
onTimerPlay: J = c,
|
|
28
|
+
size: S = 20,
|
|
29
|
+
...Q
|
|
28
30
|
}) => {
|
|
29
|
-
const [
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}, [
|
|
33
|
-
const
|
|
34
|
-
|
|
35
|
-
}, X = () => {
|
|
36
|
-
R(!0), O();
|
|
37
|
-
}, Y = () => {
|
|
38
|
-
S(0), A(0), R(!1);
|
|
39
|
-
}, Z = () => {
|
|
40
|
-
T(!0), G();
|
|
31
|
+
const [T, V] = a(/* @__PURE__ */ new Date()), [s, $] = a(0), [m, A] = a(!1), [y, X] = a(Ce(o)), [Y, R] = a(0), [D, P] = a(!1), k = de(m), t = Math.round(S), w = Math.round(14 * S / 20);
|
|
32
|
+
O(() => {
|
|
33
|
+
k.current = m;
|
|
34
|
+
}, [m]);
|
|
35
|
+
const Z = () => {
|
|
36
|
+
$(r), R(r % 60 * 6), A(!1), u();
|
|
41
37
|
}, ee = () => {
|
|
42
|
-
|
|
38
|
+
P(!0), K();
|
|
39
|
+
}, te = () => {
|
|
40
|
+
$(0), R(0), P(!1);
|
|
41
|
+
}, re = () => {
|
|
42
|
+
A(!0), q();
|
|
43
|
+
}, ie = () => {
|
|
44
|
+
A(!1), J();
|
|
43
45
|
};
|
|
44
|
-
|
|
45
|
-
const
|
|
46
|
-
const
|
|
47
|
-
|
|
48
|
-
const
|
|
49
|
-
const
|
|
50
|
-
return
|
|
46
|
+
O(() => {
|
|
47
|
+
const j = setInterval(() => {
|
|
48
|
+
const d = /* @__PURE__ */ new Date();
|
|
49
|
+
V(d), X((i) => {
|
|
50
|
+
const ne = d.toLocaleString("en-Us", { hour12: !0, timeZone: o }).split(", ")[1].split(" ")[0], [ae, x, z] = ne.split(":").map(Number), oe = z * 6, se = x * 6 + z * 0.1, le = ae % 12 * 30 + x * 0.5, I = (B, E) => {
|
|
51
|
+
const F = B % 360;
|
|
52
|
+
return B - F + E + (E < F ? 360 : 0);
|
|
51
53
|
};
|
|
52
54
|
return {
|
|
53
|
-
second:
|
|
54
|
-
minute:
|
|
55
|
-
hour:
|
|
55
|
+
second: I(i.second, oe),
|
|
56
|
+
minute: I(i.minute, se),
|
|
57
|
+
hour: I(i.hour, le)
|
|
56
58
|
};
|
|
57
|
-
}),
|
|
59
|
+
}), k.current || ($((i) => (i - 1 === 0 && (G(), P(!0)), i - 1)), R((i) => i - 6));
|
|
58
60
|
}, 1e3);
|
|
59
|
-
return () => clearInterval(
|
|
61
|
+
return () => clearInterval(j);
|
|
60
62
|
}, []);
|
|
61
|
-
const
|
|
62
|
-
return /* @__PURE__ */
|
|
63
|
-
/* @__PURE__ */ e(
|
|
64
|
-
|
|
65
|
-
/* @__PURE__ */ e(
|
|
66
|
-
|
|
67
|
-
/* @__PURE__ */ e(
|
|
68
|
-
/* @__PURE__ */ e(
|
|
69
|
-
] }) : /* @__PURE__ */
|
|
63
|
+
const H = T.toLocaleString("en-Us", { hour12: !0, timeZone: o }).split(", ")[1], C = H.split(" ")[0], W = H.split(" ")[1], L = H.split(":").slice(0, 2).join(":"), l = !(Number.isInteger(s) && s > 0), N = `${b ? C : L} ${W}`;
|
|
64
|
+
return /* @__PURE__ */ n(me, { $color: g, role: "region", "aria-label": "Clock", $size: t, ...Q, children: [
|
|
65
|
+
/* @__PURE__ */ e(ce, { borderRadius: `${ke(16.67)({ $size: t })}rem`, "aria-hidden": "true" }),
|
|
66
|
+
M && /* @__PURE__ */ n(v, { children: [
|
|
67
|
+
/* @__PURE__ */ e(he, { "aria-hidden": "true", $size: t, children: /* @__PURE__ */ e(pe, { children: /* @__PURE__ */ e(ge, { "aria-hidden": "true", children: [...Array(60)].map((j, d) => /* @__PURE__ */ e(be, { $i: d, $size: t }, d)) }) }) }),
|
|
68
|
+
f ? /* @__PURE__ */ n(U, { as: "time", dateTime: T.toISOString(), "aria-label": N, children: [
|
|
69
|
+
/* @__PURE__ */ e(_, { $size: t, "aria-hidden": "true", children: b ? C : L }),
|
|
70
|
+
/* @__PURE__ */ e(_, { $size: t, "aria-hidden": "true", children: W })
|
|
71
|
+
] }) : /* @__PURE__ */ n(U, { as: "time", dateTime: T.toISOString(), "aria-label": N, children: [
|
|
70
72
|
/* @__PURE__ */ e(
|
|
71
|
-
|
|
73
|
+
fe,
|
|
72
74
|
{
|
|
75
|
+
$size: t,
|
|
73
76
|
style: { "--hand-rotate": `${y.hour}deg` },
|
|
74
77
|
"aria-hidden": "true"
|
|
75
78
|
}
|
|
76
79
|
),
|
|
77
80
|
/* @__PURE__ */ e(
|
|
78
|
-
|
|
81
|
+
Se,
|
|
79
82
|
{
|
|
83
|
+
$size: t,
|
|
80
84
|
style: { "--hand-rotate": `${y.minute}deg` },
|
|
81
85
|
"aria-hidden": "true"
|
|
82
86
|
}
|
|
83
87
|
),
|
|
84
88
|
/* @__PURE__ */ e(
|
|
85
|
-
|
|
89
|
+
Te,
|
|
86
90
|
{
|
|
91
|
+
$size: t,
|
|
87
92
|
style: { "--hand-rotate": `${y.second}deg` },
|
|
88
93
|
"aria-hidden": "true"
|
|
89
94
|
}
|
|
90
95
|
)
|
|
91
96
|
] })
|
|
92
97
|
] }),
|
|
93
|
-
(!
|
|
98
|
+
(!l || D) && /* @__PURE__ */ n(v, { children: [
|
|
94
99
|
/* @__PURE__ */ e(
|
|
95
|
-
|
|
100
|
+
$e,
|
|
96
101
|
{
|
|
97
|
-
$dismissing:
|
|
98
|
-
onAnimationEnd:
|
|
102
|
+
$dismissing: D,
|
|
103
|
+
onAnimationEnd: te,
|
|
99
104
|
"aria-hidden": "true",
|
|
100
|
-
children: /* @__PURE__ */ e(
|
|
105
|
+
children: /* @__PURE__ */ e(ue, { size: S, progress: s >= 60 ? 1 : s % 60 / 60 })
|
|
101
106
|
}
|
|
102
107
|
),
|
|
103
108
|
/* @__PURE__ */ e(
|
|
104
|
-
|
|
109
|
+
Ae,
|
|
105
110
|
{
|
|
106
|
-
|
|
107
|
-
|
|
111
|
+
$size: t,
|
|
112
|
+
style: { "--bullet-rotate": `${45 + Y}deg` },
|
|
113
|
+
$dismissing: D,
|
|
108
114
|
"aria-hidden": "true",
|
|
109
|
-
children: /* @__PURE__ */ e(
|
|
115
|
+
children: /* @__PURE__ */ e(ye, { $size: t })
|
|
110
116
|
}
|
|
111
117
|
),
|
|
112
118
|
/* @__PURE__ */ e(
|
|
113
|
-
|
|
119
|
+
Re,
|
|
114
120
|
{
|
|
115
121
|
role: "timer",
|
|
116
122
|
"aria-live": "polite",
|
|
117
|
-
"aria-label": `${
|
|
123
|
+
"aria-label": `${s} seconds remaining`
|
|
118
124
|
}
|
|
119
125
|
)
|
|
120
126
|
] }),
|
|
121
|
-
/* @__PURE__ */
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
127
|
+
r > 0 && /* @__PURE__ */ n(
|
|
128
|
+
De,
|
|
129
|
+
{
|
|
130
|
+
$size: t,
|
|
131
|
+
$noActions: l,
|
|
132
|
+
role: "group",
|
|
133
|
+
"aria-label": "Timer controls",
|
|
134
|
+
children: [
|
|
135
|
+
/* @__PURE__ */ e(
|
|
136
|
+
p,
|
|
137
|
+
{
|
|
138
|
+
type: "button",
|
|
139
|
+
onClick: ee,
|
|
140
|
+
$size: t,
|
|
141
|
+
"aria-label": "Stop timer",
|
|
142
|
+
"aria-disabled": l,
|
|
143
|
+
children: /* @__PURE__ */ e(Pe, { color: h, size: w, "aria-hidden": "true" })
|
|
144
|
+
}
|
|
145
|
+
),
|
|
146
|
+
l || !m ? /* @__PURE__ */ e(
|
|
147
|
+
p,
|
|
148
|
+
{
|
|
149
|
+
type: "button",
|
|
150
|
+
onClick: re,
|
|
151
|
+
$size: t,
|
|
152
|
+
"aria-label": "Pause timer",
|
|
153
|
+
"aria-disabled": l,
|
|
154
|
+
children: /* @__PURE__ */ e(we, { color: h, size: w, "aria-hidden": "true" })
|
|
155
|
+
}
|
|
156
|
+
) : /* @__PURE__ */ e(p, { type: "button", onClick: ie, "aria-label": "Resume timer", $size: t, children: /* @__PURE__ */ e(He, { color: h, size: w, "aria-hidden": "true" }) })
|
|
157
|
+
]
|
|
158
|
+
}
|
|
159
|
+
),
|
|
160
|
+
r > 0 && /* @__PURE__ */ e(Ie, { role: "group", $size: t, "aria-label": "Start timer", children: /* @__PURE__ */ e(
|
|
161
|
+
p,
|
|
145
162
|
{
|
|
146
163
|
type: "button",
|
|
147
|
-
onClick:
|
|
164
|
+
onClick: Z,
|
|
165
|
+
$size: t,
|
|
148
166
|
"aria-label": `Start ${r} second timer`,
|
|
149
|
-
children: /* @__PURE__ */ e(
|
|
167
|
+
children: /* @__PURE__ */ e(Me, { color: h, size: t, "aria-hidden": "true" })
|
|
150
168
|
}
|
|
151
169
|
) })
|
|
152
170
|
] });
|
|
153
171
|
};
|
|
154
172
|
export {
|
|
155
|
-
|
|
173
|
+
ve as default
|
|
156
174
|
};
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useRef as
|
|
3
|
-
import
|
|
4
|
-
import { SVG as
|
|
5
|
-
const
|
|
6
|
-
const s =
|
|
7
|
-
return
|
|
8
|
-
const
|
|
9
|
-
s.current.style.strokeDashoffset =
|
|
10
|
-
}, [
|
|
11
|
-
/* @__PURE__ */
|
|
1
|
+
import { jsxs as n, jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as i, useEffect as a } from "react";
|
|
3
|
+
import l from "../../../../colors/white.js";
|
|
4
|
+
import { SVG as h } from "./styles.js";
|
|
5
|
+
const p = ({ progress: o, size: r }) => {
|
|
6
|
+
const s = i(null), t = r * 5.25, e = 2 * Math.PI * t;
|
|
7
|
+
return a(() => {
|
|
8
|
+
const f = e * (1 - o);
|
|
9
|
+
s.current.style.strokeDashoffset = f;
|
|
10
|
+
}, [o]), /* @__PURE__ */ n(h, { width: r * 11, height: r * 11, children: [
|
|
11
|
+
/* @__PURE__ */ c(
|
|
12
12
|
"circle",
|
|
13
13
|
{
|
|
14
|
-
cx:
|
|
15
|
-
cy:
|
|
16
|
-
r:
|
|
14
|
+
cx: r * 5.5,
|
|
15
|
+
cy: r * 5.5,
|
|
16
|
+
r: t,
|
|
17
17
|
stroke: "rgba(255,255,255,.2)",
|
|
18
|
-
strokeWidth:
|
|
18
|
+
strokeWidth: r * 0.2,
|
|
19
19
|
fill: "none"
|
|
20
20
|
}
|
|
21
21
|
),
|
|
22
|
-
/* @__PURE__ */
|
|
22
|
+
/* @__PURE__ */ c(
|
|
23
23
|
"circle",
|
|
24
24
|
{
|
|
25
25
|
ref: s,
|
|
26
|
-
cx:
|
|
27
|
-
cy:
|
|
28
|
-
r:
|
|
29
|
-
stroke:
|
|
30
|
-
strokeWidth:
|
|
26
|
+
cx: r * 5.5,
|
|
27
|
+
cy: r * 5.5,
|
|
28
|
+
r: t,
|
|
29
|
+
stroke: l,
|
|
30
|
+
strokeWidth: r * 0.2,
|
|
31
31
|
fill: "none",
|
|
32
32
|
strokeLinecap: "round",
|
|
33
|
-
strokeDasharray:
|
|
34
|
-
strokeDashoffset:
|
|
33
|
+
strokeDasharray: e,
|
|
34
|
+
strokeDashoffset: e,
|
|
35
35
|
style: { transition: "stroke-dashoffset 0.2s linear" }
|
|
36
36
|
}
|
|
37
37
|
)
|
|
38
38
|
] });
|
|
39
39
|
};
|
|
40
40
|
export {
|
|
41
|
-
|
|
41
|
+
p as default
|
|
42
42
|
};
|
|
@@ -1,195 +1,197 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { COLOR_MAPPING as
|
|
10
|
-
|
|
1
|
+
import o, { css as r, keyframes as l } from "styled-components";
|
|
2
|
+
import m from "../Icons/Add/Add.js";
|
|
3
|
+
import p from "../Icons/MediaStopFilled/MediaStopFilled.js";
|
|
4
|
+
import c from "../Icons/MediaPauseFilled/MediaPauseFilled.js";
|
|
5
|
+
import h from "../Icons/MediaPlayFilled/MediaPlayFilled.js";
|
|
6
|
+
import i from "../../colors/white.js";
|
|
7
|
+
import u from "../../colors/black.js";
|
|
8
|
+
import b from "../../colors/red.js";
|
|
9
|
+
import { COLOR_MAPPING as $ } from "./constants.js";
|
|
10
|
+
import { getSize as t } from "./helpers.js";
|
|
11
|
+
const a = 1, f = 16.67, s = 1.67, g = 3.404, v = ({ $color: e }) => $[e], n = r`
|
|
11
12
|
position: absolute;
|
|
12
13
|
bottom: 50%;
|
|
13
14
|
transform-origin: bottom;
|
|
14
15
|
border-radius: 4px;
|
|
15
16
|
transition: rotate 0.3s ease-in-out;
|
|
16
17
|
rotate: var(--hand-rotate);
|
|
17
|
-
`,
|
|
18
|
+
`, T = o.div`
|
|
18
19
|
position: relative;
|
|
19
|
-
height:
|
|
20
|
-
width:
|
|
21
|
-
border-radius:
|
|
22
|
-
background-color: ${
|
|
23
|
-
`,
|
|
20
|
+
height: ${t(a)}rem;
|
|
21
|
+
width: ${t(a)}rem;
|
|
22
|
+
border-radius: ${t(f)}rem;
|
|
23
|
+
background-color: ${v};
|
|
24
|
+
`, W = o.div`
|
|
24
25
|
position: absolute;
|
|
25
26
|
left: 50%;
|
|
26
27
|
top: 48%;
|
|
27
|
-
width:
|
|
28
|
-
height:
|
|
28
|
+
width: ${t(s)}rem;
|
|
29
|
+
height: ${t(s)}rem;
|
|
29
30
|
transform: translate(-50%, -50%);
|
|
30
31
|
border-radius: 50%;
|
|
31
32
|
background-color: rgba(0, 0, 0, 0.16);
|
|
32
33
|
pointer-events: none;
|
|
33
|
-
`,
|
|
34
|
+
`, _ = o.div`
|
|
34
35
|
position: absolute;
|
|
35
36
|
left: 50%;
|
|
36
37
|
top: 48%;
|
|
37
38
|
transform: translate(-50%, -50%);
|
|
38
|
-
`,
|
|
39
|
-
color: ${
|
|
40
|
-
font-size:
|
|
39
|
+
`, F = o.div`
|
|
40
|
+
color: ${i};
|
|
41
|
+
font-size: ${t(13.33)}rem;
|
|
41
42
|
font-weight: 600;
|
|
42
43
|
text-align: center;
|
|
43
44
|
opacity: 0.8;
|
|
44
|
-
`,
|
|
45
|
+
`, S = o.span`
|
|
45
46
|
position: absolute;
|
|
46
|
-
width:
|
|
47
|
-
height:
|
|
47
|
+
width: ${t(120)}rem;
|
|
48
|
+
height: ${t(120)}rem;
|
|
48
49
|
background: rgba(255, 255, 255, 0.4);
|
|
49
|
-
transform-origin:
|
|
50
|
+
transform-origin: ${t(g)}rem;
|
|
50
51
|
border-radius: 2px;
|
|
52
|
+
rotate: ${({ $i: e }) => `${e * 6}deg`};
|
|
51
53
|
|
|
52
54
|
&:nth-child(5n) {
|
|
53
|
-
width:
|
|
54
|
-
height:
|
|
55
|
+
width: ${t(90)}rem;
|
|
56
|
+
height: ${t(90)}rem;
|
|
55
57
|
background: rgba(255, 255, 255, 0.7);
|
|
56
58
|
}
|
|
57
59
|
|
|
58
60
|
&:nth-child(15n) {
|
|
59
|
-
width:
|
|
60
|
-
height:
|
|
61
|
+
width: ${t(50)}rem;
|
|
62
|
+
height: ${t(130)}rem;
|
|
61
63
|
background: rgba(255, 255, 255);
|
|
62
64
|
}
|
|
63
|
-
`,
|
|
65
|
+
`, D = o.div`
|
|
64
66
|
position: relative;
|
|
65
67
|
height: 100%;
|
|
66
68
|
width: 100%;
|
|
67
|
-
`,
|
|
69
|
+
`, H = o.div`
|
|
68
70
|
position: absolute;
|
|
69
71
|
left: 1.6%;
|
|
70
|
-
top:
|
|
72
|
+
top: 43.8%;
|
|
71
73
|
transform: translate(-50%, -50%) rotate(6.7deg);
|
|
72
|
-
`,
|
|
73
|
-
${
|
|
74
|
-
width:
|
|
75
|
-
height:
|
|
76
|
-
background: ${
|
|
77
|
-
`,
|
|
78
|
-
${
|
|
79
|
-
width:
|
|
80
|
-
height:
|
|
81
|
-
background: ${
|
|
82
|
-
`,
|
|
83
|
-
${
|
|
84
|
-
width:
|
|
85
|
-
height:
|
|
86
|
-
background: ${
|
|
87
|
-
`,
|
|
74
|
+
`, B = o.div`
|
|
75
|
+
${n};
|
|
76
|
+
width: ${t(50)}rem;
|
|
77
|
+
height: ${t(5.33)}rem;
|
|
78
|
+
background: ${i};
|
|
79
|
+
`, N = o.div`
|
|
80
|
+
${n};
|
|
81
|
+
width: ${t(80)}rem;
|
|
82
|
+
height: ${t(4)}rem;
|
|
83
|
+
background: ${u.m200};
|
|
84
|
+
`, C = o.div`
|
|
85
|
+
${n};
|
|
86
|
+
width: ${t(133.33)}rem;
|
|
87
|
+
height: ${t(3.64)}rem;
|
|
88
|
+
background: ${b.m800};
|
|
89
|
+
`, d = l`
|
|
88
90
|
from { opacity: 1; transform: scale(1); }
|
|
89
91
|
to { opacity: 0; transform: scale(0.85); }
|
|
90
|
-
`,
|
|
92
|
+
`, E = o.div`
|
|
91
93
|
position: absolute;
|
|
92
94
|
left: 16%;
|
|
93
95
|
top: 14%;
|
|
94
|
-
${({ $dismissing:
|
|
95
|
-
animation: ${
|
|
96
|
+
${({ $dismissing: e }) => e && r`
|
|
97
|
+
animation: ${d} 0.4s ease-out forwards;
|
|
96
98
|
`}
|
|
97
|
-
`,
|
|
99
|
+
`, z = o.div`
|
|
98
100
|
position: absolute;
|
|
99
101
|
bottom: 6%;
|
|
100
102
|
left: 8%;
|
|
101
103
|
display: flex;
|
|
102
104
|
align-items: center;
|
|
103
|
-
gap:
|
|
105
|
+
gap: ${t(50)}rem;
|
|
104
106
|
|
|
105
|
-
${({ $noActions:
|
|
107
|
+
${({ $noActions: e }) => e && r`
|
|
106
108
|
pointer-events: none;
|
|
107
109
|
opacity: 0.5;
|
|
108
110
|
`}
|
|
109
|
-
`,
|
|
111
|
+
`, G = o.div`
|
|
110
112
|
position: absolute;
|
|
111
113
|
bottom: 6%;
|
|
112
114
|
right: 8%;
|
|
113
|
-
border-radius:
|
|
114
|
-
`,
|
|
115
|
+
border-radius: ${t(50)}rem;
|
|
116
|
+
`, L = o.button`
|
|
115
117
|
position: relative;
|
|
116
|
-
height:
|
|
117
|
-
width:
|
|
118
|
+
height: ${t(8.33)}rem;
|
|
119
|
+
width: ${t(8.33)}rem;
|
|
118
120
|
cursor: pointer;
|
|
119
121
|
background-color: rgba(0, 0, 0, 0.4);
|
|
120
122
|
border: none;
|
|
121
|
-
border-radius:
|
|
123
|
+
border-radius: ${t(50)}rem;
|
|
122
124
|
padding: 0;
|
|
123
125
|
|
|
124
126
|
&:focus-visible {
|
|
125
|
-
outline: 2px solid ${
|
|
127
|
+
outline: 2px solid ${i};
|
|
126
128
|
outline-offset: 2px;
|
|
127
129
|
}
|
|
128
|
-
`,
|
|
130
|
+
`, V = o(m)`
|
|
129
131
|
position: absolute;
|
|
130
132
|
left: 50%;
|
|
131
133
|
top: 50%;
|
|
132
134
|
transform: translate(-50%, -50%);
|
|
133
|
-
`,
|
|
135
|
+
`, j = o(p)`
|
|
134
136
|
position: absolute;
|
|
135
137
|
left: 50%;
|
|
136
138
|
top: 50%;
|
|
137
139
|
transform: translate(-50%, -50%);
|
|
138
|
-
`,
|
|
140
|
+
`, q = o(c)`
|
|
139
141
|
position: absolute;
|
|
140
142
|
left: 50%;
|
|
141
143
|
top: 50%;
|
|
142
144
|
transform: translate(-50%, -50%);
|
|
143
|
-
`,
|
|
145
|
+
`, J = o(h)`
|
|
144
146
|
position: absolute;
|
|
145
147
|
left: 50%;
|
|
146
148
|
top: 50%;
|
|
147
149
|
transform: translate(-50%, -50%);
|
|
148
|
-
`,
|
|
150
|
+
`, K = o.span`
|
|
149
151
|
position: absolute;
|
|
150
152
|
width: 1px;
|
|
151
153
|
height: 1px;
|
|
152
154
|
overflow: hidden;
|
|
153
155
|
clip-path: inset(50%);
|
|
154
156
|
white-space: nowrap;
|
|
155
|
-
`,
|
|
156
|
-
width:
|
|
157
|
-
height:
|
|
157
|
+
`, Q = o.div`
|
|
158
|
+
width: ${t(35)}rem;
|
|
159
|
+
height: ${t(35)}rem;
|
|
158
160
|
border-radius: 50%;
|
|
159
|
-
background-color: ${
|
|
160
|
-
`,
|
|
161
|
+
background-color: ${i};
|
|
162
|
+
`, U = o.div`
|
|
161
163
|
position: absolute;
|
|
162
164
|
left: 26%;
|
|
163
165
|
top: 24%;
|
|
164
166
|
rotate: var(--bullet-rotate);
|
|
165
|
-
height:
|
|
166
|
-
width:
|
|
167
|
+
height: ${t(2.05)}rem;
|
|
168
|
+
width: ${t(2.05)}rem;
|
|
167
169
|
transform-origin: center;
|
|
168
170
|
transition: rotate 0.3s ease;
|
|
169
|
-
${({ $dismissing:
|
|
170
|
-
animation: ${
|
|
171
|
+
${({ $dismissing: e }) => e && r`
|
|
172
|
+
animation: ${d} 0.4s ease-out forwards;
|
|
171
173
|
`}
|
|
172
174
|
`;
|
|
173
175
|
export {
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
176
|
+
L as ActionBtn,
|
|
177
|
+
V as AddWrapper,
|
|
178
|
+
E as AlarmRing,
|
|
179
|
+
H as AllDots,
|
|
180
|
+
Q as Bullet,
|
|
181
|
+
U as BulletRing,
|
|
182
|
+
W as Dimmer,
|
|
183
|
+
S as Dots,
|
|
184
|
+
D as DotsWrapper,
|
|
185
|
+
B as HourHand,
|
|
186
|
+
z as LeftActions,
|
|
187
|
+
q as MediaPauseFilledWrapper,
|
|
188
|
+
J as MediaPlayFilledWrapper,
|
|
189
|
+
j as MediaStopFilledWrapper,
|
|
190
|
+
N as MinuteHand,
|
|
191
|
+
G as RightActions,
|
|
192
|
+
C as SecondHand,
|
|
193
|
+
_ as Time,
|
|
194
|
+
F as TimeTxt,
|
|
195
|
+
K as VisuallyHidden,
|
|
196
|
+
T as Wrapper
|
|
195
197
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "meticulous-ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.9.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "A comprehensive React UI component library with a wide range of customizable components, icons, colors, and utilities for building modern web applications.",
|
|
6
6
|
"main": "./index.js",
|