@omnia/fx-models 8.0.411-dev → 8.0.413-dev
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.
@@ -1,6 +1,6 @@
|
|
1
1
|
import { BackgroundDefinition, BlueprintsReference, ColorSchemaType, ColorValue, TextFillDefinitionValue } from "./ThemeDefinition";
|
2
2
|
import { SpacingDefinition, Spacing, SpacingValue } from "./Spacing";
|
3
|
-
import { TypographyFontDefinition, TextStyleValue } from "./Typography";
|
3
|
+
import { TypographyFontDefinition, TextStyleValue, ThemedTextStyleValue } from "./Typography";
|
4
4
|
import { ThemeBase } from "./ThemeBase";
|
5
5
|
import { VelcronRendererResolverReference } from "../velcron";
|
6
6
|
export interface BlueprintStrategy {
|
@@ -98,7 +98,8 @@ export interface ButtonBlueprintVariant {
|
|
98
98
|
category: ButtonBlueprintType;
|
99
99
|
}
|
100
100
|
export interface ButtonBlueprint extends Blueprint {
|
101
|
-
|
101
|
+
paddingX?: SpacingValue;
|
102
|
+
iconPaddingX?: SpacingValue;
|
102
103
|
height?: number;
|
103
104
|
background?: BackgroundDefinition;
|
104
105
|
alterCase?: boolean;
|
@@ -116,13 +117,12 @@ export interface ButtonBlueprints extends Blueprints {
|
|
116
117
|
close?: ButtonBlueprint;
|
117
118
|
} & VariantBlueprints<ButtonBlueprint>;
|
118
119
|
icon?: {
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
} & VariantBlueprints<ButtonBlueprint>;
|
120
|
+
xl?: ButtonBlueprint;
|
121
|
+
l?: ButtonBlueprint;
|
122
|
+
m?: ButtonBlueprint;
|
123
|
+
s?: ButtonBlueprint;
|
124
|
+
xs?: ButtonBlueprint;
|
125
|
+
};
|
126
126
|
}
|
127
127
|
export interface InputBlueprints extends Blueprints, VariantBlueprints<InputBlueprint> {
|
128
128
|
primary?: InputBlueprint;
|
@@ -168,7 +168,7 @@ export interface TextBlueprint extends Blueprint {
|
|
168
168
|
}
|
169
169
|
export interface IconBlueprint extends Blueprint {
|
170
170
|
color?: TextFillDefinitionValue;
|
171
|
-
size?: number;
|
171
|
+
size?: number | ThemedTextStyleValue;
|
172
172
|
}
|
173
173
|
export interface ChipBlueprint extends Blueprint {
|
174
174
|
bgColor?: TextFillDefinitionValue;
|
@@ -82,7 +82,8 @@ export interface TextStyleDefinition {
|
|
82
82
|
decoration?: string;
|
83
83
|
uppercase?: boolean;
|
84
84
|
italic?: boolean;
|
85
|
-
|
85
|
+
bold?: boolean;
|
86
|
+
lg?: TextStyleBreakPoint;
|
86
87
|
md?: TextStyleBreakPoint;
|
87
88
|
sm?: TextStyleBreakPoint;
|
88
89
|
font?: TypographyFontRef;
|
@@ -114,6 +115,10 @@ export declare enum TextStyleTypes {
|
|
114
115
|
export interface ThemedTextStyleValue {
|
115
116
|
type: TextStyleType;
|
116
117
|
size: TextStyleSize;
|
118
|
+
decoration?: string;
|
119
|
+
uppercase?: boolean;
|
120
|
+
italic?: boolean;
|
121
|
+
bold?: boolean;
|
117
122
|
}
|
118
123
|
export type TextStyleValue = TextStyleDefinition | ThemedTextStyleValue;
|
119
124
|
export type TextStyleBreakpointType = "lg" | "md" | "sm";
|
@@ -59,7 +59,7 @@ export type LinkItemProps = {
|
|
59
59
|
export declare const OButtonPresetDefinitions: readonly ["confirm", "create", "remove", "delete", "add", "ok", "cancel", "save", "close", "manage-list", "settings", "icon-add", "icon-comment", "icon-delete", "icon-edit", "icon-drag-handle", "icon-copy", "icon-code", "icon-close", "icon-back", "icon-more", "icon-navigate", "icon-preview", "icon-settings", "load-more", "retry", "remove", "approve", "copy-to-clipboard", "details", "next", "previous", "select", "view-more", "send-request", "icon-download"];
|
60
60
|
export type OOxideButtonPresets = typeof OButtonPresetDefinitions[number];
|
61
61
|
export declare const OButtonPresetsName = "OOxideButtonPresets";
|
62
|
-
export declare const OButtonVariantDefinitions: readonly ["primary", "default", "accent", "warn", "link", "close", "toolbar", "
|
62
|
+
export declare const OButtonVariantDefinitions: readonly ["primary", "default", "accent", "warn", "link", "close", "toolbar", "dial", "overlay"];
|
63
63
|
export type OButtonVariants = typeof OButtonVariantDefinitions[number];
|
64
64
|
export declare const OButtonVariantsName = "OButtonVariants";
|
65
65
|
/**Button Group */
|
@@ -39,7 +39,7 @@ exports.OAlertTypesName = "OAlertTypes";
|
|
39
39
|
/**Button */
|
40
40
|
exports.OButtonPresetDefinitions = ["confirm", "create", "remove", "delete", "add", "ok", "cancel", "save", "close", "manage-list", "settings", "icon-add", "icon-comment", "icon-delete", "icon-edit", "icon-drag-handle", "icon-copy", "icon-code", "icon-close", "icon-back", "icon-more", "icon-navigate", "icon-preview", "icon-settings", "load-more", "retry", "remove", "approve", "copy-to-clipboard", "details", "next", "previous", "select", "view-more", "send-request", "icon-download"];
|
41
41
|
exports.OButtonPresetsName = "OOxideButtonPresets";
|
42
|
-
exports.OButtonVariantDefinitions = ["primary", "default", "accent", "warn", "link", "close", "toolbar", "
|
42
|
+
exports.OButtonVariantDefinitions = ["primary", "default", "accent", "warn", "link", "close", "toolbar", "dial", "overlay"];
|
43
43
|
exports.OButtonVariantsName = "OButtonVariants";
|
44
44
|
/**Button Group */
|
45
45
|
exports.OButtonGroupTypeDefinitions = ["default", "dial", "settings"];
|