dfh-ui-library 1.9.63 → 1.9.64
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/README.md +118 -118
- package/dist/cjs/index.css +1 -1
- package/dist/cjs/index.css.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/Button/Button.handler.d.ts +1 -1
- package/dist/cjs/types/components/Button/Button.stories.d.ts +2 -0
- package/dist/cjs/types/components/FilterButtonGroup/Checkbox.d.ts +1 -0
- package/dist/cjs/types/components/FormElements/IconInput/IconInput.handler.d.ts +1 -1
- package/dist/cjs/types/components/Media/Icons/Icons.d.ts +5 -0
- package/dist/cjs/types/components/NotesEditor/NoteEditor.d.ts +4 -0
- package/dist/cjs/types/components/NotesEditor/index.d.ts +1 -0
- package/dist/cjs/types/components/Timeline/NoteView.d.ts +7 -0
- package/dist/cjs/types/components/Timeline/Timeline.d.ts +4 -0
- package/dist/cjs/types/components/Timeline/TimelineEvent.d.ts +4 -0
- package/dist/cjs/types/components/Timeline/index.d.ts +1 -0
- package/dist/cjs/types/components/VersionDateDropdown/VersionDateDropdown.d.ts +4 -0
- package/dist/cjs/types/components/VersionDateDropdown/index.d.ts +1 -0
- package/dist/cjs/types/components/index.d.ts +3 -0
- package/dist/cjs/types/index.d.ts +2 -2
- package/dist/cjs/types/shared/models/components/base.model.d.ts +8 -6
- package/dist/cjs/types/shared/models/components/common.model.d.ts +61 -6
- package/dist/esm/index.css +1 -1
- package/dist/esm/index.css.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Button/Button.handler.d.ts +1 -1
- package/dist/esm/types/components/Button/Button.stories.d.ts +2 -0
- package/dist/esm/types/components/FilterButtonGroup/Checkbox.d.ts +1 -0
- package/dist/esm/types/components/FormElements/IconInput/IconInput.handler.d.ts +1 -1
- package/dist/esm/types/components/Media/Icons/Icons.d.ts +5 -0
- package/dist/esm/types/components/NotesEditor/NoteEditor.d.ts +4 -0
- package/dist/esm/types/components/NotesEditor/index.d.ts +1 -0
- package/dist/esm/types/components/Timeline/NoteView.d.ts +7 -0
- package/dist/esm/types/components/Timeline/Timeline.d.ts +4 -0
- package/dist/esm/types/components/Timeline/TimelineEvent.d.ts +4 -0
- package/dist/esm/types/components/Timeline/index.d.ts +1 -0
- package/dist/esm/types/components/VersionDateDropdown/VersionDateDropdown.d.ts +4 -0
- package/dist/esm/types/components/VersionDateDropdown/index.d.ts +1 -0
- package/dist/esm/types/components/index.d.ts +3 -0
- package/dist/esm/types/index.d.ts +2 -2
- package/dist/esm/types/shared/models/components/base.model.d.ts +8 -6
- package/dist/esm/types/shared/models/components/common.model.d.ts +61 -6
- package/dist/index.d.ts +51 -10
- package/package.json +106 -106
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Timeline";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./VersionDateDropdown";
|
|
@@ -38,3 +38,6 @@ export { default as DynamicDualInputTextGroupFormGen } from "./DynamicDualInputT
|
|
|
38
38
|
export { default as FilterButtonGroup } from "./FilterButtonGroup";
|
|
39
39
|
export { IndeterminateCheckbox } from "./Gird";
|
|
40
40
|
export { SelectUserWithButton } from "./SelectDropdownUser";
|
|
41
|
+
export { default as Timeline } from "./Timeline";
|
|
42
|
+
export { default as NoteEditor } from "./NotesEditor";
|
|
43
|
+
export { default as VersionDateDropdown } from "./VersionDateDropdown";
|
|
@@ -5,9 +5,9 @@ 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, ClickedAction, } from "./shared/models/components/common.model";
|
|
8
|
+
export { DropdownSearchProps, ClickedAction, TimelineEventProps, } from "./shared/models/components/common.model";
|
|
9
9
|
export { BtnOptionDropdown } from "./shared/models/components/common.model";
|
|
10
|
-
export { OptionProps } from "./shared/models/components/common.model";
|
|
10
|
+
export { OptionProps, NoteItemProps, } from "./shared/models/components/common.model";
|
|
11
11
|
export { ColumnDef, SortingState } from "@tanstack/react-table";
|
|
12
12
|
export { usePagination } from "./hooks/usePagination";
|
|
13
13
|
export { useSorting } from "./hooks/useSorting";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InputHTMLAttributes, SelectHTMLAttributes, TextareaHTMLAttributes } from "react";
|
|
2
2
|
import { IAdditionalClassesProp, IChildrenProp, IIconTypeProp, AlignmentType, IOnClickEventProps, TyphoTypes, TyphoComponents, IconHoverColorTypes, MessageTypes, InputType, IconType, LableTypes, ToolTipProps, selectedValue } from "./common.model";
|
|
3
|
-
export type VariantTypes = "large" | "small" | "extraSmall" | "largeOutlined" | "smallOutlined" | "extraSmallOutlined" | "default" | "defaultOutlined" | "primaryBlue" | "primaryWhite" | "primaryWhiteSelected" | "primaryWhiteNoBoader" | "primaryWhiteIcon" | "primaryRed" | "primaryFilterSelected" | "primaryBlueFilter" | undefined;
|
|
3
|
+
export type VariantTypes = "large" | "small" | "extraSmall" | "largeOutlined" | "smallOutlined" | "extraSmallOutlined" | "default" | "defaultOutlined" | "primaryBlue" | "primaryWhite" | "primaryWhiteSelected" | "primaryWhiteNoBoader" | "primaryWhiteIcon" | "primaryRed" | "primaryFilterSelected" | "primaryBlueFilter" | "smallWhite" | "smallWhiteSelected" | "smallBlue" | "primaryNoBoader" | undefined;
|
|
4
4
|
export interface IButtonProps extends IChildrenProp, IAdditionalClassesProp, IIconTypeProp, IOnClickEventProps {
|
|
5
5
|
/**
|
|
6
6
|
* Set the button type
|
|
@@ -86,7 +86,7 @@ export interface IHookFormsInputProps extends InputHTMLAttributes<HTMLInputEleme
|
|
|
86
86
|
/**
|
|
87
87
|
* Set new variant of the input
|
|
88
88
|
*/
|
|
89
|
-
inputVariant?: "default" | "large" | "dynamic" | "uploadinput";
|
|
89
|
+
inputVariant?: "default" | "large" | "dynamic" | "uploadinput" | "small" | "noborder";
|
|
90
90
|
/**
|
|
91
91
|
* Set Input name
|
|
92
92
|
*/
|
|
@@ -158,7 +158,9 @@ export interface IHookFormsInputProps extends InputHTMLAttributes<HTMLInputEleme
|
|
|
158
158
|
suffixed?: string;
|
|
159
159
|
labelLeftAction?: () => void;
|
|
160
160
|
labelLeftText?: string;
|
|
161
|
-
|
|
161
|
+
ref?: any;
|
|
162
|
+
inputFocus?: any;
|
|
163
|
+
refProps?: any;
|
|
162
164
|
}
|
|
163
165
|
export interface IFormGenInputProps {
|
|
164
166
|
/**
|
|
@@ -239,7 +241,6 @@ export interface IFormGenInputProps {
|
|
|
239
241
|
tooltipProps?: ToolTipProps;
|
|
240
242
|
selected?: selectedValue;
|
|
241
243
|
onSelect?: (selectedOption: selectedValue) => void;
|
|
242
|
-
viewMode?: boolean;
|
|
243
244
|
}
|
|
244
245
|
export interface ICheckboxProps {
|
|
245
246
|
onChange?: (checked: boolean) => void;
|
|
@@ -400,6 +401,9 @@ export interface IInputProps extends TextareaHTMLAttributes<HTMLTextAreaElement>
|
|
|
400
401
|
*/
|
|
401
402
|
onlyLabel?: boolean;
|
|
402
403
|
row?: number;
|
|
404
|
+
inputFocus?: any;
|
|
405
|
+
refProps?: any;
|
|
406
|
+
reSize?: string;
|
|
403
407
|
}
|
|
404
408
|
export interface ICardProps {
|
|
405
409
|
/**
|
|
@@ -512,8 +516,6 @@ export interface IPanelCardProps extends AdditionalClassesProp {
|
|
|
512
516
|
controllers?: React.ReactNode;
|
|
513
517
|
/** Content displayed within the panel. */
|
|
514
518
|
content?: React.ReactNode;
|
|
515
|
-
/** Classes for the panel content. */
|
|
516
|
-
contentClasses?: string | undefined;
|
|
517
519
|
}
|
|
518
520
|
export declare enum BorderType {
|
|
519
521
|
Dotted = "border-dotted",
|
|
@@ -324,6 +324,21 @@ export interface DropdownSearchProps {
|
|
|
324
324
|
listHeader?: string;
|
|
325
325
|
selected?: string;
|
|
326
326
|
}
|
|
327
|
+
export interface DropdownVersionProps {
|
|
328
|
+
options?: OptionProps[];
|
|
329
|
+
label?: string;
|
|
330
|
+
labelType?: LableTypes;
|
|
331
|
+
onSelectedValuesChange?: (selectedValue: OptionProps) => void;
|
|
332
|
+
buttonProps?: BtnOptionDropdown[];
|
|
333
|
+
defaultValue?: string;
|
|
334
|
+
additionalErrorClasses?: string;
|
|
335
|
+
error?: string;
|
|
336
|
+
additionalClasses?: string;
|
|
337
|
+
readOnly?: boolean;
|
|
338
|
+
isBorderedError?: boolean;
|
|
339
|
+
listHeader?: string;
|
|
340
|
+
selected?: string;
|
|
341
|
+
}
|
|
327
342
|
export interface UserDropdownProps {
|
|
328
343
|
options?: OptionProps[];
|
|
329
344
|
label?: string;
|
|
@@ -347,6 +362,16 @@ export interface UserDropdownProps {
|
|
|
347
362
|
edited?: boolean;
|
|
348
363
|
editedValue?: OptionProps;
|
|
349
364
|
}
|
|
365
|
+
export interface VersionDropDownProps {
|
|
366
|
+
options?: {
|
|
367
|
+
displayText: string;
|
|
368
|
+
value: string;
|
|
369
|
+
}[];
|
|
370
|
+
additionalClasses?: string;
|
|
371
|
+
onClick?: () => void;
|
|
372
|
+
selectedValues?: string;
|
|
373
|
+
handleSelectedValuesChange?: (selectedValue: string) => void;
|
|
374
|
+
}
|
|
350
375
|
export declare enum ClickedAction {
|
|
351
376
|
NONE = "NONE",
|
|
352
377
|
ADDME = "ADDME",
|
|
@@ -383,7 +408,7 @@ export interface ButtonGroupProps extends InputGroupProps {
|
|
|
383
408
|
onSelectedUsers?: (selectedOption: OptionProps[] | undefined) => void;
|
|
384
409
|
buttonGroupCol?: string;
|
|
385
410
|
onValueChange?: (value: string) => void;
|
|
386
|
-
|
|
411
|
+
buttonType?: string;
|
|
387
412
|
}
|
|
388
413
|
export interface ButtonGroupWithUploadProps extends InputGroupProps {
|
|
389
414
|
options: {
|
|
@@ -399,7 +424,6 @@ export interface ButtonGroupWithUploadProps extends InputGroupProps {
|
|
|
399
424
|
additionalClasses?: string;
|
|
400
425
|
onFileChange?: (file: File | null) => void;
|
|
401
426
|
secondaryComponentsVisible?: boolean;
|
|
402
|
-
viewMode?: boolean;
|
|
403
427
|
}
|
|
404
428
|
export interface PaginationProps {
|
|
405
429
|
pageSize: number;
|
|
@@ -432,7 +456,7 @@ export declare enum BADGETYPE {
|
|
|
432
456
|
PILLS = "pills",
|
|
433
457
|
LINK = "link"
|
|
434
458
|
}
|
|
435
|
-
export type BadgeColorVariant = "default" | "dark" | "red" | "green" | "yellow" | "indigo" | "purple" | "pink"
|
|
459
|
+
export type BadgeColorVariant = "default" | "dark" | "red" | "green" | "yellow" | "indigo" | "purple" | "pink";
|
|
436
460
|
interface IBadgePropsBase extends AdditionalClassesProp {
|
|
437
461
|
/** Type of badge based on predefined styles. */
|
|
438
462
|
badgeType?: BADGETYPE;
|
|
@@ -497,7 +521,6 @@ export interface FormGenButtonGroupProps extends FormGenInputGroupProps {
|
|
|
497
521
|
additionalClasses?: string;
|
|
498
522
|
onFileChange?: (file: File | null) => void;
|
|
499
523
|
secondaryComponentsVisible?: boolean;
|
|
500
|
-
viewMode?: boolean;
|
|
501
524
|
}
|
|
502
525
|
export interface selectedValue {
|
|
503
526
|
value?: any;
|
|
@@ -519,7 +542,6 @@ export interface DyanamicDualInputProps {
|
|
|
519
542
|
initObj?: any;
|
|
520
543
|
onSelect: (selectedOption: selectedValue) => void;
|
|
521
544
|
selected?: selectedValue;
|
|
522
|
-
viewMode?: boolean;
|
|
523
545
|
}
|
|
524
546
|
export interface DyanamicDualInputObject {
|
|
525
547
|
username?: string;
|
|
@@ -538,11 +560,44 @@ export interface DyanamicDualInputBaseProps {
|
|
|
538
560
|
inputValues?: DyanamicDualInputObject;
|
|
539
561
|
handleChange: (inputObj: string, value: string, index: number) => void;
|
|
540
562
|
currentIndex: number;
|
|
541
|
-
viewMode?: boolean;
|
|
542
563
|
}
|
|
543
564
|
export interface ICardInfoProps {
|
|
544
565
|
text?: string;
|
|
545
566
|
additionalClasses?: string;
|
|
546
567
|
HeaderText?: string;
|
|
547
568
|
}
|
|
569
|
+
export interface TimelineProps {
|
|
570
|
+
timelines: TimelineEventProps[];
|
|
571
|
+
showAll?: string;
|
|
572
|
+
handleEditItem?: (items: NoteItemProps[]) => void;
|
|
573
|
+
}
|
|
574
|
+
export interface TimelineEventProps {
|
|
575
|
+
dateTime?: string;
|
|
576
|
+
name?: string;
|
|
577
|
+
chalenges?: any;
|
|
578
|
+
notes?: NoteItemProps[];
|
|
579
|
+
lastModified?: string;
|
|
580
|
+
showAll?: string;
|
|
581
|
+
handleEditItem?: (items: NoteItemProps[]) => void;
|
|
582
|
+
}
|
|
583
|
+
export interface NoteProps {
|
|
584
|
+
headerNote?: string;
|
|
585
|
+
footerNote?: string;
|
|
586
|
+
noteOptions?: NoteOptionsProps[];
|
|
587
|
+
}
|
|
588
|
+
export interface NoteOptionsProps {
|
|
589
|
+
text?: string;
|
|
590
|
+
checked?: boolean;
|
|
591
|
+
}
|
|
592
|
+
export interface NoteItemProps {
|
|
593
|
+
isChecked?: boolean;
|
|
594
|
+
text?: string | undefined;
|
|
595
|
+
enableCheckbox?: boolean;
|
|
596
|
+
}
|
|
597
|
+
export interface NoteComponentProps {
|
|
598
|
+
onAdd?: (items: NoteItemProps[]) => void;
|
|
599
|
+
cancelAction?: () => void;
|
|
600
|
+
enableNoteButton?: boolean;
|
|
601
|
+
savedItems?: NoteItemProps[] | undefined;
|
|
602
|
+
}
|
|
548
603
|
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -311,6 +311,16 @@ interface UserDropdownProps {
|
|
|
311
311
|
edited?: boolean;
|
|
312
312
|
editedValue?: OptionProps;
|
|
313
313
|
}
|
|
314
|
+
interface VersionDropDownProps {
|
|
315
|
+
options?: {
|
|
316
|
+
displayText: string;
|
|
317
|
+
value: string;
|
|
318
|
+
}[];
|
|
319
|
+
additionalClasses?: string;
|
|
320
|
+
onClick?: () => void;
|
|
321
|
+
selectedValues?: string;
|
|
322
|
+
handleSelectedValuesChange?: (selectedValue: string) => void;
|
|
323
|
+
}
|
|
314
324
|
declare enum ClickedAction {
|
|
315
325
|
NONE = "NONE",
|
|
316
326
|
ADDME = "ADDME",
|
|
@@ -347,7 +357,7 @@ interface ButtonGroupProps extends InputGroupProps {
|
|
|
347
357
|
onSelectedUsers?: (selectedOption: OptionProps[] | undefined) => void;
|
|
348
358
|
buttonGroupCol?: string;
|
|
349
359
|
onValueChange?: (value: string) => void;
|
|
350
|
-
|
|
360
|
+
buttonType?: string;
|
|
351
361
|
}
|
|
352
362
|
interface ButtonGroupWithUploadProps extends InputGroupProps {
|
|
353
363
|
options: {
|
|
@@ -363,7 +373,6 @@ interface ButtonGroupWithUploadProps extends InputGroupProps {
|
|
|
363
373
|
additionalClasses?: string;
|
|
364
374
|
onFileChange?: (file: File | null) => void;
|
|
365
375
|
secondaryComponentsVisible?: boolean;
|
|
366
|
-
viewMode?: boolean;
|
|
367
376
|
}
|
|
368
377
|
interface PaginationProps {
|
|
369
378
|
pageSize: number;
|
|
@@ -398,7 +407,6 @@ interface FormGenButtonGroupProps extends FormGenInputGroupProps {
|
|
|
398
407
|
additionalClasses?: string;
|
|
399
408
|
onFileChange?: (file: File | null) => void;
|
|
400
409
|
secondaryComponentsVisible?: boolean;
|
|
401
|
-
viewMode?: boolean;
|
|
402
410
|
}
|
|
403
411
|
interface selectedValue {
|
|
404
412
|
value?: any;
|
|
@@ -420,7 +428,6 @@ interface DyanamicDualInputProps {
|
|
|
420
428
|
initObj?: any;
|
|
421
429
|
onSelect: (selectedOption: selectedValue) => void;
|
|
422
430
|
selected?: selectedValue;
|
|
423
|
-
viewMode?: boolean;
|
|
424
431
|
}
|
|
425
432
|
interface DyanamicDualInputObject {
|
|
426
433
|
username?: string;
|
|
@@ -432,8 +439,33 @@ interface ICardInfoProps {
|
|
|
432
439
|
additionalClasses?: string;
|
|
433
440
|
HeaderText?: string;
|
|
434
441
|
}
|
|
442
|
+
interface TimelineProps {
|
|
443
|
+
timelines: TimelineEventProps[];
|
|
444
|
+
showAll?: string;
|
|
445
|
+
handleEditItem?: (items: NoteItemProps[]) => void;
|
|
446
|
+
}
|
|
447
|
+
interface TimelineEventProps {
|
|
448
|
+
dateTime?: string;
|
|
449
|
+
name?: string;
|
|
450
|
+
chalenges?: any;
|
|
451
|
+
notes?: NoteItemProps[];
|
|
452
|
+
lastModified?: string;
|
|
453
|
+
showAll?: string;
|
|
454
|
+
handleEditItem?: (items: NoteItemProps[]) => void;
|
|
455
|
+
}
|
|
456
|
+
interface NoteItemProps {
|
|
457
|
+
isChecked?: boolean;
|
|
458
|
+
text?: string | undefined;
|
|
459
|
+
enableCheckbox?: boolean;
|
|
460
|
+
}
|
|
461
|
+
interface NoteComponentProps {
|
|
462
|
+
onAdd?: (items: NoteItemProps[]) => void;
|
|
463
|
+
cancelAction?: () => void;
|
|
464
|
+
enableNoteButton?: boolean;
|
|
465
|
+
savedItems?: NoteItemProps[] | undefined;
|
|
466
|
+
}
|
|
435
467
|
|
|
436
|
-
type VariantTypes = "large" | "small" | "extraSmall" | "largeOutlined" | "smallOutlined" | "extraSmallOutlined" | "default" | "defaultOutlined" | "primaryBlue" | "primaryWhite" | "primaryWhiteSelected" | "primaryWhiteNoBoader" | "primaryWhiteIcon" | "primaryRed" | "primaryFilterSelected" | "primaryBlueFilter" | undefined;
|
|
468
|
+
type VariantTypes = "large" | "small" | "extraSmall" | "largeOutlined" | "smallOutlined" | "extraSmallOutlined" | "default" | "defaultOutlined" | "primaryBlue" | "primaryWhite" | "primaryWhiteSelected" | "primaryWhiteNoBoader" | "primaryWhiteIcon" | "primaryRed" | "primaryFilterSelected" | "primaryBlueFilter" | "smallWhite" | "smallWhiteSelected" | "smallBlue" | "primaryNoBoader" | undefined;
|
|
437
469
|
interface IButtonProps extends IChildrenProp, IAdditionalClassesProp, IIconTypeProp, IOnClickEventProps {
|
|
438
470
|
/**
|
|
439
471
|
* Set the button type
|
|
@@ -519,7 +551,7 @@ interface IHookFormsInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
|
519
551
|
/**
|
|
520
552
|
* Set new variant of the input
|
|
521
553
|
*/
|
|
522
|
-
inputVariant?: "default" | "large" | "dynamic" | "uploadinput";
|
|
554
|
+
inputVariant?: "default" | "large" | "dynamic" | "uploadinput" | "small" | "noborder";
|
|
523
555
|
/**
|
|
524
556
|
* Set Input name
|
|
525
557
|
*/
|
|
@@ -591,7 +623,9 @@ interface IHookFormsInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
|
591
623
|
suffixed?: string;
|
|
592
624
|
labelLeftAction?: () => void;
|
|
593
625
|
labelLeftText?: string;
|
|
594
|
-
|
|
626
|
+
ref?: any;
|
|
627
|
+
inputFocus?: any;
|
|
628
|
+
refProps?: any;
|
|
595
629
|
}
|
|
596
630
|
interface ICheckboxProps {
|
|
597
631
|
onChange?: (checked: boolean) => void;
|
|
@@ -738,6 +772,9 @@ interface IInputProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
|
738
772
|
*/
|
|
739
773
|
onlyLabel?: boolean;
|
|
740
774
|
row?: number;
|
|
775
|
+
inputFocus?: any;
|
|
776
|
+
refProps?: any;
|
|
777
|
+
reSize?: string;
|
|
741
778
|
}
|
|
742
779
|
interface ICardProps {
|
|
743
780
|
/**
|
|
@@ -841,8 +878,6 @@ interface IPanelCardProps extends AdditionalClassesProp {
|
|
|
841
878
|
controllers?: React.ReactNode;
|
|
842
879
|
/** Content displayed within the panel. */
|
|
843
880
|
content?: React.ReactNode;
|
|
844
|
-
/** Classes for the panel content. */
|
|
845
|
-
contentClasses?: string | undefined;
|
|
846
881
|
}
|
|
847
882
|
|
|
848
883
|
declare const Button: ({ type, isDisabled, buttonLabel, iconType, iconColor, iconAlignment, isIconEnabled, variants, additionalClasses, iconClass, enableBagage, bagageProps, width, onClick, }: IButtonProps) => React__default.JSX.Element;
|
|
@@ -1034,6 +1069,12 @@ declare const FilterButtonGroup: React__default.FC<ButtonGroupProps>;
|
|
|
1034
1069
|
|
|
1035
1070
|
declare const SelectUserWithButton: React__default.FC<UserDropdownProps>;
|
|
1036
1071
|
|
|
1072
|
+
declare const Timeline: React__default.FC<TimelineProps>;
|
|
1073
|
+
|
|
1074
|
+
declare const NoteEditor: React__default.FC<NoteComponentProps>;
|
|
1075
|
+
|
|
1076
|
+
declare const VersionDateDropdown: React__default.FC<VersionDropDownProps>;
|
|
1077
|
+
|
|
1037
1078
|
interface UseSchemaProcessorProps {
|
|
1038
1079
|
schema: ISchema[];
|
|
1039
1080
|
externalSetComponents: (data: IComponent[]) => void;
|
|
@@ -1338,4 +1379,4 @@ declare const themeConfigs: {
|
|
|
1338
1379
|
plugins: any[];
|
|
1339
1380
|
};
|
|
1340
1381
|
|
|
1341
|
-
export { Breadcrumb, type BtnOptionDropdown, Button, ButtonGroup, ButtonGroupFormGen, ButtonGroupWithInputs, ButtonGroupWithInputsFormGen, ButtonGroupWithUpload, Card, Checkbox as CheckBox, ClickedAction, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, type DropdownSearchProps, DynamicDualInputTextGroupFormGen, FilterButtonGroup, Heading, Icon, IconInput, ImageInput, ImagePreview, IndeterminateCheckbox, InfoCard, Input, type InputType, InputValidation, InputsGroup, Label, LoadingSpinner, Logo, type LogoProps, Message, type MessageProps, Modal, NavBar, type OptionProps, PanelCard, PhoneNumberInput, ProgressBar, RadioButton, Row, SearchDropdownWithButton, Select, SelectUserWithButton, Stepper, Tab, TabList, TabPanel, Table, TagSelect as TagDropdown, TagSelect, Textarea, Tooltip, Typhography, useSchemaProcessor as UseSchemaProcessor, type VariantTypes, themeConfigs, usePagination, useSorting };
|
|
1382
|
+
export { Breadcrumb, type BtnOptionDropdown, Button, ButtonGroup, ButtonGroupFormGen, ButtonGroupWithInputs, ButtonGroupWithInputsFormGen, ButtonGroupWithUpload, Card, Checkbox as CheckBox, ClickedAction, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, type DropdownSearchProps, DynamicDualInputTextGroupFormGen, FilterButtonGroup, Heading, Icon, IconInput, ImageInput, ImagePreview, IndeterminateCheckbox, InfoCard, Input, type InputType, InputValidation, InputsGroup, Label, LoadingSpinner, Logo, type LogoProps, Message, type MessageProps, Modal, NavBar, NoteEditor, type NoteItemProps, type OptionProps, PanelCard, PhoneNumberInput, ProgressBar, RadioButton, Row, SearchDropdownWithButton, Select, SelectUserWithButton, Stepper, Tab, TabList, TabPanel, Table, TagSelect as TagDropdown, TagSelect, Textarea, Timeline, type TimelineEventProps, Tooltip, Typhography, useSchemaProcessor as UseSchemaProcessor, type VariantTypes, VersionDateDropdown, themeConfigs, usePagination, useSorting };
|
package/package.json
CHANGED
|
@@ -1,106 +1,106 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "dfh-ui-library",
|
|
3
|
-
"version": "1.9.
|
|
4
|
-
"description": "",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"rollup": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",
|
|
7
|
-
"storybook": "storybook dev -p 6006",
|
|
8
|
-
"build-storybook": "storybook build",
|
|
9
|
-
"test": "jest"
|
|
10
|
-
},
|
|
11
|
-
"author": "DFH dev",
|
|
12
|
-
"license": "ISC",
|
|
13
|
-
"dependencies": {
|
|
14
|
-
"@babel/preset-env": "^7.23.3",
|
|
15
|
-
"@babel/preset-react": "^7.23.3",
|
|
16
|
-
"@babel/preset-typescript": "^7.23.3",
|
|
17
|
-
"@faker-js/faker": "^8.3.1",
|
|
18
|
-
"@fontsource/inter": "^5.0.16",
|
|
19
|
-
"@rollup/plugin-sucrase": "^5.0.2",
|
|
20
|
-
"@rollup/plugin-terser": "^0.4.4",
|
|
21
|
-
"@tailwindcss/forms": "^0.5.7",
|
|
22
|
-
"@tanstack/react-table": "^8.11.3",
|
|
23
|
-
"@types/react": "^18.2.37",
|
|
24
|
-
"autoprefixer": "^10.4.16",
|
|
25
|
-
"classnames": "^2.3.2",
|
|
26
|
-
"formik": "^2.4.5",
|
|
27
|
-
"lodash": "^4.17.21",
|
|
28
|
-
"moment": "^2.29.4",
|
|
29
|
-
"react": "^18.2.0",
|
|
30
|
-
"react-datepicker": "^4.24.0",
|
|
31
|
-
"react-dom": "^18.2.0",
|
|
32
|
-
"react-input-mask": "^3.0.0-alpha.2",
|
|
33
|
-
"react-phone-number-input": "^3.3.7",
|
|
34
|
-
"react-select": "^5.8.0",
|
|
35
|
-
"react-tooltip": "^5.
|
|
36
|
-
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
37
|
-
"rollup-plugin-scss": "^4.0.0",
|
|
38
|
-
"tailwindcss": "^3.3.5",
|
|
39
|
-
"tsconfig-paths-webpack-plugin": "^4.1.0",
|
|
40
|
-
"tslib": "^2.6.2",
|
|
41
|
-
"typescript": "^5.2.2"
|
|
42
|
-
},
|
|
43
|
-
"devDependencies": {
|
|
44
|
-
"@rollup/plugin-commonjs": "^25.0.7",
|
|
45
|
-
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
46
|
-
"@rollup/plugin-typescript": "^11.1.5",
|
|
47
|
-
"@storybook/addon-actions": "^7.6.3",
|
|
48
|
-
"@storybook/addon-docs": "^7.5.3",
|
|
49
|
-
"@storybook/addon-essentials": "^7.5.3",
|
|
50
|
-
"@storybook/addon-interactions": "^7.5.3",
|
|
51
|
-
"@storybook/addon-links": "^7.5.3",
|
|
52
|
-
"@storybook/addon-onboarding": "^1.0.8",
|
|
53
|
-
"@storybook/addon-postcss": "^2.0.0",
|
|
54
|
-
"@storybook/blocks": "^7.5.3",
|
|
55
|
-
"@storybook/cli": "^7.5.3",
|
|
56
|
-
"@storybook/react": "^7.5.3",
|
|
57
|
-
"@storybook/react-webpack5": "^7.5.3",
|
|
58
|
-
"@storybook/testing-library": "^0.2.2",
|
|
59
|
-
"@storybook/theming": "^7.5.3",
|
|
60
|
-
"@testing-library/jest-dom": "^6.1.4",
|
|
61
|
-
"@testing-library/react": "^14.1.2",
|
|
62
|
-
"@testing-library/user-event": "^14.5.1",
|
|
63
|
-
"@types/jest": "^29.5.9",
|
|
64
|
-
"@types/react-datepicker": "^4.19.4",
|
|
65
|
-
"@typescript-eslint/eslint-plugin": "^6.12.0",
|
|
66
|
-
"@typescript-eslint/parser": "^6.12.0",
|
|
67
|
-
"autoprefixer": "^10.4.16",
|
|
68
|
-
"cssnano": "^6.0.1",
|
|
69
|
-
"eslint": "^8.54.0",
|
|
70
|
-
"eslint-plugin-react": "^7.33.2",
|
|
71
|
-
"jest": "^29.7.0",
|
|
72
|
-
"jest-environment-jsdom": "^29.7.0",
|
|
73
|
-
"postcss": "^8.4.31",
|
|
74
|
-
"postcss-cssnext": "^3.1.1",
|
|
75
|
-
"postcss-import": "^15.1.0",
|
|
76
|
-
"postcss-loader": "^7.3.3",
|
|
77
|
-
"rollup": "^4.5.0",
|
|
78
|
-
"rollup-plugin-css-only": "^4.5.2",
|
|
79
|
-
"rollup-plugin-dts": "^6.1.0",
|
|
80
|
-
"rollup-plugin-postcss": "^4.0.2",
|
|
81
|
-
"storybook": "^7.5.3",
|
|
82
|
-
"sugarss": "^4.0.1",
|
|
83
|
-
"vite": "^5.0.0"
|
|
84
|
-
},
|
|
85
|
-
"peerDependencies": {
|
|
86
|
-
"@tailwindcss/forms": "^0.5.7",
|
|
87
|
-
"autoprefixer": "^10.4.16",
|
|
88
|
-
"classnames": "^2.3.2",
|
|
89
|
-
"cssnano": "^6.0.1",
|
|
90
|
-
"lodash": "^4.17.21",
|
|
91
|
-
"moment": "^2.29.4",
|
|
92
|
-
"postcss": "^8.4.31",
|
|
93
|
-
"postcss-cssnext": "^3.1.1",
|
|
94
|
-
"postcss-import": "^15.1.0",
|
|
95
|
-
"postcss-loader": "^7.3.3",
|
|
96
|
-
"react": "^18.2.0",
|
|
97
|
-
"react-dom": "^18.2.0",
|
|
98
|
-
"tailwindcss": "^3.3.5"
|
|
99
|
-
},
|
|
100
|
-
"main": "dist/cjs/index.js",
|
|
101
|
-
"module": "dist/esm/index.js",
|
|
102
|
-
"files": [
|
|
103
|
-
"dist"
|
|
104
|
-
],
|
|
105
|
-
"types": "dist/index.d.ts"
|
|
106
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "dfh-ui-library",
|
|
3
|
+
"version": "1.9.64",
|
|
4
|
+
"description": "",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"rollup": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",
|
|
7
|
+
"storybook": "storybook dev -p 6006",
|
|
8
|
+
"build-storybook": "storybook build",
|
|
9
|
+
"test": "jest"
|
|
10
|
+
},
|
|
11
|
+
"author": "DFH dev",
|
|
12
|
+
"license": "ISC",
|
|
13
|
+
"dependencies": {
|
|
14
|
+
"@babel/preset-env": "^7.23.3",
|
|
15
|
+
"@babel/preset-react": "^7.23.3",
|
|
16
|
+
"@babel/preset-typescript": "^7.23.3",
|
|
17
|
+
"@faker-js/faker": "^8.3.1",
|
|
18
|
+
"@fontsource/inter": "^5.0.16",
|
|
19
|
+
"@rollup/plugin-sucrase": "^5.0.2",
|
|
20
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
21
|
+
"@tailwindcss/forms": "^0.5.7",
|
|
22
|
+
"@tanstack/react-table": "^8.11.3",
|
|
23
|
+
"@types/react": "^18.2.37",
|
|
24
|
+
"autoprefixer": "^10.4.16",
|
|
25
|
+
"classnames": "^2.3.2",
|
|
26
|
+
"formik": "^2.4.5",
|
|
27
|
+
"lodash": "^4.17.21",
|
|
28
|
+
"moment": "^2.29.4",
|
|
29
|
+
"react": "^18.2.0",
|
|
30
|
+
"react-datepicker": "^4.24.0",
|
|
31
|
+
"react-dom": "^18.2.0",
|
|
32
|
+
"react-input-mask": "^3.0.0-alpha.2",
|
|
33
|
+
"react-phone-number-input": "^3.3.7",
|
|
34
|
+
"react-select": "^5.8.0",
|
|
35
|
+
"react-tooltip": "^5.26.3",
|
|
36
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
37
|
+
"rollup-plugin-scss": "^4.0.0",
|
|
38
|
+
"tailwindcss": "^3.3.5",
|
|
39
|
+
"tsconfig-paths-webpack-plugin": "^4.1.0",
|
|
40
|
+
"tslib": "^2.6.2",
|
|
41
|
+
"typescript": "^5.2.2"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@rollup/plugin-commonjs": "^25.0.7",
|
|
45
|
+
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
46
|
+
"@rollup/plugin-typescript": "^11.1.5",
|
|
47
|
+
"@storybook/addon-actions": "^7.6.3",
|
|
48
|
+
"@storybook/addon-docs": "^7.5.3",
|
|
49
|
+
"@storybook/addon-essentials": "^7.5.3",
|
|
50
|
+
"@storybook/addon-interactions": "^7.5.3",
|
|
51
|
+
"@storybook/addon-links": "^7.5.3",
|
|
52
|
+
"@storybook/addon-onboarding": "^1.0.8",
|
|
53
|
+
"@storybook/addon-postcss": "^2.0.0",
|
|
54
|
+
"@storybook/blocks": "^7.5.3",
|
|
55
|
+
"@storybook/cli": "^7.5.3",
|
|
56
|
+
"@storybook/react": "^7.5.3",
|
|
57
|
+
"@storybook/react-webpack5": "^7.5.3",
|
|
58
|
+
"@storybook/testing-library": "^0.2.2",
|
|
59
|
+
"@storybook/theming": "^7.5.3",
|
|
60
|
+
"@testing-library/jest-dom": "^6.1.4",
|
|
61
|
+
"@testing-library/react": "^14.1.2",
|
|
62
|
+
"@testing-library/user-event": "^14.5.1",
|
|
63
|
+
"@types/jest": "^29.5.9",
|
|
64
|
+
"@types/react-datepicker": "^4.19.4",
|
|
65
|
+
"@typescript-eslint/eslint-plugin": "^6.12.0",
|
|
66
|
+
"@typescript-eslint/parser": "^6.12.0",
|
|
67
|
+
"autoprefixer": "^10.4.16",
|
|
68
|
+
"cssnano": "^6.0.1",
|
|
69
|
+
"eslint": "^8.54.0",
|
|
70
|
+
"eslint-plugin-react": "^7.33.2",
|
|
71
|
+
"jest": "^29.7.0",
|
|
72
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
73
|
+
"postcss": "^8.4.31",
|
|
74
|
+
"postcss-cssnext": "^3.1.1",
|
|
75
|
+
"postcss-import": "^15.1.0",
|
|
76
|
+
"postcss-loader": "^7.3.3",
|
|
77
|
+
"rollup": "^4.5.0",
|
|
78
|
+
"rollup-plugin-css-only": "^4.5.2",
|
|
79
|
+
"rollup-plugin-dts": "^6.1.0",
|
|
80
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
81
|
+
"storybook": "^7.5.3",
|
|
82
|
+
"sugarss": "^4.0.1",
|
|
83
|
+
"vite": "^5.0.0"
|
|
84
|
+
},
|
|
85
|
+
"peerDependencies": {
|
|
86
|
+
"@tailwindcss/forms": "^0.5.7",
|
|
87
|
+
"autoprefixer": "^10.4.16",
|
|
88
|
+
"classnames": "^2.3.2",
|
|
89
|
+
"cssnano": "^6.0.1",
|
|
90
|
+
"lodash": "^4.17.21",
|
|
91
|
+
"moment": "^2.29.4",
|
|
92
|
+
"postcss": "^8.4.31",
|
|
93
|
+
"postcss-cssnext": "^3.1.1",
|
|
94
|
+
"postcss-import": "^15.1.0",
|
|
95
|
+
"postcss-loader": "^7.3.3",
|
|
96
|
+
"react": "^18.2.0",
|
|
97
|
+
"react-dom": "^18.2.0",
|
|
98
|
+
"tailwindcss": "^3.3.5"
|
|
99
|
+
},
|
|
100
|
+
"main": "dist/cjs/index.js",
|
|
101
|
+
"module": "dist/esm/index.js",
|
|
102
|
+
"files": [
|
|
103
|
+
"dist"
|
|
104
|
+
],
|
|
105
|
+
"types": "dist/index.d.ts"
|
|
106
|
+
}
|