meticulous-ui 1.0.24 → 1.0.26
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/README.md +188 -0
- package/dist/colors/amber.js +19 -0
- package/dist/colors/black.js +25 -0
- package/dist/colors/blue.js +19 -0
- package/dist/colors/blueGray.js +15 -0
- package/dist/colors/brown.js +15 -0
- package/dist/colors/cider.js +15 -0
- package/dist/colors/cyan.js +19 -0
- package/dist/colors/deepOrange.js +19 -0
- package/dist/colors/deepPurple.js +19 -0
- package/dist/colors/green.js +19 -0
- package/dist/colors/grey.js +15 -0
- package/dist/colors/index.js +51 -0
- package/dist/colors/indigo.js +19 -0
- package/dist/colors/lightBlue.js +19 -0
- package/dist/colors/lightGreen.js +19 -0
- package/dist/colors/lime.js +19 -0
- package/dist/colors/orange.js +19 -0
- package/dist/colors/pink.js +19 -0
- package/dist/colors/purple.js +19 -0
- package/dist/colors/red.js +19 -0
- package/dist/colors/teal.js +19 -0
- package/dist/colors/violet.js +19 -0
- package/dist/colors/white.js +4 -0
- package/dist/colors/yellow.js +19 -0
- package/dist/components/Icons/Add/Add.js +47 -0
- package/dist/components/Icons/AddCircle/AddCircle.js +35 -0
- package/dist/components/Icons/AddCircleFilled/AddCircleFilled.js +26 -0
- package/dist/components/Icons/ArrowDown/ArrowDown.js +26 -0
- package/dist/components/Icons/ArrowLeft/ArrowLeft.js +27 -0
- package/dist/components/Icons/ArrowRight/ArrowRight.js +27 -0
- package/dist/components/Icons/ArrowUp/ArrowUp.js +26 -0
- package/dist/components/Icons/BellFilled/BellFilled.js +26 -0
- package/dist/components/Icons/BellOffFilled/BellOffFilled.js +37 -0
- package/dist/components/Icons/BellOffOutline/BellOffOutline.js +38 -0
- package/dist/components/Icons/BellOutline/BellOutline.js +39 -0
- package/dist/components/Icons/BookmarkFilled/BookmarkFilled.js +18 -0
- package/dist/components/Icons/BookmarkOutline/BookmarkOutline.js +26 -0
- package/dist/components/Icons/ChevronDown/ChevronDown.js +27 -0
- package/dist/components/Icons/ChevronLeft/ChevronLeft.js +27 -0
- package/dist/components/Icons/ChevronRight/ChevronRight.js +27 -0
- package/dist/components/Icons/ChevronUp/ChevronUp.js +27 -0
- package/dist/components/Icons/ClockCircleOutline/ClockCircleOutline.js +30 -0
- package/dist/components/Icons/ClockSquareOutline/ClockSquareOutline.js +37 -0
- package/dist/components/Icons/Close/Close.js +24 -0
- package/dist/components/Icons/CloseCircleFilled/CloseCircleFilled.js +26 -0
- package/dist/components/Icons/CloseCircleOutline/CloseCircleOutline.js +27 -0
- package/dist/components/Icons/CommentBubbleFilled/CommentBubbleFilled.js +18 -0
- package/dist/components/Icons/CommentBubbleOutline/CommentBubbleOutline.js +18 -0
- package/dist/components/Icons/CommentFilled/CommentFilled.js +18 -0
- package/dist/components/Icons/CommentLineFilled/CommentLineFilled.js +18 -0
- package/dist/components/Icons/CommentLineOutline/CommentLineOutline.js +18 -0
- package/dist/components/Icons/CommentOutline/CommentOutline.js +18 -0
- package/dist/components/Icons/DotsHorizontalFilled/DotsHorizontalFilled.js +24 -0
- package/dist/components/Icons/DotsHorizontalOutline/DotsHorizontalOutline.js +27 -0
- package/dist/components/Icons/DotsVerticalFilled/DotsVerticalFilled.js +24 -0
- package/dist/components/Icons/DotsVerticalOutline/DotsVerticalOutline.js +27 -0
- package/dist/components/Icons/HamburgerMenu/HamburgerMenu.js +26 -0
- package/dist/components/Icons/HamburgerSpaced/HamburgerSpaced.js +18 -0
- package/dist/components/Icons/HeartFilled/HeartFilled.js +24 -0
- package/dist/components/Icons/HeartOutline/HeartOutline.js +29 -0
- package/dist/components/Icons/HomeFilled/HomeFilled.js +26 -0
- package/dist/components/Icons/HomeOutline/HomeOutline.js +26 -0
- package/dist/components/Icons/Link/Link.js +37 -0
- package/dist/components/Icons/Minus/Minus.js +27 -0
- package/dist/components/Icons/MinusCircle/MinusCircle.js +18 -0
- package/dist/components/Icons/MinusCircleFilled/MinusCircleFilled.js +18 -0
- package/dist/components/Icons/Search/Search.js +18 -0
- package/dist/components/Icons/SettingFilled/SettingFilled.js +24 -0
- package/dist/components/Icons/SettingOutline/SettingOutline.js +24 -0
- package/dist/components/Icons/ShareAllFilled/ShareAllFilled.js +26 -0
- package/dist/components/Icons/ShareAllOutline/ShareAllOutline.js +29 -0
- package/dist/components/Icons/ShareBoxOutline/ShareBoxOutline.js +24 -0
- package/dist/components/Icons/ShareFilled/ShareFilled.js +35 -0
- package/dist/components/Icons/ShareOutline/ShareOutline.js +38 -0
- package/dist/components/Icons/ShareThickFilled/ShareThickFilled.js +24 -0
- package/dist/components/Icons/StarFilled/StarFilled.js +24 -0
- package/dist/components/Icons/StarOutline/StarOutline.js +24 -0
- package/dist/components/Icons/ThumbsDownFilled/ThumbsDownFilled.js +24 -0
- package/dist/components/Icons/ThumbsDownOutline/ThumbsDownOutline.js +24 -0
- package/dist/components/Icons/ThumbsUpFilled/ThumbsUpFilled.js +24 -0
- package/dist/components/Icons/ThumbsUpOutline/ThumbsUpOutline.js +24 -0
- package/dist/components/Icons/Upload/Upload.js +33 -0
- package/dist/components/Icons/UploadBoxFilled/UploadBoxFilled.js +26 -0
- package/dist/components/Icons/UploadBoxOutline/UploadBoxOutline.js +35 -0
- package/dist/components/Icons/index.js +125 -0
- package/dist/components/Pagination/Pagination.js +60 -0
- package/dist/components/Pagination/constants.js +24 -0
- package/dist/components/Pagination/helpers.js +32 -0
- package/dist/components/Pagination/index.js +4 -0
- package/dist/components/Pagination/styles.js +75 -0
- package/dist/components/Ripple/Ripple.js +26 -0
- package/dist/components/Ripple/index.js +4 -0
- package/dist/index.js +12 -0
- package/dist/utils/capFirstLetter.js +4 -0
- package/dist/utils/compose.js +4 -0
- package/dist/utils/hasEqualProps.js +7 -0
- package/dist/utils/index.js +13 -0
- package/dist/utils/isNonEmptyArray.js +4 -0
- package/package.json +2 -1
|
@@ -0,0 +1,26 @@
|
|
|
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/dist/index.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as t } from "./components/Pagination/Pagination.js";
|
|
2
|
+
import { default as r } from "./components/Ripple/Ripple.js";
|
|
3
|
+
import { default as l } from "./colors/index.js";
|
|
4
|
+
import { default as p } from "./utils/index.js";
|
|
5
|
+
import { default as d } from "./components/Icons/index.js";
|
|
6
|
+
export {
|
|
7
|
+
t as Pagination,
|
|
8
|
+
r as Ripple,
|
|
9
|
+
l as colors,
|
|
10
|
+
d as icons,
|
|
11
|
+
p as utils
|
|
12
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import o from "./capFirstLetter.js";
|
|
2
|
+
import r from "./compose.js";
|
|
3
|
+
import t from "./hasEqualProps.js";
|
|
4
|
+
import m from "./isNonEmptyArray.js";
|
|
5
|
+
const e = {
|
|
6
|
+
capFirstLetter: o,
|
|
7
|
+
compose: r,
|
|
8
|
+
hasEqualProps: t,
|
|
9
|
+
isNonEmptyArray: m
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
e as default
|
|
13
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "meticulous-ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.26",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"repository": {
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"dist/colors",
|
|
17
17
|
"dist/components",
|
|
18
18
|
"dist/utils",
|
|
19
|
+
"!dist/_virtual",
|
|
19
20
|
"README.md"
|
|
20
21
|
],
|
|
21
22
|
"type": "module",
|