dfh-ui-library 1.2.41 → 1.2.43

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.
@@ -0,0 +1 @@
1
+ export { default } from "./ButtonGroup";
@@ -20,3 +20,4 @@ export { default as CustomFileInput } from "./CustomFileInput";
20
20
  export { Heading } from "./core/Heading";
21
21
  export { default as TagDropdown } from "./TagDropdown";
22
22
  export { default as SearchDropdownWithButton } from "./SearchDropdownWithButton";
23
+ export { default as ButtonGroup } from "./ButtonGroup";
@@ -219,6 +219,12 @@ export interface DropdownSearchProps {
219
219
  labelType?: LableTypes;
220
220
  onSelectedValuesChange?: (selectedValue: OptionProps) => void;
221
221
  buttonProps?: BtnOptionDropdown[];
222
+ defaultValue?: string;
223
+ additionalErrorClasses?: string;
224
+ error?: string;
225
+ additionalClasses?: string;
226
+ readOnly?: boolean;
227
+ isBorderedError?: boolean;
222
228
  }
223
229
  export type LableTypes = "default" | "black" | "smallSelect" | "blackSmall" | "formLabel" | "formLabelMedeum";
224
230
  export interface ButtonGroupProps {
package/dist/index.d.ts CHANGED
@@ -178,8 +178,19 @@ interface DropdownSearchProps {
178
178
  labelType?: LableTypes;
179
179
  onSelectedValuesChange?: (selectedValue: OptionProps) => void;
180
180
  buttonProps?: BtnOptionDropdown[];
181
+ defaultValue?: string;
182
+ additionalErrorClasses?: string;
183
+ error?: string;
184
+ additionalClasses?: string;
185
+ readOnly?: boolean;
186
+ isBorderedError?: boolean;
181
187
  }
182
188
  type LableTypes = "default" | "black" | "smallSelect" | "blackSmall" | "formLabel" | "formLabelMedeum";
189
+ interface ButtonGroupProps {
190
+ options: string[];
191
+ onSelect: (selectedOption: string) => void;
192
+ label?: string;
193
+ }
183
194
 
184
195
  type VariantTypes = "large" | "small" | "extraSmall" | "largeOutlined" | "smallOutlined" | "extraSmallOutlined" | "default" | "defaultOutlined" | "primaryBlue" | "primaryWhite" | "primaryWhiteSelected" | "primaryWhiteNoBoader" | undefined;
185
196
  interface IButtonProps extends IChildrenProp, IAdditionalClassesProp, IIconTypeProp, IOnClickEventProps {
@@ -633,6 +644,8 @@ declare const DropdownMultiselect: React$1.FC<DropdownMultiselectProps>;
633
644
 
634
645
  declare const SearchDropdownWithButton: React$1.FC<DropdownSearchProps>;
635
646
 
647
+ declare const ButtonGroup: React$1.FC<ButtonGroupProps>;
648
+
636
649
  interface UseSchemaProcessorProps {
637
650
  schema: ISchema[];
638
651
  externalSetComponents: (data: IComponent[]) => void;
@@ -641,4 +654,4 @@ declare const useSchemaProcessor: ({ schema, externalSetComponents, }: UseSchema
641
654
  componentsRtn: IComponent[] | undefined;
642
655
  };
643
656
 
644
- export { Breadcrumb, Button, Card, Checkbox as CheckBox, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, Heading, IconInput, ImagePreview, Input, type InputType, InputValidation, Label, LoadingSpinner, Logo, type LogoProps, Message, type MessageProps, Modal, NavBar, PhoneNumberInput, RadioButton, Row, SearchDropdownWithButton, Select, DropdownMultiselect as TagDropdown, Textarea, Tooltip, Typhography, useSchemaProcessor as UseSchemaProcessor, type VariantTypes };
657
+ export { Breadcrumb, Button, ButtonGroup, Card, Checkbox as CheckBox, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, Heading, IconInput, ImagePreview, Input, type InputType, InputValidation, Label, LoadingSpinner, Logo, type LogoProps, Message, type MessageProps, Modal, NavBar, PhoneNumberInput, RadioButton, Row, SearchDropdownWithButton, Select, DropdownMultiselect as TagDropdown, Textarea, Tooltip, Typhography, useSchemaProcessor as UseSchemaProcessor, type VariantTypes };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dfh-ui-library",
3
- "version": "1.2.41",
3
+ "version": "1.2.43",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "rollup": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",