@nicorp/nui 0.1.0 → 0.1.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.d.ts CHANGED
@@ -96,6 +96,11 @@ export declare const badgeVariants: (props?: ({
96
96
  variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
97
97
  } & ClassProp) | undefined) => string;
98
98
 
99
+ export declare function Blockquote({ className, ...props }: BlockquoteProps): JSX.Element;
100
+
101
+ export declare interface BlockquoteProps extends React_2.HTMLAttributes<HTMLQuoteElement> {
102
+ }
103
+
99
104
  export declare const Box: React_2.ForwardRefExoticComponent<BoxProps & React_2.RefAttributes<HTMLDivElement>>;
100
105
 
101
106
  export declare interface BoxProps extends React_2.HTMLAttributes<HTMLDivElement> {
@@ -187,6 +192,8 @@ export declare const Checkbox: React_2.ForwardRefExoticComponent<Omit<CheckboxPr
187
192
 
188
193
  export declare function cn(...inputs: ClassValue[]): string;
189
194
 
195
+ export declare function Code({ className, ...props }: CodeProps): JSX.Element;
196
+
190
197
  export declare function CodeBlock({ code, language, showLineNumbers, className, }: CodeBlockProps): JSX.Element;
191
198
 
192
199
  export declare interface CodeBlockProps {
@@ -196,6 +203,9 @@ export declare interface CodeBlockProps {
196
203
  className?: string;
197
204
  }
198
205
 
206
+ export declare interface CodeProps extends React_2.HTMLAttributes<HTMLElement> {
207
+ }
208
+
199
209
  export declare const Collapsible: React_2.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & React_2.RefAttributes<HTMLDivElement>>;
200
210
 
201
211
  export declare const CollapsibleContent: React_2.ForwardRefExoticComponent<Omit<CollapsiblePrimitive.CollapsibleContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
@@ -498,6 +508,16 @@ export declare interface GridProps extends React_2.HTMLAttributes<HTMLDivElement
498
508
  gap?: number | string;
499
509
  }
500
510
 
511
+ export declare function Heading({ className, level, as, children, ...props }: HeadingProps): JSX.Element;
512
+
513
+ export declare interface HeadingProps extends React_2.HTMLAttributes<HTMLHeadingElement>, VariantProps<typeof headingVariants> {
514
+ as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
515
+ }
516
+
517
+ export declare const headingVariants: (props?: ({
518
+ level?: 1 | 2 | 4 | 3 | 5 | 6 | null | undefined;
519
+ } & ClassProp) | undefined) => string;
520
+
501
521
  export declare const HoverCard: React_2.FC<HoverCardPrimitive.HoverCardProps>;
502
522
 
503
523
  export declare const HoverCardContent: React_2.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
@@ -512,6 +532,16 @@ export declare type InputProps = React_2.InputHTMLAttributes<HTMLInputElement>;
512
532
 
513
533
  export declare const Label: React_2.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React_2.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: ClassProp | undefined) => string> & React_2.RefAttributes<HTMLLabelElement>>;
514
534
 
535
+ export declare function Lead({ className, ...props }: LeadProps): JSX.Element;
536
+
537
+ export declare interface LeadProps extends React_2.HTMLAttributes<HTMLParagraphElement> {
538
+ }
539
+
540
+ export declare function Muted({ className, ...props }: MutedProps): JSX.Element;
541
+
542
+ export declare interface MutedProps extends React_2.HTMLAttributes<HTMLParagraphElement> {
543
+ }
544
+
515
545
  export declare const NavigationMenu: React_2.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuProps & React_2.RefAttributes<HTMLElement>, "ref"> & React_2.RefAttributes<HTMLElement>>;
516
546
 
517
547
  export declare const NavigationMenuContent: React_2.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
@@ -733,10 +763,26 @@ export declare interface TagInputProps {
733
763
  maxTags?: number;
734
764
  }
735
765
 
766
+ declare function Text_2({ className, size, weight, variant, leading, as: Tag, children, ...props }: TextProps): JSX.Element;
767
+ export { Text_2 as Text }
768
+
736
769
  export declare const Textarea: React_2.ForwardRefExoticComponent<TextareaProps & React_2.RefAttributes<HTMLTextAreaElement>>;
737
770
 
738
771
  export declare type TextareaProps = React_2.TextareaHTMLAttributes<HTMLTextAreaElement>;
739
772
 
773
+ export declare interface TextProps extends VariantProps<typeof textVariants> {
774
+ as?: "p" | "span" | "div";
775
+ className?: string;
776
+ children?: React_2.ReactNode;
777
+ }
778
+
779
+ export declare const textVariants: (props?: ({
780
+ size?: "sm" | "lg" | "base" | "xl" | "xs" | null | undefined;
781
+ weight?: "bold" | "normal" | "medium" | "semibold" | null | undefined;
782
+ variant?: "default" | "destructive" | "muted" | "primary" | "success" | null | undefined;
783
+ leading?: "normal" | "tight" | "relaxed" | null | undefined;
784
+ } & ClassProp) | undefined) => string;
785
+
740
786
  export declare function TimePicker({ value, onChange, is24Hour, disabled, className, }: TimePickerProps): JSX.Element;
741
787
 
742
788
  export declare interface TimePickerProps {