dawn-ui-react 1.0.0-alpha.17 → 1.0.0-alpha.19

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.
@@ -1,5 +1,5 @@
1
- import { V as e, X as t, Z as n } from "./form-context-D2zlNF0l.js";
2
- import { F as r, K as i, c as a, i as o, n as s, o as c, p as l, r as u, s as d, t as f } from "./useLabelableId-C8TWIYiH.js";
1
+ import { V as e, X as t, Z as n } from "./form-context-CB4ds-qf.js";
2
+ import { F as r, K as i, c as a, i as o, n as s, o as c, p as l, r as u, s as d, t as f } from "./useLabelableId-u8XPP_En.js";
3
3
  import * as p from "react";
4
4
  import { jsx as m } from "react/jsx-runtime";
5
5
  //#region node_modules/.pnpm/@base-ui+react@1.4.1_@types+react@19.2.14_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@base-ui/react/esm/field/control/FieldControl.js
@@ -1,5 +1,5 @@
1
- import { A as e, C as t, D as n, E as r, F as i, G as a, I as o, J as s, K as c, L as l, M as u, N as d, O as f, P as p, Q as m, R as h, S as g, T as _, V as v, W as y, X as b, Z as x, j as S, k as C, w, x as T, z as E } from "./form-context-D2zlNF0l.js";
2
- import { C as D, I as ee, W as O, c as k, f as A, l as j, p as M, s as N, u as te } from "./useLabelableId-C8TWIYiH.js";
1
+ import { A as e, C as t, D as n, E as r, F as i, G as a, I as o, J as s, K as c, L as l, M as u, N as d, O as f, P as p, Q as m, R as h, S as g, T as _, V as v, W as y, X as b, Z as x, j as S, k as C, w, x as T, z as E } from "./form-context-CB4ds-qf.js";
2
+ import { C as D, I as ee, W as O, c as k, f as A, l as j, p as M, s as N, u as te } from "./useLabelableId-u8XPP_En.js";
3
3
  import * as P from "react";
4
4
  import { useLayoutEffect as ne } from "react";
5
5
  import { jsx as F, jsxs as I } from "react/jsx-runtime";
@@ -1,2 +1,2 @@
1
1
  import { InputProps } from './input.types';
2
- export declare const Input: ({ variant, size, className, ref, ...props }: InputProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Input: ({ compact, variant, size, className, ref, ...props }: InputProps) => import("react/jsx-runtime").JSX.Element;
@@ -5,4 +5,6 @@ export declare const inputVariants: (props?: ({
5
5
  variant?: "primary" | "secondary" | null | undefined;
6
6
  size?: "small" | "large" | "medium" | null | undefined;
7
7
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
8
- export type InputProps = VariantProps<typeof inputVariants> & Omit<ComponentProps<typeof BaseInput>, 'size'>;
8
+ export type InputProps = VariantProps<typeof inputVariants> & Omit<ComponentProps<typeof BaseInput>, 'size'> & {
9
+ compact?: boolean;
10
+ };
@@ -1,2 +1,2 @@
1
1
  import { ScrollAreaProps } from './scroll-area.types';
2
- export declare const ScrollArea: ({ orientation, defaultHeight, className, children, ref, ...props }: ScrollAreaProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const ScrollArea: ({ defaultHeight, orientation, variant, className, children, ref, ...props }: ScrollAreaProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,10 @@
1
+ import { VariantProps } from 'class-variance-authority';
1
2
  import { ScrollArea as BaseScrollArea } from '@base-ui/react/scroll-area';
2
3
  import { ComponentProps } from 'react';
3
- export type ScrollAreaProps = ComponentProps<typeof BaseScrollArea.Root> & {
4
- orientation?: 'horizontal' | 'vertical';
4
+ export declare const scrollAreaVariants: (props?: ({
5
+ orientation?: "horizontal" | "vertical" | null | undefined;
6
+ variant?: "ghost" | "outline" | "default" | null | undefined;
7
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
8
+ export type ScrollAreaProps = ComponentProps<typeof BaseScrollArea.Root> & VariantProps<typeof scrollAreaVariants> & {
5
9
  defaultHeight?: number;
6
10
  };