@umituz/web-design-system 6.0.0 → 6.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umituz/web-design-system",
3
- "version": "6.0.0",
3
+ "version": "6.0.2",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Web Design System - Tailwind v4 authored, precompiled CSS shipped. Atomic Design components (Atoms, Molecules, Organisms, Templates) for React applications.",
@@ -58,31 +58,31 @@
58
58
  "url": "git+https://github.com/umituz/web-design-system.git"
59
59
  },
60
60
  "dependencies": {
61
+ "@radix-ui/react-accordion": "^1.2.12",
62
+ "@radix-ui/react-collapsible": "^1.1.12",
63
+ "@radix-ui/react-dialog": "^1.1.15",
64
+ "@radix-ui/react-dropdown-menu": "^2.1.15",
65
+ "@radix-ui/react-hover-card": "^1.1.8",
66
+ "@radix-ui/react-label": "^2.1.8",
67
+ "@radix-ui/react-popover": "^1.1.15",
68
+ "@radix-ui/react-scroll-area": "^1.2.10",
69
+ "@radix-ui/react-select": "^2.2.6",
70
+ "@radix-ui/react-separator": "^1.1.7",
71
+ "@radix-ui/react-slot": "^1.2.3",
72
+ "@radix-ui/react-switch": "^1.2.5",
73
+ "@radix-ui/react-toggle": "^1.1.9",
74
+ "@radix-ui/react-toggle-group": "^1.1.10",
61
75
  "@types/react-syntax-highlighter": "^15.5.13",
62
76
  "class-variance-authority": "^0.7.1",
63
77
  "clsx": "^2.1.1",
78
+ "lucide-react": "^0.577.0",
79
+ "react-syntax-highlighter": "^16.1.1",
64
80
  "tailwind-merge": "^3.5.0"
65
81
  },
66
82
  "peerDependencies": {
67
- "@radix-ui/react-accordion": ">=1.0.0",
68
- "@radix-ui/react-collapsible": ">=1.0.0",
69
- "@radix-ui/react-dialog": ">=1.0.0",
70
- "@radix-ui/react-dropdown-menu": ">=1.0.0",
71
- "@radix-ui/react-hover-card": ">=1.0.0",
72
- "@radix-ui/react-label": ">=2.0.0",
73
- "@radix-ui/react-popover": ">=1.0.0",
74
- "@radix-ui/react-scroll-area": ">=1.0.0",
75
- "@radix-ui/react-select": ">=2.0.0",
76
- "@radix-ui/react-separator": ">=1.0.0",
77
- "@radix-ui/react-slot": ">=1.0.0",
78
- "@radix-ui/react-switch": ">=1.0.0",
79
- "@radix-ui/react-toggle": ">=1.0.0",
80
- "@radix-ui/react-toggle-group": ">=1.0.0",
81
- "lucide-react": ">=0.400.0",
82
83
  "react": ">=18.0.0",
83
84
  "react-dom": ">=18.0.0",
84
- "react-router": ">=6.0.0",
85
- "react-syntax-highlighter": ">=15.0.0"
85
+ "react-router": ">=6.0.0"
86
86
  },
87
87
  "devDependencies": {
88
88
  "@eslint/js": "^9.32.0",
@@ -449,7 +449,7 @@ export function DataTable<T>({
449
449
  key={column.id}
450
450
  checked={!effectiveHiddenColumnIds.includes(column.id)}
451
451
  disabled={!column.optional}
452
- onCheckedChange={(checked) =>
452
+ onCheckedChange={(checked: boolean) =>
453
453
  setHiddenColumnIds((prev) =>
454
454
  checked
455
455
  ? prev.filter((id) => id !== column.id)
@@ -458,7 +458,7 @@ export function DataTable<T>({
458
458
  : [...prev, column.id],
459
459
  )
460
460
  }
461
- onSelect={(event) => event.preventDefault()}
461
+ onSelect={(event: Event) => event.preventDefault()}
462
462
  >
463
463
  {typeof column.header === 'string' ? column.header : column.id}
464
464
  </DropdownMenuCheckboxItem>
@@ -43,7 +43,7 @@ export function Drawer({
43
43
  }: DrawerProps) {
44
44
  const wideSize = wide && (side === 'left' || side === 'right') ? 'sm:max-w-2xl' : undefined;
45
45
  return (
46
- <Sheet open={open} onOpenChange={(next) => { if (!next) onClose(); }}>
46
+ <Sheet open={open} onOpenChange={(next: boolean) => { if (!next) onClose(); }}>
47
47
  <SheetContent
48
48
  side={side}
49
49
  className={cn('flex flex-col overflow-hidden', wideSize, className)}
@@ -19,7 +19,7 @@ export function Lightbox({ open, onClose, alt, caption, zoomable = true, childre
19
19
  return (
20
20
  <Dialog
21
21
  open={open}
22
- onOpenChange={(next) => {
22
+ onOpenChange={(next: boolean) => {
23
23
  if (!next) {
24
24
  onClose();
25
25
  setZoom(false);
@@ -51,7 +51,7 @@ export function Modal({
51
51
  contentProps,
52
52
  }: ModalProps) {
53
53
  return (
54
- <Dialog open={open} onOpenChange={(next) => { if (!next) onClose(); }}>
54
+ <Dialog open={open} onOpenChange={(next: boolean) => { if (!next) onClose(); }}>
55
55
  <DialogContent
56
56
  className={cn(
57
57
  sizeWidths[size],