@machinemetrics/mm-react-components 0.2.3-0 → 0.2.3-1
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 +47 -27
- package/dist/README.md +266 -0
- package/dist/docs/TAILWIND_SETUP.md +8 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/mm-react-components.es.js +53 -1
- package/dist/mm-react-components.es.js.map +1 -1
- package/dist/mm-react-components.umd.js +1 -1
- package/dist/mm-react-components.umd.js.map +1 -1
- package/dist/themes/complete.css +8 -0
- package/docs/TAILWIND_SETUP.md +8 -1
- package/package.json +5 -3
- package/src/themes/complete.css +8 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* Complete all-in-one CSS import for consuming applications */
|
|
2
|
+
/* This file imports everything needed without duplicating styles */
|
|
3
|
+
|
|
4
|
+
/* Import base theme (includes Tailwind reset, base variables, and component styles) */
|
|
5
|
+
@import '../index.css';
|
|
6
|
+
|
|
7
|
+
/* Import Carbide theme (includes industrial styling overrides) */
|
|
8
|
+
@import './carbide.css';
|
package/docs/TAILWIND_SETUP.md
CHANGED
|
@@ -20,7 +20,14 @@ cp node_modules/@machinemetrics/mm-react-components/tailwind.config.export.js ta
|
|
|
20
20
|
|
|
21
21
|
### 3. Import Theme CSS
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
**Option A: Complete All-in-One (Recommended)**
|
|
24
|
+
|
|
25
|
+
```css
|
|
26
|
+
/* Import everything in one go - includes Tailwind reset, base theme, and Carbide theme */
|
|
27
|
+
@import '@machinemetrics/mm-react-components/themes/complete';
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
**Option B: Manual Setup**
|
|
24
31
|
|
|
25
32
|
```css
|
|
26
33
|
/* Import base theme */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@machinemetrics/mm-react-components",
|
|
3
|
-
"version": "0.2.3-
|
|
3
|
+
"version": "0.2.3-1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/mm-react-components.umd.js",
|
|
@@ -12,11 +12,13 @@
|
|
|
12
12
|
"import": "./dist/mm-react-components.es.js",
|
|
13
13
|
"require": "./dist/mm-react-components.umd.js"
|
|
14
14
|
},
|
|
15
|
-
"./styles": "./dist/
|
|
15
|
+
"./styles": "./dist/index.css",
|
|
16
16
|
"./themes/base": "./dist/index.css",
|
|
17
17
|
"./themes/carbide": "./dist/themes/carbide.css",
|
|
18
|
+
"./themes/complete": "./dist/themes/complete.css",
|
|
18
19
|
"./tailwind.config": "./tailwind.config.export.js",
|
|
19
|
-
"./docs/tailwind-setup": "./docs/TAILWIND_SETUP.md"
|
|
20
|
+
"./docs/tailwind-setup": "./docs/TAILWIND_SETUP.md",
|
|
21
|
+
"./README": "./dist/README.md"
|
|
20
22
|
},
|
|
21
23
|
"engines": {
|
|
22
24
|
"node": ">=20"
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* Complete all-in-one CSS import for consuming applications */
|
|
2
|
+
/* This file imports everything needed without duplicating styles */
|
|
3
|
+
|
|
4
|
+
/* Import base theme (includes Tailwind reset, base variables, and component styles) */
|
|
5
|
+
@import '../index.css';
|
|
6
|
+
|
|
7
|
+
/* Import Carbide theme (includes industrial styling overrides) */
|
|
8
|
+
@import './carbide.css';
|