@saasflare/ui 3.0.0 → 3.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/dist/index.mjs CHANGED
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import { buttonVariants, Button, useSaasflareProps } from './chunk-QWLQV6FS.mjs';
3
- export { Button, SaasflareProvider, SaasflareScript, SaasflareShell, SmoothScrollProvider, buttonVariants, useAnimation, useSaasflareProps, useSaasflareTheme } from './chunk-QWLQV6FS.mjs';
4
- export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from './chunk-7UGPCRZ6.mjs';
2
+ import { buttonVariants, Button, useSaasflareProps } from './chunk-ORB66UYT.mjs';
3
+ export { Button, SaasflareProvider, SaasflareScript, SaasflareShell, SmoothScrollProvider, buttonVariants, useAnimation, useSaasflareProps, useSaasflareTheme } from './chunk-ORB66UYT.mjs';
4
+ export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from './chunk-2DNKXA5A.mjs';
5
5
  import { useReducedMotion, noMotion, springGentle, springBouncy, spring } from './chunk-W53NTFPB.mjs';
6
6
  export { fadeIn, noMotion, scaleIn, slideDown, slideUp, spring, springBouncy, springGentle, springStiff, useReducedMotion } from './chunk-W53NTFPB.mjs';
7
- import { cn } from './chunk-S26666D6.mjs';
8
- export { cn } from './chunk-S26666D6.mjs';
7
+ import { cn } from './chunk-BIU2MD4T.mjs';
8
+ export { cn } from './chunk-BIU2MD4T.mjs';
9
9
  import * as React5 from 'react';
10
10
  import React5__default, { useState, useCallback, useMemo, useRef, useEffect, Suspense } from 'react';
11
11
  import { m, useMotionValue, useSpring, useTransform, AnimatePresence } from 'motion/react';
@@ -654,7 +654,7 @@ function Checkbox({
654
654
  {
655
655
  "data-slot": "checkbox",
656
656
  className: cn(
657
- "peer size-4 shrink-0 cursor-pointer rounded-[4px] border border-input shadow-xs transition-shadow outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:bg-input/30 dark:aria-invalid:ring-destructive/40 dark:data-[state=checked]:bg-primary",
657
+ "peer size-4 shrink-0 cursor-pointer rounded-lg border border-input shadow-xs transition-shadow outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:bg-input/30 dark:aria-invalid:ring-destructive/40 dark:data-[state=checked]:bg-primary",
658
658
  className
659
659
  ),
660
660
  ...props,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saasflare/ui",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "description": "The Next.js UI library — App Router-aware Radix primitives with Tailwind v4 and Motion, animated by default.",
@@ -1,12 +0,0 @@
1
- 'use strict';
2
-
3
- var clsx = require('clsx');
4
- var tailwindMerge = require('tailwind-merge');
5
- require('react');
6
-
7
- // src/lib/utils.ts
8
- function cn(...inputs) {
9
- return tailwindMerge.twMerge(clsx.clsx(inputs));
10
- }
11
-
12
- exports.cn = cn;
@@ -1,10 +0,0 @@
1
- import { clsx } from 'clsx';
2
- import { twMerge } from 'tailwind-merge';
3
- import 'react';
4
-
5
- // src/lib/utils.ts
6
- function cn(...inputs) {
7
- return twMerge(clsx(inputs));
8
- }
9
-
10
- export { cn };