@agility/plenum-ui 2.1.19-rc3 → 2.1.20-rc2
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 +28 -5
- package/dist/index.js +1 -1
- package/dist/index.js.map +4 -4
- package/dist/tailwind.css +30 -0
- package/dist/types/stories/index.d.ts +3 -3
- package/dist/types/stories/organisms/DropdownWithMultiSelect/DropdownItems.d.ts +2 -0
- package/dist/types/stories/organisms/DropdownWithMultiSelect/DropdownWithMultiSelect.d.ts +14 -0
- package/dist/types/stories/organisms/index.d.ts +3 -2
- package/package.json +1 -1
- package/stories/index.ts +15 -11
- package/stories/molecules/inputs/select/Select.tsx +1 -7
- package/stories/organisms/DropdownWithMultiSelect/DropdownItems.ts +219 -0
- package/stories/organisms/DropdownWithMultiSelect/DropdownWithMultiSelect.stories.tsx +29 -0
- package/stories/organisms/DropdownWithMultiSelect/DropdownWithMultiSelect.tsx +63 -0
- package/stories/organisms/index.ts +15 -12
package/dist/index.d.ts
CHANGED
|
@@ -421,9 +421,9 @@ declare module '@agility/plenum-ui/stories/atoms/loaders/index' {
|
|
|
421
421
|
declare module '@agility/plenum-ui/stories/index' {
|
|
422
422
|
import { IAvatarProps, IBadgeProps, IButtonProps, ICapsuleProps, IDynamicIconProps, IIconWithShadowProps, ILoaderProps, IRadialProgressProps, UnifiedIconName, IconName, FAIconName, BTNActionType, Avatar, Badge, Button, Capsule, DynamicIcon, IconWithShadow, Loader, RadialProgress, isFAIcon, isHeroIcon, isTablerIcon, isUnifiedIconName } from "@agility/plenum-ui/stories/atoms/index";
|
|
423
423
|
import { ICheckboxProps, IComboboxProps, IInputFieldProps, IInputLabelProps, INestedInputButtonProps, IRadioProps, ISelectProps, ITextareaProps, IToggleSwitchProps, AcceptedInputTypes, Checkbox, Combobox, InputField, InputLabel, NestedInputButton, Radio, Select, Textarea, ToggleSwitch, TextInput, ITextInputProps, ISimpleSelectOptions } from "@agility/plenum-ui/stories/molecules/index";
|
|
424
|
-
import { IAnimatedLabelInputProps, AnimatedLabelTextArea, IAnimatedLabelTextAreaProps, IButtonDropdownProps, IDropdownProps, IEmptySectionPlaceholderProps, IItemProp, IFormInputWithAddonsProps, AnimatedLabelInput, ButtonDropdown, Dropdown, EmptySectionPlaceholder, FormInputWithAddons, TextInputSelect, ITextInputSelectProps, IAnimatedFormInputWithAddons, AnimatedFormInputWithAddons } from "@agility/plenum-ui/stories/organisms/index";
|
|
425
|
-
export type { IAvatarProps, IBadgeProps, IButtonProps, ICapsuleProps, ITextInputSelectProps, IDynamicIconProps, IIconWithShadowProps, ILoaderProps, IRadialProgressProps, ICheckboxProps, IComboboxProps, IInputFieldProps, IInputLabelProps, INestedInputButtonProps, IRadioProps, ISelectProps, ITextareaProps, IToggleSwitchProps, AcceptedInputTypes, IAnimatedLabelInputProps, IAnimatedLabelTextAreaProps, IButtonDropdownProps, IDropdownProps, IEmptySectionPlaceholderProps, IItemProp, IFormInputWithAddonsProps, UnifiedIconName, IconName, FAIconName, BTNActionType, ITextInputProps, ISimpleSelectOptions, IAnimatedFormInputWithAddons };
|
|
426
|
-
export { Avatar, Checkbox, Combobox, InputField, InputLabel, NestedInputButton, Radio, Select, Textarea, ToggleSwitch, AnimatedLabelInput, AnimatedLabelTextArea, ButtonDropdown, Dropdown, EmptySectionPlaceholder, FormInputWithAddons, Badge, Button, Capsule, DynamicIcon, IconWithShadow, Loader, RadialProgress, isFAIcon, isHeroIcon, isTablerIcon, isUnifiedIconName, TextInput, TextInputSelect, AnimatedFormInputWithAddons };
|
|
424
|
+
import { IAnimatedLabelInputProps, AnimatedLabelTextArea, IAnimatedLabelTextAreaProps, IButtonDropdownProps, IDropdownProps, IEmptySectionPlaceholderProps, IItemProp, IFormInputWithAddonsProps, AnimatedLabelInput, ButtonDropdown, Dropdown, EmptySectionPlaceholder, FormInputWithAddons, TextInputSelect, ITextInputSelectProps, IAnimatedFormInputWithAddons, AnimatedFormInputWithAddons, DropdownWithMultiSelect, MultiSelectItemProps } from "@agility/plenum-ui/stories/organisms/index";
|
|
425
|
+
export type { IAvatarProps, IBadgeProps, IButtonProps, ICapsuleProps, ITextInputSelectProps, IDynamicIconProps, IIconWithShadowProps, ILoaderProps, IRadialProgressProps, ICheckboxProps, IComboboxProps, IInputFieldProps, IInputLabelProps, INestedInputButtonProps, IRadioProps, ISelectProps, ITextareaProps, IToggleSwitchProps, AcceptedInputTypes, IAnimatedLabelInputProps, IAnimatedLabelTextAreaProps, IButtonDropdownProps, IDropdownProps, IEmptySectionPlaceholderProps, IItemProp, IFormInputWithAddonsProps, UnifiedIconName, IconName, FAIconName, BTNActionType, ITextInputProps, ISimpleSelectOptions, IAnimatedFormInputWithAddons, MultiSelectItemProps };
|
|
426
|
+
export { Avatar, Checkbox, Combobox, InputField, InputLabel, NestedInputButton, Radio, Select, Textarea, ToggleSwitch, AnimatedLabelInput, AnimatedLabelTextArea, ButtonDropdown, Dropdown, EmptySectionPlaceholder, FormInputWithAddons, Badge, Button, Capsule, DynamicIcon, IconWithShadow, Loader, RadialProgress, isFAIcon, isHeroIcon, isTablerIcon, isUnifiedIconName, TextInput, TextInputSelect, AnimatedFormInputWithAddons, DropdownWithMultiSelect };
|
|
427
427
|
|
|
428
428
|
}
|
|
429
429
|
declare module '@agility/plenum-ui/stories/molecules/index' {
|
|
@@ -1031,6 +1031,28 @@ declare module '@agility/plenum-ui/stories/organisms/DropdownComponent/index' {
|
|
|
1031
1031
|
export { defaultClassNames };
|
|
1032
1032
|
export default Dropdown;
|
|
1033
1033
|
|
|
1034
|
+
}
|
|
1035
|
+
declare module '@agility/plenum-ui/stories/organisms/DropdownWithMultiSelect/DropdownItems' {
|
|
1036
|
+
import { MultiSelectItemProps } from "@agility/plenum-ui/stories/organisms/DropdownWithMultiSelect/DropdownWithMultiSelect";
|
|
1037
|
+
export const dropdownDataBase: MultiSelectItemProps[];
|
|
1038
|
+
|
|
1039
|
+
}
|
|
1040
|
+
declare module '@agility/plenum-ui/stories/organisms/DropdownWithMultiSelect/DropdownWithMultiSelect' {
|
|
1041
|
+
/// <reference types="react" />
|
|
1042
|
+
export interface MultiSelectItemProps {
|
|
1043
|
+
label: string;
|
|
1044
|
+
onClick?(): void;
|
|
1045
|
+
key: React.Key;
|
|
1046
|
+
isSelected: boolean;
|
|
1047
|
+
}
|
|
1048
|
+
interface Props {
|
|
1049
|
+
label: string;
|
|
1050
|
+
options: MultiSelectItemProps[];
|
|
1051
|
+
type: "checkbox" | "radio";
|
|
1052
|
+
}
|
|
1053
|
+
const DropdownWithMultiSelect: ({ label, options, type }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
1054
|
+
export default DropdownWithMultiSelect;
|
|
1055
|
+
|
|
1034
1056
|
}
|
|
1035
1057
|
declare module '@agility/plenum-ui/stories/organisms/EmptySectionPlaceholder/EmptySectionPlaceholder' {
|
|
1036
1058
|
import React from "react";
|
|
@@ -1179,8 +1201,9 @@ declare module '@agility/plenum-ui/stories/organisms/index' {
|
|
|
1179
1201
|
import FormInputWithAddons, { IFormInputWithAddonsProps } from "@agility/plenum-ui/stories/organisms/FormInputWithAddons/index";
|
|
1180
1202
|
import TextInputSelect, { ITextInputSelectProps } from "@agility/plenum-ui/stories/organisms/TextInputSelect/index";
|
|
1181
1203
|
import AnimatedFormInputWithAddons, { IAnimatedFormInputWithAddons } from "@agility/plenum-ui/stories/organisms/AnimatedFormInputWithAddons/index";
|
|
1182
|
-
|
|
1183
|
-
export {
|
|
1204
|
+
import DropdownWithMultiSelect, { MultiSelectItemProps } from "@agility/plenum-ui/stories/organisms/DropdownWithMultiSelect/DropdownWithMultiSelect";
|
|
1205
|
+
export type { IAnimatedLabelInputProps, IAnimatedLabelTextAreaProps, IButtonDropdownProps, IDropdownProps, IEmptySectionPlaceholderProps, IItemProp, IFormInputWithAddonsProps, ITextInputSelectProps, IAnimatedFormInputWithAddons, MultiSelectItemProps };
|
|
1206
|
+
export { AnimatedLabelInput, AnimatedLabelTextArea, ButtonDropdown, Dropdown, EmptySectionPlaceholder, FormInputWithAddons, TextInputSelect, AnimatedFormInputWithAddons, DropdownWithMultiSelect };
|
|
1184
1207
|
|
|
1185
1208
|
}
|
|
1186
1209
|
declare module '@agility/plenum-ui/utils/types' {
|