meticulous-ui 1.1.5 → 1.1.6

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.
Files changed (221) hide show
  1. package/package.json +1 -1
  2. package/colors/amber.js +0 -19
  3. package/colors/black.js +0 -25
  4. package/colors/blue.js +0 -19
  5. package/colors/blueGray.js +0 -15
  6. package/colors/brown.js +0 -15
  7. package/colors/cider.js +0 -15
  8. package/colors/cyan.js +0 -19
  9. package/colors/deepOrange.js +0 -19
  10. package/colors/deepPurple.js +0 -19
  11. package/colors/green.js +0 -19
  12. package/colors/grey.js +0 -15
  13. package/colors/indigo.js +0 -19
  14. package/colors/lightBlue.js +0 -19
  15. package/colors/lightGreen.js +0 -19
  16. package/colors/lime.js +0 -19
  17. package/colors/orange.js +0 -19
  18. package/colors/pink.js +0 -19
  19. package/colors/purple.js +0 -19
  20. package/colors/red.js +0 -19
  21. package/colors/teal.js +0 -19
  22. package/colors/violet.js +0 -19
  23. package/colors/white.js +0 -4
  24. package/colors/yellow.js +0 -19
  25. package/components/Icons/Add/Add.js +0 -48
  26. package/components/Icons/Add/index.js +0 -4
  27. package/components/Icons/AddCircle/AddCircle.js +0 -33
  28. package/components/Icons/AddCircle/index.js +0 -4
  29. package/components/Icons/AddCircleFilled/AddCircleFilled.js +0 -24
  30. package/components/Icons/AddCircleFilled/index.js +0 -4
  31. package/components/Icons/ArrowDown/ArrowDown.js +0 -24
  32. package/components/Icons/ArrowDown/index.js +0 -4
  33. package/components/Icons/ArrowLeft/ArrowLeft.js +0 -25
  34. package/components/Icons/ArrowLeft/index.js +0 -4
  35. package/components/Icons/ArrowRight/ArrowRight.js +0 -25
  36. package/components/Icons/ArrowRight/index.js +0 -4
  37. package/components/Icons/ArrowUp/ArrowUp.js +0 -24
  38. package/components/Icons/ArrowUp/index.js +0 -4
  39. package/components/Icons/BellFilled/BellFilled.js +0 -35
  40. package/components/Icons/BellFilled/index.js +0 -4
  41. package/components/Icons/BellOffFilled/BellOffFilled.js +0 -44
  42. package/components/Icons/BellOffFilled/index.js +0 -4
  43. package/components/Icons/BellOffOutline/BellOffOutline.js +0 -46
  44. package/components/Icons/BellOffOutline/index.js +0 -4
  45. package/components/Icons/BellOutline/BellOutline.js +0 -37
  46. package/components/Icons/BellOutline/index.js +0 -4
  47. package/components/Icons/BookmarkFilled/BookmarkFilled.js +0 -48
  48. package/components/Icons/BookmarkFilled/index.js +0 -4
  49. package/components/Icons/BookmarkOutline/BookmarkOutline.js +0 -24
  50. package/components/Icons/BookmarkOutline/index.js +0 -4
  51. package/components/Icons/CartCheckFilled/CartCheckFilled.js +0 -40
  52. package/components/Icons/CartCheckFilled/index.js +0 -4
  53. package/components/Icons/CartCheckOutline/CartCheckOutline.js +0 -50
  54. package/components/Icons/CartCheckOutline/index.js +0 -4
  55. package/components/Icons/CartCrossFilled/CartCrossFilled.js +0 -40
  56. package/components/Icons/CartCrossFilled/index.js +0 -4
  57. package/components/Icons/CartCrossOutline/CartCrossOutline.js +0 -49
  58. package/components/Icons/CartCrossOutline/index.js +0 -4
  59. package/components/Icons/CartFilled/CartFilled.js +0 -38
  60. package/components/Icons/CartFilled/index.js +0 -4
  61. package/components/Icons/CartMinusFilled/CartMinusFilled.js +0 -40
  62. package/components/Icons/CartMinusFilled/index.js +0 -4
  63. package/components/Icons/CartMinusOutline/CartMinusOutline.js +0 -51
  64. package/components/Icons/CartMinusOutline/index.js +0 -4
  65. package/components/Icons/CartOutline/CartOutline.js +0 -50
  66. package/components/Icons/CartOutline/index.js +0 -4
  67. package/components/Icons/CartPlusFilled/CartPlusFilled.js +0 -40
  68. package/components/Icons/CartPlusFilled/index.js +0 -4
  69. package/components/Icons/CartPlusOutline/CartPlusOutline.js +0 -49
  70. package/components/Icons/CartPlusOutline/index.js +0 -4
  71. package/components/Icons/ChevronDown/ChevronDown.js +0 -25
  72. package/components/Icons/ChevronDown/index.js +0 -4
  73. package/components/Icons/ChevronLeft/ChevronLeft.js +0 -25
  74. package/components/Icons/ChevronLeft/index.js +0 -4
  75. package/components/Icons/ChevronRight/ChevronRight.js +0 -25
  76. package/components/Icons/ChevronRight/index.js +0 -4
  77. package/components/Icons/ChevronUp/ChevronUp.js +0 -25
  78. package/components/Icons/ChevronUp/index.js +0 -4
  79. package/components/Icons/ClockCircleOutline/ClockCircleOutline.js +0 -28
  80. package/components/Icons/ClockCircleOutline/index.js +0 -4
  81. package/components/Icons/ClockSquareOutline/ClockSquareOutline.js +0 -35
  82. package/components/Icons/ClockSquareOutline/index.js +0 -4
  83. package/components/Icons/Close/Close.js +0 -22
  84. package/components/Icons/Close/index.js +0 -4
  85. package/components/Icons/CloseCircleFilled/CloseCircleFilled.js +0 -24
  86. package/components/Icons/CloseCircleFilled/index.js +0 -4
  87. package/components/Icons/CloseCircleOutline/CloseCircleOutline.js +0 -26
  88. package/components/Icons/CloseCircleOutline/index.js +0 -4
  89. package/components/Icons/CommentBubbleFilled/CommentBubbleFilled.js +0 -48
  90. package/components/Icons/CommentBubbleFilled/index.js +0 -4
  91. package/components/Icons/CommentBubbleOutline/CommentBubbleOutline.js +0 -48
  92. package/components/Icons/CommentBubbleOutline/index.js +0 -4
  93. package/components/Icons/CommentFilled/CommentFilled.js +0 -48
  94. package/components/Icons/CommentFilled/index.js +0 -4
  95. package/components/Icons/CommentLineFilled/CommentLineFilled.js +0 -48
  96. package/components/Icons/CommentLineFilled/index.js +0 -4
  97. package/components/Icons/CommentLineOutline/CommentLineOutline.js +0 -48
  98. package/components/Icons/CommentLineOutline/index.js +0 -4
  99. package/components/Icons/CommentOutline/CommentOutline.js +0 -48
  100. package/components/Icons/CommentOutline/index.js +0 -4
  101. package/components/Icons/ContactDetailsFilled/ContactDetailsFilled.js +0 -25
  102. package/components/Icons/ContactDetailsFilled/index.js +0 -4
  103. package/components/Icons/ContactDetailsOutline/ContactDetailsOutline.js +0 -25
  104. package/components/Icons/ContactDetailsOutline/index.js +0 -4
  105. package/components/Icons/DetailsOutline/DetailsOutline.js +0 -19
  106. package/components/Icons/DetailsOutline/index.js +0 -4
  107. package/components/Icons/DotsHorizontalFilled/DotsHorizontalFilled.js +0 -38
  108. package/components/Icons/DotsHorizontalFilled/index.js +0 -4
  109. package/components/Icons/DotsHorizontalOutline/DotsHorizontalOutline.js +0 -47
  110. package/components/Icons/DotsHorizontalOutline/index.js +0 -4
  111. package/components/Icons/DotsVerticalFilled/DotsVerticalFilled.js +0 -38
  112. package/components/Icons/DotsVerticalFilled/index.js +0 -4
  113. package/components/Icons/DotsVerticalOutline/DotsVerticalOutline.js +0 -47
  114. package/components/Icons/DotsVerticalOutline/index.js +0 -4
  115. package/components/Icons/ExitArrowInOutline/ExitArrowInOutline.js +0 -26
  116. package/components/Icons/ExitArrowInOutline/index.js +0 -4
  117. package/components/Icons/ExitArrowOutOutline/ExitArrowOutOutline.js +0 -37
  118. package/components/Icons/ExitArrowOutOutline/index.js +0 -4
  119. package/components/Icons/HamburgerMenu/HamburgerMenu.js +0 -44
  120. package/components/Icons/HamburgerMenu/index.js +0 -4
  121. package/components/Icons/HamburgerSpaced/HamburgerSpaced.js +0 -48
  122. package/components/Icons/HamburgerSpaced/index.js +0 -4
  123. package/components/Icons/HeartFilled/HeartFilled.js +0 -22
  124. package/components/Icons/HeartFilled/index.js +0 -4
  125. package/components/Icons/HeartOutline/HeartOutline.js +0 -27
  126. package/components/Icons/HeartOutline/index.js +0 -4
  127. package/components/Icons/HomeFilled/HomeFilled.js +0 -24
  128. package/components/Icons/HomeFilled/index.js +0 -4
  129. package/components/Icons/HomeOutline/HomeOutline.js +0 -24
  130. package/components/Icons/HomeOutline/index.js +0 -4
  131. package/components/Icons/Link/Link.js +0 -35
  132. package/components/Icons/Link/index.js +0 -4
  133. package/components/Icons/LockClosedFilled/LockClosedFilled.js +0 -24
  134. package/components/Icons/LockClosedFilled/index.js +0 -4
  135. package/components/Icons/LockClosedOutline/LockClosedOutline.js +0 -35
  136. package/components/Icons/LockClosedOutline/index.js +0 -4
  137. package/components/Icons/LockOpenFilled/LockOpenFilled.js +0 -24
  138. package/components/Icons/LockOpenFilled/index.js +0 -4
  139. package/components/Icons/LockOpenOutline/LockOpenOutline.js +0 -36
  140. package/components/Icons/LockOpenOutline/index.js +0 -4
  141. package/components/Icons/Minus/Minus.js +0 -25
  142. package/components/Icons/Minus/index.js +0 -4
  143. package/components/Icons/MinusCircle/MinusCircle.js +0 -48
  144. package/components/Icons/MinusCircle/index.js +0 -4
  145. package/components/Icons/MinusCircleFilled/MinusCircleFilled.js +0 -48
  146. package/components/Icons/MinusCircleFilled/index.js +0 -4
  147. package/components/Icons/ProfileFemaleOutline/ProfileFemaleOutline.js +0 -34
  148. package/components/Icons/ProfileFemaleOutline/index.js +0 -4
  149. package/components/Icons/ProfileGroupFilled/ProfileGroupFilled.js +0 -32
  150. package/components/Icons/ProfileGroupFilled/index.js +0 -4
  151. package/components/Icons/ProfileMaleFilled/ProfileMaleFilled.js +0 -32
  152. package/components/Icons/ProfileMaleFilled/index.js +0 -4
  153. package/components/Icons/ProfileMaleOutline/ProfileMaleOutline.js +0 -35
  154. package/components/Icons/ProfileMaleOutline/index.js +0 -4
  155. package/components/Icons/Search/Search.js +0 -48
  156. package/components/Icons/Search/index.js +0 -4
  157. package/components/Icons/SettingFilled/SettingFilled.js +0 -22
  158. package/components/Icons/SettingFilled/index.js +0 -4
  159. package/components/Icons/SettingOutline/SettingOutline.js +0 -22
  160. package/components/Icons/SettingOutline/index.js +0 -4
  161. package/components/Icons/ShareAllFilled/ShareAllFilled.js +0 -24
  162. package/components/Icons/ShareAllFilled/index.js +0 -4
  163. package/components/Icons/ShareAllOutline/ShareAllOutline.js +0 -43
  164. package/components/Icons/ShareAllOutline/index.js +0 -4
  165. package/components/Icons/ShareBoxOutline/ShareBoxOutline.js +0 -22
  166. package/components/Icons/ShareBoxOutline/index.js +0 -4
  167. package/components/Icons/ShareFilled/ShareFilled.js +0 -33
  168. package/components/Icons/ShareFilled/index.js +0 -4
  169. package/components/Icons/ShareOutline/ShareOutline.js +0 -36
  170. package/components/Icons/ShareOutline/index.js +0 -4
  171. package/components/Icons/ShareThickFilled/ShareThickFilled.js +0 -22
  172. package/components/Icons/ShareThickFilled/index.js +0 -4
  173. package/components/Icons/ShieldCheckFilled/ShieldCheckFilled.js +0 -24
  174. package/components/Icons/ShieldCheckFilled/index.js +0 -4
  175. package/components/Icons/ShieldCheckOutline/ShieldCheckOutline.js +0 -35
  176. package/components/Icons/ShieldCheckOutline/index.js +0 -4
  177. package/components/Icons/ShieldCrossFilled/ShieldCrossFilled.js +0 -24
  178. package/components/Icons/ShieldCrossFilled/index.js +0 -4
  179. package/components/Icons/ShieldCrossOutline/ShieldCrossOutline.js +0 -34
  180. package/components/Icons/ShieldCrossOutline/index.js +0 -4
  181. package/components/Icons/ShieldWarningFilled/ShieldWarningFilled.js +0 -24
  182. package/components/Icons/ShieldWarningFilled/index.js +0 -4
  183. package/components/Icons/ShieldWarningOutline/ShieldWarningOutline.js +0 -27
  184. package/components/Icons/ShieldWarningOutline/index.js +0 -4
  185. package/components/Icons/StarFilled/StarFilled.js +0 -27
  186. package/components/Icons/StarFilled/index.js +0 -4
  187. package/components/Icons/StarOutline/StarOutline.js +0 -29
  188. package/components/Icons/StarOutline/index.js +0 -4
  189. package/components/Icons/ThumbsDownFilled/ThumbsDownFilled.js +0 -22
  190. package/components/Icons/ThumbsDownFilled/index.js +0 -4
  191. package/components/Icons/ThumbsDownOutline/ThumbsDownOutline.js +0 -22
  192. package/components/Icons/ThumbsDownOutline/index.js +0 -4
  193. package/components/Icons/ThumbsUpFilled/ThumbsUpFilled.js +0 -22
  194. package/components/Icons/ThumbsUpFilled/index.js +0 -4
  195. package/components/Icons/ThumbsUpOutline/ThumbsUpOutline.js +0 -22
  196. package/components/Icons/ThumbsUpOutline/index.js +0 -4
  197. package/components/Icons/Upload/Upload.js +0 -31
  198. package/components/Icons/Upload/index.js +0 -4
  199. package/components/Icons/UploadBoxFilled/UploadBoxFilled.js +0 -24
  200. package/components/Icons/UploadBoxFilled/index.js +0 -4
  201. package/components/Icons/UploadBoxOutline/UploadBoxOutline.js +0 -40
  202. package/components/Icons/UploadBoxOutline/index.js +0 -4
  203. package/components/Icons/WalletFilled/WalletFilled.js +0 -48
  204. package/components/Icons/WalletFilled/index.js +0 -4
  205. package/components/Icons/WalletOutline/WalletOutline.js +0 -48
  206. package/components/Icons/WalletOutline/index.js +0 -4
  207. package/components/Icons/index.js +0 -278
  208. package/components/Pagination/Pagination.js +0 -60
  209. package/components/Pagination/constants.js +0 -24
  210. package/components/Pagination/helpers.js +0 -32
  211. package/components/Pagination/index.js +0 -4
  212. package/components/Pagination/styles.js +0 -75
  213. package/components/Ripple/Ripple.js +0 -26
  214. package/components/Ripple/index.js +0 -4
  215. package/utils/capFirstLetter.js +0 -4
  216. package/utils/compose.js +0 -4
  217. package/utils/hasEqualProps.js +0 -7
  218. package/utils/isNonEmptyArray.js +0 -4
  219. /package/{colors → dist/colors}/index.js +0 -0
  220. /package/{index.js → dist/index.js} +0 -0
  221. /package/{utils → dist/utils}/index.js +0 -0
@@ -1,60 +0,0 @@
1
- import { j as c } from "../../_virtual/jsx-runtime.js";
2
- import K from "../../node_modules/lodash-es/get.js";
3
- import h from "../../node_modules/lodash-es/range.js";
4
- import { PrevArrow as w, renderPageNum as x, NextArrow as A, renderThreeDots as I } from "./helpers.js";
5
- import R from "../../colors/index.js";
6
- import S from "../../colors/teal.js";
7
- import { ICON_SIZE_MAPPING as _, MEDIUM as v, SIZE_REM_MAPPING as $ } from "./constants.js";
8
- import { AllPages as M, MiddleLayer as y } from "./styles.js";
9
- const k = ({
10
- pageNumber: n,
11
- setPageNumber: D,
12
- totalPages: r,
13
- theme: E = "lime",
14
- size: i = v,
15
- isDisabled: j = !1
16
- }) => {
17
- const d = (e) => {
18
- e !== n && D(e);
19
- }, f = () => {
20
- n > 1 && d(n - 1);
21
- }, t = () => {
22
- n < r && d(n + 1);
23
- }, m = (e) => {
24
- console.log({ e }), ["ArrowLeft", "ArrowUp"].includes(e.code) && f(), ["ArrowRight", "ArrowDown"].includes(e.code) && t();
25
- }, o = K(R, E, S), l = $[i], s = _[i];
26
- return r <= 7 ? /* @__PURE__ */ c.jsxs(M, { onKeyDown: m, tabIndex: "0", isDisabled: j, children: [
27
- /* @__PURE__ */ c.jsx(w, { iconSize: s, shades: o, setPrevPage: f }),
28
- /* @__PURE__ */ c.jsx(y, { size: `${r * l}rem`, children: h(1, r + 1).map(
29
- x({ size: i, selected: n, shades: o, changePage: d })
30
- ) }),
31
- /* @__PURE__ */ c.jsx(A, { iconSize: s, shades: o, setNextPage: t })
32
- ] }) : r < 10 || n < 4 || n > r - 3 && n <= r ? /* @__PURE__ */ c.jsxs(M, { onKeyDown: m, tabIndex: "0", isDisabled: j, children: [
33
- /* @__PURE__ */ c.jsx(w, { iconSize: s, shades: o, setPrevPage: f }),
34
- /* @__PURE__ */ c.jsxs(y, { size: `${9 * l}rem`, children: [
35
- h(1, 5).map(x({ size: i, selected: n, shades: o, changePage: d })),
36
- I(),
37
- [r - 3, r - 2, r - 1, r].map(
38
- x({ size: i, selected: n, shades: o, changePage: d })
39
- )
40
- ] }),
41
- /* @__PURE__ */ c.jsx(A, { iconSize: s, shades: o, setNextPage: t })
42
- ] }) : /* @__PURE__ */ c.jsxs(M, { onKeyDown: m, tabIndex: "0", isDisabled: j, children: [
43
- /* @__PURE__ */ c.jsx(w, { iconSize: s, shades: o, setPrevPage: f }),
44
- /* @__PURE__ */ c.jsxs(y, { size: `${9 * l}rem`, children: [
45
- h(1, 3).map(x({ size: i, selected: n, shades: o, changePage: d })),
46
- I(),
47
- [n - 1, n, n + 1].map(
48
- x({ size: i, selected: n, shades: o, changePage: d })
49
- ),
50
- I(),
51
- [r - 1, r].map(
52
- x({ size: i, selected: n, shades: o, changePage: d })
53
- )
54
- ] }),
55
- /* @__PURE__ */ c.jsx(A, { iconSize: s, shades: o, setNextPage: t })
56
- ] });
57
- };
58
- export {
59
- k as default
60
- };
@@ -1,24 +0,0 @@
1
- const _ = "small", I = "medium", E = "large", M = {
2
- [_]: 1.9,
3
- [I]: 2.6,
4
- [E]: 3.1
5
- }, S = {
6
- [_]: 1,
7
- [I]: 1.2,
8
- [E]: 1.4
9
- }, L = {
10
- [_]: 18,
11
- [I]: 19,
12
- [E]: 20
13
- }, t = "selected_bg", N = "not_selected_bg", A = "active_not_selected_bg";
14
- export {
15
- A as ACTIVE_NOT_SELECTED_BG,
16
- S as FONT_SIZE_MAPPING,
17
- L as ICON_SIZE_MAPPING,
18
- E as LARGE,
19
- I as MEDIUM,
20
- N as NOT_SELECTED_BG,
21
- t as SELECTED_BG,
22
- M as SIZE_REM_MAPPING,
23
- _ as SMALL
24
- };
@@ -1,32 +0,0 @@
1
- import { j as r } from "../../_virtual/jsx-runtime.js";
2
- import s from "../Ripple/Ripple.js";
3
- import { FONT_SIZE_MAPPING as x, SIZE_REM_MAPPING as h } from "./constants.js";
4
- import { ClickableChevronLeft as j, Page as p, ClickableChevronRight as C, P as t } from "./styles.js";
5
- const R = ({ size: e, selected: i, shades: n, changePage: c }) => (o) => {
6
- const l = h[e], m = x[e], d = () => {
7
- c(o);
8
- };
9
- return /* @__PURE__ */ r.jsx(
10
- p,
11
- {
12
- "data-testid": i === o ? "current-page" : `test-${o}`,
13
- isSelected: i === o,
14
- onClick: d,
15
- shades: n,
16
- individualRemSize: l,
17
- fontRemSize: m,
18
- children: o
19
- },
20
- `page_${o}`
21
- );
22
- }, u = () => /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
23
- /* @__PURE__ */ r.jsx(t, { children: "." }),
24
- /* @__PURE__ */ r.jsx(t, { children: "." }),
25
- /* @__PURE__ */ r.jsx(t, { children: "." })
26
- ] }), N = ({ iconSize: e, shades: i, setPrevPage: n }) => /* @__PURE__ */ r.jsx(s, { rippleColor: i.m50, children: /* @__PURE__ */ r.jsx(j, { size: e, onClick: n }) }), S = ({ iconSize: e, shades: i, setNextPage: n }) => /* @__PURE__ */ r.jsx(s, { rippleColor: i.m50, children: /* @__PURE__ */ r.jsx(C, { size: e, onClick: n }) });
27
- export {
28
- S as NextArrow,
29
- N as PrevArrow,
30
- R as renderPageNum,
31
- u as renderThreeDots
32
- };
@@ -1,4 +0,0 @@
1
- import o from "./Pagination.js";
2
- export {
3
- o as default
4
- };
@@ -1,75 +0,0 @@
1
- import o, { css as i } from "../../node_modules/styled-components/dist/styled-components.browser.esm.js";
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 n from "../../colors/white.js";
6
- import d from "../../colors/black.js";
7
- import { SELECTED_BG as m, NOT_SELECTED_BG as l, ACTIVE_NOT_SELECTED_BG as s } from "./constants.js";
8
- const t = (r) => ({ shades: e }) => {
9
- if (["#FFFFFF"].includes(e))
10
- return d.m900;
11
- if (r === m)
12
- return e.m500;
13
- if (r === l)
14
- return e.m50;
15
- if (r === s)
16
- return e.m100;
17
- }, E = o.div`
18
- display: flex;
19
- justify-content: center;
20
- align-items: center;
21
- gap: 0.6rem;
22
- min-width: 100%;
23
- width: 100%;
24
-
25
- ${({ isDisabled: r }) => r && i`
26
- pointer-events: none;
27
- opacity: 0.4;
28
- `};
29
- `, b = o.div`
30
- height: ${({ individualRemSize: r }) => `${r}rem`};
31
- width: ${({ individualRemSize: r }) => `${r}rem`};
32
- border-radius: 50%;
33
- display: flex;
34
- align-items: center;
35
- flex-direction: column;
36
- justify-content: center;
37
- text-align: center;
38
- font-size: ${({ fontRemSize: r }) => r}rem;
39
- ${({ isSelected: r }) => r ? i`
40
- cursor: auto;
41
- color: ${n};
42
- background-color: ${t(m)};
43
- ` : i`
44
- cursor: pointer;
45
- color: ${c.m500};
46
-
47
- &:hover {
48
- background-color: ${t(l)};
49
- }
50
-
51
- &:active {
52
- background-color: ${t(s)};
53
- color: ${n};
54
- }
55
- `}
56
- `, y = o.p`
57
- color: ${c.m500};
58
- `, k = o(a)`
59
- cursor: pointer;
60
- `, w = o(f)`
61
- cursor: pointer;
62
- `, x = o.div`
63
- min-width: ${({ size: r }) => r};
64
- display: flex;
65
- align-items: center;
66
- justify-content: space-between;
67
- `;
68
- export {
69
- E as AllPages,
70
- k as ClickableChevronLeft,
71
- w as ClickableChevronRight,
72
- x as MiddleLayer,
73
- y as P,
74
- b as Page
75
- };
@@ -1,26 +0,0 @@
1
- import { j as m } from "../../_virtual/jsx-runtime.js";
2
- import { useRef as d } from "react";
3
- /* empty css */
4
- const x = ({ children: s, rippleColor: l = "rgba(0,0,0,0.3)", className: p = "", ...c }) => {
5
- const r = d(null), a = (o) => {
6
- const n = r.current;
7
- if (!n) return;
8
- const e = document.createElement("span");
9
- e.className = "ripple", e.style.backgroundColor = l;
10
- const t = n.getBoundingClientRect(), i = Math.max(t.width, t.height);
11
- e.style.width = e.style.height = `${i}px`, e.style.left = `${o.clientX - t.left - i / 2}px`, e.style.top = `${o.clientY - t.top - i / 2}px`, n.appendChild(e), e.addEventListener("animationend", () => e.remove());
12
- };
13
- return /* @__PURE__ */ m.jsx(
14
- "div",
15
- {
16
- ref: r,
17
- onClick: a,
18
- className: `ripple-container ${p}`,
19
- ...c,
20
- children: s
21
- }
22
- );
23
- };
24
- export {
25
- x as default
26
- };
@@ -1,4 +0,0 @@
1
- import e from "./Ripple.js";
2
- export {
3
- e as default
4
- };
@@ -1,4 +0,0 @@
1
- const t = (e) => typeof e != "string" || e.length === 0 ? e : e.charAt(0).toUpperCase() + e.slice(1);
2
- export {
3
- t as default
4
- };
package/utils/compose.js DELETED
@@ -1,4 +0,0 @@
1
- const s = (...e) => (o) => e.reduceRight((t, c) => c(t), o);
2
- export {
3
- s as default
4
- };
@@ -1,7 +0,0 @@
1
- import o from "../node_modules/lodash-es/omitBy.js";
2
- import r from "../node_modules/lodash-es/isFunction.js";
3
- import m from "react-fast-compare";
4
- const f = (t, i) => m(o(t, r), o(i, r));
5
- export {
6
- f as default
7
- };
@@ -1,4 +0,0 @@
1
- const t = (r) => Array.isArray(r) && r.length > 0;
2
- export {
3
- t as default
4
- };
File without changes
File without changes
File without changes