dfh-ui-library 1.10.12 → 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";
@@ -45,3 +45,4 @@ export { default as VersionDateDropdown } from "./VersionDateDropdown";
45
45
  export { default as SortDropdown } from "./SortDropdown";
46
46
  export { default as PreviousDataBadge } from "./PreviousDataBadge";
47
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
  */
@@ -1157,6 +1157,48 @@ declare const PreviousDataBadge: React__default.FC<{
1157
1157
 
1158
1158
  declare const ListRow: React__default.FC<IListRowProps>;
1159
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
+
1160
1202
  interface UseSchemaProcessorProps {
1161
1203
  schema: ISchema[];
1162
1204
  externalSetComponents: (data: IComponent[]) => void;
@@ -1468,4 +1510,4 @@ declare const themeConfigs: {
1468
1510
  plugins: any[];
1469
1511
  };
1470
1512
 
1471
- 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, 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, 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.12",
3
+ "version": " 1.10.13",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "rollup": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",