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.
- package/package.json +1 -1
- package/colors/amber.js +0 -19
- package/colors/black.js +0 -25
- package/colors/blue.js +0 -19
- package/colors/blueGray.js +0 -15
- package/colors/brown.js +0 -15
- package/colors/cider.js +0 -15
- package/colors/cyan.js +0 -19
- package/colors/deepOrange.js +0 -19
- package/colors/deepPurple.js +0 -19
- package/colors/green.js +0 -19
- package/colors/grey.js +0 -15
- package/colors/indigo.js +0 -19
- package/colors/lightBlue.js +0 -19
- package/colors/lightGreen.js +0 -19
- package/colors/lime.js +0 -19
- package/colors/orange.js +0 -19
- package/colors/pink.js +0 -19
- package/colors/purple.js +0 -19
- package/colors/red.js +0 -19
- package/colors/teal.js +0 -19
- package/colors/violet.js +0 -19
- package/colors/white.js +0 -4
- package/colors/yellow.js +0 -19
- package/components/Icons/Add/Add.js +0 -48
- package/components/Icons/Add/index.js +0 -4
- package/components/Icons/AddCircle/AddCircle.js +0 -33
- package/components/Icons/AddCircle/index.js +0 -4
- package/components/Icons/AddCircleFilled/AddCircleFilled.js +0 -24
- package/components/Icons/AddCircleFilled/index.js +0 -4
- package/components/Icons/ArrowDown/ArrowDown.js +0 -24
- package/components/Icons/ArrowDown/index.js +0 -4
- package/components/Icons/ArrowLeft/ArrowLeft.js +0 -25
- package/components/Icons/ArrowLeft/index.js +0 -4
- package/components/Icons/ArrowRight/ArrowRight.js +0 -25
- package/components/Icons/ArrowRight/index.js +0 -4
- package/components/Icons/ArrowUp/ArrowUp.js +0 -24
- package/components/Icons/ArrowUp/index.js +0 -4
- package/components/Icons/BellFilled/BellFilled.js +0 -35
- package/components/Icons/BellFilled/index.js +0 -4
- package/components/Icons/BellOffFilled/BellOffFilled.js +0 -44
- package/components/Icons/BellOffFilled/index.js +0 -4
- package/components/Icons/BellOffOutline/BellOffOutline.js +0 -46
- package/components/Icons/BellOffOutline/index.js +0 -4
- package/components/Icons/BellOutline/BellOutline.js +0 -37
- package/components/Icons/BellOutline/index.js +0 -4
- package/components/Icons/BookmarkFilled/BookmarkFilled.js +0 -48
- package/components/Icons/BookmarkFilled/index.js +0 -4
- package/components/Icons/BookmarkOutline/BookmarkOutline.js +0 -24
- package/components/Icons/BookmarkOutline/index.js +0 -4
- package/components/Icons/CartCheckFilled/CartCheckFilled.js +0 -40
- package/components/Icons/CartCheckFilled/index.js +0 -4
- package/components/Icons/CartCheckOutline/CartCheckOutline.js +0 -50
- package/components/Icons/CartCheckOutline/index.js +0 -4
- package/components/Icons/CartCrossFilled/CartCrossFilled.js +0 -40
- package/components/Icons/CartCrossFilled/index.js +0 -4
- package/components/Icons/CartCrossOutline/CartCrossOutline.js +0 -49
- package/components/Icons/CartCrossOutline/index.js +0 -4
- package/components/Icons/CartFilled/CartFilled.js +0 -38
- package/components/Icons/CartFilled/index.js +0 -4
- package/components/Icons/CartMinusFilled/CartMinusFilled.js +0 -40
- package/components/Icons/CartMinusFilled/index.js +0 -4
- package/components/Icons/CartMinusOutline/CartMinusOutline.js +0 -51
- package/components/Icons/CartMinusOutline/index.js +0 -4
- package/components/Icons/CartOutline/CartOutline.js +0 -50
- package/components/Icons/CartOutline/index.js +0 -4
- package/components/Icons/CartPlusFilled/CartPlusFilled.js +0 -40
- package/components/Icons/CartPlusFilled/index.js +0 -4
- package/components/Icons/CartPlusOutline/CartPlusOutline.js +0 -49
- package/components/Icons/CartPlusOutline/index.js +0 -4
- package/components/Icons/ChevronDown/ChevronDown.js +0 -25
- package/components/Icons/ChevronDown/index.js +0 -4
- package/components/Icons/ChevronLeft/ChevronLeft.js +0 -25
- package/components/Icons/ChevronLeft/index.js +0 -4
- package/components/Icons/ChevronRight/ChevronRight.js +0 -25
- package/components/Icons/ChevronRight/index.js +0 -4
- package/components/Icons/ChevronUp/ChevronUp.js +0 -25
- package/components/Icons/ChevronUp/index.js +0 -4
- package/components/Icons/ClockCircleOutline/ClockCircleOutline.js +0 -28
- package/components/Icons/ClockCircleOutline/index.js +0 -4
- package/components/Icons/ClockSquareOutline/ClockSquareOutline.js +0 -35
- package/components/Icons/ClockSquareOutline/index.js +0 -4
- package/components/Icons/Close/Close.js +0 -22
- package/components/Icons/Close/index.js +0 -4
- package/components/Icons/CloseCircleFilled/CloseCircleFilled.js +0 -24
- package/components/Icons/CloseCircleFilled/index.js +0 -4
- package/components/Icons/CloseCircleOutline/CloseCircleOutline.js +0 -26
- package/components/Icons/CloseCircleOutline/index.js +0 -4
- package/components/Icons/CommentBubbleFilled/CommentBubbleFilled.js +0 -48
- package/components/Icons/CommentBubbleFilled/index.js +0 -4
- package/components/Icons/CommentBubbleOutline/CommentBubbleOutline.js +0 -48
- package/components/Icons/CommentBubbleOutline/index.js +0 -4
- package/components/Icons/CommentFilled/CommentFilled.js +0 -48
- package/components/Icons/CommentFilled/index.js +0 -4
- package/components/Icons/CommentLineFilled/CommentLineFilled.js +0 -48
- package/components/Icons/CommentLineFilled/index.js +0 -4
- package/components/Icons/CommentLineOutline/CommentLineOutline.js +0 -48
- package/components/Icons/CommentLineOutline/index.js +0 -4
- package/components/Icons/CommentOutline/CommentOutline.js +0 -48
- package/components/Icons/CommentOutline/index.js +0 -4
- package/components/Icons/ContactDetailsFilled/ContactDetailsFilled.js +0 -25
- package/components/Icons/ContactDetailsFilled/index.js +0 -4
- package/components/Icons/ContactDetailsOutline/ContactDetailsOutline.js +0 -25
- package/components/Icons/ContactDetailsOutline/index.js +0 -4
- package/components/Icons/DetailsOutline/DetailsOutline.js +0 -19
- package/components/Icons/DetailsOutline/index.js +0 -4
- package/components/Icons/DotsHorizontalFilled/DotsHorizontalFilled.js +0 -38
- package/components/Icons/DotsHorizontalFilled/index.js +0 -4
- package/components/Icons/DotsHorizontalOutline/DotsHorizontalOutline.js +0 -47
- package/components/Icons/DotsHorizontalOutline/index.js +0 -4
- package/components/Icons/DotsVerticalFilled/DotsVerticalFilled.js +0 -38
- package/components/Icons/DotsVerticalFilled/index.js +0 -4
- package/components/Icons/DotsVerticalOutline/DotsVerticalOutline.js +0 -47
- package/components/Icons/DotsVerticalOutline/index.js +0 -4
- package/components/Icons/ExitArrowInOutline/ExitArrowInOutline.js +0 -26
- package/components/Icons/ExitArrowInOutline/index.js +0 -4
- package/components/Icons/ExitArrowOutOutline/ExitArrowOutOutline.js +0 -37
- package/components/Icons/ExitArrowOutOutline/index.js +0 -4
- package/components/Icons/HamburgerMenu/HamburgerMenu.js +0 -44
- package/components/Icons/HamburgerMenu/index.js +0 -4
- package/components/Icons/HamburgerSpaced/HamburgerSpaced.js +0 -48
- package/components/Icons/HamburgerSpaced/index.js +0 -4
- package/components/Icons/HeartFilled/HeartFilled.js +0 -22
- package/components/Icons/HeartFilled/index.js +0 -4
- package/components/Icons/HeartOutline/HeartOutline.js +0 -27
- package/components/Icons/HeartOutline/index.js +0 -4
- package/components/Icons/HomeFilled/HomeFilled.js +0 -24
- package/components/Icons/HomeFilled/index.js +0 -4
- package/components/Icons/HomeOutline/HomeOutline.js +0 -24
- package/components/Icons/HomeOutline/index.js +0 -4
- package/components/Icons/Link/Link.js +0 -35
- package/components/Icons/Link/index.js +0 -4
- package/components/Icons/LockClosedFilled/LockClosedFilled.js +0 -24
- package/components/Icons/LockClosedFilled/index.js +0 -4
- package/components/Icons/LockClosedOutline/LockClosedOutline.js +0 -35
- package/components/Icons/LockClosedOutline/index.js +0 -4
- package/components/Icons/LockOpenFilled/LockOpenFilled.js +0 -24
- package/components/Icons/LockOpenFilled/index.js +0 -4
- package/components/Icons/LockOpenOutline/LockOpenOutline.js +0 -36
- package/components/Icons/LockOpenOutline/index.js +0 -4
- package/components/Icons/Minus/Minus.js +0 -25
- package/components/Icons/Minus/index.js +0 -4
- package/components/Icons/MinusCircle/MinusCircle.js +0 -48
- package/components/Icons/MinusCircle/index.js +0 -4
- package/components/Icons/MinusCircleFilled/MinusCircleFilled.js +0 -48
- package/components/Icons/MinusCircleFilled/index.js +0 -4
- package/components/Icons/ProfileFemaleOutline/ProfileFemaleOutline.js +0 -34
- package/components/Icons/ProfileFemaleOutline/index.js +0 -4
- package/components/Icons/ProfileGroupFilled/ProfileGroupFilled.js +0 -32
- package/components/Icons/ProfileGroupFilled/index.js +0 -4
- package/components/Icons/ProfileMaleFilled/ProfileMaleFilled.js +0 -32
- package/components/Icons/ProfileMaleFilled/index.js +0 -4
- package/components/Icons/ProfileMaleOutline/ProfileMaleOutline.js +0 -35
- package/components/Icons/ProfileMaleOutline/index.js +0 -4
- package/components/Icons/Search/Search.js +0 -48
- package/components/Icons/Search/index.js +0 -4
- package/components/Icons/SettingFilled/SettingFilled.js +0 -22
- package/components/Icons/SettingFilled/index.js +0 -4
- package/components/Icons/SettingOutline/SettingOutline.js +0 -22
- package/components/Icons/SettingOutline/index.js +0 -4
- package/components/Icons/ShareAllFilled/ShareAllFilled.js +0 -24
- package/components/Icons/ShareAllFilled/index.js +0 -4
- package/components/Icons/ShareAllOutline/ShareAllOutline.js +0 -43
- package/components/Icons/ShareAllOutline/index.js +0 -4
- package/components/Icons/ShareBoxOutline/ShareBoxOutline.js +0 -22
- package/components/Icons/ShareBoxOutline/index.js +0 -4
- package/components/Icons/ShareFilled/ShareFilled.js +0 -33
- package/components/Icons/ShareFilled/index.js +0 -4
- package/components/Icons/ShareOutline/ShareOutline.js +0 -36
- package/components/Icons/ShareOutline/index.js +0 -4
- package/components/Icons/ShareThickFilled/ShareThickFilled.js +0 -22
- package/components/Icons/ShareThickFilled/index.js +0 -4
- package/components/Icons/ShieldCheckFilled/ShieldCheckFilled.js +0 -24
- package/components/Icons/ShieldCheckFilled/index.js +0 -4
- package/components/Icons/ShieldCheckOutline/ShieldCheckOutline.js +0 -35
- package/components/Icons/ShieldCheckOutline/index.js +0 -4
- package/components/Icons/ShieldCrossFilled/ShieldCrossFilled.js +0 -24
- package/components/Icons/ShieldCrossFilled/index.js +0 -4
- package/components/Icons/ShieldCrossOutline/ShieldCrossOutline.js +0 -34
- package/components/Icons/ShieldCrossOutline/index.js +0 -4
- package/components/Icons/ShieldWarningFilled/ShieldWarningFilled.js +0 -24
- package/components/Icons/ShieldWarningFilled/index.js +0 -4
- package/components/Icons/ShieldWarningOutline/ShieldWarningOutline.js +0 -27
- package/components/Icons/ShieldWarningOutline/index.js +0 -4
- package/components/Icons/StarFilled/StarFilled.js +0 -27
- package/components/Icons/StarFilled/index.js +0 -4
- package/components/Icons/StarOutline/StarOutline.js +0 -29
- package/components/Icons/StarOutline/index.js +0 -4
- package/components/Icons/ThumbsDownFilled/ThumbsDownFilled.js +0 -22
- package/components/Icons/ThumbsDownFilled/index.js +0 -4
- package/components/Icons/ThumbsDownOutline/ThumbsDownOutline.js +0 -22
- package/components/Icons/ThumbsDownOutline/index.js +0 -4
- package/components/Icons/ThumbsUpFilled/ThumbsUpFilled.js +0 -22
- package/components/Icons/ThumbsUpFilled/index.js +0 -4
- package/components/Icons/ThumbsUpOutline/ThumbsUpOutline.js +0 -22
- package/components/Icons/ThumbsUpOutline/index.js +0 -4
- package/components/Icons/Upload/Upload.js +0 -31
- package/components/Icons/Upload/index.js +0 -4
- package/components/Icons/UploadBoxFilled/UploadBoxFilled.js +0 -24
- package/components/Icons/UploadBoxFilled/index.js +0 -4
- package/components/Icons/UploadBoxOutline/UploadBoxOutline.js +0 -40
- package/components/Icons/UploadBoxOutline/index.js +0 -4
- package/components/Icons/WalletFilled/WalletFilled.js +0 -48
- package/components/Icons/WalletFilled/index.js +0 -4
- package/components/Icons/WalletOutline/WalletOutline.js +0 -48
- package/components/Icons/WalletOutline/index.js +0 -4
- package/components/Icons/index.js +0 -278
- package/components/Pagination/Pagination.js +0 -60
- package/components/Pagination/constants.js +0 -24
- package/components/Pagination/helpers.js +0 -32
- package/components/Pagination/index.js +0 -4
- package/components/Pagination/styles.js +0 -75
- package/components/Ripple/Ripple.js +0 -26
- package/components/Ripple/index.js +0 -4
- package/utils/capFirstLetter.js +0 -4
- package/utils/compose.js +0 -4
- package/utils/hasEqualProps.js +0 -7
- package/utils/isNonEmptyArray.js +0 -4
- /package/{colors → dist/colors}/index.js +0 -0
- /package/{index.js → dist/index.js} +0 -0
- /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,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
|
-
};
|
package/utils/capFirstLetter.js
DELETED
package/utils/compose.js
DELETED
package/utils/hasEqualProps.js
DELETED
package/utils/isNonEmptyArray.js
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|