meticulous-ui 2.8.1 → 2.8.3

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,31 +1,31 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
2
  import c from "../Ripple/Ripple.js";
3
3
  import { FONT_SIZE_MAPPING as C, SIZE_REM_MAPPING as P } from "./constants.js";
4
- import { ArrowButton as d, ClickableChevronLeft as f, Page as k, ClickableChevronRight as v, Ellipsis as $ } from "./styles.js";
5
- const x = ({ size: r, selected: n, shades: t, changePage: s }) => (i) => {
6
- const h = P[r], m = C[r], p = t, o = n === i, a = () => {
7
- s(i);
4
+ import { ArrowButton as d, ClickableChevronLeft as $, Page as f, ClickableChevronRight as k, Ellipsis as v } from "./styles.js";
5
+ const x = ({ size: i, selected: r, shades: t, changePage: s }) => (n) => {
6
+ const h = P[i], m = C[i], p = t, o = r === n, a = () => {
7
+ s(n);
8
8
  }, u = (l) => {
9
9
  (l.key === "Enter" || l.key === " ") && (l.preventDefault(), a());
10
10
  };
11
11
  return /* @__PURE__ */ e(
12
- k,
12
+ f,
13
13
  {
14
- "data-testid": o ? "current-page" : `test-${i}`,
14
+ "data-testid": o ? "current-page" : `test-${n}`,
15
15
  $isSelected: o,
16
16
  onClick: a,
17
17
  onKeyDown: u,
18
18
  tabIndex: o ? 0 : -1,
19
- "aria-label": `Page ${i}`,
19
+ "aria-label": `Page ${n}`,
20
20
  "aria-current": o ? "page" : void 0,
21
21
  $shades: p,
22
22
  $individualRemSize: h,
23
23
  $fontRemSize: m,
24
- children: i
24
+ children: n
25
25
  },
26
- `page_${i}`
26
+ `page_${n}`
27
27
  );
28
- }, A = () => /* @__PURE__ */ e($, { "aria-hidden": "true", children: "…" }), E = ({ iconSize: r, shades: n, setPrevPage: t }) => /* @__PURE__ */ e(d, { onClick: t, "aria-label": "Previous page", children: /* @__PURE__ */ e(c, { rippleColor: n.m50, children: /* @__PURE__ */ e(f, { size: r, "aria-hidden": "true" }) }) }), I = ({ iconSize: r, shades: n, setNextPage: t }) => /* @__PURE__ */ e(d, { onClick: t, "aria-label": "Next page", children: /* @__PURE__ */ e(c, { rippleColor: n.m50, children: /* @__PURE__ */ e(v, { size: r, "aria-hidden": "true" }) }) });
28
+ }, A = () => /* @__PURE__ */ e(v, { "aria-hidden": "true", children: "…" }), E = ({ iconSize: i, shades: r, setPrevPage: t }) => /* @__PURE__ */ e(d, { onClick: t, "aria-label": "Previous page", $shades: r, children: /* @__PURE__ */ e(c, { rippleColor: r.m50, children: /* @__PURE__ */ e($, { size: i, "aria-hidden": "true" }) }) }), I = ({ iconSize: i, shades: r, setNextPage: t }) => /* @__PURE__ */ e(d, { onClick: t, "aria-label": "Next page", $shades: r, children: /* @__PURE__ */ e(c, { rippleColor: r.m50, children: /* @__PURE__ */ e(k, { size: i, "aria-hidden": "true" }) }) });
29
29
  export {
30
30
  I as NextArrow,
31
31
  E as PrevArrow,
@@ -1,20 +1,20 @@
1
- import o, { css as n } from "styled-components";
2
- import a from "../Icons/ChevronLeft/ChevronLeft.js";
3
- import f from "../Icons/ChevronRight/ChevronRight.js";
4
- import c from "../../colors/grey.js";
5
- import i from "../../colors/white.js";
6
- import u from "../../colors/black.js";
7
- import { SELECTED_BG as l, NOT_SELECTED_BG as s, ACTIVE_NOT_SELECTED_BG as m } from "./constants.js";
8
- const t = (e) => ({ $shades: r }) => {
9
- if (["#FFFFFF"].includes(r))
10
- return u.m900;
11
- if (e === l)
12
- return r.m500;
13
- if (e === s)
14
- return r.m50;
15
- if (e === m)
16
- return r.m100;
17
- }, E = o.nav`
1
+ import r, { css as n } from "styled-components";
2
+ import f from "../Icons/ChevronLeft/ChevronLeft.js";
3
+ import s from "../Icons/ChevronRight/ChevronRight.js";
4
+ import l from "../../colors/grey.js";
5
+ import c from "../../colors/white.js";
6
+ import a from "../../colors/black.js";
7
+ import { SELECTED_BG as i, NOT_SELECTED_BG as m, ACTIVE_NOT_SELECTED_BG as u } from "./constants.js";
8
+ const t = (o) => ({ $shades: e }) => {
9
+ if (["#FFFFFF"].includes(e))
10
+ return a.m900;
11
+ if (o === i)
12
+ return e.m600;
13
+ if (o === m)
14
+ return e.m50;
15
+ if (o === u)
16
+ return e.m100;
17
+ }, $ = r.nav`
18
18
  display: flex;
19
19
  justify-content: center;
20
20
  align-items: center;
@@ -22,46 +22,47 @@ const t = (e) => ({ $shades: r }) => {
22
22
  min-width: 100%;
23
23
  width: 100%;
24
24
 
25
- ${({ $isDisabled: e }) => e && n`
25
+ ${({ $isDisabled: o }) => o && n`
26
26
  pointer-events: none;
27
27
  opacity: 0.4;
28
28
  `};
29
- `, C = o.button`
29
+ `, h = r.button`
30
30
  border: none;
31
31
  padding: 0;
32
32
  font-family: inherit;
33
33
  outline-offset: 2px;
34
34
 
35
- height: ${({ $individualRemSize: e }) => `${e}rem`};
36
- width: ${({ $individualRemSize: e }) => `${e}rem`};
35
+ height: ${({ $individualRemSize: o }) => `${o}rem`};
36
+ width: ${({ $individualRemSize: o }) => `${o}rem`};
37
37
  border-radius: 50%;
38
38
  display: flex;
39
39
  align-items: center;
40
40
  flex-direction: column;
41
41
  justify-content: center;
42
42
  text-align: center;
43
- font-size: ${({ $fontRemSize: e }) => e}rem;
44
- ${({ $isSelected: e }) => e ? n`
43
+ font-size: ${({ $fontRemSize: o }) => o}rem;
44
+ ${({ $isSelected: o }) => o ? n`
45
45
  cursor: auto;
46
- color: ${i};
47
- background-color: ${t(l)};
46
+ color: ${c};
47
+ background-color: ${t(i)};
48
+ outline-color: ${t(i)};
48
49
  ` : n`
49
50
  cursor: pointer;
50
- color: ${c.m500};
51
+ color: ${l.m500};
51
52
 
52
53
  &:hover {
53
- background-color: ${t(s)};
54
+ background-color: ${t(m)};
54
55
  }
55
56
 
56
57
  &:active {
57
- background-color: ${t(m)};
58
- color: ${i};
58
+ background-color: ${t(u)};
59
+ color: ${c};
59
60
  }
60
61
  `}
61
- `, v = o.span`
62
- color: ${c.m500};
62
+ `, v = r.span`
63
+ color: ${l.m500};
63
64
  user-select: none;
64
- `, x = o.button`
65
+ `, x = r.button`
65
66
  border: none;
66
67
  background: none;
67
68
  padding: 0;
@@ -71,22 +72,23 @@ const t = (e) => ({ $shades: r }) => {
71
72
  justify-content: center;
72
73
  border-radius: 50%;
73
74
  outline-offset: 2px;
74
- `, k = o(a)`
75
+ outline-color: ${({ $shades: o }) => o == null ? void 0 : o.m600};
76
+ `, k = r(f)`
75
77
  cursor: pointer;
76
- `, w = o(f)`
78
+ `, w = r(s)`
77
79
  cursor: pointer;
78
- `, F = o.div`
79
- min-width: ${({ size: e }) => e};
80
+ `, F = r.div`
81
+ min-width: ${({ size: o }) => o};
80
82
  display: flex;
81
83
  align-items: center;
82
84
  justify-content: space-between;
83
85
  `;
84
86
  export {
85
- E as AllPages,
87
+ $ as AllPages,
86
88
  x as ArrowButton,
87
89
  k as ClickableChevronLeft,
88
90
  w as ClickableChevronRight,
89
91
  v as Ellipsis,
90
92
  F as MiddleLayer,
91
- C as Page
93
+ h as Page
92
94
  };
@@ -1,113 +1,130 @@
1
- import { jsxs as i, jsx as e, Fragment as B } from "react/jsx-runtime";
2
- import { useState as n, useRef as se, useEffect as F } from "react";
3
- import oe from "../Glass/Glass.js";
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
4
  import le from "./components/TimerRing/TimerRing.js";
5
- import u from "../../colors/white.js";
6
- import { Wrapper as ce, Dimmer as de, Time as N, TimeTxt as E, HourHand as ue, MinuteHand as me, SecondHand as he, AllDots as pe, Dots as ge, AlarmRing as fe, BulletRing as Se, Bullet as be, LeftActions as Te, ActionBtn as m, MediaStopFilledWrapper as we, MediaPauseFilledWrapper as Ae, MediaPlayFilledWrapper as $e, RightActions as Re, AddWrapper as Pe } from "./styles.js";
7
- const l = () => {
8
- }, De = (h) => () => {
9
- const a = (/* @__PURE__ */ new Date()).toLocaleString("en-Us", { hour12: !0, timeZone: h }).split(", ")[1].split(" ")[0], [g, r, c] = a.split(":").map(Number);
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 Se, Bullet as Te, VisuallyHidden as Ae, LeftActions as $e, ActionBtn as h, MediaStopFilledWrapper as Re, MediaPauseFilledWrapper as De, MediaPlayFilledWrapper as Pe, RightActions as we, AddWrapper as ye } 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, r, c] = a.split(":").map(Number);
10
10
  return {
11
11
  second: c * 6,
12
12
  minute: r * 6 + c * 0.1,
13
- hour: g % 12 * 30 + r * 0.5
13
+ hour: b % 12 * 30 + r * 0.5
14
14
  };
15
- }, je = ({
16
- color: h = "green",
17
- showTime: H = !0,
18
- showTimeWithSec: p = !0,
15
+ }, ze = ({
16
+ color: p = "green",
17
+ showTime: y = !0,
18
+ showTimeWithSec: g = !0,
19
19
  timeZone: a = "Asia/Kolkata",
20
- isDigital: g = !0,
20
+ isDigital: b = !0,
21
21
  timerSeconds: r = 0,
22
- onTimerAdd: c = l,
23
- onTimerComplete: U = l,
24
- onTimerRemove: O = l,
25
- onTimerPause: G = l,
26
- onTimerPlay: K = l,
22
+ onTimerAdd: c = d,
23
+ onTimerComplete: U = d,
24
+ onTimerRemove: O = d,
25
+ onTimerPause: G = d,
26
+ onTimerPlay: K = d,
27
27
  ..._
28
28
  }) => {
29
- const [f, q] = n(/* @__PURE__ */ new Date()), [s, S] = n(0), [d, b] = n(!1), [T, J] = n(De(a)), [Q, w] = n(0), [A, $] = n(!1), k = se(d);
30
- F(() => {
31
- k.current = d;
32
- }, [d]);
33
- const X = () => {
34
- S(r), w(r % 60 * 6), b(!1), c();
29
+ const [f, q] = n(/* @__PURE__ */ new Date()), [o, S] = n(0), [u, T] = n(!1), [A, J] = n(He(a)), [Q, $] = n(0), [R, D] = n(!1), H = oe(u);
30
+ N(() => {
31
+ H.current = u;
32
+ }, [u]);
33
+ const V = () => {
34
+ S(r), $(r % 60 * 6), T(!1), c();
35
+ }, X = () => {
36
+ D(!0), O();
35
37
  }, Y = () => {
36
- $(!0), O();
37
- }, V = () => {
38
- S(0), w(0), $(!1);
38
+ S(0), $(0), D(!1);
39
39
  }, Z = () => {
40
- b(!0), G();
40
+ T(!0), G();
41
41
  }, ee = () => {
42
- b(!1), K();
42
+ T(!1), K();
43
43
  };
44
- F(() => {
45
- const L = setInterval(() => {
46
- const o = /* @__PURE__ */ new Date();
47
- q(o), J((t) => {
48
- const te = o.toLocaleString("en-Us", { hour12: !0, timeZone: a }).split(", ")[1].split(" ")[0], [re, W, j] = te.split(":").map(Number), ie = j * 6, ne = W * 6 + j * 0.1, ae = re % 12 * 30 + W * 0.5, D = (v, x) => {
49
- const z = v % 360;
50
- return v - z + x + (x < z ? 360 : 0);
44
+ N(() => {
45
+ const C = setInterval(() => {
46
+ const l = /* @__PURE__ */ new Date();
47
+ q(l), J((t) => {
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, w = (x, z) => {
49
+ const B = x % 360;
50
+ return x - B + z + (z < B ? 360 : 0);
51
51
  };
52
52
  return {
53
- second: D(t.second, ie),
54
- minute: D(t.minute, ne),
55
- hour: D(t.hour, ae)
53
+ second: w(t.second, ie),
54
+ minute: w(t.minute, ne),
55
+ hour: w(t.hour, ae)
56
56
  };
57
- }), k.current || (S((t) => (t - 1 === 0 && (U(), $(!0)), t - 1)), w((t) => t - 6));
57
+ }), H.current || (S((t) => (t - 1 === 0 && (U(), D(!0)), t - 1)), $((t) => t - 6));
58
58
  }, 1e3);
59
- return () => clearInterval(L);
59
+ return () => clearInterval(C);
60
60
  }, []);
61
- const R = f.toLocaleString("en-Us", { hour12: !0, timeZone: a }).split(", ")[1], I = R.split(" ")[0], M = R.split(" ")[1], y = R.split(":").slice(0, 2).join(":"), P = !(Number.isInteger(s) && s > 0), C = `${p ? I : y} ${M}`;
62
- return /* @__PURE__ */ i(ce, { $color: h, role: "region", "aria-label": "Clock", ..._, children: [
63
- /* @__PURE__ */ e(oe, { borderRadius: "1.2rem", "aria-hidden": "true" }),
64
- H && /* @__PURE__ */ i(B, { children: [
65
- /* @__PURE__ */ e(de, { "aria-hidden": "true" }),
66
- g ? /* @__PURE__ */ i(N, { as: "time", dateTime: f.toISOString(), "aria-label": C, children: [
67
- /* @__PURE__ */ e(E, { "aria-hidden": "true", children: p ? I : y }),
68
- /* @__PURE__ */ e(E, { "aria-hidden": "true", children: M })
69
- ] }) : /* @__PURE__ */ i(N, { as: "time", dateTime: f.toISOString(), "aria-label": C, children: [
70
- /* @__PURE__ */ e(ue, { $rotate: T.hour, "aria-hidden": "true" }),
71
- /* @__PURE__ */ e(me, { $rotate: T.minute, "aria-hidden": "true" }),
72
- /* @__PURE__ */ e(he, { $rotate: T.second, "aria-hidden": "true" })
61
+ const P = f.toLocaleString("en-Us", { hour12: !0, timeZone: a }).split(", ")[1], k = P.split(" ")[0], I = P.split(" ")[1], M = P.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
+ y && /* @__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: [
70
+ /* @__PURE__ */ e(pe, { $rotate: A.hour, "aria-hidden": "true" }),
71
+ /* @__PURE__ */ e(ge, { $rotate: A.minute, "aria-hidden": "true" }),
72
+ /* @__PURE__ */ e(be, { $rotate: A.second, "aria-hidden": "true" })
73
73
  ] })
74
74
  ] }),
75
- /* @__PURE__ */ e(pe, { "aria-hidden": "true", children: [...Array(60)].map((L, o) => /* @__PURE__ */ e(ge, { style: { rotate: `${o * 6}deg` } }, o)) }),
76
- (!P || A) && /* @__PURE__ */ i(B, { children: [
75
+ (!s || R) && /* @__PURE__ */ i(F, { children: [
77
76
  /* @__PURE__ */ e(
78
77
  fe,
79
78
  {
80
- $dismissing: A,
81
- onAnimationEnd: V,
79
+ $dismissing: R,
80
+ onAnimationEnd: Y,
82
81
  "aria-hidden": "true",
83
- children: /* @__PURE__ */ e(le, { progress: s >= 60 ? 1 : s % 60 / 60 })
82
+ children: /* @__PURE__ */ e(le, { progress: o >= 60 ? 1 : o % 60 / 60 })
84
83
  }
85
84
  ),
86
- /* @__PURE__ */ e(Se, { $angle: Q, $dismissing: A, "aria-hidden": "true", children: /* @__PURE__ */ e(be, {}) }),
85
+ /* @__PURE__ */ e(Se, { $angle: Q, $dismissing: R, "aria-hidden": "true", children: /* @__PURE__ */ e(Te, {}) }),
87
86
  /* @__PURE__ */ e(
88
- "span",
87
+ Ae,
89
88
  {
90
89
  role: "timer",
91
90
  "aria-live": "polite",
92
- "aria-label": `${s} seconds remaining`,
93
- style: {
94
- position: "absolute",
95
- width: 1,
96
- height: 1,
97
- overflow: "hidden",
98
- clip: "rect(0 0 0 0)",
99
- whiteSpace: "nowrap"
100
- }
91
+ "aria-label": `${o} seconds remaining`
101
92
  }
102
93
  )
103
94
  ] }),
104
- /* @__PURE__ */ i(Te, { $noActions: P, children: [
105
- /* @__PURE__ */ e(m, { onClick: Y, "aria-label": "Stop timer", children: /* @__PURE__ */ e(we, { color: u, size: 14, "aria-hidden": "true" }) }),
106
- P || !d ? /* @__PURE__ */ e(m, { onClick: Z, "aria-label": "Pause timer", children: /* @__PURE__ */ e(Ae, { color: u, size: 14, "aria-hidden": "true" }) }) : /* @__PURE__ */ e(m, { onClick: ee, "aria-label": "Resume timer", children: /* @__PURE__ */ e($e, { color: u, size: 14, "aria-hidden": "true" }) })
95
+ /* @__PURE__ */ i($e, { $noActions: s, role: "group", "aria-label": "Timer controls", children: [
96
+ /* @__PURE__ */ e(
97
+ h,
98
+ {
99
+ type: "button",
100
+ onClick: X,
101
+ "aria-label": "Stop timer",
102
+ "aria-disabled": s,
103
+ children: /* @__PURE__ */ e(Re, { color: m, size: 14, "aria-hidden": "true" })
104
+ }
105
+ ),
106
+ s || !u ? /* @__PURE__ */ e(
107
+ h,
108
+ {
109
+ type: "button",
110
+ onClick: Z,
111
+ "aria-label": "Pause timer",
112
+ "aria-disabled": s,
113
+ children: /* @__PURE__ */ e(De, { color: m, size: 14, "aria-hidden": "true" })
114
+ }
115
+ ) : /* @__PURE__ */ e(h, { type: "button", onClick: ee, "aria-label": "Resume timer", children: /* @__PURE__ */ e(Pe, { color: m, size: 14, "aria-hidden": "true" }) })
107
116
  ] }),
108
- /* @__PURE__ */ e(Re, { children: /* @__PURE__ */ e(m, { onClick: X, "aria-label": `Start ${r} second timer`, children: /* @__PURE__ */ e(Pe, { color: u, size: 20, "aria-hidden": "true" }) }) })
117
+ /* @__PURE__ */ e(we, { role: "group", "aria-label": "Start timer", children: /* @__PURE__ */ e(
118
+ h,
119
+ {
120
+ type: "button",
121
+ onClick: V,
122
+ "aria-label": `Start ${r} second timer`,
123
+ children: /* @__PURE__ */ e(ye, { color: m, size: 20, "aria-hidden": "true" })
124
+ }
125
+ ) })
109
126
  ] });
110
127
  };
111
128
  export {
112
- je as default
129
+ ze as default
113
130
  };
@@ -1,25 +1,25 @@
1
- import t, { css as i, keyframes as a } from "styled-components";
2
- import s from "../Icons/Add/Add.js";
1
+ import t, { css as i, keyframes as s } from "styled-components";
2
+ import a from "../Icons/Add/Add.js";
3
3
  import d from "../Icons/MediaStopFilled/MediaStopFilled.js";
4
4
  import p from "../Icons/MediaPauseFilled/MediaPauseFilled.js";
5
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";
6
+ import e from "../../colors/white.js";
7
+ import c from "../../colors/black.js";
8
+ import m from "../../colors/red.js";
9
9
  import { COLOR_MAPPING as h } from "./constants.js";
10
- const g = ({ $color: o }) => h[o], e = i`
10
+ const u = ({ $color: o }) => h[o], r = i`
11
11
  position: absolute;
12
12
  bottom: 50%;
13
13
  transform-origin: bottom;
14
14
  border-radius: 4px;
15
15
  transition: rotate 0.3s ease-in-out;
16
16
  rotate: ${({ $rotate: o }) => o}deg;
17
- `, y = t.div`
17
+ `, A = t.div`
18
18
  position: relative;
19
19
  height: 20rem;
20
20
  width: 20rem;
21
21
  border-radius: 1.2rem;
22
- background-color: ${g};
22
+ background-color: ${u};
23
23
  `, M = t.div`
24
24
  position: absolute;
25
25
  left: 50%;
@@ -35,18 +35,18 @@ const g = ({ $color: o }) => h[o], e = i`
35
35
  left: 50%;
36
36
  top: 48%;
37
37
  transform: translate(-50%, -50%);
38
- `, P = t.div`
39
- color: ${r};
38
+ `, H = t.div`
39
+ color: ${e};
40
40
  font-size: 1.5rem;
41
41
  font-weight: 600;
42
42
  text-align: center;
43
43
  opacity: 0.8;
44
- `, H = t.span`
44
+ `, P = t.span`
45
45
  position: absolute;
46
46
  width: 2.4px;
47
47
  height: 2.4px;
48
48
  background: rgba(255, 255, 255, 0.4);
49
- transform-origin: 94px;
49
+ transform-origin: 5.875rem;
50
50
  border-radius: 2px;
51
51
 
52
52
  &:nth-child(5n) {
@@ -60,37 +60,41 @@ const g = ({ $color: o }) => h[o], e = i`
60
60
  height: 2px;
61
61
  background: rgba(255, 255, 255);
62
62
  }
63
- `, S = t.div`
63
+ `, W = t.div`
64
+ position: relative;
65
+ height: 100%;
66
+ width: 100%;
67
+ `, D = t.div`
64
68
  position: absolute;
65
- left: 21%;
66
- top: 44.3%;
69
+ left: 1.6%;
70
+ top: 44%;
67
71
  transform: translate(-50%, -50%) rotate(6.7deg);
68
- `, W = t.div`
69
- ${e};
72
+ `, S = t.div`
73
+ ${r};
70
74
  width: 6px;
71
75
  height: 60px;
72
- background: ${r};
73
- `, D = t.div`
74
- ${e};
76
+ background: ${e};
77
+ `, R = t.div`
78
+ ${r};
75
79
  width: 4px;
76
80
  height: 80px;
77
- background: ${m.m200};
78
- `, R = t.div`
79
- ${e};
81
+ background: ${c.m200};
82
+ `, B = t.div`
83
+ ${r};
80
84
  width: 2px;
81
85
  height: 90px;
82
- background: ${c.m800};
83
- `, n = a`
86
+ background: ${m.m800};
87
+ `, n = s`
84
88
  from { opacity: 1; transform: scale(1); }
85
89
  to { opacity: 0; transform: scale(0.85); }
86
- `, B = t.div`
90
+ `, C = t.div`
87
91
  position: absolute;
88
92
  left: 16%;
89
93
  top: 14%;
90
94
  ${({ $dismissing: o }) => o && i`
91
95
  animation: ${n} 0.4s ease-out forwards;
92
96
  `}
93
- `, C = t.div`
97
+ `, T = t.div`
94
98
  position: absolute;
95
99
  bottom: 6%;
96
100
  left: 8%;
@@ -102,47 +106,58 @@ const g = ({ $color: o }) => h[o], e = i`
102
106
  pointer-events: none;
103
107
  opacity: 0.5;
104
108
  `}
105
- `, T = t.div`
109
+ `, L = t.div`
106
110
  position: absolute;
107
111
  bottom: 6%;
108
112
  right: 8%;
109
113
  border-radius: 0.4rem;
110
- `, L = t.button`
114
+ `, N = t.button`
111
115
  position: relative;
112
- width: 100%;
113
- height: 100%;
114
116
  height: 2.4rem;
115
117
  width: 2.4rem;
116
118
  cursor: pointer;
117
119
  background-color: rgba(0, 0, 0, 0.4);
118
120
  border: none;
121
+ border-radius: 0.4rem;
119
122
  padding: 0;
120
- `, N = t(s)`
123
+
124
+ &:focus-visible {
125
+ outline: 2px solid ${e};
126
+ outline-offset: 2px;
127
+ }
128
+ `, O = t(a)`
121
129
  position: absolute;
122
130
  left: 50%;
123
131
  top: 50%;
124
132
  transform: translate(-50%, -50%);
125
- `, O = t(d)`
133
+ `, _ = t(d)`
126
134
  position: absolute;
127
135
  left: 50%;
128
136
  top: 50%;
129
137
  transform: translate(-50%, -50%);
130
- `, _ = t(p)`
138
+ `, z = t(p)`
131
139
  position: absolute;
132
140
  left: 50%;
133
141
  top: 50%;
134
142
  transform: translate(-50%, -50%);
135
- `, z = t(l)`
143
+ `, G = t(l)`
136
144
  position: absolute;
137
145
  left: 50%;
138
146
  top: 50%;
139
147
  transform: translate(-50%, -50%);
140
- `, G = t.div`
148
+ `, I = t.span`
149
+ position: absolute;
150
+ width: 1px;
151
+ height: 1px;
152
+ overflow: hidden;
153
+ clip-path: inset(50%);
154
+ white-space: nowrap;
155
+ `, V = t.div`
141
156
  width: 9px;
142
157
  height: 9px;
143
158
  border-radius: 50%;
144
- background-color: ${r};
145
- `, I = t.div`
159
+ background-color: ${e};
160
+ `, j = t.div`
146
161
  position: absolute;
147
162
  left: 26%;
148
163
  top: 24%;
@@ -156,23 +171,25 @@ const g = ({ $color: o }) => h[o], e = i`
156
171
  `}
157
172
  `;
158
173
  export {
159
- L as ActionBtn,
160
- N as AddWrapper,
161
- B as AlarmRing,
162
- S as AllDots,
163
- G as Bullet,
164
- I as BulletRing,
174
+ N as ActionBtn,
175
+ O as AddWrapper,
176
+ C as AlarmRing,
177
+ D as AllDots,
178
+ V as Bullet,
179
+ j as BulletRing,
165
180
  M as Dimmer,
166
- H as Dots,
167
- W as HourHand,
168
- C as LeftActions,
169
- _ as MediaPauseFilledWrapper,
170
- z as MediaPlayFilledWrapper,
171
- O as MediaStopFilledWrapper,
172
- D as MinuteHand,
173
- T as RightActions,
174
- R as SecondHand,
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,
175
191
  F as Time,
176
- P as TimeTxt,
177
- y as Wrapper
192
+ H as TimeTxt,
193
+ I as VisuallyHidden,
194
+ A as Wrapper
178
195
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meticulous-ui",
3
- "version": "2.8.1",
3
+ "version": "2.8.3",
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",