meticulous-ui 1.1.2 → 1.1.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.
Files changed (122) hide show
  1. package/colors/amber.js +19 -0
  2. package/colors/black.js +25 -0
  3. package/colors/blue.js +19 -0
  4. package/colors/blueGray.js +15 -0
  5. package/colors/brown.js +15 -0
  6. package/colors/cider.js +15 -0
  7. package/colors/cyan.js +19 -0
  8. package/colors/deepOrange.js +19 -0
  9. package/colors/deepPurple.js +19 -0
  10. package/colors/green.js +19 -0
  11. package/colors/grey.js +15 -0
  12. package/colors/indigo.js +19 -0
  13. package/colors/lightBlue.js +19 -0
  14. package/colors/lightGreen.js +19 -0
  15. package/colors/lime.js +19 -0
  16. package/colors/orange.js +19 -0
  17. package/colors/pink.js +19 -0
  18. package/colors/purple.js +19 -0
  19. package/colors/red.js +19 -0
  20. package/colors/teal.js +19 -0
  21. package/colors/violet.js +19 -0
  22. package/colors/white.js +4 -0
  23. package/colors/yellow.js +19 -0
  24. package/components/Icons/Add/Add.js +47 -0
  25. package/components/Icons/AddCircle/AddCircle.js +35 -0
  26. package/components/Icons/AddCircleFilled/AddCircleFilled.js +26 -0
  27. package/components/Icons/ArrowDown/ArrowDown.js +26 -0
  28. package/components/Icons/ArrowLeft/ArrowLeft.js +27 -0
  29. package/components/Icons/ArrowRight/ArrowRight.js +27 -0
  30. package/components/Icons/ArrowUp/ArrowUp.js +26 -0
  31. package/components/Icons/BellFilled/BellFilled.js +26 -0
  32. package/components/Icons/BellOffFilled/BellOffFilled.js +37 -0
  33. package/components/Icons/BellOffOutline/BellOffOutline.js +38 -0
  34. package/components/Icons/BellOutline/BellOutline.js +39 -0
  35. package/components/Icons/BookmarkFilled/BookmarkFilled.js +18 -0
  36. package/components/Icons/BookmarkOutline/BookmarkOutline.js +26 -0
  37. package/components/Icons/ChevronDown/ChevronDown.js +27 -0
  38. package/components/Icons/ChevronLeft/ChevronLeft.js +27 -0
  39. package/components/Icons/ChevronRight/ChevronRight.js +27 -0
  40. package/components/Icons/ChevronUp/ChevronUp.js +27 -0
  41. package/components/Icons/ClockCircleOutline/ClockCircleOutline.js +30 -0
  42. package/components/Icons/ClockSquareOutline/ClockSquareOutline.js +37 -0
  43. package/components/Icons/Close/Close.js +24 -0
  44. package/components/Icons/CloseCircleFilled/CloseCircleFilled.js +26 -0
  45. package/components/Icons/CloseCircleOutline/CloseCircleOutline.js +27 -0
  46. package/components/Icons/CommentBubbleFilled/CommentBubbleFilled.js +18 -0
  47. package/components/Icons/CommentBubbleOutline/CommentBubbleOutline.js +18 -0
  48. package/components/Icons/CommentFilled/CommentFilled.js +18 -0
  49. package/components/Icons/CommentLineFilled/CommentLineFilled.js +18 -0
  50. package/components/Icons/CommentLineOutline/CommentLineOutline.js +18 -0
  51. package/components/Icons/CommentOutline/CommentOutline.js +18 -0
  52. package/components/Icons/ContactDetailsFilled/ContactDetailsFilled.js +18 -0
  53. package/components/Icons/ContactDetailsOutline/ContactDetailsOutline.js +18 -0
  54. package/components/Icons/DetailsOutline/DetailsOutline.js +18 -0
  55. package/components/Icons/DotsHorizontalFilled/DotsHorizontalFilled.js +24 -0
  56. package/components/Icons/DotsHorizontalOutline/DotsHorizontalOutline.js +27 -0
  57. package/components/Icons/DotsVerticalFilled/DotsVerticalFilled.js +24 -0
  58. package/components/Icons/DotsVerticalOutline/DotsVerticalOutline.js +27 -0
  59. package/components/Icons/ExitArrowInOutline/ExitArrowInOutline.js +27 -0
  60. package/components/Icons/ExitArrowOutOutline/ExitArrowOutOutline.js +27 -0
  61. package/components/Icons/HamburgerMenu/HamburgerMenu.js +26 -0
  62. package/components/Icons/HamburgerSpaced/HamburgerSpaced.js +18 -0
  63. package/components/Icons/HeartFilled/HeartFilled.js +24 -0
  64. package/components/Icons/HeartOutline/HeartOutline.js +29 -0
  65. package/components/Icons/HomeFilled/HomeFilled.js +26 -0
  66. package/components/Icons/HomeOutline/HomeOutline.js +26 -0
  67. package/components/Icons/Link/Link.js +37 -0
  68. package/components/Icons/LockClosedFilled/LockClosedFilled.js +26 -0
  69. package/components/Icons/LockClosedOutline/LockClosedOutline.js +30 -0
  70. package/components/Icons/LockOpenFilled/LockOpenFilled.js +26 -0
  71. package/components/Icons/LockOpenOutline/LockOpenOutline.js +38 -0
  72. package/components/Icons/Minus/Minus.js +27 -0
  73. package/components/Icons/MinusCircle/MinusCircle.js +18 -0
  74. package/components/Icons/MinusCircleFilled/MinusCircleFilled.js +18 -0
  75. package/components/Icons/ProfileFemaleOutline/ProfileFemaleOutline.js +24 -0
  76. package/components/Icons/ProfileGroupFilled/ProfileGroupFilled.js +33 -0
  77. package/components/Icons/ProfileMaleFilled/ProfileMaleFilled.js +33 -0
  78. package/components/Icons/ProfileMaleOutline/ProfileMaleOutline.js +24 -0
  79. package/components/Icons/Search/Search.js +18 -0
  80. package/components/Icons/SettingFilled/SettingFilled.js +24 -0
  81. package/components/Icons/SettingOutline/SettingOutline.js +24 -0
  82. package/components/Icons/ShareAllFilled/ShareAllFilled.js +26 -0
  83. package/components/Icons/ShareAllOutline/ShareAllOutline.js +29 -0
  84. package/components/Icons/ShareBoxOutline/ShareBoxOutline.js +24 -0
  85. package/components/Icons/ShareFilled/ShareFilled.js +35 -0
  86. package/components/Icons/ShareOutline/ShareOutline.js +38 -0
  87. package/components/Icons/ShareThickFilled/ShareThickFilled.js +24 -0
  88. package/components/Icons/ShieldCheckFilled/ShieldCheckFilled.js +26 -0
  89. package/components/Icons/ShieldCheckOutline/ShieldCheckOutline.js +37 -0
  90. package/components/Icons/ShieldCrossFilled/ShieldCrossFilled.js +26 -0
  91. package/components/Icons/ShieldCrossOutline/ShieldCrossOutline.js +28 -0
  92. package/components/Icons/ShieldWarningFilled/ShieldWarningFilled.js +26 -0
  93. package/components/Icons/ShieldWarningOutline/ShieldWarningOutline.js +29 -0
  94. package/components/Icons/StarFilled/StarFilled.js +24 -0
  95. package/components/Icons/StarOutline/StarOutline.js +24 -0
  96. package/components/Icons/ThumbsDownFilled/ThumbsDownFilled.js +24 -0
  97. package/components/Icons/ThumbsDownOutline/ThumbsDownOutline.js +24 -0
  98. package/components/Icons/ThumbsUpFilled/ThumbsUpFilled.js +24 -0
  99. package/components/Icons/ThumbsUpOutline/ThumbsUpOutline.js +24 -0
  100. package/components/Icons/Upload/Upload.js +33 -0
  101. package/components/Icons/UploadBoxFilled/UploadBoxFilled.js +26 -0
  102. package/components/Icons/UploadBoxOutline/UploadBoxOutline.js +35 -0
  103. package/components/Icons/WalletFilled/WalletFilled.js +18 -0
  104. package/components/Icons/WalletOutline/WalletOutline.js +18 -0
  105. package/components/Icons/index.js +167 -0
  106. package/components/Pagination/Pagination.js +60 -0
  107. package/components/Pagination/constants.js +24 -0
  108. package/components/Pagination/helpers.js +32 -0
  109. package/components/Pagination/index.js +4 -0
  110. package/components/Pagination/styles.js +75 -0
  111. package/components/Ripple/Ripple.js +26 -0
  112. package/components/Ripple/index.js +4 -0
  113. package/package.json +1 -1
  114. package/utils/capFirstLetter.js +4 -0
  115. package/utils/compose.js +4 -0
  116. package/utils/hasEqualProps.js +7 -0
  117. package/utils/isNonEmptyArray.js +4 -0
  118. package/dist/README.md +0 -192
  119. package/dist/package.json +0 -65
  120. /package/{dist/colors → colors}/index.js +0 -0
  121. /package/{dist/index.js → index.js} +0 -0
  122. /package/{dist/utils → utils}/index.js +0 -0
package/dist/README.md DELETED
@@ -1,192 +0,0 @@
1
- # meticulous-ui
2
-
3
- A lightweight, modern React component library designed for elegance and precision ✨
4
-
5
- ---
6
-
7
- ## 🚀 Installation
8
-
9
- ```
10
- npm install meticulous-ui
11
- ```
12
-
13
- # or
14
-
15
- ```
16
- yarn add meticulous-ui
17
- ```
18
-
19
- ## 🧩 Usage
20
-
21
- ```jsx
22
- import { useState } from 'react';
23
-
24
- import Pagination from 'meticulous-ui/components/Pagination';
25
- import ChevronLeft from 'meticulous-ui/components/Icons/ChevronLeft';
26
- import Ripple from 'meticulous-ui/components/Ripple';
27
- import blue from 'meticulous-ui/colors/blue';
28
- import capFirstLetter from 'meticulous-ui/utils/capFirstLetter';
29
-
30
- function App() {
31
- const [pageNumber, setPageNumber] = useState(1);
32
-
33
- return (
34
- <div>
35
- <h2>{capFirstLetter('example with pagination')}</h2> // returns: Example with pagination
36
- <Ripple rippleColor={blue.m50}>
37
- <ChevronLeft size={10} color={blue.m400} onClick={setPrevPage} />
38
- </Ripple>
39
- <Pagination totalPages={10} pageNumber={pageNumber} setPageNumber={setPageNumber} />
40
- </div>
41
- );
42
- }
43
-
44
- export default App;
45
- ```
46
-
47
- ## 📦 Components
48
-
49
- | Component | Description |
50
- | ------------ | ------------------------------------- |
51
- | `Pagination` | Fully responsive pagination component |
52
- | `Ripple` | A concentric circles visual animation |
53
-
54
- ## 📦 Icon Components
55
-
56
- | Icons | Description |
57
- | ----------------------- | ---------------------------------- |
58
- | `ChevronLeft` | Left navigation icon |
59
- | `ChevronRight` | Right navigation icon |
60
- | `ChevronUp` | Up navigation icon |
61
- | `ChevronDown` | Down navigation icon |
62
- | `Add` | Add icon |
63
- | `AddCircle` | Add circle icon |
64
- | `AddCircleFilled` | Add Circle Filled icon |
65
- | `ArrowRight` | Right Arrow icon |
66
- | `ArrowLeft` | Left Arrow icon |
67
- | `ArrowUp` | Up Arrow icon |
68
- | `ArrowDown` | Down Arrow icon |
69
- | `BellFilled` | Bell/Notification filled icon |
70
- | `BellOffFilled` | Bell/Notification off filled icon |
71
- | `BellOutline` | Bell/Notification outline icon |
72
- | `BellOffOutline` | Bell/Notification off outline icon |
73
- | `BookmarkFilled` | Bookmark filled icon |
74
- | `BookmarkOutline` | Bookmark outline icon |
75
- | `ClockCircleOutline` | Clock circle outline icon |
76
- | `ClockSquareOutline` | Clock square outline icon |
77
- | `Close` | Close icon |
78
- | `CloseCircleFilled` | Close circle filled icon |
79
- | `CloseCircleOutline` | Close circle outline icon |
80
- | `CommentBubbleFilled` | Comment bubble filled icon |
81
- | `CommentBubbleOutline` | Comment bubble outline icon |
82
- | `CommentFilled` | Comment filled icon |
83
- | `CommentLineFilled` | Comment line filled icon |
84
- | `CommentLineOutline` | Comment line outline icon |
85
- | `CommentOutline` | Comment outline icon |
86
- | `DotsHorizontalFilled` | Dots horizontal filled icon |
87
- | `DotsHorizontalOutline` | Dots horizontal outline icon |
88
- | `DotsVerticalFilled` | Dots vertical filled icon |
89
- | `HamburgerMenu` | Hamburger menu icon |
90
- | `HamburgerSpaced` | Spaced Hamburger icon |
91
- | `HeartFilled` | Heart filled icon |
92
- | `HeartOutline` | Heart outline icon |
93
- | `HomeFilled` | Home filled icon |
94
- | `HomeOutline` | Home outline icon |
95
- | `Link` | Link icon |
96
- | `Minus` | Minus icon |
97
- | `MinusCircle` | Minus circle outline icon |
98
- | `MinusCircleFilled` | Minus circle filled icon |
99
- | `ProfileFemaleOutline` | Female profile outline icon |
100
- | `ProfileGroupFilled` | Profiles filled icon |
101
- | `ProfileMaleFilled` | Male profile filled icon |
102
- | `ProfileMaleOutline` | Male profile ouline icon |
103
- | `Search` | Search icon |
104
- | `SettingFilled` | Setting filled icon |
105
- | `SettingOutline` | Setting outline icon |
106
- | `ShareAllFilled` | Share all filled icon |
107
- | `ShareAllOutline` | Share all outline icon |
108
- | `ShareBoxOutline` | Share box outline icon |
109
- | `ShareFilled` | Share filled icon |
110
- | `ShareOutline` | Share outline icon |
111
- | `ShareThickFilled` | Share thick filled icon |
112
- | `StarFilled` | Star filled icon |
113
- | `StarOutline` | Star outline icon |
114
- | `ThumbsDownFilled` | Thumbs down filled icon |
115
- | `ThumbsDownOutline` | Thumbs down outline icon |
116
- | `ThumbsUpFilled` | Thumbs up filled icon |
117
- | `ThumbsUpOutline` | Thumbs up outline icon |
118
- | `Upload` | Upload icon |
119
- | `UploadBoxFilled` | Upload box filled icon |
120
- | `UploadBoxOutline` | Upload box outline icon |
121
-
122
- ## 📦 Tokens
123
-
124
- | Types | Description |
125
- | -------- | ------------------------------- |
126
- | `Colors` | At least 10 shades of 23 colors |
127
-
128
- | Colors | Shades |
129
- | ------------ | --------------------------------------------------------------------------------- |
130
- | `amber` | m50, m100, m200, m300, m400, m500, m600, m700, m800, m900, a100, a200, a400, a700 |
131
- | `black` | m50, m100, m200, m300, m400, m500, m600, m700, m800, m900 |
132
- | `blue` | m50, m100, m200, m300, m400, m500, m600, m700, m800, m900, a100, a200, a400, a700 |
133
- | `blueGray` | m50, m100, m200, m300, m400, m500, m600, m700, m800, m900 |
134
- | `brown` | m50, m100, m200, m300, m400, m500, m600, m700, m800, m900 |
135
- | `cider` | m50, m100, m200, m300, m400, m500, m600, m700, m800, m900 |
136
- | `cyan` | m50, m100, m200, m300, m400, m500, m600, m700, m800, m900, a100, a200, a400, a700 |
137
- | `deepOrange` | m50, m100, m200, m300, m400, m500, m600, m700, m800, m900, a100, a200, a400, a700 |
138
- | `deepPurple` | m50, m100, m200, m300, m400, m500, m600, m700, m800, m900, a100, a200, a400, a700 |
139
- | `green` | m50, m100, m200, m300, m400, m500, m600, m700, m800, m900, a100, a200, a400, a700 |
140
- | `grey` | m50, m100, m200, m300, m400, m500, m600, m700, m800, m900 |
141
- | `indigo` | m50, m100, m200, m300, m400, m500, m600, m700, m800, m900, a100, a200, a400, a700 |
142
- | `lightBlue` | m50, m100, m200, m300, m400, m500, m600, m700, m800, m900, a100, a200, a400, a700 |
143
- | `lightGreen` | m50, m100, m200, m300, m400, m500, m600, m700, m800, m900, a100, a200, a400, a700 |
144
- | `lime` | m50, m100, m200, m300, m400, m500, m600, m700, m800, m900, a100, a200, a400, a700 |
145
- | `orange` | m50, m100, m200, m300, m400, m500, m600, m700, m800, m900, a100, a200, a400, a700 |
146
- | `pink` | m50, m100, m200, m300, m400, m500, m600, m700, m800, m900, a100, a200, a400, a700 |
147
- | `purple` | m50, m100, m200, m300, m400, m500, m600, m700, m800, m900, a100, a200, a400, a700 |
148
- | `red` | m50, m100, m200, m300, m400, m500, m600, m700, m800, m900, a100, a200, a400, a700 |
149
- | `teal` | m50, m100, m200, m300, m400, m500, m600, m700, m800, m900, a100, a200, a400, a700 |
150
- | `violet` | m50, m100, m200, m300, m400, m500, m600, m700, m800, m900, a100, a200, a400, a700 |
151
- | `white` | #FFFFFF |
152
- | `yellow` | m50, m100, m200, m300, m400, m500, m600, m700, m800, m900, a100, a200, a400, a700 |
153
-
154
- ## 📦 Utils
155
-
156
- | Functions | Description |
157
- | ----------------- | -------------------------------------------------------------------------------------------------------------- |
158
- | `capFirstLetter` | Takes a string and returns with first letter capitalised |
159
- | `compose` | Performs right-to-left function composition using transforming function |
160
- | `hasEqualProps` | Takes two args: Component’s previous props & its new props; returns true if all-non functional props are equal |
161
- | `isNonEmptyArray` | Takes an array & returns true if is not empty |
162
-
163
- ## Demo
164
-
165
- <a href="https://xe3110.github.io/meticulous-ui/" target="_blank">https://xe3110.github.io/meticulous-ui/</a>
166
-
167
- ## 🌱 Features
168
-
169
- ⚛️ Built with React + Styled Components
170
-
171
- 💨 Zero external CSS dependencies
172
-
173
- 🧱 Easy to extend and customize
174
-
175
- 🪶 Small bundle size
176
-
177
- 📦 ESM + CJS support out of the box
178
-
179
- ## 🛠️ Build Setup (for contributors)
180
-
181
- ```
182
-
183
- # install dependencies
184
- npm install
185
-
186
- # run development build
187
- npm run dev
188
-
189
- # build for production (dist/)
190
- npm run build
191
-
192
- ```
package/dist/package.json DELETED
@@ -1,65 +0,0 @@
1
- {
2
- "name": "meticulous-ui",
3
- "version": "1.1.0",
4
- "main": "dist/index.js",
5
- "module": "dist/index.js",
6
- "repository": {
7
- "type": "git",
8
- "url": "https://github.com/xe3110/meticulous-ui.git"
9
- },
10
- "publishConfig": {
11
- "access": "public"
12
- },
13
- "sideEffects": false,
14
- "files": [
15
- "index.js",
16
- "colors",
17
- "components",
18
- "utils",
19
- "package.json",
20
- "README.md"
21
- ],
22
- "type": "module",
23
- "peerDependencies": {
24
- "lodash-es": "^4.17.21",
25
- "react": "^19.0.0",
26
- "react-dom": "^19.0.0",
27
- "styled-components": "^6.0.0"
28
- },
29
- "keywords": [
30
- "react",
31
- "ui",
32
- "icons",
33
- "components",
34
- "pagination",
35
- "colors",
36
- "shades",
37
- "ripple",
38
- "utils",
39
- "meticulous-ui"
40
- ],
41
- "scripts": {
42
- "dev": "vite",
43
- "build": "vite build",
44
- "format": "npx prettier --write .",
45
- "publish:latest": "npm run build && npm publish --access public",
46
- "storybook": "storybook dev -p 6006",
47
- "build-storybook": "storybook build",
48
- "deploy-storybook": "gh-pages -d storybook-static",
49
- "generate-icons": "node src/scripts/generateIcons.js && npx prettier --write .",
50
- "prepublish": "npm run build && cp package.json dist/ && cp README.md dist/ && rm -rf dist/_virtual",
51
- "publish:dist": "npm publish dist/"
52
- },
53
- "devDependencies": {
54
- "@storybook/addon-docs": "^9.1.13",
55
- "@storybook/mdx2-csf": "^1.1.0",
56
- "@storybook/react-vite": "^9.1.10",
57
- "@vitejs/plugin-react": "^5.0.4",
58
- "eslint-plugin-storybook": "^9.1.10",
59
- "gh-pages": "^6.3.0",
60
- "prop-types": "^15.8.1",
61
- "storybook": "^9.1.10",
62
- "svgo": "^4.0.0",
63
- "vite-plugin-svgr": "^4.5.0"
64
- }
65
- }
File without changes
File without changes
File without changes