dawn-ui-react 1.0.0-alpha.36 → 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.
- package/dist/components/bento-box/bento-box-action.d.ts +2 -0
- package/dist/components/bento-box/bento-box-content.d.ts +2 -0
- package/dist/components/bento-box/bento-box-description.d.ts +2 -0
- package/dist/components/bento-box/bento-box-footer.d.ts +2 -0
- package/dist/components/bento-box/bento-box-header.d.ts +2 -0
- package/dist/components/bento-box/bento-box-title.d.ts +2 -0
- package/dist/components/bento-box/bento-box.d.ts +2 -0
- package/dist/components/bento-box/bento-box.types.d.ts +11 -0
- package/dist/components/bento-box/index.d.ts +8 -0
- package/dist/components/color-picker/color-picker.d.ts +1 -1
- package/dist/components/color-picker/color-picker.types.d.ts +2 -2
- package/dist/components/index.d.ts +1 -0
- package/dist/components/table/table.types.d.ts +1 -0
- package/dist/dawn-ui-react.js +13211 -13145
- package/dist/dawn-ui-react.umd.cjs +36 -36
- package/package.json +1 -1
|
@@ -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,
|
|
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
|
-
|
|
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;
|
|
@@ -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?: {
|