@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.
- package/lib/components/Button/Button.d.ts +4 -0
- package/lib/components/ButtonDropdown/ButtonDropdown.d.ts +12 -0
- package/lib/components/ButtonDropdown/ButtonDropdown.stories.d.ts +8 -0
- package/lib/components/ButtonDropdown/index.d.ts +1 -0
- package/lib/components/Dropdown/Dropdown.d.ts +3 -0
- package/lib/components/Forms/BaseField/BaseField.d.ts +1 -1
- package/lib/components/Forms/TextInputSelect/InputSelect/InputSelect.d.ts +2 -0
- package/lib/index.css +1866 -0
- package/lib/index.esm.css +1866 -0
- package/lib/index.esm.js +72 -58
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +72 -58
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/tailwind.config.js +18 -1
|
@@ -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
|
-
|
|
21
|
+
className?: string;
|
|
22
22
|
/** Callback on change */
|
|
23
23
|
onChange?(value: string): void;
|
|
24
24
|
/** Callback on onFocus */
|