dfh-ui-library 1.3.34 → 1.3.36

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";
@@ -121,6 +121,7 @@ export interface ImagePreviewProps {
121
121
  text?: string;
122
122
  isSmall?: boolean;
123
123
  bgColor?: string;
124
+ textClasses?: string;
124
125
  }
125
126
  export interface ImageInputProps {
126
127
  imageUrl?: string;
@@ -275,7 +276,7 @@ export interface OptionProps {
275
276
  iconText: string;
276
277
  imageUrl?: string;
277
278
  bgColor?: string;
278
- clickedAction?: string;
279
+ clickedAction?: ClickedAction;
279
280
  }
280
281
  export interface BtnOptionDropdown {
281
282
  btnLabel: string;
@@ -294,8 +295,12 @@ export interface DropdownSearchProps {
294
295
  additionalClasses?: string;
295
296
  readOnly?: boolean;
296
297
  isBorderedError?: boolean;
297
- AddMeBtnClick: () => void;
298
- AddUnregisterBtnClick: () => void;
298
+ }
299
+ export declare enum ClickedAction {
300
+ NONE = "NONE",
301
+ ADDME = "ADDME",
302
+ ADDREGISTERED = "ADDREGISTERED",
303
+ ADDUNREGISTERED = "ADDUNREGISTERED"
299
304
  }
300
305
  export type LableTypes = "default" | "black" | "smallSelect" | "blackSmall" | "formLabel" | "formLabelMedeum";
301
306
  export interface ButtonGroupProps {
package/dist/index.d.ts CHANGED
@@ -85,6 +85,7 @@ interface ImagePreviewProps {
85
85
  text?: string;
86
86
  isSmall?: boolean;
87
87
  bgColor?: string;
88
+ textClasses?: string;
88
89
  }
89
90
  interface ImageInputProps {
90
91
  imageUrl?: string;
@@ -239,7 +240,7 @@ interface OptionProps {
239
240
  iconText: string;
240
241
  imageUrl?: string;
241
242
  bgColor?: string;
242
- clickedAction?: string;
243
+ clickedAction?: ClickedAction;
243
244
  }
244
245
  interface BtnOptionDropdown {
245
246
  btnLabel: string;
@@ -258,8 +259,12 @@ interface DropdownSearchProps {
258
259
  additionalClasses?: string;
259
260
  readOnly?: boolean;
260
261
  isBorderedError?: boolean;
261
- AddMeBtnClick: () => void;
262
- AddUnregisterBtnClick: () => void;
262
+ }
263
+ declare enum ClickedAction {
264
+ NONE = "NONE",
265
+ ADDME = "ADDME",
266
+ ADDREGISTERED = "ADDREGISTERED",
267
+ ADDUNREGISTERED = "ADDUNREGISTERED"
263
268
  }
264
269
  type LableTypes = "default" | "black" | "smallSelect" | "blackSmall" | "formLabel" | "formLabelMedeum";
265
270
  interface ButtonGroupProps {
@@ -818,4 +823,4 @@ declare function useSorting(initialField?: string, initialOrder?: string): {
818
823
  field: string;
819
824
  };
820
825
 
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 };
826
+ 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.36",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "rollup": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",