meticulous-ui 2.5.1 → 2.5.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.
package/README.md CHANGED
@@ -63,6 +63,7 @@ export default App;
63
63
  | `SelectBox` | Renders selectbox to select multiple values from options |
64
64
  | `Spinner` | Renders a spinner to show the loading state |
65
65
  | `Loader` | Renders a loader with dots to show the loading state |
66
+ | `PageLoader` | Renders a loader with line at the top of page |
66
67
  | `Button` | Renders a button to click & take an action |
67
68
 
68
69
  ## 📦 Icon Components
@@ -0,0 +1,22 @@
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import l from "lodash-es/get";
3
+ import { getColor as i } from "../Input/Checkbox/helpers.js";
4
+ import { PageLdr as s } from "./styles.js";
5
+ import p from "../../colors/blue.js";
6
+ const d = ({ theme: r = "blue", color: o, ...a }) => {
7
+ const e = i(r), m = o || l(e, "m500", p.m500);
8
+ return /* @__PURE__ */ t(
9
+ s,
10
+ {
11
+ ...a,
12
+ $color: m,
13
+ role: "progressbar",
14
+ "aria-label": "Loading",
15
+ "aria-valuemin": 0,
16
+ "aria-valuemax": 100
17
+ }
18
+ );
19
+ };
20
+ export {
21
+ d as default
22
+ };
@@ -0,0 +1,4 @@
1
+ import e from "./PageLoader.js";
2
+ export {
3
+ e as default
4
+ };
@@ -0,0 +1,14 @@
1
+ import o, { keyframes as t } from "styled-components";
2
+ const a = t`
3
+ 0% { transform: scaleX(0); }
4
+ 100% { transform: scaleX(1); }
5
+ `, i = o.div`
6
+ width: 90%;
7
+ height: 3px;
8
+ background-color: ${({ $color: r }) => r};
9
+ transform-origin: left;
10
+ animation: ${a} 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
11
+ `;
12
+ export {
13
+ i as PageLdr
14
+ };
@@ -0,0 +1,20 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ /* empty css */
3
+ const r = (e) => {
4
+ if (e != null)
5
+ return typeof e == "number" ? `${e}rem` : e;
6
+ }, n = ({ width: e = "", height: t = "", label: i = "Loading..." }) => /* @__PURE__ */ o(
7
+ "div",
8
+ {
9
+ className: "shimmer",
10
+ role: "status",
11
+ "aria-label": i,
12
+ style: {
13
+ width: r(e),
14
+ height: r(t)
15
+ }
16
+ }
17
+ );
18
+ export {
19
+ n as default
20
+ };
@@ -0,0 +1,4 @@
1
+ import r from "./Shimmer.js";
2
+ export {
3
+ r as default
4
+ };
package/index.js CHANGED
@@ -1,52 +1,56 @@
1
- import { default as t } from "./components/Pagination/Pagination.js";
2
- import { default as r } from "./components/Toast/Toast.js";
1
+ import { default as a } from "./components/Pagination/Pagination.js";
2
+ import { default as t } from "./components/Toast/Toast.js";
3
3
  import { default as p } from "./components/Spinner/Spinner.js";
4
- import { default as d } from "./components/Loader/Loader.js";
5
- import { default as s } from "./components/OtpInput/OtpInput.js";
6
- import { default as m } from "./components/Dropdown/Dropdown.js";
7
- import { default as n } from "./components/Selectbox/Selectbox.js";
8
- import { default as c } from "./components/Button/Button.js";
9
- import { default as T } from "./components/Timer/Timer.js";
10
- import { default as I } from "./components/VideoPlayer/VideoPlayer.js";
11
- import { default as g } from "./components/Typography/P/P.js";
12
- import { default as k } from "./components/Input/Input/Input.js";
13
- import { default as y } from "./components/Input/Textarea/Textarea.js";
14
- import { default as C } from "./components/Input/Checkbox/Checkbox.js";
15
- import { default as F } from "./components/Input/RadioGroup/RadioGroup.js";
16
- import { default as L } from "./components/Input/FileUploader/FileUploader.js";
17
- import { default as R } from "./colors/index.js";
18
- import { default as V } from "./utils/index.js";
19
- import { default as q } from "./components/Icons/index.js";
20
- import { default as z } from "./components/Typography/Headings/H1.js";
21
- import { default as E } from "./components/Typography/Headings/H2.js";
22
- import { default as K } from "./components/Typography/Headings/H3.js";
23
- import { default as N } from "./components/Typography/Headings/H4.js";
24
- import { default as W } from "./components/Typography/Headings/H5.js";
25
- import { default as Y } from "./components/Typography/Headings/H6.js";
4
+ import { default as l } from "./components/Loader/Loader.js";
5
+ import { default as s } from "./components/PageLoader/PageLoader.js";
6
+ import { default as x } from "./components/OtpInput/OtpInput.js";
7
+ import { default as n } from "./components/Dropdown/Dropdown.js";
8
+ import { default as c } from "./components/Selectbox/Selectbox.js";
9
+ import { default as S } from "./components/Button/Button.js";
10
+ import { default as b } from "./components/Timer/Timer.js";
11
+ import { default as h } from "./components/Shimmer/Shimmer.js";
12
+ import { default as L } from "./components/VideoPlayer/VideoPlayer.js";
13
+ import { default as w } from "./components/Typography/P/P.js";
14
+ import { default as B } from "./components/Input/Input/Input.js";
15
+ import { default as D } from "./components/Input/Textarea/Textarea.js";
16
+ import { default as G } from "./components/Input/Checkbox/Checkbox.js";
17
+ import { default as R } from "./components/Input/RadioGroup/RadioGroup.js";
18
+ import { default as V } from "./components/Input/FileUploader/FileUploader.js";
19
+ import { default as q } from "./colors/index.js";
20
+ import { default as z } from "./utils/index.js";
21
+ import { default as E } from "./components/Icons/index.js";
22
+ import { default as K } from "./components/Typography/Headings/H1.js";
23
+ import { default as N } from "./components/Typography/Headings/H2.js";
24
+ import { default as W } from "./components/Typography/Headings/H3.js";
25
+ import { default as Y } from "./components/Typography/Headings/H4.js";
26
+ import { default as _ } from "./components/Typography/Headings/H5.js";
27
+ import { default as oo } from "./components/Typography/Headings/H6.js";
26
28
  export {
27
- c as Button,
28
- C as Checkbox,
29
- m as Dropdown,
30
- L as FileUploader,
31
- z as H1,
32
- E as H2,
33
- K as H3,
34
- N as H4,
35
- W as H5,
36
- Y as H6,
37
- k as Input,
38
- d as Loader,
39
- s as OtpInput,
40
- g as P,
41
- t as Pagination,
42
- F as RadioGroup,
43
- n as Selectbox,
29
+ S as Button,
30
+ G as Checkbox,
31
+ n as Dropdown,
32
+ V as FileUploader,
33
+ K as H1,
34
+ N as H2,
35
+ W as H3,
36
+ Y as H4,
37
+ _ as H5,
38
+ oo as H6,
39
+ B as Input,
40
+ l as Loader,
41
+ x as OtpInput,
42
+ w as P,
43
+ s as PageLoader,
44
+ a as Pagination,
45
+ R as RadioGroup,
46
+ c as Selectbox,
47
+ h as Shimmer,
44
48
  p as Spinner,
45
- y as Textarea,
46
- T as Timer,
47
- r as Toast,
48
- I as VideoPlayer,
49
- R as colors,
50
- q as icons,
51
- V as utils
49
+ D as Textarea,
50
+ b as Timer,
51
+ t as Toast,
52
+ L as VideoPlayer,
53
+ q as colors,
54
+ E as icons,
55
+ z as utils
52
56
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meticulous-ui",
3
- "version": "2.5.1",
3
+ "version": "2.5.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",