@dilipod/ui 0.2.0 → 0.2.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.d.mts CHANGED
@@ -3,6 +3,8 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
  import * as SheetPrimitive from '@radix-ui/react-dialog';
6
+ export { LabelProps } from '@radix-ui/react-label';
7
+ export { SeparatorProps } from '@radix-ui/react-separator';
6
8
  import { ClassValue } from 'clsx';
7
9
  export { AddressBook, ArrowLeft, ArrowRight, ArrowSquareOut, ArrowUpRight, Brain, Briefcase, Buildings, Calendar, CaretDown, CaretRight, CaretUp, ChartBar, ChartLineUp, ChatCircle, Check, CheckCircle, CheckSquare, Circle, Clock, Copy, Database, DotsThree, DotsThreeVertical, Download, Envelope, EnvelopeSimple, Eye, EyeSlash, File, FileText, Files, FirstAid, Funnel, Gear, GearSix, Globe, Handshake, House, Icon, IconProps, Info, Link, LinkedinLogo, List, MagnifyingGlass, Minus, Pause, PencilSimple, Phone, Play, Plus, Question, Receipt, Robot, ShoppingCart, SignIn, SignOut, SortAscending, SortDescending, Stop, Trash, Upload, User, UserPlus, Users, UsersThree, VideoCamera, Wallet, Warning, WarningCircle, X, XLogo } from '@phosphor-icons/react';
8
10
 
@@ -132,21 +134,6 @@ interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
132
134
  }
133
135
  declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
134
136
 
135
- declare const NODES$1: readonly ["a", "button", "div", "form", "h2", "h3", "img", "input", "label", "li", "nav", "ol", "p", "select", "span", "svg", "ul"];
136
- type Primitives$1 = {
137
- [E in (typeof NODES$1)[number]]: PrimitiveForwardRefComponent$1<E>;
138
- };
139
- type PrimitivePropsWithRef$1<E extends React.ElementType> = React.ComponentPropsWithRef<E> & {
140
- asChild?: boolean;
141
- };
142
- interface PrimitiveForwardRefComponent$1<E extends React.ElementType> extends React.ForwardRefExoticComponent<PrimitivePropsWithRef$1<E>> {
143
- }
144
- declare const Primitive$1: Primitives$1;
145
-
146
- type PrimitiveLabelProps = React.ComponentPropsWithoutRef<typeof Primitive$1.label>;
147
- interface LabelProps extends PrimitiveLabelProps {
148
- }
149
-
150
137
  declare const Label: React.ForwardRefExoticComponent<any>;
151
138
 
152
139
  interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
@@ -158,32 +145,6 @@ declare const AccordionItem: React.ForwardRefExoticComponent<any>;
158
145
  declare const AccordionTrigger: React.ForwardRefExoticComponent<any>;
159
146
  declare const AccordionContent: React.ForwardRefExoticComponent<any>;
160
147
 
161
- declare const NODES: readonly ["a", "button", "div", "form", "h2", "h3", "img", "input", "label", "li", "nav", "ol", "p", "select", "span", "svg", "ul"];
162
- type Primitives = {
163
- [E in (typeof NODES)[number]]: PrimitiveForwardRefComponent<E>;
164
- };
165
- type PrimitivePropsWithRef<E extends React.ElementType> = React.ComponentPropsWithRef<E> & {
166
- asChild?: boolean;
167
- };
168
- interface PrimitiveForwardRefComponent<E extends React.ElementType> extends React.ForwardRefExoticComponent<PrimitivePropsWithRef<E>> {
169
- }
170
- declare const Primitive: Primitives;
171
-
172
- declare const ORIENTATIONS: readonly ["horizontal", "vertical"];
173
- type Orientation = (typeof ORIENTATIONS)[number];
174
- type PrimitiveDivProps = React.ComponentPropsWithoutRef<typeof Primitive.div>;
175
- interface SeparatorProps extends PrimitiveDivProps {
176
- /**
177
- * Either `vertical` or `horizontal`. Defaults to `horizontal`.
178
- */
179
- orientation?: Orientation;
180
- /**
181
- * Whether or not the component is purely decorative. When true, accessibility-related attributes
182
- * are updated so that that the rendered element is removed from the accessibility tree.
183
- */
184
- decorative?: boolean;
185
- }
186
-
187
148
  declare const Separator: React.ForwardRefExoticComponent<any>;
188
149
 
189
150
  declare const NavigationMenu: React.ForwardRefExoticComponent<any>;
@@ -198,4 +159,4 @@ declare const NavigationMenuIndicator: React.ForwardRefExoticComponent<any>;
198
159
 
199
160
  declare function cn(...inputs: ClassValue[]): string;
200
161
 
201
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Badge, type BadgeProps, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, IconBox, type IconBoxProps, Input, type InputProps, Label, type LabelProps, Logo, type LogoProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Progress, type ProgressProps, Separator, type SeparatorProps, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Stat, type StatProps, Tag, type TagProps, Textarea, type TextareaProps, badgeVariants, buttonVariants, cn, iconBoxVariants, navigationMenuTriggerStyle, progressVariants, statVariants, tagVariants, valueVariants };
162
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Badge, type BadgeProps, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, IconBox, type IconBoxProps, Input, type InputProps, Label, Logo, type LogoProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Progress, type ProgressProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Stat, type StatProps, Tag, type TagProps, Textarea, type TextareaProps, badgeVariants, buttonVariants, cn, iconBoxVariants, navigationMenuTriggerStyle, progressVariants, statVariants, tagVariants, valueVariants };
package/dist/index.d.ts CHANGED
@@ -3,6 +3,8 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
  import * as SheetPrimitive from '@radix-ui/react-dialog';
6
+ export { LabelProps } from '@radix-ui/react-label';
7
+ export { SeparatorProps } from '@radix-ui/react-separator';
6
8
  import { ClassValue } from 'clsx';
7
9
  export { AddressBook, ArrowLeft, ArrowRight, ArrowSquareOut, ArrowUpRight, Brain, Briefcase, Buildings, Calendar, CaretDown, CaretRight, CaretUp, ChartBar, ChartLineUp, ChatCircle, Check, CheckCircle, CheckSquare, Circle, Clock, Copy, Database, DotsThree, DotsThreeVertical, Download, Envelope, EnvelopeSimple, Eye, EyeSlash, File, FileText, Files, FirstAid, Funnel, Gear, GearSix, Globe, Handshake, House, Icon, IconProps, Info, Link, LinkedinLogo, List, MagnifyingGlass, Minus, Pause, PencilSimple, Phone, Play, Plus, Question, Receipt, Robot, ShoppingCart, SignIn, SignOut, SortAscending, SortDescending, Stop, Trash, Upload, User, UserPlus, Users, UsersThree, VideoCamera, Wallet, Warning, WarningCircle, X, XLogo } from '@phosphor-icons/react';
8
10
 
@@ -132,21 +134,6 @@ interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
132
134
  }
133
135
  declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
134
136
 
135
- declare const NODES$1: readonly ["a", "button", "div", "form", "h2", "h3", "img", "input", "label", "li", "nav", "ol", "p", "select", "span", "svg", "ul"];
136
- type Primitives$1 = {
137
- [E in (typeof NODES$1)[number]]: PrimitiveForwardRefComponent$1<E>;
138
- };
139
- type PrimitivePropsWithRef$1<E extends React.ElementType> = React.ComponentPropsWithRef<E> & {
140
- asChild?: boolean;
141
- };
142
- interface PrimitiveForwardRefComponent$1<E extends React.ElementType> extends React.ForwardRefExoticComponent<PrimitivePropsWithRef$1<E>> {
143
- }
144
- declare const Primitive$1: Primitives$1;
145
-
146
- type PrimitiveLabelProps = React.ComponentPropsWithoutRef<typeof Primitive$1.label>;
147
- interface LabelProps extends PrimitiveLabelProps {
148
- }
149
-
150
137
  declare const Label: React.ForwardRefExoticComponent<any>;
151
138
 
152
139
  interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
@@ -158,32 +145,6 @@ declare const AccordionItem: React.ForwardRefExoticComponent<any>;
158
145
  declare const AccordionTrigger: React.ForwardRefExoticComponent<any>;
159
146
  declare const AccordionContent: React.ForwardRefExoticComponent<any>;
160
147
 
161
- declare const NODES: readonly ["a", "button", "div", "form", "h2", "h3", "img", "input", "label", "li", "nav", "ol", "p", "select", "span", "svg", "ul"];
162
- type Primitives = {
163
- [E in (typeof NODES)[number]]: PrimitiveForwardRefComponent<E>;
164
- };
165
- type PrimitivePropsWithRef<E extends React.ElementType> = React.ComponentPropsWithRef<E> & {
166
- asChild?: boolean;
167
- };
168
- interface PrimitiveForwardRefComponent<E extends React.ElementType> extends React.ForwardRefExoticComponent<PrimitivePropsWithRef<E>> {
169
- }
170
- declare const Primitive: Primitives;
171
-
172
- declare const ORIENTATIONS: readonly ["horizontal", "vertical"];
173
- type Orientation = (typeof ORIENTATIONS)[number];
174
- type PrimitiveDivProps = React.ComponentPropsWithoutRef<typeof Primitive.div>;
175
- interface SeparatorProps extends PrimitiveDivProps {
176
- /**
177
- * Either `vertical` or `horizontal`. Defaults to `horizontal`.
178
- */
179
- orientation?: Orientation;
180
- /**
181
- * Whether or not the component is purely decorative. When true, accessibility-related attributes
182
- * are updated so that that the rendered element is removed from the accessibility tree.
183
- */
184
- decorative?: boolean;
185
- }
186
-
187
148
  declare const Separator: React.ForwardRefExoticComponent<any>;
188
149
 
189
150
  declare const NavigationMenu: React.ForwardRefExoticComponent<any>;
@@ -198,4 +159,4 @@ declare const NavigationMenuIndicator: React.ForwardRefExoticComponent<any>;
198
159
 
199
160
  declare function cn(...inputs: ClassValue[]): string;
200
161
 
201
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Badge, type BadgeProps, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, IconBox, type IconBoxProps, Input, type InputProps, Label, type LabelProps, Logo, type LogoProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Progress, type ProgressProps, Separator, type SeparatorProps, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Stat, type StatProps, Tag, type TagProps, Textarea, type TextareaProps, badgeVariants, buttonVariants, cn, iconBoxVariants, navigationMenuTriggerStyle, progressVariants, statVariants, tagVariants, valueVariants };
162
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Badge, type BadgeProps, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, IconBox, type IconBoxProps, Input, type InputProps, Label, Logo, type LogoProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Progress, type ProgressProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Stat, type StatProps, Tag, type TagProps, Textarea, type TextareaProps, badgeVariants, buttonVariants, cn, iconBoxVariants, navigationMenuTriggerStyle, progressVariants, statVariants, tagVariants, valueVariants };