@vkzstudio/muza-ui 1.0.2 → 1.0.4

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
@@ -1,168 +1,168 @@
1
- # Muza UI
2
-
3
- A modern React component library built with Vite, shadcn/ui, and Tailwind CSS 4.
4
-
5
- ## Prerequisites
6
-
7
- - Node.js 22 or higher
8
- - npm or yarn
9
-
10
- ## Quick Start
11
-
12
- 1. **Clone and install dependencies:**
13
-
14
- ```bash
15
- npm install
16
- ```
17
-
18
- 2. **Start development server:**
19
- ```bash
20
- npm run dev
21
- ```
22
- This starts Storybook at [http://localhost:6006](http://localhost:6006)
23
-
24
- ## Development
25
-
26
- ### Node.js Version Management
27
-
28
- This project requires Node.js 22+. If you're using nvm:
29
-
30
- ```bash
31
- nvm use
32
- ```
33
-
34
- ### Available Scripts
35
-
36
- | Script | Description |
37
- | ---------------------------------- | ----------------------------------------------- |
38
- | `npm run dev` | Start Storybook development server on port 6006 |
39
- | `npm run build` | Build the component library for production |
40
- | `npm run build-storybook` | Build Storybook for deployment |
41
- | `npm run typecheck` | Run TypeScript type checking |
42
- | `npm run lint` | Run ESLint |
43
- | `npm run lint:fix` | Run ESLint with auto-fix |
44
- | `npm run add-component <name>` | Add shadcn/ui component (macOS/Linux) |
45
- | `npm run add-component:win <name>` | Add shadcn/ui component (Windows) |
46
- | `npm run format` | Run prettier |
47
-
48
- ### Project Structure
49
-
50
- ```
51
- src/
52
- ├── components/ # React components
53
- │ ├── Button/ # Example component
54
- │ │ ├── Button.tsx
55
- │ │ ├── Button.stories.tsx
56
- │ │ └── index.ts
57
- │ └── index.ts # Component exports
58
- ├── utils/ # Utility functions
59
- │ ├── cn.ts # Class name utility
60
- │ └── index.ts # Utility exports
61
- ├── globals.css # Global Tailwind styles
62
- └── index.ts # Main library export
63
- ```
64
-
65
- ### Adding Components
66
-
67
- For automated component installation using shadcn/ui, see: **[Component Installation Guide](docs/components.md)**
68
-
69
- #### Manual Component Creation
70
-
71
- 1. **Create component directory:**
72
-
73
- ```bash
74
- mkdir src/components/YourComponent
75
- ```
76
-
77
- 2. **Create component files:**
78
- - `YourComponent.tsx` - Main component
79
- - `YourComponent.stories.tsx` - Storybook stories
80
- - `index.ts` - Export file
81
-
82
- 3. **Export from main index:**
83
- Add to `src/components/index.ts`:
84
- ```typescript
85
- export * from './YourComponent'
86
- ```
87
-
88
- ### Storybook Development
89
-
90
- Components are showcased and developed using Storybook:
91
-
92
- - **View components:** `npm run dev` → [http://localhost:6006](http://localhost:6006)
93
- - **Create stories:** Follow the pattern in `Button.stories.tsx`
94
- - **Auto-docs:** Stories are automatically documented
95
-
96
- ## Build Process
97
-
98
- ### Library Build
99
-
100
- ```bash
101
- npm run build
102
- ```
103
-
104
- This creates:
105
-
106
- - `dist/index.js` - ES module bundle
107
- - `dist/index.d.ts` - TypeScript declarations
108
- - `dist/muza-ui.css` - Compiled CSS with all design tokens
109
- - `dist/components/` - Individual component modules
110
- - `dist/styles/` - Design system token files
111
-
112
- ### Storybook Build
113
-
114
- ```bash
115
- npm run build-storybook
116
- ```
117
-
118
- Creates `storybook-static/` directory for deployment.
119
-
120
- ## Technologies
121
-
122
- - **React 18** - UI framework
123
- - **Vite** - Build tool and dev server
124
- - **TypeScript** - Type safety
125
- - **Tailwind CSS 4** - Utility-first CSS framework
126
- - **shadcn/ui** - Component patterns and utilities
127
- - **Storybook** - Component development and documentation
128
- - **class-variance-authority** - Component variant management
129
-
130
- ## Library Usage
131
-
132
- Install the package:
133
-
134
- ```bash
135
- npm install @vkzstudio/muza-ui
136
- ```
137
-
138
- **Important:** This library requires Tailwind CSS 4 to be configured in your project.
139
-
140
- ```typescript
141
- import { Button } from '@vkzstudio/muza-ui'
142
- import '@vkzstudio/muza-ui/styles'
143
-
144
- function App() {
145
- return <Button variant="primary">Click me</Button>
146
- }
147
- ```
148
-
149
- ## Styling
150
-
151
- - Uses Tailwind CSS 4 with CSS variables
152
- - Follows shadcn/ui design system patterns
153
- - Custom utility function `cn()` for class merging
154
- - Dark mode support built-in
155
-
156
- ## Quality Assurance
157
-
158
- - **TypeScript** - Static type checking
159
- - **ESLint** - Code linting
160
- - **Prettier** - Code formating
161
- - **Storybook** - Visual testing and documentation
162
-
163
- ## Contributing
164
-
165
- 1. Create components following the established patterns
166
- 2. Include comprehensive Storybook stories
167
- 3. Run type checking and linting before committing
168
- 4. Test components in Storybook
1
+ # Muza UI
2
+
3
+ A modern React component library built with Vite, shadcn/ui, and Tailwind CSS 4.
4
+
5
+ ## Prerequisites
6
+
7
+ - Node.js 22 or higher
8
+ - npm or yarn
9
+
10
+ ## Quick Start
11
+
12
+ 1. **Clone and install dependencies:**
13
+
14
+ ```bash
15
+ npm install
16
+ ```
17
+
18
+ 2. **Start development server:**
19
+ ```bash
20
+ npm run dev
21
+ ```
22
+ This starts Storybook at [http://localhost:6006](http://localhost:6006)
23
+
24
+ ## Development
25
+
26
+ ### Node.js Version Management
27
+
28
+ This project requires Node.js 22+. If you're using nvm:
29
+
30
+ ```bash
31
+ nvm use
32
+ ```
33
+
34
+ ### Available Scripts
35
+
36
+ | Script | Description |
37
+ | ---------------------------------- | ----------------------------------------------- |
38
+ | `npm run dev` | Start Storybook development server on port 6006 |
39
+ | `npm run build` | Build the component library for production |
40
+ | `npm run build-storybook` | Build Storybook for deployment |
41
+ | `npm run typecheck` | Run TypeScript type checking |
42
+ | `npm run lint` | Run ESLint |
43
+ | `npm run lint:fix` | Run ESLint with auto-fix |
44
+ | `npm run add-component <name>` | Add shadcn/ui component (macOS/Linux) |
45
+ | `npm run add-component:win <name>` | Add shadcn/ui component (Windows) |
46
+ | `npm run format` | Run prettier |
47
+
48
+ ### Project Structure
49
+
50
+ ```
51
+ src/
52
+ ├── components/ # React components
53
+ │ ├── Button/ # Example component
54
+ │ │ ├── Button.tsx
55
+ │ │ ├── Button.stories.tsx
56
+ │ │ └── index.ts
57
+ │ └── index.ts # Component exports
58
+ ├── utils/ # Utility functions
59
+ │ ├── cn.ts # Class name utility
60
+ │ └── index.ts # Utility exports
61
+ ├── globals.css # Global Tailwind styles
62
+ └── index.ts # Main library export
63
+ ```
64
+
65
+ ### Adding Components
66
+
67
+ For automated component installation using shadcn/ui, see: **[Component Installation Guide](docs/components.md)**
68
+
69
+ #### Manual Component Creation
70
+
71
+ 1. **Create component directory:**
72
+
73
+ ```bash
74
+ mkdir src/components/YourComponent
75
+ ```
76
+
77
+ 2. **Create component files:**
78
+ - `YourComponent.tsx` - Main component
79
+ - `YourComponent.stories.tsx` - Storybook stories
80
+ - `index.ts` - Export file
81
+
82
+ 3. **Export from main index:**
83
+ Add to `src/components/index.ts`:
84
+ ```typescript
85
+ export * from './YourComponent'
86
+ ```
87
+
88
+ ### Storybook Development
89
+
90
+ Components are showcased and developed using Storybook:
91
+
92
+ - **View components:** `npm run dev` → [http://localhost:6006](http://localhost:6006)
93
+ - **Create stories:** Follow the pattern in `Button.stories.tsx`
94
+ - **Auto-docs:** Stories are automatically documented
95
+
96
+ ## Build Process
97
+
98
+ ### Library Build
99
+
100
+ ```bash
101
+ npm run build
102
+ ```
103
+
104
+ This creates:
105
+
106
+ - `dist/index.js` - ES module bundle
107
+ - `dist/index.d.ts` - TypeScript declarations
108
+ - `dist/muza-ui.css` - Compiled CSS with all design tokens
109
+ - `dist/components/` - Individual component modules
110
+ - `dist/styles/` - Design system token files
111
+
112
+ ### Storybook Build
113
+
114
+ ```bash
115
+ npm run build-storybook
116
+ ```
117
+
118
+ Creates `storybook-static/` directory for deployment.
119
+
120
+ ## Technologies
121
+
122
+ - **React 18** - UI framework
123
+ - **Vite** - Build tool and dev server
124
+ - **TypeScript** - Type safety
125
+ - **Tailwind CSS 4** - Utility-first CSS framework
126
+ - **shadcn/ui** - Component patterns and utilities
127
+ - **Storybook** - Component development and documentation
128
+ - **class-variance-authority** - Component variant management
129
+
130
+ ## Library Usage
131
+
132
+ Install the package:
133
+
134
+ ```bash
135
+ npm install @vkzstudio/muza-ui
136
+ ```
137
+
138
+ **Important:** This library requires Tailwind CSS 4 to be configured in your project.
139
+
140
+ ```typescript
141
+ import { Button } from '@vkzstudio/muza-ui'
142
+ import '@vkzstudio/muza-ui/styles'
143
+
144
+ function App() {
145
+ return <Button variant="primary">Click me</Button>
146
+ }
147
+ ```
148
+
149
+ ## Styling
150
+
151
+ - Uses Tailwind CSS 4 with CSS variables
152
+ - Follows shadcn/ui design system patterns
153
+ - Custom utility function `cn()` for class merging
154
+ - Dark mode support built-in
155
+
156
+ ## Quality Assurance
157
+
158
+ - **TypeScript** - Static type checking
159
+ - **ESLint** - Code linting
160
+ - **Prettier** - Code formating
161
+ - **Storybook** - Visual testing and documentation
162
+
163
+ ## Contributing
164
+
165
+ 1. Create components following the established patterns
166
+ 2. Include comprehensive Storybook stories
167
+ 3. Run type checking and linting before committing
168
+ 4. Test components in Storybook
@@ -1 +1 @@
1
- {"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/DatePicker.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAmC,MAAM,OAAO,CAAA;AACvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAIjD,OAAO,EAEL,KAAK,iBAAiB,EAGvB,MAAM,aAAa,CAAA;AAKpB,OAAO,EAAE,KAAK,OAAO,EAAgB,MAAM,sBAAsB,CAAA;AAEjE,MAAM,MAAM,eAAe,GAAG;IAC5B,aAAa,CAAC,EAAE,QAAQ,GAAG,KAAK,GAAG,OAAO,CAAA;IAC1C,cAAc,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,CAAC,OAAO,OAAO,CAAC,CAAC,MAAM,CAAC,CAAA;KAAE,EAAE,CAAA;IACnE,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IACtC,UAAU,CAAC,EAAE,OAAO,CAAC;QAC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AAA;IACzB,mBAAmB,CAAC,EAAE,MAAM,SAAS,CAAA;IACrC,yBAAyB,CAAC,EAAE,OAAO,CAAA;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,GAAG,IAAI,CACN,iBAAiB,EACf,gBAAgB,GAChB,WAAW,GACX,SAAS,GACT,YAAY,GACZ,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,GACf,oBAAoB,CACvB,GACC,CAAC,KAAK,GAAG,MAAM,CAAC,CAAA;AAElB,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,OAAO,CAAA;IACb,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,CAAA;IAC7B,YAAY,CAAC,EAAE,SAAS,GAAG,SAAS,CAAA;IACpC,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAA;IACpC,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,MAAM,CAAA;CAC5C,CAAA;AAED,KAAK,MAAM,GAAG;IACZ,IAAI,EAAE,QAAQ,CAAA;IACd,KAAK,CAAC,EAAE,IAAI,GAAG,SAAS,CAAA;IACxB,YAAY,CAAC,EAAE,IAAI,GAAG,SAAS,CAAA;IAC/B,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAA;IAC/B,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,MAAM,CAAA;CACvC,CAAA;AAED,eAAO,MAAM,UAAU,8GAmLtB,CAAA"}
@@ -1,51 +1,51 @@
1
- import { jsx as e, jsxs as W } from "react/jsx-runtime";
2
- import { forwardRef as X, useState as S, useEffect as Z } from "react";
3
- import { useIsDesktop as _ } from "../../hooks/use-is-desktop.js";
4
- import { useIsMobile as $ } from "../../hooks/use-is-mobile.js";
5
- import { Popover as g, PopoverTrigger as w, PopoverContent as T } from "../Popover/Popover.js";
1
+ import { jsx as e, jsxs as U } from "react/jsx-runtime";
2
+ import { forwardRef as W, useState as l, useEffect as X } from "react";
3
+ import { useIsDesktop as Z } from "../../hooks/use-is-desktop.js";
4
+ import { useIsMobile as _ } from "../../hooks/use-is-mobile.js";
5
+ import { Popover as $, PopoverTrigger as w, PopoverContent as T } from "../Popover/Popover.js";
6
6
  import { getDateRange as a } from "./utils/getDateRange.js";
7
- import { typographyVariants as V } from "../Typography/Typography.js";
8
- import { Input as s } from "../Input/Input.js";
7
+ import { typographyVariants as s } from "../Typography/Typography.js";
8
+ import { Input as V } from "../Input/Input.js";
9
9
  import { formatDate as O } from "../Calendar/utils/formatDate.js";
10
10
  import { formatDateRange as h } from "../Calendar/utils/formatDateRange.js";
11
11
  import { Calendar as R } from "../Calendar/Calendar.js";
12
- import { cn as u } from "../../utils/cn.js";
12
+ import { cn as b } from "../../utils/cn.js";
13
13
  import { CalendarBold as C } from "@solar-icons/react-perf";
14
- const N = X(
14
+ const N = W(
15
15
  ({
16
16
  alignCalendar: j,
17
17
  mode: v,
18
18
  allowedPresets: x,
19
19
  dateFormatter: z,
20
- value: f,
20
+ value: n,
21
21
  defaultValue: p,
22
22
  open: d,
23
23
  onOpenChange: r,
24
- onChange: m,
24
+ onChange: f,
25
25
  classNames: t,
26
26
  error: B,
27
- disabled: l,
27
+ disabled: S,
28
28
  hint: A,
29
29
  label: E,
30
30
  placeholder: P,
31
31
  avoidCollisions: Y = !0,
32
- side: q = "bottom",
32
+ side: g = "bottom",
33
33
  renderCustomTrigger: I,
34
34
  shouldResetToDefaultValue: c,
35
- required: G,
35
+ required: q,
36
36
  ...M
37
- }, H) => {
38
- const F = _(), J = $(), [K, y] = S(!1), L = typeof d == "boolean" ? d : K, [b, D] = S(
39
- f ?? p
40
- ), [o, n] = S(f ?? p);
41
- Z(() => {
42
- f !== void 0 && (D(f), n(f));
43
- }, [f]);
44
- const Q = x == null ? void 0 : x.map((i) => /* @__PURE__ */ e(
37
+ }, G) => {
38
+ const F = Z(), H = _(), [J, y] = l(!1), K = typeof d == "boolean" ? d : J, [u, k] = l(
39
+ n ?? p
40
+ ), [o, m] = l(n ?? p);
41
+ X(() => {
42
+ k(n), m(n);
43
+ }, [n]);
44
+ const L = x == null ? void 0 : x.map((i) => /* @__PURE__ */ e(
45
45
  "button",
46
46
  {
47
- className: u(
48
- V({
47
+ className: b(
48
+ s({
49
49
  variant: "cta",
50
50
  weight: "medium",
51
51
  size: "sm",
@@ -58,17 +58,17 @@ const N = X(
58
58
  t == null ? void 0 : t.leftPanelButton
59
59
  ),
60
60
  onClick: () => {
61
- const U = a(i.type);
62
- n(U);
61
+ const Q = a(i.type);
62
+ m(Q);
63
63
  },
64
64
  children: i.name
65
65
  },
66
66
  i.type
67
- )), k = z ?? (v === "single" ? O : h);
68
- return /* @__PURE__ */ W(
69
- g,
67
+ )), D = z ?? (v === "single" ? O : h);
68
+ return /* @__PURE__ */ U(
69
+ $,
70
70
  {
71
- open: L,
71
+ open: K,
72
72
  onOpenChange: (i) => {
73
73
  d === void 0 && y(i), r == null || r(i);
74
74
  },
@@ -76,27 +76,27 @@ const N = X(
76
76
  /* @__PURE__ */ e(
77
77
  w,
78
78
  {
79
- className: u(
80
- "group cursor-pointer rounded-full text-left focus-visible-default",
79
+ className: b(
80
+ "group cursor-pointer rounded-full text-left outline-0",
81
81
  t == null ? void 0 : t.popoverTrigger
82
82
  ),
83
- disabled: l,
83
+ disabled: S,
84
84
  children: I ? I() : /* @__PURE__ */ e(
85
- s,
85
+ V,
86
86
  {
87
- ref: H,
88
- value: b ? k(b) : "",
87
+ ref: G,
88
+ value: u ? D(u) : "",
89
89
  placeholder: P,
90
90
  error: B,
91
- disabled: l,
91
+ disabled: S,
92
92
  label: E,
93
93
  hint: A,
94
94
  tabIndex: -1,
95
- required: G,
96
- className: u(
95
+ required: q,
96
+ className: b(
97
97
  "pointer-events-none",
98
98
  t == null ? void 0 : t.input,
99
- "group-hover:border-comp-input-stroke-hover"
99
+ "group-hover:border-comp-input-stroke-hover group-focus-visible:border-comp-input-stroke-focused"
100
100
  ),
101
101
  suffix: /* @__PURE__ */ e(C, { className: "size-icon-medium text-icon-dark-secondary-def" })
102
102
  }
@@ -106,9 +106,9 @@ const N = X(
106
106
  /* @__PURE__ */ e(
107
107
  T,
108
108
  {
109
- className: u("flex w-auto p-0", t == null ? void 0 : t.popoverContent),
109
+ className: b("flex w-auto p-0", t == null ? void 0 : t.popoverContent),
110
110
  align: j,
111
- side: q,
111
+ side: g,
112
112
  avoidCollisions: Y,
113
113
  onOpenAutoFocus: (i) => i.preventDefault(),
114
114
  children: v === "single" ? /* @__PURE__ */ e(
@@ -117,15 +117,15 @@ const N = X(
117
117
  ...M,
118
118
  mode: "single",
119
119
  selected: o,
120
- onReset: () => n(
121
- c ? p : b
120
+ onReset: () => m(
121
+ c ? p : u
122
122
  ),
123
- onSelect: n,
123
+ onSelect: m,
124
124
  onConfirm: () => {
125
- (o !== void 0 || c) && (D(o), m == null || m(o)), d === void 0 && y(!1), r == null || r(!1);
125
+ (o !== void 0 || c) && (k(o), f == null || f(o)), d === void 0 && y(!1), r == null || r(!1);
126
126
  },
127
127
  numberOfMonths: F ? 2 : 1,
128
- dateFormatter: k
128
+ dateFormatter: D
129
129
  }
130
130
  ) : /* @__PURE__ */ e(
131
131
  R,
@@ -133,16 +133,16 @@ const N = X(
133
133
  ...M,
134
134
  mode: "range",
135
135
  selected: o,
136
- onReset: () => n(
137
- c ? p : b
136
+ onReset: () => m(
137
+ c ? p : u
138
138
  ),
139
- onSelect: n,
139
+ onSelect: m,
140
140
  onConfirm: () => {
141
- (o !== void 0 || c) && (D(o), m == null || m(o)), d === void 0 && y(!1), r == null || r(!1);
141
+ (o !== void 0 || c) && (k(o), f == null || f(o)), d === void 0 && y(!1), r == null || r(!1);
142
142
  },
143
143
  numberOfMonths: F ? 2 : 1,
144
- leftPanelChildren: v === "range" && !J && Q,
145
- dateRangeFormatter: k
144
+ leftPanelChildren: v === "range" && !H && L,
145
+ dateRangeFormatter: D
146
146
  }
147
147
  )
148
148
  }
@@ -1 +1 @@
1
- {"version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