@gv-tech/ui-web 2.12.1 → 2.13.0

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": "@gv-tech/ui-web",
3
- "version": "2.12.1",
3
+ "version": "2.13.0",
4
4
  "description": "Web (DOM/Radix) implementations of the GV Tech design system components",
5
5
  "repository": {
6
6
  "type": "git",
@@ -11,12 +11,16 @@
11
11
  "author": "Eric N. Garcia <eng618@garciaericn.com>",
12
12
  "exports": {
13
13
  ".": {
14
- "types": "./src/index.ts",
15
- "default": "./src/index.ts"
14
+ "types": "./dist/index.d.ts",
15
+ "import": "./dist/index.es.js",
16
+ "require": "./dist/index.cjs.js",
17
+ "default": "./dist/index.es.js"
16
18
  },
17
19
  "./*": {
18
- "types": "./src/*/index.ts",
19
- "default": "./src/*/index.ts"
20
+ "types": "./dist/*.d.ts",
21
+ "import": "./dist/*.es.js",
22
+ "require": "./dist/*.cjs.js",
23
+ "default": "./dist/*.es.js"
20
24
  }
21
25
  },
22
26
  "main": "./dist/index.cjs.js",
package/src/accordion.tsx CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import * as AccordionPrimitive from '@radix-ui/react-accordion';
2
3
  import { ChevronDown } from 'lucide-react';
3
4
  import * as React from 'react';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
2
3
  import * as React from 'react';
3
4
 
package/src/alert.tsx CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { cva, type VariantProps } from 'class-variance-authority';
2
3
  import * as React from 'react';
3
4
 
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { AspectRatioBaseProps } from '@gv-tech/ui-core';
2
3
  import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
3
4
 
package/src/avatar.tsx CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import * as AvatarPrimitive from '@radix-ui/react-avatar';
2
3
  import * as React from 'react';
3
4
 
package/src/badge.tsx CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { cva, type VariantProps } from 'class-variance-authority';
2
3
  import * as React from 'react';
3
4
 
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { Slot } from '@radix-ui/react-slot';
2
3
  import { ChevronRight, MoreHorizontal } from 'lucide-react';
3
4
  import * as React from 'react';
package/src/button.tsx CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { Slot } from '@radix-ui/react-slot';
2
3
  import { cva, type VariantProps } from 'class-variance-authority';
3
4
  import * as React from 'react';
package/src/calendar.tsx CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon } from 'lucide-react';
2
3
  import * as React from 'react';
3
4
  import { DayButton, DayPicker, getDefaultClassNames } from 'react-day-picker';
package/src/card.tsx CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import * as React from 'react';
2
3
 
3
4
  import type { CardBaseProps } from '@gv-tech/ui-core';
package/src/carousel.tsx CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import useEmblaCarousel, { type UseEmblaCarouselType } from 'embla-carousel-react';
2
3
  import { ArrowLeft, ArrowRight } from 'lucide-react';
3
4
  import * as React from 'react';
package/src/chart.tsx CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import * as React from 'react';
2
3
  import * as RechartsPrimitive from 'recharts';
3
4
 
package/src/checkbox.tsx CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
2
3
  import { Check } from 'lucide-react';
3
4
  import * as React from 'react';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { CollapsibleBaseProps, CollapsibleContentBaseProps, CollapsibleTriggerBaseProps } from '@gv-tech/ui-core';
2
3
  import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
3
4
 
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
2
3
  import { Check, ChevronRight, Circle } from 'lucide-react';
3
4
  import * as React from 'react';
package/src/dialog.tsx CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import * as DialogPrimitive from '@radix-ui/react-dialog';
2
3
  import { X } from 'lucide-react';
3
4
  import * as React from 'react';
package/src/index.ts CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  // @gv-tech/ui-web
2
3
  //
3
4
  // Web (DOM/Radix) implementations of the GV Tech design system components.
package/src/input.tsx CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import * as React from 'react';
2
3
 
3
4
  import type { InputBaseProps } from '@gv-tech/ui-core';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { ChevronLeft, ChevronRight, MoreHorizontal } from 'lucide-react';
2
3
  import * as React from 'react';
3
4
 
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
2
3
  import { Circle } from 'lucide-react';
3
4
  import * as React from 'react';
package/src/skeleton.tsx CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { SkeletonBaseProps } from '@gv-tech/ui-core';
2
3
  import * as React from 'react';
3
4
  import { cn } from './lib/utils';
package/src/text.tsx CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { cva, type VariantProps } from 'class-variance-authority';
2
3
  import * as React from 'react';
3
4
 
package/src/toast.tsx CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import * as ToastPrimitives from '@radix-ui/react-toast';
2
3
  import { cva, type VariantProps } from 'class-variance-authority';
3
4
  import { X } from 'lucide-react';