@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 CHANGED
@@ -33,15 +33,22 @@ Copy the Tailwind configuration to your project:
33
33
  cp node_modules/@machinemetrics/mm-react-components/tailwind.config.export.js tailwind.config.js
34
34
  ```
35
35
 
36
- ### 3. Import Theme CSS
36
+ ### 3. Import Complete Theme (Recommended)
37
37
 
38
38
  ```css
39
- /* In your main CSS file */
40
- @import '@machinemetrics/mm-react-components/themes/base';
41
- @import '@machinemetrics/mm-react-components/themes/carbide';
42
- @import 'tailwindcss';
39
+ /* In your main CSS file - one import gets everything! */
40
+ @import '@machinemetrics/mm-react-components/themes/complete';
43
41
  ```
44
42
 
43
+ **That's it!** This single import includes:
44
+
45
+ - ✅ Tailwind CSS reset
46
+ - ✅ Base theme variables (OKLCH color system)
47
+ - ✅ Carbide industrial theme
48
+ - ✅ All component styles
49
+ - ✅ Dark mode support
50
+ - ✅ Animations and utilities
51
+
45
52
  ### 4. Use Components
46
53
 
47
54
  ```tsx
@@ -59,7 +66,7 @@ function App() {
59
66
 
60
67
  ### 5. Complete Setup Guide
61
68
 
62
- For detailed setup instructions, see the [Tailwind Setup Guide](./docs/TAILWIND_SETUP.md).
69
+ For detailed setup instructions and alternative import methods, see the [Tailwind Setup Guide](./docs/TAILWIND_SETUP.md).
63
70
 
64
71
  ## Theme System
65
72
 
@@ -81,18 +88,22 @@ The component library includes a comprehensive theme system with two main themes
81
88
 
82
89
  ### Using Themes
83
90
 
84
- #### Option 1: Import CSS Files Directly
91
+ #### Option 1: Complete Theme (Recommended)
85
92
 
86
- ```tsx
87
- // In your main.tsx or App.tsx
88
- import '@machinemetrics/mm-react-components/themes/base';
89
- import '@machinemetrics/mm-react-components/themes/carbide';
93
+ ```css
94
+ /* One import gets everything - easiest setup */
95
+ @import '@machinemetrics/mm-react-components/themes/complete';
96
+ ```
90
97
 
91
- // Add carbide class to activate Carbide theme
92
- document.documentElement.classList.add('carbide');
98
+ #### Option 2: Manual Theme Import
99
+
100
+ ```css
101
+ /* Import themes separately for more control */
102
+ @import '@machinemetrics/mm-react-components/themes/base';
103
+ @import '@machinemetrics/mm-react-components/themes/carbide';
93
104
  ```
94
105
 
95
- #### Option 2: Use Theme Utilities
106
+ #### Option 3: Use Theme Utilities
96
107
 
97
108
  ```tsx
98
109
  import {
@@ -111,14 +122,6 @@ toggleDarkMode();
111
122
  const isCarbideActive = isCarbideThemeActive();
112
123
  ```
113
124
 
114
- #### Option 3: Manual CSS Import
115
-
116
- ```css
117
- /* In your CSS file */
118
- @import '@machinemetrics/mm-react-components/themes/base';
119
- @import '@machinemetrics/mm-react-components/themes/carbide';
120
- ```
121
-
122
125
  ### Theme Classes
123
126
 
124
127
  The theme system uses CSS classes for activation:
@@ -193,16 +196,33 @@ import { Input } from '@machinemetrics/mm-react-components';
193
196
 
194
197
  ## Styling
195
198
 
196
- The component library uses Tailwind CSS. Make sure to include the styles in your application:
199
+ The component library uses Tailwind CSS with a complete theme system. The easiest way to get started is with the complete theme:
197
200
 
198
- ```tsx
199
- import '@machinemetrics/mm-react-components/styles';
201
+ ```css
202
+ /* Recommended: One import gets everything */
203
+ @import '@machinemetrics/mm-react-components/themes/complete';
200
204
  ```
201
205
 
202
- If you're using Tailwind CSS in your project, you can also import the component styles directly:
206
+ This includes:
207
+
208
+ - Tailwind CSS reset and base styles
209
+ - OKLCH color system with dark mode support
210
+ - Carbide industrial theme
211
+ - All component styles and animations
212
+
213
+ ### Alternative Import Methods
203
214
 
204
215
  ```css
205
- @import '@machinemetrics/mm-react-components/styles';
216
+ /* Import base theme only */
217
+ @import '@machinemetrics/mm-react-components/themes/base';
218
+
219
+ /* Import Carbide theme for industrial styling */
220
+ @import '@machinemetrics/mm-react-components/themes/carbide';
221
+ ```
222
+
223
+ ```tsx
224
+ // Import in JavaScript/TypeScript
225
+ import '@machinemetrics/mm-react-components/themes/complete';
206
226
  ```
207
227
 
208
228
  ## TypeScript Support
package/dist/README.md ADDED
@@ -0,0 +1,266 @@
1
+ # @machinemetrics/mm-react-components
2
+
3
+ A comprehensive React component library designed specifically for MachineMetrics industrial and manufacturing applications.
4
+
5
+ ## Features
6
+
7
+ - 🏭 **Industrial-Focused**: Components designed for manufacturing and industrial environments
8
+ - 🎨 **Modern Design**: Built on shadcn/ui with Tailwind CSS for consistent, accessible UI
9
+ - 📦 **Tree-Shakable**: ES modules with full tree-shaking support
10
+ - 🔧 **TypeScript**: Full TypeScript support with comprehensive type definitions
11
+ - ♿ **Accessible**: WCAG 2.1 AA compliant components
12
+ - 🚀 **Performance**: Optimized for real-time data display and monitoring
13
+
14
+ ## Installation
15
+
16
+ ```bash
17
+ npm install @machinemetrics/mm-react-components
18
+ ```
19
+
20
+ ## Quick Start
21
+
22
+ ### 1. Install Dependencies
23
+
24
+ ```bash
25
+ npm install @machinemetrics/mm-react-components tailwindcss postcss autoprefixer
26
+ ```
27
+
28
+ ### 2. Configure Tailwind CSS
29
+
30
+ Copy the Tailwind configuration to your project:
31
+
32
+ ```bash
33
+ cp node_modules/@machinemetrics/mm-react-components/tailwind.config.export.js tailwind.config.js
34
+ ```
35
+
36
+ ### 3. Import Complete Theme (Recommended)
37
+
38
+ ```css
39
+ /* In your main CSS file - one import gets everything! */
40
+ @import '@machinemetrics/mm-react-components/themes/complete';
41
+ ```
42
+
43
+ **That's it!** This single import includes:
44
+
45
+ - ✅ Tailwind CSS reset
46
+ - ✅ Base theme variables (OKLCH color system)
47
+ - ✅ Carbide industrial theme
48
+ - ✅ All component styles
49
+ - ✅ Dark mode support
50
+ - ✅ Animations and utilities
51
+
52
+ ### 4. Use Components
53
+
54
+ ```tsx
55
+ import { Button, Input } from '@machinemetrics/mm-react-components';
56
+
57
+ function App() {
58
+ return (
59
+ <div>
60
+ <Button variant="primary">Start Monitoring</Button>
61
+ <Input placeholder="Enter machine ID..." />
62
+ </div>
63
+ );
64
+ }
65
+ ```
66
+
67
+ ### 5. Complete Setup Guide
68
+
69
+ For detailed setup instructions and alternative import methods, see the [Tailwind Setup Guide](./docs/TAILWIND_SETUP.md).
70
+
71
+ ## Theme System
72
+
73
+ The component library includes a comprehensive theme system with two main themes:
74
+
75
+ ### Base Theme (OKLCH)
76
+
77
+ - Modern OKLCH color space for better perceptual uniformity
78
+ - Professional typography with Noto Sans and Inconsolata fonts
79
+ - Complete dark mode support
80
+ - Chart and sidebar color systems
81
+
82
+ ### Carbide Theme (Industrial)
83
+
84
+ - Manufacturing-appropriate color palette
85
+ - MachineMetrics brand colors (green, grey)
86
+ - Enhanced component styling for industrial applications
87
+ - Complete dark mode support
88
+
89
+ ### Using Themes
90
+
91
+ #### Option 1: Complete Theme (Recommended)
92
+
93
+ ```css
94
+ /* One import gets everything - easiest setup */
95
+ @import '@machinemetrics/mm-react-components/themes/complete';
96
+ ```
97
+
98
+ #### Option 2: Manual Theme Import
99
+
100
+ ```css
101
+ /* Import themes separately for more control */
102
+ @import '@machinemetrics/mm-react-components/themes/base';
103
+ @import '@machinemetrics/mm-react-components/themes/carbide';
104
+ ```
105
+
106
+ #### Option 3: Use Theme Utilities
107
+
108
+ ```tsx
109
+ import {
110
+ activateCarbideTheme,
111
+ toggleDarkMode,
112
+ isCarbideThemeActive,
113
+ } from '@machinemetrics/mm-react-components';
114
+
115
+ // Activate Carbide theme
116
+ activateCarbideTheme();
117
+
118
+ // Toggle dark mode
119
+ toggleDarkMode();
120
+
121
+ // Check theme status
122
+ const isCarbideActive = isCarbideThemeActive();
123
+ ```
124
+
125
+ ### Theme Classes
126
+
127
+ The theme system uses CSS classes for activation:
128
+
129
+ - **Base theme**: Active by default
130
+ - **Carbide theme**: Add `carbide` class to `<html>` element
131
+ - **Dark mode**: Add `dark` class to `<html>` element
132
+
133
+ ```html
134
+ <!-- Base theme -->
135
+ <html>
136
+ <!-- Carbide theme -->
137
+ <html class="carbide">
138
+ <!-- Carbide theme + dark mode -->
139
+ <html class="carbide dark"></html>
140
+ </html>
141
+ </html>
142
+ ```
143
+
144
+ ### Available Theme Utilities
145
+
146
+ ```tsx
147
+ import {
148
+ // Carbide theme utilities
149
+ activateCarbideTheme,
150
+ deactivateCarbideTheme,
151
+ toggleCarbideTheme,
152
+ isCarbideThemeActive,
153
+
154
+ // Dark mode utilities
155
+ activateDarkMode,
156
+ deactivateDarkMode,
157
+ toggleDarkMode,
158
+ isDarkModeActive,
159
+ } from '@machinemetrics/mm-react-components';
160
+ ```
161
+
162
+ ## Components
163
+
164
+ ### Button
165
+
166
+ A versatile button component with multiple variants for different use cases.
167
+
168
+ ```tsx
169
+ import { Button } from '@machinemetrics/mm-react-components';
170
+
171
+ // Basic usage
172
+ <Button>Default</Button>
173
+
174
+ // Variants
175
+ <Button variant="primary">Primary</Button>
176
+ <Button variant="secondary">Secondary</Button>
177
+ <Button variant="outline">Outline</Button>
178
+ <Button variant="destructive">Destructive</Button>
179
+
180
+ // Sizes
181
+ <Button size="sm">Small</Button>
182
+ <Button size="lg">Large</Button>
183
+ ```
184
+
185
+ ### Input
186
+
187
+ Form input component with built-in validation states.
188
+
189
+ ```tsx
190
+ import { Input } from '@machinemetrics/mm-react-components';
191
+
192
+ <Input placeholder="Enter value..." />
193
+ <Input type="email" placeholder="Email address" />
194
+ <Input type="password" placeholder="Password" />
195
+ ```
196
+
197
+ ## Styling
198
+
199
+ The component library uses Tailwind CSS with a complete theme system. The easiest way to get started is with the complete theme:
200
+
201
+ ```css
202
+ /* Recommended: One import gets everything */
203
+ @import '@machinemetrics/mm-react-components/themes/complete';
204
+ ```
205
+
206
+ This includes:
207
+
208
+ - Tailwind CSS reset and base styles
209
+ - OKLCH color system with dark mode support
210
+ - Carbide industrial theme
211
+ - All component styles and animations
212
+
213
+ ### Alternative Import Methods
214
+
215
+ ```css
216
+ /* Import base theme only */
217
+ @import '@machinemetrics/mm-react-components/themes/base';
218
+
219
+ /* Import Carbide theme for industrial styling */
220
+ @import '@machinemetrics/mm-react-components/themes/carbide';
221
+ ```
222
+
223
+ ```tsx
224
+ // Import in JavaScript/TypeScript
225
+ import '@machinemetrics/mm-react-components/themes/complete';
226
+ ```
227
+
228
+ ## TypeScript Support
229
+
230
+ This library is built with TypeScript and provides full type definitions:
231
+
232
+ ```tsx
233
+ import { Button, type ButtonProps } from '@machinemetrics/mm-react-components';
234
+
235
+ const CustomButton: React.FC<ButtonProps> = (props) => {
236
+ return <Button {...props} />;
237
+ };
238
+ ```
239
+
240
+ ## Requirements
241
+
242
+ - React 18.0.0 or higher
243
+ - Node.js 20.0.0 or higher
244
+
245
+ ## Browser Support
246
+
247
+ - Chrome (latest)
248
+ - Firefox (latest)
249
+ - Safari (latest)
250
+ - Edge (latest)
251
+
252
+ ## Contributing
253
+
254
+ We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details.
255
+
256
+ ## License
257
+
258
+ MIT License - see [LICENSE](LICENSE) file for details.
259
+
260
+ ## Support
261
+
262
+ For support and questions, please contact the MachineMetrics development team.
263
+
264
+ ---
265
+
266
+ Built with ❤️ by the MachineMetrics team for industrial applications.
@@ -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
- Add the theme imports to your main CSS file:
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/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ export { cn } from './lib/utils';
2
2
  export { Button, buttonVariants } from './components/ui/button';
3
3
  export { Input } from './components/ui/input';
4
4
  export { SearchInput } from './components/ui/search-input';
5
- export { activateCarbideTheme } from './lib/theme-utils';
5
+ export { activateCarbideTheme, deactivateCarbideTheme, toggleCarbideTheme, isCarbideThemeActive, activateDarkMode, deactivateDarkMode, toggleDarkMode, isDarkModeActive, } from './lib/theme-utils';
6
6
  export { Label } from './components/ui/label';
7
7
  export { Checkbox } from './components/ui/checkbox';
8
8
  export { RadioGroup, RadioGroupItem } from './components/ui/radio-group';
@@ -27,4 +27,7 @@ export { DataTable } from './components/ui/data-table';
27
27
  export { DataTablePagination } from './components/ui/data-table';
28
28
  export { Progress } from './components/ui/progress';
29
29
  export { Dropzone, DropzoneContent, DropzoneEmptyState, } from './components/ui/dropzone';
30
+ export { Accordion, AccordionItem, AccordionTrigger, AccordionContent, } from './components/ui/accordion';
31
+ export { Popover, PopoverTrigger, PopoverContent, } from './components/ui/popover';
32
+ export { DateRangePicker } from './components/ui/date-range-picker';
30
33
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAG3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAGzE,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EACL,MAAM,EACN,aAAa,EACb,WAAW,EACX,UAAU,EACV,WAAW,EACX,sBAAsB,EACtB,oBAAoB,EACpB,eAAe,EACf,aAAa,EACb,WAAW,GACZ,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,KAAK,EACL,YAAY,EACZ,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AAC;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EACL,WAAW,EACX,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EACL,QAAQ,EACR,eAAe,EACf,kBAAkB,GACnB,MAAM,0BAA0B,CAAC;AAGlC,OAAO,EACL,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACL,OAAO,EACP,cAAc,EACd,cAAc,GACf,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC"}
@@ -3916,6 +3916,43 @@ function activateCarbideTheme() {
3916
3916
  document.documentElement.classList.add("carbide");
3917
3917
  }
3918
3918
  }
3919
+ function deactivateCarbideTheme() {
3920
+ if (typeof document !== "undefined") {
3921
+ document.documentElement.classList.remove("carbide");
3922
+ }
3923
+ }
3924
+ function toggleCarbideTheme() {
3925
+ if (typeof document !== "undefined") {
3926
+ document.documentElement.classList.toggle("carbide");
3927
+ }
3928
+ }
3929
+ function isCarbideThemeActive() {
3930
+ if (typeof document !== "undefined") {
3931
+ return document.documentElement.classList.contains("carbide");
3932
+ }
3933
+ return false;
3934
+ }
3935
+ function activateDarkMode() {
3936
+ if (typeof document !== "undefined") {
3937
+ document.documentElement.classList.add("dark");
3938
+ }
3939
+ }
3940
+ function deactivateDarkMode() {
3941
+ if (typeof document !== "undefined") {
3942
+ document.documentElement.classList.remove("dark");
3943
+ }
3944
+ }
3945
+ function toggleDarkMode() {
3946
+ if (typeof document !== "undefined") {
3947
+ document.documentElement.classList.toggle("dark");
3948
+ }
3949
+ }
3950
+ function isDarkModeActive() {
3951
+ if (typeof document !== "undefined") {
3952
+ return document.documentElement.classList.contains("dark");
3953
+ }
3954
+ return false;
3955
+ }
3919
3956
  var NODES = [
3920
3957
  "a",
3921
3958
  "button",
@@ -33610,6 +33647,10 @@ const DropzoneEmptyState = ({
33610
33647
  ] });
33611
33648
  };
33612
33649
  export {
33650
+ Accordion,
33651
+ AccordionContent,
33652
+ AccordionItem,
33653
+ AccordionTrigger,
33613
33654
  Badge,
33614
33655
  Button$1 as Button,
33615
33656
  Calendar,
@@ -33619,6 +33660,7 @@ export {
33619
33660
  CollapsibleTrigger,
33620
33661
  DataTable,
33621
33662
  DataTablePagination,
33663
+ DateRangePicker,
33622
33664
  Dialog,
33623
33665
  DialogClose,
33624
33666
  DialogContent,
@@ -33662,6 +33704,9 @@ export {
33662
33704
  Label$2 as Label,
33663
33705
  LabeledSlider,
33664
33706
  PageHeader,
33707
+ Popover,
33708
+ PopoverContent,
33709
+ PopoverTrigger,
33665
33710
  Progress,
33666
33711
  RadioGroup$1 as RadioGroup,
33667
33712
  RadioGroupItem,
@@ -33705,8 +33750,15 @@ export {
33705
33750
  TooltipProvider,
33706
33751
  TooltipTrigger,
33707
33752
  activateCarbideTheme,
33753
+ activateDarkMode,
33708
33754
  badgeVariants,
33709
33755
  buttonVariants,
33710
- cn
33756
+ cn,
33757
+ deactivateCarbideTheme,
33758
+ deactivateDarkMode,
33759
+ isCarbideThemeActive,
33760
+ isDarkModeActive,
33761
+ toggleCarbideTheme,
33762
+ toggleDarkMode
33711
33763
  };
33712
33764
  //# sourceMappingURL=mm-react-components.es.js.map