meticulous-ui 2.8.6 → 2.9.1

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