dawn-ui-react 1.0.0-alpha.35 → 1.0.0-alpha.37

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,2 @@
1
+ import { BentoBoxActionProps } from './bento-box.types';
2
+ export declare const BentoBoxAction: ({ className, children, ref, ...props }: BentoBoxActionProps) => import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { BentoBoxContentProps } from './bento-box.types';
2
+ export declare const BentoBoxContent: ({ className, children, ref, ...props }: BentoBoxContentProps) => import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { BentoBoxDescriptionProps } from './bento-box.types';
2
+ export declare const BentoBoxDescription: ({ className, children, ref, ...props }: BentoBoxDescriptionProps) => import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { BentoBoxFooterProps } from './bento-box.types';
2
+ export declare const BentoBoxFooter: ({ className, children, ref, ...props }: BentoBoxFooterProps) => import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { BentoBoxHeaderProps } from './bento-box.types';
2
+ export declare const BentoBoxHeader: ({ className, children, ref, ...props }: BentoBoxHeaderProps) => import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { BentoBoxTitleProps } from './bento-box.types';
2
+ export declare const BentoBoxTitle: ({ className, children, ref, ...props }: BentoBoxTitleProps) => import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { BentoBoxProps } from './bento-box.types';
2
+ export declare const BentoBox: ({ size, className, children, ref, ...props }: BentoBoxProps) => import("react").JSX.Element;
@@ -0,0 +1,11 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ export declare const bentoBoxVariants: (props?: ({
3
+ size?: "small" | "large" | "medium" | null | undefined;
4
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
5
+ export type BentoBoxProps = React.ComponentProps<'div'> & VariantProps<typeof bentoBoxVariants>;
6
+ export type BentoBoxHeaderProps = React.ComponentProps<'div'>;
7
+ export type BentoBoxTitleProps = React.ComponentProps<'span'>;
8
+ export type BentoBoxContentProps = React.ComponentProps<'div'>;
9
+ export type BentoBoxDescriptionProps = React.ComponentProps<'span'>;
10
+ export type BentoBoxActionProps = React.ComponentProps<'div'>;
11
+ export type BentoBoxFooterProps = React.ComponentProps<'div'>;
@@ -0,0 +1,8 @@
1
+ export type { BentoBoxActionProps, BentoBoxContentProps, BentoBoxDescriptionProps, BentoBoxFooterProps, BentoBoxHeaderProps, BentoBoxProps, BentoBoxTitleProps, } from './bento-box.types';
2
+ export { BentoBox } from './bento-box';
3
+ export { BentoBoxAction } from './bento-box-action';
4
+ export { BentoBoxContent } from './bento-box-content';
5
+ export { BentoBoxDescription } from './bento-box-description';
6
+ export { BentoBoxFooter } from './bento-box-footer';
7
+ export { BentoBoxHeader } from './bento-box-header';
8
+ export { BentoBoxTitle } from './bento-box-title';
@@ -1,4 +1,4 @@
1
1
  import { default as React } from 'react';
2
2
  import { ColorPickerProps, ColorPickerContextType } from './color-picker.types';
3
- export declare const ColorPicker: ({ variant, color: controlledValue, defaultColor, palette: controlledPalette, defaultPalette, onPaletteChange, paletteLimit, defaultValueType, onValueChange, className, children, ref, ...props }: ColorPickerProps) => React.JSX.Element;
3
+ export declare const ColorPicker: ({ variant, value: controlledValue, defaultColor, palette: controlledPalette, defaultPalette, onPaletteChange, paletteLimit, defaultValueType, onValueChange, className, children, ref, ...props }: ColorPickerProps) => React.JSX.Element;
4
4
  export declare const useColorPicker: () => ColorPickerContextType;
@@ -64,14 +64,14 @@ export type ColorPickerAction = {
64
64
  color: chroma.Color;
65
65
  };
66
66
  export type ColorPickerProps = React.ComponentProps<'div'> & VariantProps<typeof colorPickerVariants> & {
67
- color?: string;
67
+ value?: string;
68
+ onValueChange?: (color: string) => void;
68
69
  defaultColor?: string;
69
70
  palette?: string[];
70
71
  defaultPalette?: string[];
71
72
  onPaletteChange?: (palette: string[]) => void;
72
73
  paletteLimit?: number;
73
74
  defaultValueType?: ValueTypeValue;
74
- onValueChange?: (color: chroma.Color) => void;
75
75
  };
76
76
  export declare const colorPickerVariants: (props?: ({
77
77
  variant?: "ghost" | "outline" | "elevated" | null | undefined;
@@ -4,6 +4,7 @@ export * from './alert-dialog';
4
4
  export * from './autocomplete';
5
5
  export * from './avatar';
6
6
  export * from './badge';
7
+ export * from './bento-box';
7
8
  export * from './breadcrumb';
8
9
  export * from './button';
9
10
  export * from './button-group';
@@ -105,6 +105,7 @@ export interface TableColumnMeta {
105
105
  filterVariant?: 'range' | 'select' | 'date' | 'string' | 'number';
106
106
  }
107
107
  export interface TableMeta {
108
+ viewMode?: 'table' | 'grid';
108
109
  translations?: {
109
110
  filterOperatorLabels?: Partial<Record<FilterOperator, string>>;
110
111
  buttonLabels?: {