@agility/plenum-ui 2.3.3 → 2.3.4
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/index.d.ts +6 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +3 -3
- package/dist/tailwind.css +5 -0
- package/dist/types/stories/molecules/inputs/select/Select.d.ts +6 -0
- package/package.json +1 -1
- package/stories/molecules/inputs/select/Select.stories.tsx +19 -0
- package/stories/molecules/inputs/select/Select.tsx +31 -3
package/dist/index.d.ts
CHANGED
|
@@ -861,6 +861,11 @@ declare module '@agility/plenum-ui/stories/molecules/inputs/select/Select' {
|
|
|
861
861
|
description?: string;
|
|
862
862
|
caption?: string;
|
|
863
863
|
}
|
|
864
|
+
interface LabelAction {
|
|
865
|
+
label: string;
|
|
866
|
+
onClick: () => void;
|
|
867
|
+
className?: string;
|
|
868
|
+
}
|
|
864
869
|
export interface ISelectProps {
|
|
865
870
|
/** Label */
|
|
866
871
|
label?: string;
|
|
@@ -887,6 +892,7 @@ declare module '@agility/plenum-ui/stories/molecules/inputs/select/Select' {
|
|
|
887
892
|
placeholder?: string;
|
|
888
893
|
dropdownMaxHeight?: number;
|
|
889
894
|
dropdownMaxWidth?: number;
|
|
895
|
+
labelAction?: LabelAction;
|
|
890
896
|
}
|
|
891
897
|
const Select: React.FC<ISelectProps>;
|
|
892
898
|
export default Select;
|