dfh-ui-library 1.3.34 → 1.3.35

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.
@@ -5,7 +5,7 @@ export { InputType } from "./shared/models/components/common.model";
5
5
  export { LogoProps } from "./shared/models/components/base.model";
6
6
  export { MessageProps } from "./shared/models/components/common.model";
7
7
  export { VariantTypes } from "./shared/models/components/base.model";
8
- export { DropdownSearchProps } from "./shared/models/components/common.model";
8
+ export { DropdownSearchProps, ClickedAction } from "./shared/models/components/common.model";
9
9
  export { BtnOptionDropdown } from "./shared/models/components/common.model";
10
10
  export { OptionProps } from "./shared/models/components/common.model";
11
11
  export { ColumnDef, SortingState } from "@tanstack/react-table";
@@ -275,7 +275,7 @@ export interface OptionProps {
275
275
  iconText: string;
276
276
  imageUrl?: string;
277
277
  bgColor?: string;
278
- clickedAction?: string;
278
+ clickedAction?: ClickedAction;
279
279
  }
280
280
  export interface BtnOptionDropdown {
281
281
  btnLabel: string;
@@ -294,8 +294,12 @@ export interface DropdownSearchProps {
294
294
  additionalClasses?: string;
295
295
  readOnly?: boolean;
296
296
  isBorderedError?: boolean;
297
- AddMeBtnClick: () => void;
298
- AddUnregisterBtnClick: () => void;
297
+ }
298
+ export declare enum ClickedAction {
299
+ NONE = "NONE",
300
+ ADDME = "ADDME",
301
+ ADDREGISTERED = "ADDREGISTERED",
302
+ ADDUNREGISTERED = "ADDUNREGISTERED"
299
303
  }
300
304
  export type LableTypes = "default" | "black" | "smallSelect" | "blackSmall" | "formLabel" | "formLabelMedeum";
301
305
  export interface ButtonGroupProps {
package/dist/index.d.ts CHANGED
@@ -239,7 +239,7 @@ interface OptionProps {
239
239
  iconText: string;
240
240
  imageUrl?: string;
241
241
  bgColor?: string;
242
- clickedAction?: string;
242
+ clickedAction?: ClickedAction;
243
243
  }
244
244
  interface BtnOptionDropdown {
245
245
  btnLabel: string;
@@ -258,8 +258,12 @@ interface DropdownSearchProps {
258
258
  additionalClasses?: string;
259
259
  readOnly?: boolean;
260
260
  isBorderedError?: boolean;
261
- AddMeBtnClick: () => void;
262
- AddUnregisterBtnClick: () => void;
261
+ }
262
+ declare enum ClickedAction {
263
+ NONE = "NONE",
264
+ ADDME = "ADDME",
265
+ ADDREGISTERED = "ADDREGISTERED",
266
+ ADDUNREGISTERED = "ADDUNREGISTERED"
263
267
  }
264
268
  type LableTypes = "default" | "black" | "smallSelect" | "blackSmall" | "formLabel" | "formLabelMedeum";
265
269
  interface ButtonGroupProps {
@@ -818,4 +822,4 @@ declare function useSorting(initialField?: string, initialOrder?: string): {
818
822
  field: string;
819
823
  };
820
824
 
821
- export { Breadcrumb, type BtnOptionDropdown, Button, ButtonGroup, Card, Checkbox as CheckBox, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, type DropdownSearchProps, Heading, Icon, IconInput, ImageInput, ImagePreview, Input, type InputType, InputValidation, Label, LoadingSpinner, Logo, type LogoProps, Message, type MessageProps, Modal, NavBar, type OptionProps, PhoneNumberInput, RadioButton, Row, SearchDropdownWithButton, Select, Table, TagSelect as TagDropdown, TagSelect, Textarea, Tooltip, Typhography, useSchemaProcessor as UseSchemaProcessor, type VariantTypes, usePagination, useSorting };
825
+ export { Breadcrumb, type BtnOptionDropdown, Button, ButtonGroup, Card, Checkbox as CheckBox, ClickedAction, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, type DropdownSearchProps, Heading, Icon, IconInput, ImageInput, ImagePreview, Input, type InputType, InputValidation, Label, LoadingSpinner, Logo, type LogoProps, Message, type MessageProps, Modal, NavBar, type OptionProps, PhoneNumberInput, RadioButton, Row, SearchDropdownWithButton, Select, Table, TagSelect as TagDropdown, TagSelect, Textarea, Tooltip, Typhography, useSchemaProcessor as UseSchemaProcessor, type VariantTypes, usePagination, useSorting };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dfh-ui-library",
3
- "version": "1.3.34",
3
+ "version": "1.3.35",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "rollup": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",