@agility/plenum-ui 1.3.0 → 1.3.3

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.
@@ -35,6 +35,10 @@ export interface ButtonProps {
35
35
  */
36
36
  isSubmit?: boolean;
37
37
  isWidthFull?: boolean;
38
+ /**
39
+ * Add on classes
40
+ */
41
+ className?: string;
38
42
  }
39
43
  /**
40
44
  * Primary UI component for user interaction
@@ -0,0 +1,12 @@
1
+ import { FC } from "react";
2
+ import "../../tailwind.css";
3
+ import { ButtonProps } from "../Button/Button";
4
+ import { DropdownProps } from "../Dropdown";
5
+ export interface ButtonDropDownProps {
6
+ button: ButtonProps;
7
+ dropDown: DropdownProps;
8
+ }
9
+ /**
10
+ * Primary UI component for user interaction
11
+ */
12
+ export declare const ButtonDropDown: FC<ButtonDropDownProps>;
@@ -0,0 +1,8 @@
1
+ import { Meta } from '@storybook/react/types-6-0';
2
+ import { Story } from '@storybook/react';
3
+ import { ButtonDropDownProps } from './ButtonDropdown';
4
+ declare const _default: Meta<import("@storybook/react").Args>;
5
+ export default _default;
6
+ export declare const Primary: Story<ButtonDropDownProps>;
7
+ export declare const Secondary: Story<ButtonDropDownProps>;
8
+ export declare const Alternative: Story<ButtonDropDownProps>;
@@ -0,0 +1 @@
1
+ export * from './ButtonDropdown';
@@ -13,6 +13,9 @@ export interface DropdownProps {
13
13
  IconElement: JSXElementConstructor<unknown>;
14
14
  label?: string;
15
15
  className?: string;
16
+ menuClassName?: string;
17
+ itemsClassName?: string;
18
+ itemClassName?: string;
16
19
  yPosition?: "top" | "bottom";
17
20
  xPosition?: "left" | "right";
18
21
  }
@@ -18,7 +18,7 @@ export interface BaseFieldProps {
18
18
  /** Max length of input character */
19
19
  maxLength?: number;
20
20
  /** Input style classes */
21
- inputStyles?: string;
21
+ className?: string;
22
22
  /** Callback on change */
23
23
  onChange?(value: string): void;
24
24
  /** Callback on onFocus */
@@ -6,6 +6,8 @@ export interface InputSelectProps {
6
6
  inputOptions: SelectOptions[];
7
7
  /** Onclick callback */
8
8
  onSelectOption?(value: string): void;
9
+ className?: string;
10
+ isDisabled?: boolean;
9
11
  }
10
12
  /** Comment */
11
13
  export declare const InputSelect: FC<InputSelectProps>;