get-elementa-ui 1.11.6 → 1.14.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.
@@ -0,0 +1,11 @@
1
+ import { type VariantProps } from 'class-variance-authority';
2
+ import { Separator } from '@/src/components/ui/separator';
3
+ declare const buttonGroupVariants: (props?: ({
4
+ orientation?: "horizontal" | "vertical" | null | undefined;
5
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
6
+ declare function ButtonGroup({ className, orientation, ...props }: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>): import("react/jsx-runtime").JSX.Element;
7
+ declare function ButtonGroupText({ className, asChild, ...props }: React.ComponentProps<'div'> & {
8
+ asChild?: boolean;
9
+ }): import("react/jsx-runtime").JSX.Element;
10
+ declare function ButtonGroupSeparator({ className, orientation, ...props }: React.ComponentProps<typeof Separator>): import("react/jsx-runtime").JSX.Element;
11
+ export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants };
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ import { Label as LabelPrimitive } from 'radix-ui';
3
+ declare function Label({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ export { Label };
@@ -0,0 +1,2 @@
1
+ declare function Spinner({ className, ...props }: React.ComponentProps<'svg'>): import("react/jsx-runtime").JSX.Element;
2
+ export { Spinner };
@@ -1,6 +1,24 @@
1
- import { TextProps } from '@/src/lib/types';
1
+ export declare enum TextVariant {
2
+ H1 = 0,
3
+ H2 = 1,
4
+ H3 = 2,
5
+ H4 = 3,
6
+ H5 = 4,
7
+ H6 = 5,
8
+ Body = 6,
9
+ Button = 7,
10
+ Subtitle1 = 8,
11
+ Subtitle2 = 9,
12
+ Caption = 10,
13
+ Custom = 11
14
+ }
15
+ export interface TextProps {
16
+ variant?: TextVariant;
17
+ color?: string;
18
+ children: React.ReactNode;
19
+ className?: string;
20
+ }
2
21
  /**
3
22
  * This function renders the Text component for the library.
4
23
  */
5
- declare function Text({ variant, color, children, customClassName }: TextProps): import("react/jsx-runtime").JSX.Element;
6
- export { Text };
24
+ export declare function Text({ variant, color, children, className }: TextProps): import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "get-elementa-ui",
3
- "version": "1.11.6",
3
+ "version": "1.14.0",
4
4
  "description": "Elementa UI components library.",
5
5
  "homepage": "https://deriva.xyz/branding",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.esm.js",
8
8
  "types": "dist/types/index.d.ts",
9
- "style": "dist/style.css",
9
+ "style": "dist/styles.css",
10
10
  "repository": {
11
11
  "type": "git",
12
12
  "url": "git+https://github.com/deriva-inc/elementa-ui.git"
@@ -82,6 +82,7 @@
82
82
  "@tailwindcss/postcss": "^4.2.1",
83
83
  "class-variance-authority": "^0.7.1",
84
84
  "clsx": "^2.1.1",
85
+ "elementa-icons": "^1.63.0",
85
86
  "lucide-react": "^0.575.0",
86
87
  "postcss": "^8.5.8",
87
88
  "postcss-url": "^10.1.3",
@@ -1,22 +0,0 @@
1
- declare enum TextVariant {
2
- H1 = 0,
3
- H2 = 1,
4
- H3 = 2,
5
- H4 = 3,
6
- H5 = 4,
7
- H6 = 5,
8
- Body = 6,
9
- Button = 7,
10
- Subtitle1 = 8,
11
- Subtitle2 = 9,
12
- Caption = 10,
13
- Custom = 11
14
- }
15
- interface TextProps {
16
- variant?: TextVariant;
17
- color?: string;
18
- children: React.ReactNode;
19
- customClassName?: string;
20
- }
21
- export { TextVariant };
22
- export type { TextProps };