ctms-common-components 1.0.1 → 1.0.2
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/CHANGELOG.md +6 -0
- package/README.md +68 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,3 +9,9 @@
|
|
|
9
9
|
### Bugs fixed:
|
|
10
10
|
|
|
11
11
|
- work flow changes([`2a082d8`](https://github.com-jisti78/jisti78/CTMS_common_components/commit/2a082d815bdf3b150ce9e16ec92288d502062236)) (by Jith Stephen)
|
|
12
|
+
|
|
13
|
+
## [1.0.2] (2026-05-29)
|
|
14
|
+
|
|
15
|
+
### Bugs fixed:
|
|
16
|
+
|
|
17
|
+
- fixed duplicate exports([`a907525`](https://github.com-jisti78/jisti78/CTMS_common_components/commit/a90752585fa2360c758f28ac5e7a5414c75cf355)) (by Jith Stephen)
|
package/README.md
CHANGED
|
@@ -1 +1,68 @@
|
|
|
1
|
-
#
|
|
1
|
+
# CTMS Common Components
|
|
2
|
+
|
|
3
|
+
A reusable React component library that provides custom UI components along with Material UI, Framer Motion, and utility exports.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
bash npm install ctms-common-components
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
### Custom Components
|
|
12
|
+
|
|
13
|
+
jsx import { PoojaCard, MoreActions, AdvancedTable, TokenCard, StatusCard, CustomButton } from 'ctms-common-components';
|
|
14
|
+
|
|
15
|
+
### Material UI Components
|
|
16
|
+
|
|
17
|
+
jsx import { Box, Button, Typography, TextField, Grid, Card } from 'ctms-common-components';
|
|
18
|
+
|
|
19
|
+
### Material UI Icons
|
|
20
|
+
|
|
21
|
+
jsx import { Add, Edit, Delete } from 'ctms-common-components';
|
|
22
|
+
|
|
23
|
+
### Framer Motion
|
|
24
|
+
|
|
25
|
+
jsx import { motion, AnimatePresence } from 'ctms-common-components';
|
|
26
|
+
|
|
27
|
+
### Utility Functions
|
|
28
|
+
|
|
29
|
+
jsx import { debounce, throttle, cloneDeep, merge, uniq, groupBy } from 'ctms-common-components';
|
|
30
|
+
|
|
31
|
+
### Theme Support
|
|
32
|
+
|
|
33
|
+
jsx import { ThemeProvider, createTheme } from 'ctms-common-components'; const theme = createTheme({}); function App() { return ( <ThemeProvider theme={theme}> <YourApplication /> </ThemeProvider> ); }
|
|
34
|
+
|
|
35
|
+
## Available Components
|
|
36
|
+
|
|
37
|
+
| Component | Description |
|
|
38
|
+
|------------|------------|
|
|
39
|
+
| PoojaCard | Reusable card component |
|
|
40
|
+
| MoreActions | Action menu component |
|
|
41
|
+
| AdvancedTable | Dynamic table component |
|
|
42
|
+
| TokenCard | Token information card |
|
|
43
|
+
| StatusCard | Status display card |
|
|
44
|
+
| CustomButton | Reusable button component |
|
|
45
|
+
|
|
46
|
+
## Exports
|
|
47
|
+
|
|
48
|
+
### Material UI
|
|
49
|
+
All commonly used Material UI components are re-exported.
|
|
50
|
+
|
|
51
|
+
### Icons
|
|
52
|
+
All Material UI icons are re-exported.
|
|
53
|
+
|
|
54
|
+
### Animation
|
|
55
|
+
- motion
|
|
56
|
+
- AnimatePresence
|
|
57
|
+
|
|
58
|
+
### Utilities
|
|
59
|
+
- debounce
|
|
60
|
+
- throttle
|
|
61
|
+
- cloneDeep
|
|
62
|
+
- merge
|
|
63
|
+
- uniq
|
|
64
|
+
- groupBy
|
|
65
|
+
|
|
66
|
+
## License
|
|
67
|
+
|
|
68
|
+
MIT
|