dfh-ui-library 1.10.11 → 1.10.13

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 "./Typho";
@@ -44,3 +44,5 @@ export { default as NoteEditor } from "./NotesEditor";
44
44
  export { default as VersionDateDropdown } from "./VersionDateDropdown";
45
45
  export { default as SortDropdown } from "./SortDropdown";
46
46
  export { default as PreviousDataBadge } from "./PreviousDataBadge";
47
+ export { default as ListRow } from "./ListRow";
48
+ export { default as Typho } from "./Typho";
@@ -4,7 +4,7 @@ export * from "./hooks";
4
4
  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
- export { VariantTypes } from "./shared/models/components/base.model";
7
+ export { VariantTypes, BorderType, } from "./shared/models/components/base.model";
8
8
  export { DropdownSearchProps, ClickedAction, TimelineEventProps, } from "./shared/models/components/common.model";
9
9
  export { BtnOptionDropdown } from "./shared/models/components/common.model";
10
10
  export { OptionProps, NoteItemProps, } from "./shared/models/components/common.model";
package/dist/index.d.ts CHANGED
@@ -34,7 +34,7 @@ interface IOnClickEventProps {
34
34
  onClick?: () => void;
35
35
  }
36
36
  type InputType = "text" | "email" | "password" | "name" | "date";
37
- type TyphoTypes = "h1" | "h1Bold" | "h1ExtraBold" | "h2" | "h2Bold" | "h2ExtraBold" | "h10" | "h10Bold" | "h10ExtraBold" | "h6" | "h6Bold" | "h6ExtraBold" | "header1" | "header2" | "label1" | "label2" | "p" | "authHeader" | "inforTextNormal" | "inforTextGray" | "linkTextNormal" | "linkTextMedium" | "textMediumGray" | "textSectionHeader";
37
+ type TyphoTypes$1 = "h1" | "h1Bold" | "h1ExtraBold" | "h2" | "h2Bold" | "h2ExtraBold" | "h10" | "h10Bold" | "h10ExtraBold" | "h6" | "h6Bold" | "h6ExtraBold" | "header1" | "header2" | "label1" | "label2" | "p" | "authHeader" | "inforTextNormal" | "inforTextGray" | "linkTextNormal" | "linkTextMedium" | "textMediumGray" | "textSectionHeader";
38
38
  type TyphoComponents = "p" | "span" | "em" | "div" | undefined;
39
39
  interface IInputValidationProps {
40
40
  /**
@@ -543,7 +543,7 @@ interface ITyphographyProps extends IChildrenProp, IAdditionalClassesProp {
543
543
  /**
544
544
  * Set element type
545
545
  */
546
- type?: TyphoTypes;
546
+ type?: TyphoTypes$1;
547
547
  /**
548
548
  * Set element node of the content wrapper
549
549
  */
@@ -923,6 +923,33 @@ interface IPanelCardProps extends AdditionalClassesProp {
923
923
  backButtonClick?: () => void;
924
924
  isLoading?: boolean;
925
925
  }
926
+ declare enum BorderType {
927
+ Dotted = "border-dotted",
928
+ Dashed = "border-dashed",
929
+ CustomDashed = "custom-dashed-border",
930
+ Solid = "border-solid",
931
+ Double = "border-double",
932
+ Groove = "border-groove",
933
+ Ridge = "border-ridge",
934
+ Inset = "border-inset",
935
+ Outset = "border-outset",
936
+ WideDash = "dotted-spaced-bottom",
937
+ None = "border-none"
938
+ }
939
+ interface IListRowProps extends AdditionalClassesProp {
940
+ /** Header title displayed on list row. */
941
+ title: string | React.ReactNode;
942
+ /** Sub title displayed on list row. */
943
+ subTitle?: string | React.ReactNode;
944
+ /** labels on list row. */
945
+ labels?: string[];
946
+ /** Controllers displayed on right side of list row. */
947
+ controllers: React.ReactNode | any;
948
+ /** List Row button border type */
949
+ bottomBorderType?: BorderType;
950
+ bottomContent?: React.ReactNode;
951
+ onFocus?: () => void;
952
+ }
926
953
 
927
954
  declare const Button: ({ type, isDisabled, buttonLabel, iconType, iconColor, iconAlignment, isIconEnabled, variants, additionalClasses, iconClass, enableBagage, bagageProps, width, onClick, }: IButtonProps) => React__default.JSX.Element;
928
955
 
@@ -1128,6 +1155,50 @@ declare const PreviousDataBadge: React__default.FC<{
1128
1155
  lastEditedDate?: string;
1129
1156
  }>;
1130
1157
 
1158
+ declare const ListRow: React__default.FC<IListRowProps>;
1159
+
1160
+ type TyphoTypes = "p" | "span" | "strong" | "em" | "div" | undefined;
1161
+ type TyphoColorTypes = "white" | "gray" | "grey540" | "gray720" | "black" | "black650" | "blue" | "inherit" | string;
1162
+ type TyphoFontSizeTypes = "h1" | "14s" | "8s" | "9s" | "10s" | "11s" | "12s" | "16s" | "17s" | "18s" | "20s" | "21s" | "24s" | "25s" | "26s" | "32s" | "42s" | "48s" | "54s" | "80s" | undefined;
1163
+ type TyhoFontWeightTypes = "thin" | "extralight" | "light" | "normal" | "medium" | "semibold" | "bold" | "extrabold" | "black";
1164
+ type TyphoTextDecorationTypes = string;
1165
+ interface ITyphoProps {
1166
+ title?: string;
1167
+ /**
1168
+ * Set element node of the content wrapper
1169
+ */
1170
+ type?: TyphoTypes;
1171
+ /**
1172
+ * Set font-color of the content
1173
+ */
1174
+ color?: TyphoColorTypes;
1175
+ /**
1176
+ * Set font-size of the content
1177
+ */
1178
+ size?: TyphoFontSizeTypes;
1179
+ /**
1180
+ * Set font-weight of the content
1181
+ */
1182
+ weight?: TyhoFontWeightTypes;
1183
+ /**
1184
+ * Set font-decoration of the content
1185
+ */
1186
+ decoration?: TyphoTextDecorationTypes;
1187
+ /**
1188
+ * Optional for additional classes
1189
+ */
1190
+ additionalClasses?: string | undefined;
1191
+ /**
1192
+ * Set content and child nodes
1193
+ */
1194
+ children?: React__default.ReactNode;
1195
+ onFocus?: () => void;
1196
+ }
1197
+ /**
1198
+ * Primary UI component for user interaction
1199
+ */
1200
+ declare const Typho: React__default.FC<ITyphoProps>;
1201
+
1131
1202
  interface UseSchemaProcessorProps {
1132
1203
  schema: ISchema[];
1133
1204
  externalSetComponents: (data: IComponent[]) => void;
@@ -1439,4 +1510,4 @@ declare const themeConfigs: {
1439
1510
  plugins: any[];
1440
1511
  };
1441
1512
 
1442
- 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, HistoryDetails, Icon, IconInput, ImageInput, ImagePreview, IndeterminateCheckbox, InfoCard, Input, type InputType, InputValidation, InputsGroup, Label, LoadingSpinner, Logo, type LogoProps, Message, type MessageProps, Modal, NavBar, NoteEditor, type NoteHistoryProps, type NoteItemProps, type OptionProps, PanelCard, PhoneNumberInput, PreviousDataBadge, ProgressBar, RadioButton, Row, SearchDropdownWithButton, Select, SelectUserWithButton, SortDropdown, Stepper, Tab, TabList, TabPanel, Table, TagSelect as TagDropdown, TagSelect, Textarea, Timeline, type TimelineEventProps, Tooltip, Typhography, useSchemaProcessor as UseSchemaProcessor, type VariantTypes, VersionDateDropdown, themeConfigs, usePagination, useSorting };
1513
+ export { BorderType, 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, HistoryDetails, Icon, IconInput, ImageInput, ImagePreview, IndeterminateCheckbox, InfoCard, Input, type InputType, InputValidation, InputsGroup, Label, ListRow, LoadingSpinner, Logo, type LogoProps, Message, type MessageProps, Modal, NavBar, NoteEditor, type NoteHistoryProps, type NoteItemProps, type OptionProps, PanelCard, PhoneNumberInput, PreviousDataBadge, ProgressBar, RadioButton, Row, SearchDropdownWithButton, Select, SelectUserWithButton, SortDropdown, Stepper, Tab, TabList, TabPanel, Table, TagSelect as TagDropdown, TagSelect, Textarea, Timeline, type TimelineEventProps, Tooltip, Typho, Typhography, useSchemaProcessor as UseSchemaProcessor, type VariantTypes, VersionDateDropdown, themeConfigs, usePagination, useSorting };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dfh-ui-library",
3
- "version": " 1.10.11",
3
+ "version": " 1.10.13",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "rollup": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",