@mlw-packages/react-components 1.4.8 → 1.5.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/dist/index.css +74 -55
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +92 -91
- package/dist/index.mjs +39 -38
- package/package.json +24 -25
package/dist/index.mjs
CHANGED
|
@@ -926,7 +926,7 @@ function BadgeBase({
|
|
|
926
926
|
|
|
927
927
|
// src/components/ui/BreadcrumbBase.tsx
|
|
928
928
|
import { Slot as Slot3 } from "@radix-ui/react-slot";
|
|
929
|
-
import { CaretRight, DotsThree } from "phosphor-react";
|
|
929
|
+
import { CaretRight, DotsThree } from "@phosphor-icons/react";
|
|
930
930
|
import { jsx as jsx5, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
931
931
|
function BreadcrumbBase({ ...props }) {
|
|
932
932
|
return /* @__PURE__ */ jsx5("nav", { "aria-label": "breadcrumb", "data-slot": "breadcrumb", ...props });
|
|
@@ -1020,7 +1020,7 @@ function BreadcrumbEllipsisBase({
|
|
|
1020
1020
|
}
|
|
1021
1021
|
|
|
1022
1022
|
// src/components/ui/CalendarBase.tsx
|
|
1023
|
-
import { CaretLeft, CaretRight as CaretRight2 } from "phosphor-react";
|
|
1023
|
+
import { CaretLeft, CaretRight as CaretRight2 } from "@phosphor-icons/react";
|
|
1024
1024
|
import { DayPicker } from "react-day-picker";
|
|
1025
1025
|
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
1026
1026
|
function CalendarBase({
|
|
@@ -1136,7 +1136,7 @@ CardFooterBase.displayName = "CardFooter";
|
|
|
1136
1136
|
// src/components/ui/CarouselBase.tsx
|
|
1137
1137
|
import * as React5 from "react";
|
|
1138
1138
|
import useEmblaCarousel from "embla-carousel-react";
|
|
1139
|
-
import { ArrowLeft, ArrowRight } from "phosphor-react";
|
|
1139
|
+
import { ArrowLeft, ArrowRight } from "@phosphor-icons/react";
|
|
1140
1140
|
import { jsx as jsx8, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
1141
1141
|
var CarouselContext = React5.createContext(null);
|
|
1142
1142
|
function useCarousel() {
|
|
@@ -1327,7 +1327,7 @@ function CarouselNextBase({
|
|
|
1327
1327
|
// src/components/ui/CheckBoxBase.tsx
|
|
1328
1328
|
import * as React6 from "react";
|
|
1329
1329
|
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
1330
|
-
import { Check } from "phosphor-react";
|
|
1330
|
+
import { Check } from "@phosphor-icons/react";
|
|
1331
1331
|
import { motion } from "framer-motion";
|
|
1332
1332
|
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
1333
1333
|
var CheckboxBase = React6.forwardRef(({ className, testid: dataTestId = "checkbox-base", ...props }, ref) => /* @__PURE__ */ jsx9(
|
|
@@ -1358,13 +1358,13 @@ CheckboxBase.displayName = CheckboxPrimitive.Root.displayName;
|
|
|
1358
1358
|
// src/components/ui/CommandBase.tsx
|
|
1359
1359
|
import * as React8 from "react";
|
|
1360
1360
|
import { Command as CommandPrimitive } from "cmdk";
|
|
1361
|
-
import { MagnifyingGlass } from "phosphor-react";
|
|
1361
|
+
import { MagnifyingGlass } from "@phosphor-icons/react";
|
|
1362
1362
|
import { motion as motion2, AnimatePresence } from "framer-motion";
|
|
1363
1363
|
|
|
1364
1364
|
// src/components/ui/DialogBase.tsx
|
|
1365
1365
|
import * as React7 from "react";
|
|
1366
1366
|
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
1367
|
-
import { X } from "phosphor-react";
|
|
1367
|
+
import { X } from "@phosphor-icons/react";
|
|
1368
1368
|
import { jsx as jsx10, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
1369
1369
|
var DialogBase = DialogPrimitive.Root;
|
|
1370
1370
|
var DialogTriggerBase = DialogPrimitive.Trigger;
|
|
@@ -1545,7 +1545,7 @@ CommandShortcutBase.displayName = "CommandShortcut";
|
|
|
1545
1545
|
|
|
1546
1546
|
// src/components/ui/ContextMenuBase.tsx
|
|
1547
1547
|
import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
|
|
1548
|
-
import { CaretRight as CaretRight3, Check as Check2, Circle } from "phosphor-react";
|
|
1548
|
+
import { CaretRight as CaretRight3, Check as Check2, Circle } from "@phosphor-icons/react";
|
|
1549
1549
|
import { jsx as jsx12, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
1550
1550
|
function ContextMenuBase(props) {
|
|
1551
1551
|
return /* @__PURE__ */ jsx12(ContextMenuPrimitive.Root, { "data-slot": "context-menu", ...props });
|
|
@@ -1881,7 +1881,7 @@ function DrawerDescriptionBase({
|
|
|
1881
1881
|
// src/components/ui/DropDownMenuBase.tsx
|
|
1882
1882
|
import * as React9 from "react";
|
|
1883
1883
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
1884
|
-
import { Check as Check3, CaretRight as CaretRight4, Circle as Circle2 } from "phosphor-react";
|
|
1884
|
+
import { Check as Check3, CaretRight as CaretRight4, Circle as Circle2 } from "@phosphor-icons/react";
|
|
1885
1885
|
import { motion as motion3, AnimatePresence as AnimatePresence2 } from "framer-motion";
|
|
1886
1886
|
import { jsx as jsx14, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
1887
1887
|
var DropDownMenuBase = DropdownMenuPrimitive.Root;
|
|
@@ -2138,7 +2138,7 @@ var PopoverContentBase = React12.forwardRef(({ className, align = "center", side
|
|
|
2138
2138
|
PopoverContentBase.displayName = PopoverPrimitive.Content.displayName;
|
|
2139
2139
|
|
|
2140
2140
|
// src/components/selects/ComboboxBase.tsx
|
|
2141
|
-
import { CaretDown, Check as Check4 } from "phosphor-react";
|
|
2141
|
+
import { CaretDown, Check as Check4 } from "@phosphor-icons/react";
|
|
2142
2142
|
import { useState as useState2 } from "react";
|
|
2143
2143
|
import { jsx as jsx18, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
2144
2144
|
function ComboboxBase({
|
|
@@ -2294,7 +2294,7 @@ function Combobox({
|
|
|
2294
2294
|
|
|
2295
2295
|
// src/components/selects/MultiCombobox.tsx
|
|
2296
2296
|
import { useCallback as useCallback3, useMemo as useMemo2 } from "react";
|
|
2297
|
-
import { X as X2 } from "phosphor-react";
|
|
2297
|
+
import { X as X2 } from "@phosphor-icons/react";
|
|
2298
2298
|
import { jsx as jsx20, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
2299
2299
|
function MultiCombobox({
|
|
2300
2300
|
items,
|
|
@@ -2418,7 +2418,7 @@ TooltipContentBase.displayName = TooltipPrimitive.Content.displayName;
|
|
|
2418
2418
|
|
|
2419
2419
|
// src/components/ui/FilterBase.tsx
|
|
2420
2420
|
var import_colors = __toESM(require_colors2());
|
|
2421
|
-
import { FunnelSimple, Plus, Trash } from "phosphor-react";
|
|
2421
|
+
import { FunnelSimple, Plus, Trash } from "@phosphor-icons/react";
|
|
2422
2422
|
import { jsx as jsx22, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
2423
2423
|
|
|
2424
2424
|
// src/components/ui/HoverCardBase.tsx
|
|
@@ -2460,7 +2460,7 @@ function HoverCardContentBase({
|
|
|
2460
2460
|
// src/components/ui/Input-OTP-Base.tsx
|
|
2461
2461
|
import * as React14 from "react";
|
|
2462
2462
|
import { OTPInput, OTPInputContext } from "input-otp";
|
|
2463
|
-
import { Minus } from "phosphor-react";
|
|
2463
|
+
import { Minus } from "@phosphor-icons/react";
|
|
2464
2464
|
import { jsx as jsx24, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
2465
2465
|
function InputOTPBase({
|
|
2466
2466
|
className,
|
|
@@ -2521,7 +2521,7 @@ function InputOTPSeparatorBase({ ...props }) {
|
|
|
2521
2521
|
// src/components/ui/NavigationMenuBase.tsx
|
|
2522
2522
|
import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
|
|
2523
2523
|
import { cva as cva3 } from "class-variance-authority";
|
|
2524
|
-
import { CaretDown as CaretDown2 } from "phosphor-react";
|
|
2524
|
+
import { CaretDown as CaretDown2 } from "@phosphor-icons/react";
|
|
2525
2525
|
import { jsx as jsx25, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
2526
2526
|
function NavigationMenuBase({
|
|
2527
2527
|
className,
|
|
@@ -2535,7 +2535,7 @@ function NavigationMenuBase({
|
|
|
2535
2535
|
"data-slot": "navigation-menu",
|
|
2536
2536
|
"data-viewport": viewport,
|
|
2537
2537
|
className: cn(
|
|
2538
|
-
"group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",
|
|
2538
|
+
"group/navigation-menu relative flex max-w-max flex-1 items-center justify-center z-[999]",
|
|
2539
2539
|
className
|
|
2540
2540
|
),
|
|
2541
2541
|
...props,
|
|
@@ -2850,7 +2850,7 @@ ScrollBarBase.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
|
|
|
2850
2850
|
// src/components/ui/SelectBase.tsx
|
|
2851
2851
|
import * as React17 from "react";
|
|
2852
2852
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
2853
|
-
import { Check as Check5, CaretDown as CaretDown3, CaretUp } from "phosphor-react";
|
|
2853
|
+
import { Check as Check5, CaretDown as CaretDown3, CaretUp } from "@phosphor-icons/react";
|
|
2854
2854
|
import { motion as motion4, AnimatePresence as AnimatePresence3 } from "framer-motion";
|
|
2855
2855
|
import { Fragment as Fragment2, jsx as jsx28, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
2856
2856
|
var SelectBase = SelectPrimitive.Root;
|
|
@@ -3018,7 +3018,7 @@ SeparatorBase.displayName = SeparatorPrimitive.Root.displayName;
|
|
|
3018
3018
|
import * as React19 from "react";
|
|
3019
3019
|
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
3020
3020
|
import { cva as cva4 } from "class-variance-authority";
|
|
3021
|
-
import { X as X3 } from "phosphor-react";
|
|
3021
|
+
import { X as X3 } from "@phosphor-icons/react";
|
|
3022
3022
|
import { jsx as jsx30, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
3023
3023
|
var SheetBase = SheetPrimitive.Root;
|
|
3024
3024
|
var SheetTriggerBase = SheetPrimitive.Trigger;
|
|
@@ -3156,7 +3156,7 @@ function SkeletonBase({
|
|
|
3156
3156
|
}
|
|
3157
3157
|
|
|
3158
3158
|
// src/components/ui/SidebarBase.tsx
|
|
3159
|
-
import { SidebarSimple } from "phosphor-react";
|
|
3159
|
+
import { SidebarSimple } from "@phosphor-icons/react";
|
|
3160
3160
|
import { jsx as jsx32, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
3161
3161
|
var SIDEBAR_COOKIE_NAME = "sidebar:state";
|
|
3162
3162
|
var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
|
|
@@ -3808,12 +3808,12 @@ SlideBase.displayName = "SlideBase";
|
|
|
3808
3808
|
|
|
3809
3809
|
// src/components/ui/SonnerBase.tsx
|
|
3810
3810
|
import {
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
} from "phosphor-react";
|
|
3811
|
+
CheckCircleIcon,
|
|
3812
|
+
XCircleIcon,
|
|
3813
|
+
InfoIcon,
|
|
3814
|
+
WarningIcon,
|
|
3815
|
+
SpinnerIcon
|
|
3816
|
+
} from "@phosphor-icons/react";
|
|
3817
3817
|
import { Toaster as Sonner, toast as sonnertoast } from "sonner";
|
|
3818
3818
|
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
3819
3819
|
var iconBaseClass = "w-5 h-auto";
|
|
@@ -3835,8 +3835,8 @@ var Toaster = ({ testId, ...props }) => {
|
|
|
3835
3835
|
flex items-center gap-3
|
|
3836
3836
|
data-[type=success]:border-l-green-500 data-[type=success]:bg-green-50 data-[type=success]:text-green-800 data-[type=success]:border-green-500
|
|
3837
3837
|
data-[type=error]:border-l-red-500 data-[type=error]:bg-red-50 data-[type=error]:text-red-800 data-[type=error]:border-red-500
|
|
3838
|
-
data-[type=
|
|
3839
|
-
data-[type=
|
|
3838
|
+
data-[type=WarningIcon]:border-l-yellow-500 data-[type=WarningIcon]:bg-yellow-50 data-[type=WarningIcon]:text-yellow-800 data-[type=WarningIcon]:border-yellow-500
|
|
3839
|
+
data-[type=InfoIcon]:border-l-blue-500 data-[type=InfoIcon]:bg-blue-50 data-[type=InfoIcon]:text-blue-800 data-[type=InfoIcon]:border-blue-500
|
|
3840
3840
|
`,
|
|
3841
3841
|
description: `
|
|
3842
3842
|
text-sm
|
|
@@ -3865,23 +3865,23 @@ var Toaster = ({ testId, ...props }) => {
|
|
|
3865
3865
|
};
|
|
3866
3866
|
var toast = {
|
|
3867
3867
|
success: (message) => sonnertoast.success(message, {
|
|
3868
|
-
icon: /* @__PURE__ */ jsx34(
|
|
3868
|
+
icon: /* @__PURE__ */ jsx34(CheckCircleIcon, { className: `${iconBaseClass} text-green-600`, weight: "fill" }),
|
|
3869
3869
|
className: "sonner-success"
|
|
3870
3870
|
}),
|
|
3871
3871
|
error: (message) => sonnertoast.error(message, {
|
|
3872
|
-
icon: /* @__PURE__ */ jsx34(
|
|
3872
|
+
icon: /* @__PURE__ */ jsx34(XCircleIcon, { className: `${iconBaseClass} text-red-600`, weight: "fill" }),
|
|
3873
3873
|
className: "sonner-error"
|
|
3874
3874
|
}),
|
|
3875
3875
|
warning: (message) => sonnertoast.warning(message, {
|
|
3876
|
-
icon: /* @__PURE__ */ jsx34(
|
|
3877
|
-
className: "sonner-
|
|
3876
|
+
icon: /* @__PURE__ */ jsx34(WarningIcon, { className: `${iconBaseClass} text-yellow-600`, weight: "fill" }),
|
|
3877
|
+
className: "sonner-WarningIcon"
|
|
3878
3878
|
}),
|
|
3879
3879
|
info: (message) => sonnertoast.info(message, {
|
|
3880
|
-
icon: /* @__PURE__ */ jsx34(
|
|
3881
|
-
className: "sonner-
|
|
3880
|
+
icon: /* @__PURE__ */ jsx34(InfoIcon, { className: `${iconBaseClass} text-blue-600`, weight: "fill" }),
|
|
3881
|
+
className: "sonner-InfoIcon"
|
|
3882
3882
|
}),
|
|
3883
3883
|
loading: (message) => sonnertoast(message, {
|
|
3884
|
-
icon: /* @__PURE__ */ jsx34(
|
|
3884
|
+
icon: /* @__PURE__ */ jsx34(SpinnerIcon, { className: `${iconBaseClass} animate-spin text-neutral-500`, weight: "fill" }),
|
|
3885
3885
|
className: "sonner-loading"
|
|
3886
3886
|
})
|
|
3887
3887
|
};
|
|
@@ -4067,7 +4067,7 @@ var TextAreaBase = React26.forwardRef(({ className, ...props }, ref) => {
|
|
|
4067
4067
|
TextAreaBase.displayName = "TextAreaBase";
|
|
4068
4068
|
|
|
4069
4069
|
// src/components/mode-toggle.tsx
|
|
4070
|
-
import { Check as Check6, Moon, Sun } from "phosphor-react";
|
|
4070
|
+
import { Check as Check6, Moon, Sun } from "@phosphor-icons/react";
|
|
4071
4071
|
|
|
4072
4072
|
// src/components/theme-provider.tsx
|
|
4073
4073
|
import { createContext as createContext3, useContext as useContext4, useEffect as useEffect5, useState as useState6 } from "react";
|
|
@@ -4080,7 +4080,7 @@ var ThemeProviderContext = createContext3(initialState);
|
|
|
4080
4080
|
function ThemeProviderBase({
|
|
4081
4081
|
children,
|
|
4082
4082
|
defaultTheme = "system",
|
|
4083
|
-
storageKey = "
|
|
4083
|
+
storageKey = "app-ui-theme",
|
|
4084
4084
|
...props
|
|
4085
4085
|
}) {
|
|
4086
4086
|
const [theme, setTheme] = useState6(() => {
|
|
@@ -4156,7 +4156,7 @@ function ModeToggleBase({
|
|
|
4156
4156
|
children: [
|
|
4157
4157
|
/* @__PURE__ */ jsxs22(Fragment3, { children: [
|
|
4158
4158
|
/* @__PURE__ */ jsx40(Sun, { className: `h-[1.2rem] w-[1.2rem] transition-transform duration-300 ${isDark ? "rotate-90 scale-0" : "rotate-0 scale-100"}` }),
|
|
4159
|
-
/* @__PURE__ */ jsx40(Moon, { className: `absolute
|
|
4159
|
+
/* @__PURE__ */ jsx40(Moon, { className: `absolute h-[1.2rem] w-[1.2rem] transition-transform duration-300 ${isDark ? "rotate-0 scale-100" : "rotate-90 scale-0"}` })
|
|
4160
4160
|
] }),
|
|
4161
4161
|
/* @__PURE__ */ jsx40("span", { className: "sr-only", children: "Toggle theme" })
|
|
4162
4162
|
]
|
|
@@ -4183,7 +4183,7 @@ import { add, format } from "date-fns";
|
|
|
4183
4183
|
// src/components/date-time-picker/calendar.tsx
|
|
4184
4184
|
import * as React27 from "react";
|
|
4185
4185
|
import { DayPicker as DayPicker2 } from "react-day-picker";
|
|
4186
|
-
import { CaretLeft as CaretLeft2, CaretRight as CaretRight5, X as X4, Calendar } from "phosphor-react";
|
|
4186
|
+
import { CaretLeft as CaretLeft2, CaretRight as CaretRight5, X as X4, Calendar } from "@phosphor-icons/react";
|
|
4187
4187
|
import { motion as motion6 } from "framer-motion";
|
|
4188
4188
|
import { jsx as jsx41, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
4189
4189
|
var variants = {
|
|
@@ -4295,12 +4295,11 @@ function CalendarBase2({
|
|
|
4295
4295
|
CalendarBase2.displayName = "CalendarBase";
|
|
4296
4296
|
|
|
4297
4297
|
// src/components/date-time-picker/DateTimePicker.tsx
|
|
4298
|
-
import { Calendar as Calendar2 } from "phosphor-react";
|
|
4299
4298
|
import { ptBR } from "date-fns/locale";
|
|
4300
4299
|
import { useEffect as useEffect6, useState as useState8 } from "react";
|
|
4301
4300
|
|
|
4302
4301
|
// src/components/date-time-picker/TimePicker.tsx
|
|
4303
|
-
import { Clock } from "phosphor-react";
|
|
4302
|
+
import { Clock } from "@phosphor-icons/react";
|
|
4304
4303
|
import * as React29 from "react";
|
|
4305
4304
|
|
|
4306
4305
|
// src/components/date-time-picker/TimePickerInput.tsx
|
|
@@ -4585,6 +4584,7 @@ function TimePicker({ date, setDate, hideSeconds }) {
|
|
|
4585
4584
|
}
|
|
4586
4585
|
|
|
4587
4586
|
// src/components/date-time-picker/DateTimePicker.tsx
|
|
4587
|
+
import { Calendar as Calendar2 } from "@phosphor-icons/react";
|
|
4588
4588
|
import { Fragment as Fragment4, jsx as jsx44, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
4589
4589
|
function DateTimePicker({
|
|
4590
4590
|
label,
|
|
@@ -4836,6 +4836,7 @@ export {
|
|
|
4836
4836
|
InputOTPGroupBase,
|
|
4837
4837
|
InputOTPSeparatorBase,
|
|
4838
4838
|
InputOTPSlotBase,
|
|
4839
|
+
LabelBase_default as LabelBase,
|
|
4839
4840
|
ModeToggleBase,
|
|
4840
4841
|
MultiCombobox,
|
|
4841
4842
|
NavigationMenuBase,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mlw-packages/react-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -8,28 +8,24 @@
|
|
|
8
8
|
"files": [
|
|
9
9
|
"dist"
|
|
10
10
|
],
|
|
11
|
-
"peerDependencies": {
|
|
12
|
-
"react": "^18.0.0",
|
|
13
|
-
"react-dom": "^18.0.0",
|
|
14
|
-
"react-hook-form": "^7.0.0"
|
|
15
|
-
},
|
|
16
11
|
"scripts": {
|
|
17
12
|
"dev": "vite",
|
|
18
13
|
"build": "npm run build-css && tsup",
|
|
19
14
|
"build-css": "npx tailwindcss -i ./src/style/global.css -o ./dist/index.css --config ./tailwind.config.js",
|
|
20
|
-
"lint": "eslint .",
|
|
15
|
+
"lint": "tsc --noEmit && eslint .",
|
|
21
16
|
"preview": "vite preview",
|
|
22
17
|
"deploy:patch": "npm version patch && npm publish",
|
|
23
18
|
"deploy:minor": "npm version minor && npm publish",
|
|
24
19
|
"deploy:major": "npm version major && npm publish",
|
|
25
|
-
"
|
|
26
|
-
"
|
|
20
|
+
"test": "echo \"No tests yet\" && exit 0",
|
|
21
|
+
"prepare": "husky install",
|
|
22
|
+
"storybook": "storybook dev -p 6006",
|
|
23
|
+
"build-storybook": "storybook build"
|
|
27
24
|
},
|
|
28
25
|
"lint-staged": {
|
|
29
26
|
"*.{js,jsx,ts,tsx}": "eslint --max-warnings=0"
|
|
30
27
|
},
|
|
31
28
|
"dependencies": {
|
|
32
|
-
"@hookform/resolvers": "^3.10.0",
|
|
33
29
|
"@radix-ui/react-alert-dialog": "^1.1.5",
|
|
34
30
|
"@radix-ui/react-avatar": "^1.1.2",
|
|
35
31
|
"@radix-ui/react-checkbox": "^1.1.3",
|
|
@@ -48,9 +44,7 @@
|
|
|
48
44
|
"@radix-ui/react-slot": "^1.1.1",
|
|
49
45
|
"@radix-ui/react-switch": "^1.1.2",
|
|
50
46
|
"@radix-ui/react-tabs": "^1.1.2",
|
|
51
|
-
"@radix-ui/react-toast": "^1.2.5",
|
|
52
47
|
"@radix-ui/react-tooltip": "^1.1.7",
|
|
53
|
-
"axios": "^1.7.9",
|
|
54
48
|
"class-variance-authority": "^0.7.1",
|
|
55
49
|
"clsx": "^2.1.1",
|
|
56
50
|
"cmdk": "^1.0.4",
|
|
@@ -58,26 +52,20 @@
|
|
|
58
52
|
"embla-carousel-react": "^8.6.0",
|
|
59
53
|
"framer-motion": "^12.15.0",
|
|
60
54
|
"input-otp": "^1.4.2",
|
|
61
|
-
"next-themes": "^0.4.4",
|
|
62
|
-
"phosphor-icons": "^1.4.2",
|
|
63
|
-
"phosphor-react": "^1.4.1",
|
|
64
|
-
"playwright": "^1.53.1",
|
|
65
|
-
"react": "^18.3.1",
|
|
66
55
|
"react-day-picker": "^8.10.0",
|
|
67
|
-
"react-dom": "^18.3.1",
|
|
68
|
-
"react-hook-form": "^7.54.2",
|
|
69
56
|
"react-router-dom": "6.4",
|
|
70
|
-
"react-toastify": "^11.0.5",
|
|
71
57
|
"recharts": "^2.15.3",
|
|
72
58
|
"sonner": "^1.7.4",
|
|
73
59
|
"tailwind-merge": "^3.0.1",
|
|
74
60
|
"tailwindcss-animate": "^1.0.7",
|
|
75
|
-
"vaul": "^1.1.2"
|
|
76
|
-
"zod": "^3.24.1"
|
|
61
|
+
"vaul": "^1.1.2"
|
|
77
62
|
},
|
|
78
63
|
"devDependencies": {
|
|
79
64
|
"@eslint/js": "^9.19.0",
|
|
80
65
|
"@playwright/test": "^1.53.1",
|
|
66
|
+
"@storybook/addon-docs": "^9.1.2",
|
|
67
|
+
"@storybook/addon-onboarding": "^9.1.2",
|
|
68
|
+
"@storybook/react-vite": "^9.1.2",
|
|
81
69
|
"@types/jest": "^29.5.14",
|
|
82
70
|
"@types/node": "^22.13.1",
|
|
83
71
|
"@types/react": "^19.0.8",
|
|
@@ -85,20 +73,31 @@
|
|
|
85
73
|
"@vitejs/plugin-react": "^4.4.1",
|
|
86
74
|
"@vitejs/plugin-react-swc": "^3.5.0",
|
|
87
75
|
"autoprefixer": "^10.4.20",
|
|
88
|
-
"css-loader": "^7.1.2",
|
|
89
76
|
"eslint": "^9.19.0",
|
|
90
77
|
"eslint-plugin-react-hooks": "^5.0.0",
|
|
91
78
|
"eslint-plugin-react-refresh": "^0.4.18",
|
|
79
|
+
"eslint-plugin-storybook": "^9.1.2",
|
|
92
80
|
"globals": "^15.14.0",
|
|
93
81
|
"husky": "^8.0.0",
|
|
94
82
|
"lint-staged": "^16.1.2",
|
|
95
|
-
"mini-css-extract-plugin": "^2.9.2",
|
|
96
83
|
"postcss": "^8.5.1",
|
|
84
|
+
"storybook": "^9.1.2",
|
|
97
85
|
"style-loader": "^4.0.0",
|
|
98
86
|
"tailwindcss": "^3.4.17",
|
|
99
87
|
"tsup": "^8.4.0",
|
|
100
88
|
"typescript": "~5.7.2",
|
|
101
89
|
"typescript-eslint": "^8.22.0",
|
|
102
|
-
"vite": "^6.1.0"
|
|
90
|
+
"vite": "^6.1.0",
|
|
91
|
+
"@phosphor-icons/react": "^2.1.10",
|
|
92
|
+
"react": "^18.0.0",
|
|
93
|
+
"react-dom": "^18.0.0"
|
|
94
|
+
},
|
|
95
|
+
"peerDependencies": {
|
|
96
|
+
"@phosphor-icons/react": "^2.1.10",
|
|
97
|
+
"react": "^18.0.0",
|
|
98
|
+
"react-dom": "^18.0.0"
|
|
99
|
+
},
|
|
100
|
+
"optionalDependencies": {
|
|
101
|
+
"@rollup/rollup-linux-x64-musl": "4.9.5"
|
|
103
102
|
}
|
|
104
103
|
}
|