@wavv/ui 1.8.7 → 1.8.9

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.
@@ -2,6 +2,20 @@ import { ChartProps } from './ChartHelpers';
2
2
  type Props = {
3
3
  /** Stacks multiple data points within a single bar */
4
4
  stacked?: boolean;
5
+ /** Orients the bars outward from the Y axis */
6
+ vertical?: boolean;
7
+ /** The gap between two bars in the same category */
8
+ barGap?: number;
9
+ /** The gap between two bar categories */
10
+ barCategoryGap?: number;
11
+ /** The thickness of each bar */
12
+ barSize?: number;
13
+ /** The maximum thickness of each bar */
14
+ maxBarSize?: number;
15
+ /** Removes the labels from the Y axis */
16
+ hideYLabels?: boolean;
17
+ /** Removes the labels from the X axis */
18
+ hideXLabels?: boolean;
5
19
  } & ChartProps;
6
- declare const BarChart: ({ data, legend, keys, stacked, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
20
+ declare const BarChart: ({ data, legend, keys, stacked, barGap, barCategoryGap, barSize, maxBarSize, vertical, hideYLabels, hideXLabels, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
7
21
  export default BarChart;
@@ -20,7 +20,8 @@ export type ChartProps = {
20
20
  /** Allows the chart to grow and shrink (default if no explicit width) */
21
21
  responsive?: boolean;
22
22
  } & Margin & WidthHeight;
23
- export declare const ChartStyles: () => import("react/jsx-runtime").JSX.Element;
23
+ export declare const VerticalStyles: () => import("react/jsx-runtime").JSX.Element;
24
+ export declare const HorizontalStyles: () => import("react/jsx-runtime").JSX.Element;
24
25
  export declare const ChartContainer: import("@emotion/styled").StyledComponent<{
25
26
  theme?: import("@emotion/react").Theme | undefined;
26
27
  as?: import("react").ElementType<any> | undefined;
@@ -16,6 +16,10 @@ declare const DraftEditor: import("react").ForwardRefExoticComponent<{
16
16
  mergeFields?: MergeField[] | undefined;
17
17
  /** Placeholder text of editor when value is empty */
18
18
  placeholder?: string | undefined;
19
+ /** Places a description message below the editor */
20
+ description?: string | undefined;
21
+ /** Sets the Editor's bottom border and description text to red */
22
+ invalid?: boolean | undefined;
19
23
  /** Width of the editor */
20
24
  width?: string | number | undefined;
21
25
  /** Height of the editor */
@@ -37,6 +37,12 @@ export declare const Label: import("@emotion/styled").StyledComponent<{
37
37
  focused?: boolean | undefined;
38
38
  disabled?: boolean | undefined;
39
39
  } & ThemeProp, import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {}>;
40
+ export declare const Description: import("@emotion/styled").StyledComponent<{
41
+ theme?: import("@emotion/react").Theme | undefined;
42
+ as?: import("react").ElementType<any> | undefined;
43
+ } & {
44
+ invalid?: boolean | undefined;
45
+ } & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
40
46
  declare const _default: {
41
47
  Container: import("@emotion/styled").StyledComponent<{
42
48
  theme?: import("@emotion/react").Theme | undefined;
@@ -68,6 +74,12 @@ declare const _default: {
68
74
  focused?: boolean | undefined;
69
75
  disabled?: boolean | undefined;
70
76
  } & ThemeProp, import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {}>;
77
+ Description: import("@emotion/styled").StyledComponent<{
78
+ theme?: import("@emotion/react").Theme | undefined;
79
+ as?: import("react").ElementType<any> | undefined;
80
+ } & {
81
+ invalid?: boolean | undefined;
82
+ } & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
71
83
  useInputFocus: (onFocus?: FocusCallBack | undefined, onBlur?: FocusCallBack | undefined, focusCondition?: boolean) => {
72
84
  focused: boolean;
73
85
  handleFocus: (event?: InputFocusEvent | undefined) => void;