@vkzstudio/muza-ui 1.0.46 → 1.0.48
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/dist/components/Accordion/Accordion.d.ts +112 -18
- package/dist/components/Accordion/Accordion.d.ts.map +1 -1
- package/dist/components/Accordion/Accordion.js +219 -113
- package/dist/components/Accordion/Accordion.stories.d.ts +3 -0
- package/dist/components/Accordion/Accordion.stories.d.ts.map +1 -1
- package/dist/components/Alert/Alert.js +4 -4
- package/dist/components/ButtonArrow/ButtonArrow.stories.d.ts.map +1 -1
- package/dist/components/CardCheckboxAmount/CardCheckboxAmount.d.ts +111 -0
- package/dist/components/CardCheckboxAmount/CardCheckboxAmount.d.ts.map +1 -0
- package/dist/components/CardCheckboxAmount/CardCheckboxAmount.js +115 -0
- package/dist/components/CardCheckboxAmount/CardCheckboxAmount.stories.d.ts +13 -0
- package/dist/components/CardCheckboxAmount/CardCheckboxAmount.stories.d.ts.map +1 -0
- package/dist/components/CardCheckboxAmount/index.d.ts +2 -0
- package/dist/components/CardCheckboxAmount/index.d.ts.map +1 -0
- package/dist/components/Chip/Chip.d.ts.map +1 -1
- package/dist/components/Chip/Chip.js +6 -2
- package/dist/components/Chip/Chip.stories.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePicker.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePicker.js +10 -2
- package/dist/components/DatePicker/DatePicker.stories.d.ts.map +1 -1
- package/dist/components/DatePickerButton/DatePickerButton.d.ts +97 -0
- package/dist/components/DatePickerButton/DatePickerButton.d.ts.map +1 -0
- package/dist/components/DatePickerButton/DatePickerButton.js +329 -0
- package/dist/components/DatePickerButton/DatePickerButton.stories.d.ts +15 -0
- package/dist/components/DatePickerButton/DatePickerButton.stories.d.ts.map +1 -0
- package/dist/components/DatePickerButton/index.d.ts +2 -0
- package/dist/components/DatePickerButton/index.d.ts.map +1 -0
- package/dist/components/Dialog/Dialog.js +1 -1
- package/dist/components/Icons/CustomLogos.d.ts +18 -2
- package/dist/components/Icons/CustomLogos.d.ts.map +1 -1
- package/dist/components/Icons/CustomLogos.js +103 -97
- package/dist/components/Icons/LogosAndBadges.stories.d.ts +1 -0
- package/dist/components/Icons/LogosAndBadges.stories.d.ts.map +1 -1
- package/dist/components/LanguageSwitcher/LanguageSwitcher.d.ts +26 -1
- package/dist/components/LanguageSwitcher/LanguageSwitcher.d.ts.map +1 -1
- package/dist/components/LanguageSwitcher/LanguageSwitcher.js +86 -44
- package/dist/components/LanguageSwitcher/LanguageSwitcher.stories.d.ts +1 -0
- package/dist/components/LanguageSwitcher/LanguageSwitcher.stories.d.ts.map +1 -1
- package/dist/components/Popover/Popover.d.ts +8 -1
- package/dist/components/Popover/Popover.d.ts.map +1 -1
- package/dist/components/Popover/Popover.js +7 -6
- package/dist/components/SegmentedControl/SegmentedControl.stories.d.ts.map +1 -1
- package/dist/components/SegmentedIconControl/SegmentedIconControl.stories.d.ts.map +1 -1
- package/dist/components/TextEditor/TextEditor.d.ts.map +1 -1
- package/dist/components/TextEditor/TextEditor.js +12 -9
- package/dist/components/TextEditor/TextEditor.stories.d.ts.map +1 -1
- package/dist/components/Toggle/Toggle.stories.d.ts.map +1 -1
- package/dist/components/ToggleCheckButton/ToggleCheckButton.stories.d.ts.map +1 -1
- package/dist/components/ToggleGroup/ToggleGroup.stories.d.ts.map +1 -1
- package/dist/components/Typography/Typography.d.ts +10 -1
- package/dist/components/Typography/Typography.d.ts.map +1 -1
- package/dist/components/Typography/Typography.js +82 -67
- package/dist/components/Typography/Typography.stories.d.ts +1 -0
- package/dist/components/Typography/Typography.stories.d.ts.map +1 -1
- package/dist/components/TypographyLink/TypographyLink.d.ts +72 -0
- package/dist/components/TypographyLink/TypographyLink.d.ts.map +1 -0
- package/dist/components/TypographyLink/TypographyLink.js +103 -0
- package/dist/components/TypographyLink/TypographyLink.stories.d.ts +12 -0
- package/dist/components/TypographyLink/TypographyLink.stories.d.ts.map +1 -0
- package/dist/components/TypographyLink/index.d.ts +2 -0
- package/dist/components/TypographyLink/index.d.ts.map +1 -0
- package/dist/components/UniversalFooter/UniversalFooter.d.ts +198 -0
- package/dist/components/UniversalFooter/UniversalFooter.d.ts.map +1 -0
- package/dist/components/UniversalFooter/UniversalFooter.js +401 -0
- package/dist/components/UniversalFooter/UniversalFooter.stories.d.ts +19 -0
- package/dist/components/UniversalFooter/UniversalFooter.stories.d.ts.map +1 -0
- package/dist/components/UniversalFooter/index.d.ts +2 -0
- package/dist/components/UniversalFooter/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/globals.css +0 -1
- package/dist/index.js +353 -322
- package/dist/muza-ui.css +1 -1
- package/dist/styles/primitives.css +2 -0
- package/dist/styles/token-colors.css +51 -43
- package/dist/styles/token-sizes.css +52 -4
- package/dist/translations/index.d.ts +1 -1
- package/dist/translations/index.d.ts.map +1 -1
- package/dist/translations/locales/cs.d.ts.map +1 -1
- package/dist/translations/locales/cs.js +6 -1
- package/dist/translations/locales/en.d.ts.map +1 -1
- package/dist/translations/locales/en.js +6 -1
- package/dist/translations/locales/sk.d.ts.map +1 -1
- package/dist/translations/locales/sk.js +6 -1
- package/dist/translations/types.d.ts +12 -0
- package/dist/translations/types.d.ts.map +1 -1
- package/dist/utils/cn.d.ts.map +1 -1
- package/dist/utils/cn.js +17 -9
- package/llms-full.md +38 -35
- package/llms.txt +10 -9
- package/package.json +171 -169
package/llms-full.md
CHANGED
|
@@ -14,18 +14,26 @@ import '@vkzstudio/muza-ui/styles'
|
|
|
14
14
|
|
|
15
15
|
## MuzaUIProvider
|
|
16
16
|
|
|
17
|
-
Wrap your app with `MuzaUIProvider` to
|
|
17
|
+
**Required.** Wrap your app root with `MuzaUIProvider` for the library to work correctly. It bundles every context provider the library depends on so you never have to nest them yourself.
|
|
18
18
|
|
|
19
19
|
```tsx
|
|
20
20
|
import { MuzaUIProvider } from '@vkzstudio/muza-ui'
|
|
21
21
|
|
|
22
|
-
;<MuzaUIProvider
|
|
23
|
-
{' '
|
|
24
|
-
|
|
22
|
+
;<MuzaUIProvider
|
|
23
|
+
translationConfig={{ locale: 'en' }} // 'en' | 'cs' | 'sk'
|
|
24
|
+
color="#14645a" // optional white-label brand color
|
|
25
|
+
>
|
|
25
26
|
<App />
|
|
26
27
|
</MuzaUIProvider>
|
|
27
28
|
```
|
|
28
29
|
|
|
30
|
+
**Bundled providers (do NOT add these again inside your app):**
|
|
31
|
+
|
|
32
|
+
- `TranslationProvider` — powers locale + translations for DatePicker, Select, Calendar, etc. Configure via `translationConfig`.
|
|
33
|
+
- `TooltipProvider` — already wraps the tree, so `<Tooltip>` works without its own `<TooltipProvider>`. Configure via `tooltipConfig`.
|
|
34
|
+
- `ToastContainer` — mounted automatically, so `toast()` works anywhere with no extra setup. Configure via `toastConfig`.
|
|
35
|
+
- `ThemeProvider` — applies white-label theming when you pass a `color` hex (sets `--brand-*` CSS variables on `:root`).
|
|
36
|
+
|
|
29
37
|
Components like DatePicker, Select, and Calendar use translated strings automatically. You can override any text via component props.
|
|
30
38
|
|
|
31
39
|
## Component Usage Rules
|
|
@@ -34,25 +42,25 @@ Components like DatePicker, Select, and Calendar use translated strings automati
|
|
|
34
42
|
|
|
35
43
|
NEVER create new UI components that duplicate Muza UI functionality. Check available components first:
|
|
36
44
|
|
|
37
|
-
**Complete Component List (
|
|
45
|
+
**Complete Component List (57 components)**
|
|
38
46
|
|
|
39
|
-
**Form & Input (
|
|
40
|
-
Button, Input, PasswordInput, Textarea, Checkbox, Radio, Switch, Toggle, ToggleGroup, Select, MultiSelect, Searchbar, FileUpload, TextEditor
|
|
47
|
+
**Form & Input (17)**:
|
|
48
|
+
Button, ButtonArrow, Input, PasswordInput, Textarea, Checkbox, Radio, Switch, Toggle, ToggleCheckButton, ToggleGroup, Select, MultiSelect, Searchbar, FileUpload, TextEditor, Slider
|
|
41
49
|
|
|
42
|
-
**Layout & Structure (
|
|
43
|
-
Accordion, Flex, Typography, Dialog, Skeleton
|
|
50
|
+
**Layout & Structure (7)**:
|
|
51
|
+
Accordion, Card, Flex, Sheet, Typography, Dialog, Skeleton
|
|
44
52
|
|
|
45
|
-
**Data Display (
|
|
46
|
-
DataTable, ExpandableTable, Reorderable, ReorderableTable
|
|
53
|
+
**Data Display (5)**:
|
|
54
|
+
DataTable, ExpandableTable, Reorderable, ReorderableTable, ResponsiveLayoutTable
|
|
47
55
|
|
|
48
|
-
**Feedback & Status (
|
|
49
|
-
Alert, Chip, Tag, Loader, EmptyState, Toast, PinIndicator, SliderIndicators
|
|
56
|
+
**Feedback & Status (9)**:
|
|
57
|
+
Alert, Chip, Tag, Loader, EmptyState, Toast, PinIndicator, SliderIndicators, Progress
|
|
50
58
|
|
|
51
|
-
**Navigation (
|
|
52
|
-
Breadcrumb, DropdownMenu, SegmentedControl, SegmentedIconControl, Stepper, SwipeButton, EdgeButton, LanguageSwitcher
|
|
59
|
+
**Navigation (9)**:
|
|
60
|
+
Breadcrumb, DropdownMenu, Pagination, SegmentedControl, SegmentedIconControl, Stepper, SwipeButton, EdgeButton, LanguageSwitcher
|
|
53
61
|
|
|
54
|
-
**Media & Display (
|
|
55
|
-
Avatar, Lightbox, Tooltip
|
|
62
|
+
**Media & Display (4)**:
|
|
63
|
+
Avatar, Carousel, Lightbox, Tooltip
|
|
56
64
|
|
|
57
65
|
**Date & Time (3)**:
|
|
58
66
|
Calendar, DatePicker, TimePicker
|
|
@@ -140,7 +148,7 @@ import {
|
|
|
140
148
|
</Dialog>
|
|
141
149
|
```
|
|
142
150
|
|
|
143
|
-
Sub-components: `Dialog`, `DialogTrigger`, `DialogContent`, `DialogTitle`, `DialogDescription`, `DialogClose`, `DialogOverlay`, `DialogPortal`
|
|
151
|
+
Sub-components: `Dialog`, `DialogTrigger`, `DialogContent`, `DialogHeader`, `DialogFooter`, `DialogTitle`, `DialogDescription`, `DialogClose`, `DialogOverlay`, `DialogPortal`
|
|
144
152
|
|
|
145
153
|
#### DropdownMenu (19 uses)
|
|
146
154
|
|
|
@@ -166,7 +174,7 @@ import {
|
|
|
166
174
|
</DropdownMenu>
|
|
167
175
|
```
|
|
168
176
|
|
|
169
|
-
Sub-components: `DropdownMenu`, `DropdownMenuTrigger`, `DropdownMenuContent`, `DropdownMenuItem`, `DropdownMenuCheckboxItem`, `DropdownMenuRadioGroup`, `DropdownMenuRadioItem`, `DropdownMenuSeparator`, `DropdownMenuButtonItem`
|
|
177
|
+
Sub-components: `DropdownMenu`, `DropdownMenuTrigger`, `DropdownMenuPortal`, `DropdownMenuContent`, `DropdownMenuItem`, `DropdownMenuCheckboxItem`, `DropdownMenuRadioGroup`, `DropdownMenuRadioItem`, `DropdownMenuSeparator`, `DropdownMenuButtonItem`
|
|
170
178
|
|
|
171
179
|
#### Accordion
|
|
172
180
|
|
|
@@ -188,22 +196,17 @@ import {
|
|
|
188
196
|
|
|
189
197
|
#### Tooltip
|
|
190
198
|
|
|
191
|
-
|
|
192
|
-
import {
|
|
193
|
-
Tooltip,
|
|
194
|
-
TooltipContent,
|
|
195
|
-
TooltipProvider,
|
|
196
|
-
TooltipTrigger,
|
|
197
|
-
} from '@vkzstudio/muza-ui'
|
|
199
|
+
`TooltipProvider` is already supplied by `MuzaUIProvider` — do not wrap it again.
|
|
198
200
|
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
<
|
|
205
|
-
</
|
|
206
|
-
</
|
|
201
|
+
```tsx
|
|
202
|
+
import { Tooltip, TooltipContent, TooltipTrigger } from '@vkzstudio/muza-ui'
|
|
203
|
+
|
|
204
|
+
;<Tooltip>
|
|
205
|
+
<TooltipTrigger asChild>
|
|
206
|
+
<Button>Hover me</Button>
|
|
207
|
+
</TooltipTrigger>
|
|
208
|
+
<TooltipContent>Tooltip text</TooltipContent>
|
|
209
|
+
</Tooltip>
|
|
207
210
|
```
|
|
208
211
|
|
|
209
212
|
#### Popover
|
|
@@ -284,7 +287,7 @@ toast({ variant: 'error', text: 'Failed to save', closable: true })
|
|
|
284
287
|
toast({ variant: 'warning', text: 'Unsaved changes', autoDismiss: 5000 })
|
|
285
288
|
```
|
|
286
289
|
|
|
287
|
-
**Note:**
|
|
290
|
+
**Note:** `MuzaUIProvider` already mounts `ToastContainer` — do not add it again. Use `toastConfig` on the provider to customize position/duration. If you are NOT using `MuzaUIProvider` (not recommended), add `<ToastContainer position="top-right" />` to your app root manually.
|
|
288
291
|
|
|
289
292
|
#### FileUpload
|
|
290
293
|
|
package/llms.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Muza UI
|
|
2
2
|
|
|
3
|
-
> React component library (
|
|
3
|
+
> React component library (57 components) built with Tailwind CSS 4, shadcn/ui patterns, and Radix primitives. Provides form inputs, layout components, feedback indicators, navigation, and date/time pickers.
|
|
4
4
|
|
|
5
5
|
## Documentation
|
|
6
6
|
|
|
@@ -13,21 +13,22 @@
|
|
|
13
13
|
import { MuzaUIProvider, Button, Input } from '@vkzstudio/muza-ui'
|
|
14
14
|
import '@vkzstudio/muza-ui/styles'
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
// Required: wraps TranslationProvider, TooltipProvider, ToastContainer, ThemeProvider
|
|
17
|
+
<MuzaUIProvider translationConfig={{ locale: 'en' }}>
|
|
17
18
|
<App />
|
|
18
19
|
</MuzaUIProvider>
|
|
19
20
|
```
|
|
20
21
|
|
|
21
22
|
See llms-full.md for component APIs, compound component patterns, and react-hook-form integration.
|
|
22
23
|
|
|
23
|
-
## Component Categories (
|
|
24
|
+
## Component Categories (57 total)
|
|
24
25
|
|
|
25
|
-
**Form & Input (
|
|
26
|
-
**Layout (
|
|
27
|
-
**Data Display (
|
|
28
|
-
**Feedback (
|
|
29
|
-
**Navigation (
|
|
30
|
-
**Media (
|
|
26
|
+
**Form & Input (17)**: Button, ButtonArrow, Input, PasswordInput, Textarea, Checkbox, Radio, Switch, Toggle, ToggleCheckButton, ToggleGroup, Select, MultiSelect, Searchbar, FileUpload, TextEditor, Slider
|
|
27
|
+
**Layout (7)**: Accordion, Card, Flex, Sheet, Typography, Dialog, Skeleton
|
|
28
|
+
**Data Display (5)**: DataTable, ExpandableTable, Reorderable, ReorderableTable, ResponsiveLayoutTable
|
|
29
|
+
**Feedback (9)**: Alert, Chip, Tag, Loader, EmptyState, Toast, PinIndicator, SliderIndicators, Progress
|
|
30
|
+
**Navigation (9)**: Breadcrumb, DropdownMenu, Pagination, SegmentedControl, SegmentedIconControl, Stepper, SwipeButton, EdgeButton, LanguageSwitcher
|
|
31
|
+
**Media (4)**: Avatar, Carousel, Lightbox, Tooltip
|
|
31
32
|
**Date/Time (3)**: Calendar, DatePicker, TimePicker
|
|
32
33
|
**Specialized (3)**: Popover, LoginScreen, Icons
|
|
33
34
|
|
package/package.json
CHANGED
|
@@ -1,169 +1,171 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@vkzstudio/muza-ui",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "React component library built with Vite, shadcn/ui, and Tailwind CSS",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./dist/index.js",
|
|
7
|
-
"module": "./dist/index.js",
|
|
8
|
-
"types": "./dist/index.d.ts",
|
|
9
|
-
"exports": {
|
|
10
|
-
".": {
|
|
11
|
-
"import": "./dist/index.js",
|
|
12
|
-
"types": "./dist/index.d.ts"
|
|
13
|
-
},
|
|
14
|
-
"./styles": "./dist/muza-ui.css",
|
|
15
|
-
"./components/*": {
|
|
16
|
-
"import": "./dist/components/*/index.js",
|
|
17
|
-
"types": "./dist/components/*/index.d.ts"
|
|
18
|
-
},
|
|
19
|
-
"./utils": {
|
|
20
|
-
"import": "./dist/utils/index.js",
|
|
21
|
-
"types": "./dist/utils/index.d.ts"
|
|
22
|
-
},
|
|
23
|
-
"./utils/*": {
|
|
24
|
-
"import": "./dist/utils/*.js",
|
|
25
|
-
"types": "./dist/utils/*.d.ts"
|
|
26
|
-
},
|
|
27
|
-
"./styles/*": "./dist/styles/*",
|
|
28
|
-
"./globals.css": "./dist/globals.css",
|
|
29
|
-
"./3rd-parties.css": "./dist/styles/3rd-parties.css",
|
|
30
|
-
"./models/*": "./dist/models/*"
|
|
31
|
-
},
|
|
32
|
-
"sideEffects": [
|
|
33
|
-
"**/*.css"
|
|
34
|
-
],
|
|
35
|
-
"files": [
|
|
36
|
-
"dist",
|
|
37
|
-
"llms-full.md",
|
|
38
|
-
"llms.txt"
|
|
39
|
-
],
|
|
40
|
-
"scripts": {
|
|
41
|
-
"dev": "storybook dev -p 6006",
|
|
42
|
-
"build": "tsc && vite build",
|
|
43
|
-
"build-storybook": "storybook build",
|
|
44
|
-
"preview": "vite preview",
|
|
45
|
-
"typecheck": "tsc --noEmit",
|
|
46
|
-
"lint": "eslint . --ext ts,tsx,js,jsx,mjs,cjs --report-unused-disable-directives --max-warnings 0",
|
|
47
|
-
"lint:fix": "eslint . --ext ts,tsx,js,jsx,mjs,cjs --fix",
|
|
48
|
-
"add-component": "chmod +x scripts/add-component.sh && ./scripts/add-component.sh",
|
|
49
|
-
"add-component:win": "powershell -ExecutionPolicy Bypass -File scripts/add-component.ps1",
|
|
50
|
-
"tokens:import": "node scripts/import-tokens.mjs",
|
|
51
|
-
"format": "prettier --write .",
|
|
52
|
-
"chromatic": "npx chromatic --project-token=chpt_23ce248b589dbff",
|
|
53
|
-
"local-publish": "npm run build && npx shx rm -rf ../internal-benefits-frontend/node_modules/@vkzstudio/muza-ui/dist && npx shx cp -r dist ../internal-benefits-frontend/node_modules/@vkzstudio/muza-ui/dist && npx shx cp llms.txt llms-full.md ../internal-benefits-frontend/node_modules/@vkzstudio/muza-ui/"
|
|
54
|
-
},
|
|
55
|
-
"dependencies": {
|
|
56
|
-
"react-day-picker": "^9.9.0",
|
|
57
|
-
"react-imask": "^7.6.1"
|
|
58
|
-
},
|
|
59
|
-
"peerDependencies": {
|
|
60
|
-
"@radix-ui/react-accordion": "^1.2.12",
|
|
61
|
-
"@radix-ui/react-avatar": "^1.1.10",
|
|
62
|
-
"@radix-ui/react-checkbox": "^1.3.3",
|
|
63
|
-
"@radix-ui/react-dialog": "^1.1.15",
|
|
64
|
-
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
65
|
-
"@radix-ui/react-popover": "^1.1.15",
|
|
66
|
-
"@radix-ui/react-progress": "^1.1.8",
|
|
67
|
-
"@radix-ui/react-radio-group": "^1.3.8",
|
|
68
|
-
"@radix-ui/react-slider": "^1.3.6",
|
|
69
|
-
"@radix-ui/react-slot": "^1.2.3",
|
|
70
|
-
"@radix-ui/react-switch": "^1.2.6",
|
|
71
|
-
"@radix-ui/react-toggle": "^1.1.10",
|
|
72
|
-
"@radix-ui/react-toggle-group": "^1.1.11",
|
|
73
|
-
"@radix-ui/react-tooltip": "^1.2.8",
|
|
74
|
-
"@react-
|
|
75
|
-
"@react-three/
|
|
76
|
-
"@
|
|
77
|
-
"@
|
|
78
|
-
"@
|
|
79
|
-
"@tiptap/extension-
|
|
80
|
-
"@tiptap/extension-
|
|
81
|
-
"@tiptap/extension-
|
|
82
|
-
"@tiptap/
|
|
83
|
-
"@tiptap/
|
|
84
|
-
"@tiptap/
|
|
85
|
-
"@tiptap/
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"react
|
|
96
|
-
"react-
|
|
97
|
-
"react-
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
"@storybook/addon-
|
|
117
|
-
"@storybook/addon-
|
|
118
|
-
"@storybook/addon-
|
|
119
|
-
"@storybook/
|
|
120
|
-
"@storybook/
|
|
121
|
-
"@
|
|
122
|
-
"@
|
|
123
|
-
"@tiptap/extension-
|
|
124
|
-
"@tiptap/
|
|
125
|
-
"@
|
|
126
|
-
"@
|
|
127
|
-
"@types/
|
|
128
|
-
"@types/react
|
|
129
|
-
"@types/
|
|
130
|
-
"@
|
|
131
|
-
"@typescript-eslint/
|
|
132
|
-
"@
|
|
133
|
-
"
|
|
134
|
-
"
|
|
135
|
-
"eslint
|
|
136
|
-
"eslint-
|
|
137
|
-
"eslint-plugin-
|
|
138
|
-
"eslint-plugin-react
|
|
139
|
-
"eslint-plugin-react-
|
|
140
|
-
"eslint-plugin-
|
|
141
|
-
"
|
|
142
|
-
"prettier
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
"
|
|
147
|
-
"
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
"
|
|
151
|
-
"vite
|
|
152
|
-
"vite-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
"
|
|
161
|
-
"
|
|
162
|
-
"
|
|
163
|
-
"
|
|
164
|
-
"
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
"
|
|
169
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@vkzstudio/muza-ui",
|
|
3
|
+
"version": "1.0.48",
|
|
4
|
+
"description": "React component library built with Vite, shadcn/ui, and Tailwind CSS",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"types": "./dist/index.d.ts"
|
|
13
|
+
},
|
|
14
|
+
"./styles": "./dist/muza-ui.css",
|
|
15
|
+
"./components/*": {
|
|
16
|
+
"import": "./dist/components/*/index.js",
|
|
17
|
+
"types": "./dist/components/*/index.d.ts"
|
|
18
|
+
},
|
|
19
|
+
"./utils": {
|
|
20
|
+
"import": "./dist/utils/index.js",
|
|
21
|
+
"types": "./dist/utils/index.d.ts"
|
|
22
|
+
},
|
|
23
|
+
"./utils/*": {
|
|
24
|
+
"import": "./dist/utils/*.js",
|
|
25
|
+
"types": "./dist/utils/*.d.ts"
|
|
26
|
+
},
|
|
27
|
+
"./styles/*": "./dist/styles/*",
|
|
28
|
+
"./globals.css": "./dist/globals.css",
|
|
29
|
+
"./3rd-parties.css": "./dist/styles/3rd-parties.css",
|
|
30
|
+
"./models/*": "./dist/models/*"
|
|
31
|
+
},
|
|
32
|
+
"sideEffects": [
|
|
33
|
+
"**/*.css"
|
|
34
|
+
],
|
|
35
|
+
"files": [
|
|
36
|
+
"dist",
|
|
37
|
+
"llms-full.md",
|
|
38
|
+
"llms.txt"
|
|
39
|
+
],
|
|
40
|
+
"scripts": {
|
|
41
|
+
"dev": "storybook dev -p 6006",
|
|
42
|
+
"build": "tsc && vite build",
|
|
43
|
+
"build-storybook": "storybook build",
|
|
44
|
+
"preview": "vite preview",
|
|
45
|
+
"typecheck": "tsc --noEmit",
|
|
46
|
+
"lint": "eslint . --ext ts,tsx,js,jsx,mjs,cjs --report-unused-disable-directives --max-warnings 0",
|
|
47
|
+
"lint:fix": "eslint . --ext ts,tsx,js,jsx,mjs,cjs --fix",
|
|
48
|
+
"add-component": "chmod +x scripts/add-component.sh && ./scripts/add-component.sh",
|
|
49
|
+
"add-component:win": "powershell -ExecutionPolicy Bypass -File scripts/add-component.ps1",
|
|
50
|
+
"tokens:import": "node scripts/import-tokens.mjs",
|
|
51
|
+
"format": "prettier --write .",
|
|
52
|
+
"chromatic": "npx chromatic --project-token=chpt_23ce248b589dbff",
|
|
53
|
+
"local-publish": "npm run build && npx shx rm -rf ../internal-benefits-frontend/node_modules/@vkzstudio/muza-ui/dist && npx shx cp -r dist ../internal-benefits-frontend/node_modules/@vkzstudio/muza-ui/dist && npx shx cp llms.txt llms-full.md ../internal-benefits-frontend/node_modules/@vkzstudio/muza-ui/"
|
|
54
|
+
},
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"react-day-picker": "^9.9.0",
|
|
57
|
+
"react-imask": "^7.6.1"
|
|
58
|
+
},
|
|
59
|
+
"peerDependencies": {
|
|
60
|
+
"@radix-ui/react-accordion": "^1.2.12",
|
|
61
|
+
"@radix-ui/react-avatar": "^1.1.10",
|
|
62
|
+
"@radix-ui/react-checkbox": "^1.3.3",
|
|
63
|
+
"@radix-ui/react-dialog": "^1.1.15",
|
|
64
|
+
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
65
|
+
"@radix-ui/react-popover": "^1.1.15",
|
|
66
|
+
"@radix-ui/react-progress": "^1.1.8",
|
|
67
|
+
"@radix-ui/react-radio-group": "^1.3.8",
|
|
68
|
+
"@radix-ui/react-slider": "^1.3.6",
|
|
69
|
+
"@radix-ui/react-slot": "^1.2.3",
|
|
70
|
+
"@radix-ui/react-switch": "^1.2.6",
|
|
71
|
+
"@radix-ui/react-toggle": "^1.1.10",
|
|
72
|
+
"@radix-ui/react-toggle-group": "^1.1.11",
|
|
73
|
+
"@radix-ui/react-tooltip": "^1.2.8",
|
|
74
|
+
"@radix-ui/react-use-controllable-state": "^1.2.2",
|
|
75
|
+
"@react-three/drei": "^8.20.2",
|
|
76
|
+
"@react-three/fiber": "^8.18.0",
|
|
77
|
+
"@solar-icons/react-perf": "^1.0.0",
|
|
78
|
+
"@storybook/addon-designs": "^10.0.2",
|
|
79
|
+
"@tiptap/extension-character-count": "^2.22.0",
|
|
80
|
+
"@tiptap/extension-link": "^2.22.0",
|
|
81
|
+
"@tiptap/extension-mention": "^2.22.0",
|
|
82
|
+
"@tiptap/extension-placeholder": "^2.22.0",
|
|
83
|
+
"@tiptap/pm": "^2.22.0",
|
|
84
|
+
"@tiptap/react": "^2.22.0",
|
|
85
|
+
"@tiptap/starter-kit": "^2.22.0",
|
|
86
|
+
"@tiptap/suggestion": "^2.22.0",
|
|
87
|
+
"class-variance-authority": "^0.7.0",
|
|
88
|
+
"clsx": "^2.1.0",
|
|
89
|
+
"color": "^5.0.2",
|
|
90
|
+
"date-fns": "^4.1.0",
|
|
91
|
+
"embla-carousel-react": "^8.6.0",
|
|
92
|
+
"motion": "^12.29.0",
|
|
93
|
+
"next-themes": "^0.4.6",
|
|
94
|
+
"photoswipe": "^5.4.4",
|
|
95
|
+
"react": "^18.3.1",
|
|
96
|
+
"react-dom": "^18.3.1",
|
|
97
|
+
"react-dropzone": "^14.3.8",
|
|
98
|
+
"react-photoswipe-gallery": "^4.0.0",
|
|
99
|
+
"sonner": "^2.0.7",
|
|
100
|
+
"tailwind-merge": "^3.3.1",
|
|
101
|
+
"three": "^0.151.3",
|
|
102
|
+
"tw-animate-css": "^1.3.7"
|
|
103
|
+
},
|
|
104
|
+
"peerDependenciesMeta": {
|
|
105
|
+
"next-themes": {
|
|
106
|
+
"optional": true
|
|
107
|
+
},
|
|
108
|
+
"@tiptap/extension-mention": {
|
|
109
|
+
"optional": true
|
|
110
|
+
},
|
|
111
|
+
"@tiptap/suggestion": {
|
|
112
|
+
"optional": true
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"devDependencies": {
|
|
116
|
+
"@storybook/addon-designs": "^10.0.2",
|
|
117
|
+
"@storybook/addon-docs": "^9.1.8",
|
|
118
|
+
"@storybook/addon-links": "^9.1.8",
|
|
119
|
+
"@storybook/addon-onboarding": "^9.1.8",
|
|
120
|
+
"@storybook/react-vite": "^9.1.8",
|
|
121
|
+
"@storybook/testing-library": "^0.2.2",
|
|
122
|
+
"@tailwindcss/vite": "^4.1.11",
|
|
123
|
+
"@tiptap/extension-character-count": "^2.27.2",
|
|
124
|
+
"@tiptap/extension-mention": "^2.27.2",
|
|
125
|
+
"@tiptap/suggestion": "^2.27.2",
|
|
126
|
+
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
|
|
127
|
+
"@types/node": "^25.5.0",
|
|
128
|
+
"@types/react": "^18.3.23",
|
|
129
|
+
"@types/react-dom": "^18.3.7",
|
|
130
|
+
"@types/three": "^0.180.0",
|
|
131
|
+
"@typescript-eslint/eslint-plugin": "^8.39.0",
|
|
132
|
+
"@typescript-eslint/parser": "^8.39.0",
|
|
133
|
+
"@vitejs/plugin-react": "^4.2.1",
|
|
134
|
+
"chromatic": "^13.3.3",
|
|
135
|
+
"eslint": "^9.33.0",
|
|
136
|
+
"eslint-config-prettier": "^10.1.8",
|
|
137
|
+
"eslint-plugin-prettier": "^5.5.4",
|
|
138
|
+
"eslint-plugin-react": "^7.37.5",
|
|
139
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
140
|
+
"eslint-plugin-react-refresh": "^0.4.5",
|
|
141
|
+
"eslint-plugin-storybook": "^9.1.8",
|
|
142
|
+
"prettier": "3.6.2",
|
|
143
|
+
"prettier-plugin-tailwindcss": "^0.6.14",
|
|
144
|
+
"react-imask": "^7.6.1",
|
|
145
|
+
"storybook": "^9.1.8",
|
|
146
|
+
"storybook-addon-pseudo-states": "^9.1.13",
|
|
147
|
+
"tailwindcss": "^4.1.11",
|
|
148
|
+
"tippy.js": "^6.3.7",
|
|
149
|
+
"typescript": "^5.2.2",
|
|
150
|
+
"typescript-eslint": "^8.39.1",
|
|
151
|
+
"vite": "^6.3.5",
|
|
152
|
+
"vite-plugin-dts": "^4.5.4",
|
|
153
|
+
"vite-plugin-static-copy": "^3.1.2",
|
|
154
|
+
"vite-tsconfig-paths": "^5.1.4"
|
|
155
|
+
},
|
|
156
|
+
"engines": {
|
|
157
|
+
"node": ">=22.0.0"
|
|
158
|
+
},
|
|
159
|
+
"keywords": [
|
|
160
|
+
"react",
|
|
161
|
+
"components",
|
|
162
|
+
"ui",
|
|
163
|
+
"tailwind",
|
|
164
|
+
"shadcn",
|
|
165
|
+
"vite",
|
|
166
|
+
"storybook"
|
|
167
|
+
],
|
|
168
|
+
"author": "",
|
|
169
|
+
"license": "MIT",
|
|
170
|
+
"packageManager": "pnpm@10.14.0+sha512.ad27a79641b49c3e481a16a805baa71817a04bbe06a38d17e60e2eaee83f6a146c6a688125f5792e48dd5ba30e7da52a5cda4c3992b9ccf333f9ce223af84748"
|
|
171
|
+
}
|