@zango-core/components 0.1.0 → 0.1.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/README.md CHANGED
@@ -20,15 +20,6 @@ npm install @zango/components
20
20
 
21
21
  ## 🎨 Setup
22
22
 
23
- ### Import Styles
24
-
25
- Import the component library styles in your application:
26
-
27
- ```tsx
28
- // In your main entry file (e.g., main.tsx or index.tsx)
29
- import '@zango/components/style.css';
30
- ```
31
-
32
23
  ### Peer Dependencies
33
24
 
34
25
  Make sure you have the following peer dependencies installed:
@@ -65,7 +56,7 @@ module.exports = {
65
56
 
66
57
  ```tsx
67
58
  import { Button, Badge, Accordion } from '@zango/components';
68
- // No need to import CSS - it's automatically included!
59
+ // CSS is automatically included - no separate import needed!
69
60
 
70
61
  function App() {
71
62
  return (
@@ -93,11 +84,11 @@ function App() {
93
84
  ### With Custom Colors
94
85
 
95
86
  ```css
96
- /* Override colors in your CSS - no imports needed! */
87
+ /* Override colors in your CSS */
97
88
  :root {
98
- --colors-Brand-500: #3b82f6;
99
- --colors-Brand-600: #2563eb;
100
- --colors-Brand-700: #1d4ed8;
89
+ --color-Brand-500: #3b82f6;
90
+ --color-Brand-600: #2563eb;
91
+ --color-Brand-700: #1d4ed8;
101
92
  }
102
93
  ```
103
94
 
@@ -313,23 +304,23 @@ The component library uses CSS variables that can be overridden in your applicat
313
304
  ```css
314
305
  :root {
315
306
  /* Brand colors */
316
- --colors-Brand-500: #your-primary-color;
317
- --colors-Brand-600: #your-primary-hover;
318
- --colors-Brand-700: #your-primary-active;
307
+ --color-Brand-500: #your-primary-color;
308
+ --color-Brand-600: #your-primary-hover;
309
+ --color-Brand-700: #your-primary-active;
319
310
 
320
311
  /* Gray colors */
321
- --colors-Gray-100: #your-gray-light;
322
- --colors-Gray-500: #your-gray-medium;
323
- --colors-Gray-900: #your-gray-dark;
312
+ --color-Gray-100: #your-gray-light;
313
+ --color-Gray-500: #your-gray-medium;
314
+ --color-Gray-900: #your-gray-dark;
324
315
 
325
316
  /* Status colors */
326
- --colors-success-500: #your-success-color;
327
- --colors-error-500: #your-error-color;
328
- --colors-warning-500: #your-warning-color;
317
+ --color-success-500: #your-success-color;
318
+ --color-error-500: #your-error-color;
319
+ --color-warning-500: #your-warning-color;
329
320
 
330
321
  /* Base colors */
331
- --colors-Base-white: #ffffff;
332
- --colors-Base-black: #000000;
322
+ --color-Base-white: #ffffff;
323
+ --color-Base-black: #000000;
333
324
  }
334
325
  ```
335
326
 
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
 
3
- interface PasswordInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'> {
3
+ interface PasswordInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "type"> {
4
4
  error?: boolean;
5
5
  }
6
6
  declare const PasswordInput: React.ForwardRefExoticComponent<PasswordInputProps & React.RefAttributes<HTMLInputElement>>;
@@ -1 +1 @@
1
- export {};
1
+