@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.
Files changed (91) hide show
  1. package/dist/components/Accordion/Accordion.d.ts +112 -18
  2. package/dist/components/Accordion/Accordion.d.ts.map +1 -1
  3. package/dist/components/Accordion/Accordion.js +219 -113
  4. package/dist/components/Accordion/Accordion.stories.d.ts +3 -0
  5. package/dist/components/Accordion/Accordion.stories.d.ts.map +1 -1
  6. package/dist/components/Alert/Alert.js +4 -4
  7. package/dist/components/ButtonArrow/ButtonArrow.stories.d.ts.map +1 -1
  8. package/dist/components/CardCheckboxAmount/CardCheckboxAmount.d.ts +111 -0
  9. package/dist/components/CardCheckboxAmount/CardCheckboxAmount.d.ts.map +1 -0
  10. package/dist/components/CardCheckboxAmount/CardCheckboxAmount.js +115 -0
  11. package/dist/components/CardCheckboxAmount/CardCheckboxAmount.stories.d.ts +13 -0
  12. package/dist/components/CardCheckboxAmount/CardCheckboxAmount.stories.d.ts.map +1 -0
  13. package/dist/components/CardCheckboxAmount/index.d.ts +2 -0
  14. package/dist/components/CardCheckboxAmount/index.d.ts.map +1 -0
  15. package/dist/components/Chip/Chip.d.ts.map +1 -1
  16. package/dist/components/Chip/Chip.js +6 -2
  17. package/dist/components/Chip/Chip.stories.d.ts.map +1 -1
  18. package/dist/components/DatePicker/DatePicker.d.ts.map +1 -1
  19. package/dist/components/DatePicker/DatePicker.js +10 -2
  20. package/dist/components/DatePicker/DatePicker.stories.d.ts.map +1 -1
  21. package/dist/components/DatePickerButton/DatePickerButton.d.ts +97 -0
  22. package/dist/components/DatePickerButton/DatePickerButton.d.ts.map +1 -0
  23. package/dist/components/DatePickerButton/DatePickerButton.js +329 -0
  24. package/dist/components/DatePickerButton/DatePickerButton.stories.d.ts +15 -0
  25. package/dist/components/DatePickerButton/DatePickerButton.stories.d.ts.map +1 -0
  26. package/dist/components/DatePickerButton/index.d.ts +2 -0
  27. package/dist/components/DatePickerButton/index.d.ts.map +1 -0
  28. package/dist/components/Dialog/Dialog.js +1 -1
  29. package/dist/components/Icons/CustomLogos.d.ts +18 -2
  30. package/dist/components/Icons/CustomLogos.d.ts.map +1 -1
  31. package/dist/components/Icons/CustomLogos.js +103 -97
  32. package/dist/components/Icons/LogosAndBadges.stories.d.ts +1 -0
  33. package/dist/components/Icons/LogosAndBadges.stories.d.ts.map +1 -1
  34. package/dist/components/LanguageSwitcher/LanguageSwitcher.d.ts +26 -1
  35. package/dist/components/LanguageSwitcher/LanguageSwitcher.d.ts.map +1 -1
  36. package/dist/components/LanguageSwitcher/LanguageSwitcher.js +86 -44
  37. package/dist/components/LanguageSwitcher/LanguageSwitcher.stories.d.ts +1 -0
  38. package/dist/components/LanguageSwitcher/LanguageSwitcher.stories.d.ts.map +1 -1
  39. package/dist/components/Popover/Popover.d.ts +8 -1
  40. package/dist/components/Popover/Popover.d.ts.map +1 -1
  41. package/dist/components/Popover/Popover.js +7 -6
  42. package/dist/components/SegmentedControl/SegmentedControl.stories.d.ts.map +1 -1
  43. package/dist/components/SegmentedIconControl/SegmentedIconControl.stories.d.ts.map +1 -1
  44. package/dist/components/TextEditor/TextEditor.d.ts.map +1 -1
  45. package/dist/components/TextEditor/TextEditor.js +12 -9
  46. package/dist/components/TextEditor/TextEditor.stories.d.ts.map +1 -1
  47. package/dist/components/Toggle/Toggle.stories.d.ts.map +1 -1
  48. package/dist/components/ToggleCheckButton/ToggleCheckButton.stories.d.ts.map +1 -1
  49. package/dist/components/ToggleGroup/ToggleGroup.stories.d.ts.map +1 -1
  50. package/dist/components/Typography/Typography.d.ts +10 -1
  51. package/dist/components/Typography/Typography.d.ts.map +1 -1
  52. package/dist/components/Typography/Typography.js +82 -67
  53. package/dist/components/Typography/Typography.stories.d.ts +1 -0
  54. package/dist/components/Typography/Typography.stories.d.ts.map +1 -1
  55. package/dist/components/TypographyLink/TypographyLink.d.ts +72 -0
  56. package/dist/components/TypographyLink/TypographyLink.d.ts.map +1 -0
  57. package/dist/components/TypographyLink/TypographyLink.js +103 -0
  58. package/dist/components/TypographyLink/TypographyLink.stories.d.ts +12 -0
  59. package/dist/components/TypographyLink/TypographyLink.stories.d.ts.map +1 -0
  60. package/dist/components/TypographyLink/index.d.ts +2 -0
  61. package/dist/components/TypographyLink/index.d.ts.map +1 -0
  62. package/dist/components/UniversalFooter/UniversalFooter.d.ts +198 -0
  63. package/dist/components/UniversalFooter/UniversalFooter.d.ts.map +1 -0
  64. package/dist/components/UniversalFooter/UniversalFooter.js +401 -0
  65. package/dist/components/UniversalFooter/UniversalFooter.stories.d.ts +19 -0
  66. package/dist/components/UniversalFooter/UniversalFooter.stories.d.ts.map +1 -0
  67. package/dist/components/UniversalFooter/index.d.ts +2 -0
  68. package/dist/components/UniversalFooter/index.d.ts.map +1 -0
  69. package/dist/components/index.d.ts +4 -0
  70. package/dist/components/index.d.ts.map +1 -1
  71. package/dist/globals.css +0 -1
  72. package/dist/index.js +353 -322
  73. package/dist/muza-ui.css +1 -1
  74. package/dist/styles/primitives.css +2 -0
  75. package/dist/styles/token-colors.css +51 -43
  76. package/dist/styles/token-sizes.css +52 -4
  77. package/dist/translations/index.d.ts +1 -1
  78. package/dist/translations/index.d.ts.map +1 -1
  79. package/dist/translations/locales/cs.d.ts.map +1 -1
  80. package/dist/translations/locales/cs.js +6 -1
  81. package/dist/translations/locales/en.d.ts.map +1 -1
  82. package/dist/translations/locales/en.js +6 -1
  83. package/dist/translations/locales/sk.d.ts.map +1 -1
  84. package/dist/translations/locales/sk.js +6 -1
  85. package/dist/translations/types.d.ts +12 -0
  86. package/dist/translations/types.d.ts.map +1 -1
  87. package/dist/utils/cn.d.ts.map +1 -1
  88. package/dist/utils/cn.js +17 -9
  89. package/llms-full.md +38 -35
  90. package/llms.txt +10 -9
  91. 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 enable translations and built-in `ToastContainer`:
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 locale="en">
23
- {' '}
24
- {/* 'en' | 'cs' | 'sk' */}
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 (48 components)**
45
+ **Complete Component List (57 components)**
38
46
 
39
- **Form & Input (14)**:
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 (5)**:
43
- Accordion, Flex, Typography, Dialog, Skeleton
50
+ **Layout & Structure (7)**:
51
+ Accordion, Card, Flex, Sheet, Typography, Dialog, Skeleton
44
52
 
45
- **Data Display (4)**:
46
- DataTable, ExpandableTable, Reorderable, ReorderableTable
53
+ **Data Display (5)**:
54
+ DataTable, ExpandableTable, Reorderable, ReorderableTable, ResponsiveLayoutTable
47
55
 
48
- **Feedback & Status (8)**:
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 (8)**:
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 (3)**:
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
- ```tsx
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
- ;<TooltipProvider>
200
- <Tooltip>
201
- <TooltipTrigger asChild>
202
- <Button>Hover me</Button>
203
- </TooltipTrigger>
204
- <TooltipContent>Tooltip text</TooltipContent>
205
- </Tooltip>
206
- </TooltipProvider>
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:** If using `MuzaUIProvider`, `ToastContainer` is already included. Otherwise, add `<ToastContainer position="top-right" />` to your app root.
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 (48 components) built with Tailwind CSS 4, shadcn/ui patterns, and Radix primitives. Provides form inputs, layout components, feedback indicators, navigation, and date/time pickers.
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
- <MuzaUIProvider locale="en">
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 (48 total)
24
+ ## Component Categories (57 total)
24
25
 
25
- **Form & Input (14)**: Button, Input, PasswordInput, Textarea, Checkbox, Radio, Switch, Toggle, ToggleGroup, Select, MultiSelect, Searchbar, FileUpload, TextEditor
26
- **Layout (5)**: Accordion, Flex, Typography, Dialog, Skeleton
27
- **Data Display (4)**: DataTable, ExpandableTable, Reorderable, ReorderableTable
28
- **Feedback (8)**: Alert, Chip, Tag, Loader, EmptyState, Toast, PinIndicator, SliderIndicators
29
- **Navigation (8)**: Breadcrumb, DropdownMenu, SegmentedControl, SegmentedIconControl, Stepper, SwipeButton, EdgeButton, LanguageSwitcher
30
- **Media (3)**: Avatar, Lightbox, Tooltip
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.46",
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-three/drei": "^8.20.2",
75
- "@react-three/fiber": "^8.18.0",
76
- "@solar-icons/react-perf": "^1.0.0",
77
- "@storybook/addon-designs": "^10.0.2",
78
- "@tiptap/extension-character-count": "^2.22.0",
79
- "@tiptap/extension-link": "^2.22.0",
80
- "@tiptap/extension-mention": "^2.22.0",
81
- "@tiptap/extension-placeholder": "^2.22.0",
82
- "@tiptap/pm": "^2.22.0",
83
- "@tiptap/react": "^2.22.0",
84
- "@tiptap/starter-kit": "^2.22.0",
85
- "@tiptap/suggestion": "^2.22.0",
86
- "class-variance-authority": "^0.7.0",
87
- "clsx": "^2.1.0",
88
- "color": "^5.0.2",
89
- "date-fns": "^4.1.0",
90
- "embla-carousel-react": "^8.6.0",
91
- "motion": "^12.29.0",
92
- "next-themes": "^0.4.6",
93
- "photoswipe": "^5.4.4",
94
- "react": "^18.3.1",
95
- "react-dom": "^18.3.1",
96
- "react-dropzone": "^14.3.8",
97
- "react-photoswipe-gallery": "^4.0.0",
98
- "sonner": "^2.0.7",
99
- "tailwind-merge": "^3.3.1",
100
- "three": "^0.151.3",
101
- "tw-animate-css": "^1.3.7"
102
- },
103
- "peerDependenciesMeta": {
104
- "next-themes": {
105
- "optional": true
106
- },
107
- "@tiptap/extension-mention": {
108
- "optional": true
109
- },
110
- "@tiptap/suggestion": {
111
- "optional": true
112
- }
113
- },
114
- "devDependencies": {
115
- "@storybook/addon-designs": "^10.0.2",
116
- "@storybook/addon-docs": "^9.1.8",
117
- "@storybook/addon-links": "^9.1.8",
118
- "@storybook/addon-onboarding": "^9.1.8",
119
- "@storybook/react-vite": "^9.1.8",
120
- "@storybook/testing-library": "^0.2.2",
121
- "@tailwindcss/vite": "^4.1.11",
122
- "@tiptap/extension-character-count": "^2.27.2",
123
- "@tiptap/extension-mention": "^2.27.2",
124
- "@tiptap/suggestion": "^2.27.2",
125
- "@trivago/prettier-plugin-sort-imports": "^5.2.2",
126
- "@types/node": "^25.5.0",
127
- "@types/react": "^18.3.23",
128
- "@types/react-dom": "^18.3.7",
129
- "@types/three": "^0.180.0",
130
- "@typescript-eslint/eslint-plugin": "^8.39.0",
131
- "@typescript-eslint/parser": "^8.39.0",
132
- "@vitejs/plugin-react": "^4.2.1",
133
- "chromatic": "^13.3.3",
134
- "eslint": "^9.33.0",
135
- "eslint-config-prettier": "^10.1.8",
136
- "eslint-plugin-prettier": "^5.5.4",
137
- "eslint-plugin-react": "^7.37.5",
138
- "eslint-plugin-react-hooks": "^5.2.0",
139
- "eslint-plugin-react-refresh": "^0.4.5",
140
- "eslint-plugin-storybook": "^9.1.8",
141
- "prettier": "3.6.2",
142
- "prettier-plugin-tailwindcss": "^0.6.14",
143
- "react-imask": "^7.6.1",
144
- "storybook": "^9.1.8",
145
- "tailwindcss": "^4.1.11",
146
- "tippy.js": "^6.3.7",
147
- "typescript": "^5.2.2",
148
- "typescript-eslint": "^8.39.1",
149
- "vite": "^6.3.5",
150
- "vite-plugin-dts": "^4.5.4",
151
- "vite-plugin-static-copy": "^3.1.2",
152
- "vite-tsconfig-paths": "^5.1.4"
153
- },
154
- "engines": {
155
- "node": ">=22.0.0"
156
- },
157
- "keywords": [
158
- "react",
159
- "components",
160
- "ui",
161
- "tailwind",
162
- "shadcn",
163
- "vite",
164
- "storybook"
165
- ],
166
- "author": "",
167
- "license": "MIT",
168
- "packageManager": "pnpm@10.14.0+sha512.ad27a79641b49c3e481a16a805baa71817a04bbe06a38d17e60e2eaee83f6a146c6a688125f5792e48dd5ba30e7da52a5cda4c3992b9ccf333f9ce223af84748"
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
+ }