@monolith-forensics/monolith-ui 1.1.35 → 1.1.37
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 +24 -0
- package/dist/theme/index.d.ts +1 -1
- package/dist/theme/index.js +4 -1
- package/dist/theme/variants.d.ts +1 -0
- package/dist/theme/variants.js +1 -0
- package/package.json +5 -3
package/README.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# @monolith-forensics/monolith-ui
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
`@monolith-forensics/monolith-ui` is a comprehensive UI library designed for building modern and responsive interfaces for forensic applications. Built on React, this library offers a range of components and utilities to help you create consistent and efficient user interfaces.
|
|
6
|
+
|
|
7
|
+
## Features
|
|
8
|
+
|
|
9
|
+
- **Customizable Themes**: Easily adjust the look and feel of your application with our theming system.
|
|
10
|
+
- **Responsive Design**: Components are optimized for use on various screen sizes and devices.
|
|
11
|
+
- **Accessible Components**: Focus on accessibility to ensure your applications are usable by everyone.
|
|
12
|
+
- **TypeScript Support**: Fully typed with TypeScript for improved developer experience and reliability.
|
|
13
|
+
|
|
14
|
+
## Installation
|
|
15
|
+
|
|
16
|
+
To install the library, use npm or yarn:
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
npm install @monolith-forensics/monolith-ui
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
yarn add @monolith-forensics/monolith-ui
|
|
24
|
+
```
|
package/dist/theme/index.d.ts
CHANGED
package/dist/theme/index.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import variants from "./variants";
|
|
2
2
|
export { THEMES as Themes } from "./variants";
|
|
3
3
|
const getTheme = (scheme) => {
|
|
4
|
-
let
|
|
4
|
+
let _scheme = scheme;
|
|
5
|
+
if (scheme === "DEFAULT")
|
|
6
|
+
_scheme = "LIGHT"; // Default theme is light theme
|
|
7
|
+
let themeConfig = variants.find((variant) => variant.name === _scheme);
|
|
5
8
|
if (!themeConfig) {
|
|
6
9
|
themeConfig = variants[0];
|
|
7
10
|
}
|
package/dist/theme/variants.d.ts
CHANGED
package/dist/theme/variants.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@monolith-forensics/monolith-ui",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.37",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"author": "Matt Danner (Monolith Forensics LLC)",
|
|
@@ -15,7 +15,10 @@
|
|
|
15
15
|
"scripts": {
|
|
16
16
|
"clean": "rm -r ./dist",
|
|
17
17
|
"build": "tsc",
|
|
18
|
-
"
|
|
18
|
+
"patch": "yarn version --patch",
|
|
19
|
+
"minor": "yarn version --minor",
|
|
20
|
+
"major": "yarn version --major",
|
|
21
|
+
"release": "yarn version --patch --deferred && yarn build && npm publish && yarn clean"
|
|
19
22
|
},
|
|
20
23
|
"dependencies": {
|
|
21
24
|
"@floating-ui/react": "^0.26.16",
|
|
@@ -24,7 +27,6 @@
|
|
|
24
27
|
"deepmerge": "^4.3.1",
|
|
25
28
|
"lucide-react": "^0.378.0",
|
|
26
29
|
"moment": "^2.29.1",
|
|
27
|
-
"nanoid": "^5.0.7",
|
|
28
30
|
"overlayscrollbars": "^2.6.0",
|
|
29
31
|
"overlayscrollbars-react": "^0.5.6",
|
|
30
32
|
"react-dropzone": "^14.2.3",
|