@omnia/fx 8.0.127-dev → 8.0.128-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.
- package/internal-do-not-import-from-here/services/identities/GroupService.d.ts +3 -1
- package/internal-do-not-import-from-here/services/identities/UserService.d.ts +3 -2
- package/internal-do-not-import-from-here/shared/models/theming/Blueprints.d.ts +0 -6
- package/internal-do-not-import-from-here/shared/models/theming/ThemeDefinitionV2.d.ts +6 -4
- package/internal-do-not-import-from-here/shared/models/theming/UseThemeMethods.d.ts +0 -2
- package/internal-do-not-import-from-here/shared/models/theming/UseThemeMethods.js +0 -4
- package/internal-do-not-import-from-here/ux/blueprintpickers/buttonstylepicker/ButtonBlueprintsViewer.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/blueprintpickers/chromepicker/ChromeBlueprintsPicker.css.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/blueprintpickers/chromepicker/ChromeBlueprintsPicker.d.ts +364 -0
- package/internal-do-not-import-from-here/ux/blueprintpickers/chromepicker/ChromeBlueprintsViewer.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/blueprintpickers/componentblueprints/ComponentBlueprintsViewer.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/blueprintpickers/tabstylepicker/TabBlueprintsViewer.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/colorpickerV2/ColorPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/docs/chrome/SampleViewer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/fillpicker/FillPicker.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPicker.d.ts +26 -0
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerDialog.d.ts +26 -0
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerField.d.ts +26 -0
- package/internal-do-not-import-from-here/ux/markdown/MarkdownEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/appbar/Appbar.d.ts +9 -9
- package/internal-do-not-import-from-here/ux/oxide/avatar/Avatar.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/btn/Button.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/btngroup/ButtonGroup.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/card/Card.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/chip/Chip.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/column/ColumnGrid.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.css.d.ts +3661 -10
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.d.ts +7322 -20
- package/internal-do-not-import-from-here/ux/oxide/divider/Divider.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/expansionpanel/ExpansionPanel.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/expansionpanel/ExpansionPanels.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/icon/Icon.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/link/Link.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/list/List.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/navigationdrawer/NavigationDrawer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/notification/Notification.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/panel/Panel.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/select/Select.d.ts +7325 -23
- package/internal-do-not-import-from-here/ux/oxide/tab/Tabs.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/text/Text.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/textarea/TextArea.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/textfield/TextField.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/toolbar/Toolbar.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/core/BlueprintsTemplates.d.ts +32 -1
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/core/ColorManager.d.ts +7 -0
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/core/ColorSchemaManager.d.ts +12 -0
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/core/ThemeDefinitionInstance.d.ts +21 -2
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/core/ThemeRegistrations.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/documentation/themes/BlueprintsTypography.d.ts +99 -3
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/editor/themes/BlueprintsTypography.d.ts +159 -3
- package/internal-do-not-import-from-here/ux/theming-v2/store/BlueprintTemplatesStore.d.ts +13 -1
- package/internal-do-not-import-from-here/ux/theming-v2/store/ChromeBlueprintStore.d.ts +3668 -16
- package/internal-do-not-import-from-here/ux/theming-v2/store/ColorSchemaStore.d.ts +3661 -9
- package/internal-do-not-import-from-here/ux/theming-v2/store/ComponentBlueprintStore.d.ts +3667 -15
- package/internal-do-not-import-from-here/ux/theming-v2/store/SpacingBlueprintStore.d.ts +3666 -14
- package/internal-do-not-import-from-here/ux/theming-v2/store/ThemeContextStore.d.ts +0 -9
- package/internal-do-not-import-from-here/ux/theming-v2/store/ThemeStoreV2.d.ts +5 -6
- package/internal-do-not-import-from-here/ux/theming-v2/store/TypographyBlueprintStore.d.ts +3670 -18
- package/internal-do-not-import-from-here/ux/theming-v2/store/index.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/theming-v2/styling/UseStyling.d.ts +36610 -100
- package/internal-do-not-import-from-here/ux/theming-v2/themepicker/ThemeEditor.d.ts +77 -0
- package/internal-do-not-import-from-here/ux/use/UseColorSchemaSetup.d.ts +3661 -10
- package/internal-do-not-import-from-here/ux/velcron/core/stores/VelcronColorSchema.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/core/stores/VelcronTheming.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/velcron/editor/components/ContainerRenderer.d.ts +1 -1
- package/internal-do-not-import-from-here/wctypings.d.ts +23 -1
- package/package.json +2 -2
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/default/themes/BlueprintsChrome.d.ts +0 -12
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/default/themes/BlueprintsComponents.d.ts +0 -22
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/default/themes/BlueprintsSpacing.d.ts +0 -20
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/default/themes/BlueprintsTypography.d.ts +0 -27
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/default/themes/DefinitionsComponents.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/default/themes/DefinitionsSpacing.d.ts +0 -28
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/documentation/themes/BlueprintsChrome.d.ts +0 -8
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/documentation/themes/BlueprintsComponents.d.ts +0 -8
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/documentation/themes/BlueprintsSpacing.d.ts +0 -11
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/documentation/themes/DefinitionsComponents.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/documentation/themes/DefinitionsSpacing.d.ts +0 -19
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/documentation/themes/DefinitionsTypography.d.ts +0 -98
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/editor/themes/BlueprintsChrome.d.ts +0 -11
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/editor/themes/BlueprintsComponents.d.ts +0 -8
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/editor/themes/BlueprintsSpacing.d.ts +0 -11
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/editor/themes/DefinitionsComponents.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/editor/themes/DefinitionsSpacing.d.ts +0 -19
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/editor/themes/DefinitionsTypography.d.ts +0 -158
- package/internal-do-not-import-from-here/ux/theming-v2/store/TypographyDefinitionStore.d.ts +0 -29
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/{default/themes/DefinitionsTypography.d.ts → core/TypographyBlueprints.d.ts} +0 -0
- package/internal-do-not-import-from-here/ux/theming-v2/{themedefinitionpicker/ThemeDefinitionPicker.css.d.ts → themepicker/ThemePicker.css.d.ts} +0 -0
- package/internal-do-not-import-from-here/ux/theming-v2/{themedefinitionpicker/ThemeDefinitionPicker.d.ts → themepicker/ThemePicker.d.ts} +1 -1
@@ -383,12 +383,12 @@ declare const _default: {
|
|
383
383
|
vertical?: boolean;
|
384
384
|
contentClass?: string | string[];
|
385
385
|
grow?: boolean;
|
386
|
+
toned?: boolean;
|
386
387
|
blueprint?: TabsBlueprint;
|
387
388
|
"v-model"?: number;
|
388
389
|
"onUpdate:modelValue"?: (value: number) => any;
|
389
390
|
modelValue?: number;
|
390
391
|
variant?: "navigation" | "default" | "header" | "toolbar" | "settings";
|
391
|
-
toned?: boolean;
|
392
392
|
scrolling?: string;
|
393
393
|
stacked?: boolean;
|
394
394
|
"content-class"?: string | string[];
|
@@ -264,11 +264,11 @@ declare const _default: {
|
|
264
264
|
typography?: "title" | "text" | "navigation" | TypographyTypes;
|
265
265
|
class?: String | String[];
|
266
266
|
size?: "xs" | "s" | "m" | "l" | "xl" | TypographySizes;
|
267
|
-
|
267
|
+
colorType?: "base" | "onBase" | "container" | "onContainer" | ColorTypes;
|
268
268
|
toned?: boolean;
|
269
|
+
blueprint?: TextBlueprint;
|
269
270
|
typographyValue?: TypographyValue;
|
270
271
|
"typography-value"?: TypographyValue;
|
271
|
-
colorType?: "base" | "onBase" | "container" | "onContainer" | ColorTypes;
|
272
272
|
"color-type"?: "base" | "onBase" | "container" | "onContainer" | ColorTypes;
|
273
273
|
truncateLines?: number;
|
274
274
|
"truncate-lines"?: number;
|
@@ -507,6 +507,7 @@ declare const _default: {
|
|
507
507
|
rows?: number;
|
508
508
|
placeholder?: string;
|
509
509
|
readonly?: boolean;
|
510
|
+
toned?: boolean;
|
510
511
|
"v-model"?: string;
|
511
512
|
"onUpdate:modelValue"?: (value: string) => any;
|
512
513
|
modelValue?: string;
|
@@ -514,7 +515,6 @@ declare const _default: {
|
|
514
515
|
default?: import("../../DefineVueTypings").Slot<any[]>;
|
515
516
|
} & VTextAreaSlots;
|
516
517
|
autofocus?: boolean;
|
517
|
-
toned?: boolean;
|
518
518
|
rules?: ValidationRule[];
|
519
519
|
hint?: string;
|
520
520
|
persistentHint?: boolean;
|
@@ -564,6 +564,7 @@ declare const _default: {
|
|
564
564
|
errorMessages?: string | string[];
|
565
565
|
placeholder?: string;
|
566
566
|
readonly?: boolean;
|
567
|
+
toned?: boolean;
|
567
568
|
"v-model"?: string | number | WritableComputedRef<string>;
|
568
569
|
"onUpdate:modelValue"?: (value: string | number | WritableComputedRef<string>) => any;
|
569
570
|
modelValue?: string | number | WritableComputedRef<string>;
|
@@ -573,7 +574,6 @@ declare const _default: {
|
|
573
574
|
prefix?: string;
|
574
575
|
autofocus?: boolean;
|
575
576
|
variant?: "search" | "link" | "default" | "media" | "find-slim";
|
576
|
-
toned?: boolean;
|
577
577
|
loading?: boolean;
|
578
578
|
rules?: ValidationRule[];
|
579
579
|
hint?: string;
|
@@ -280,6 +280,7 @@ declare const _default: {
|
|
280
280
|
icon?: IIcon;
|
281
281
|
class?: String | String[];
|
282
282
|
closeButton?: boolean;
|
283
|
+
toned?: boolean;
|
283
284
|
"v-slots"?: {
|
284
285
|
default?: import("../../DefineVueTypings").Slot<any[]>;
|
285
286
|
} & {
|
@@ -290,7 +291,6 @@ declare const _default: {
|
|
290
291
|
subTitle?: string;
|
291
292
|
"sub-title"?: string;
|
292
293
|
divider?: boolean;
|
293
|
-
toned?: boolean;
|
294
294
|
"close-button"?: boolean;
|
295
295
|
backButton?: boolean;
|
296
296
|
"back-button"?: boolean;
|
package/internal-do-not-import-from-here/ux/theming-v2/designkits/core/BlueprintsTemplates.d.ts
CHANGED
@@ -1,5 +1,6 @@
|
|
1
|
-
import { ChromeBlueprints, ComponentBlueprints, SpacingBlueprints } from "@omnia/fx-models";
|
1
|
+
import { ChromeBlueprints, ComponentBlueprints, SpacingBlueprints, TypographyBlueprints } from "@omnia/fx-models";
|
2
2
|
import { DefaultInnerSpacing, DefaultLayoutSpacing, PreviewInnerSpacing } from "./SpacingBlueprint";
|
3
|
+
import { DefaultTypography, FunkyTypography, PreviewMiniTypography, PreviewTypography } from "./TypographyBlueprints";
|
3
4
|
declare class ChromeBlueprintsTemplate implements ChromeBlueprints {
|
4
5
|
type: "chrome";
|
5
6
|
name: any;
|
@@ -56,6 +57,30 @@ declare class ComponentBlueprintsTemplate implements ComponentBlueprints {
|
|
56
57
|
};
|
57
58
|
constructor();
|
58
59
|
}
|
60
|
+
export declare class DefaultTypographyBlueprint implements TypographyBlueprints {
|
61
|
+
type: "typography";
|
62
|
+
name: string;
|
63
|
+
primary: DefaultTypography;
|
64
|
+
constructor();
|
65
|
+
}
|
66
|
+
export declare class FunkyTypographyBlueprint implements TypographyBlueprints {
|
67
|
+
type: "typography";
|
68
|
+
name: string;
|
69
|
+
primary: FunkyTypography;
|
70
|
+
constructor();
|
71
|
+
}
|
72
|
+
export declare class PreviewTypographyBlueprint implements TypographyBlueprints {
|
73
|
+
type: "typography";
|
74
|
+
name: string;
|
75
|
+
primary: PreviewTypography;
|
76
|
+
constructor();
|
77
|
+
}
|
78
|
+
export declare class PreviewMiniTypographyBlueprint implements TypographyBlueprints {
|
79
|
+
type: "typography";
|
80
|
+
name: string;
|
81
|
+
primary: PreviewMiniTypography;
|
82
|
+
constructor();
|
83
|
+
}
|
59
84
|
export declare const BlueprintsTemplates: {
|
60
85
|
chrome: {
|
61
86
|
default: () => ChromeBlueprintsTemplate;
|
@@ -67,5 +92,11 @@ export declare const BlueprintsTemplates: {
|
|
67
92
|
default: () => DefaultSpacingBlueprintTemplate;
|
68
93
|
preview: () => PreviewSPacingBlueprintTemplate;
|
69
94
|
};
|
95
|
+
typography: {
|
96
|
+
default: () => DefaultTypographyBlueprint;
|
97
|
+
funky: () => FunkyTypographyBlueprint;
|
98
|
+
preview: () => PreviewTypographyBlueprint;
|
99
|
+
previewMini: () => PreviewMiniTypographyBlueprint;
|
100
|
+
};
|
70
101
|
};
|
71
102
|
export {};
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { ColorDefinition } from "@omnia/fx-models";
|
2
|
+
export declare function useColorManager(): {
|
3
|
+
getColorDefinition: (color: string, isBaseColorDark: boolean) => ColorDefinition;
|
4
|
+
isDarkColor: (color: any) => boolean;
|
5
|
+
addOpacityToColor: (color: any, opacity: any) => any;
|
6
|
+
isValidColor: (color: string) => boolean;
|
7
|
+
};
|
package/internal-do-not-import-from-here/ux/theming-v2/designkits/core/ColorSchemaManager.d.ts
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
import { TonalPalette } from "@material/material-color-utilities";
|
2
|
+
import { ColorSchema } from "@omnia/fx-models";
|
3
|
+
interface ColorGroup {
|
4
|
+
dark: ColorSchema;
|
5
|
+
light: ColorSchema;
|
6
|
+
}
|
7
|
+
export declare function useColorSchemaManager(): {
|
8
|
+
createColorSchema: (color: string, name: string, fixedColor?: boolean, colorBlend?: string) => ColorGroup;
|
9
|
+
getColorPalette: (color: string) => TonalPalette;
|
10
|
+
hexFromArgb: (argb: number) => string;
|
11
|
+
};
|
12
|
+
export {};
|
package/internal-do-not-import-from-here/ux/theming-v2/designkits/core/ThemeDefinitionInstance.d.ts
CHANGED
@@ -1,9 +1,28 @@
|
|
1
|
-
import { Blueprints, ColorSchema, ColorSchemas, Guid, ThemeDefinitionV2 } from "@omnia/fx-models";
|
1
|
+
import { Blueprints, ChromeBlueprints, ColorSchema, ColorSchemas, ComponentBlueprints, Guid, SpacingBlueprints, ThemeDefinitionV2, TypographyBlueprints } from "@omnia/fx-models";
|
2
2
|
export declare class ThemeDefinitionInstance implements ThemeDefinitionV2 {
|
3
3
|
id: Guid;
|
4
4
|
colors: ColorSchemas;
|
5
5
|
blueprints: Blueprints[];
|
6
6
|
dark: boolean;
|
7
7
|
name: string;
|
8
|
-
|
8
|
+
typography: TypographyBlueprints;
|
9
|
+
spacing: SpacingBlueprints;
|
10
|
+
chrome: ChromeBlueprints;
|
11
|
+
components: ComponentBlueprints;
|
12
|
+
constructor(colors: {
|
13
|
+
primary: string | ColorSchema;
|
14
|
+
secondary: string | ColorSchema;
|
15
|
+
accent1: string | ColorSchema;
|
16
|
+
accent2: string | ColorSchema;
|
17
|
+
accent3: string | ColorSchema;
|
18
|
+
neutral: string | ColorSchema;
|
19
|
+
background: string | ColorSchema;
|
20
|
+
info: string | ColorSchema;
|
21
|
+
error: string | ColorSchema;
|
22
|
+
}, name: string, id: Guid, blueprints: {
|
23
|
+
typography: TypographyBlueprints;
|
24
|
+
spacing: SpacingBlueprints;
|
25
|
+
chrome: ChromeBlueprints;
|
26
|
+
components: ComponentBlueprints;
|
27
|
+
});
|
9
28
|
}
|
package/internal-do-not-import-from-here/ux/theming-v2/designkits/core/ThemeRegistrations.d.ts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -1,8 +1,104 @@
|
|
1
|
-
import { TypographyBlueprints } from "@omnia/fx-models";
|
2
|
-
|
3
|
-
export declare class DefaultTypographyBlueprint implements TypographyBlueprints {
|
1
|
+
import { Guid, TypographyBlueprint, TypographyBlueprints } from "@omnia/fx-models";
|
2
|
+
export declare class DefaultDocTypographyBlueprints implements TypographyBlueprints {
|
4
3
|
type: "typography";
|
5
4
|
name: string;
|
6
5
|
primary: DocumentationTypography;
|
7
6
|
constructor();
|
8
7
|
}
|
8
|
+
export declare class DocumentationTypography implements TypographyBlueprint {
|
9
|
+
name: string;
|
10
|
+
id: Guid;
|
11
|
+
title: {
|
12
|
+
xl: {
|
13
|
+
lg: {
|
14
|
+
size: number;
|
15
|
+
lineHeight: number;
|
16
|
+
weight: number;
|
17
|
+
};
|
18
|
+
};
|
19
|
+
l: {
|
20
|
+
lg: {
|
21
|
+
size: number;
|
22
|
+
lineHeight: number;
|
23
|
+
weight: number;
|
24
|
+
};
|
25
|
+
};
|
26
|
+
m: {
|
27
|
+
lg: {
|
28
|
+
size: number;
|
29
|
+
lineHeight: number;
|
30
|
+
weight: number;
|
31
|
+
};
|
32
|
+
};
|
33
|
+
s: {
|
34
|
+
lg: {
|
35
|
+
size: number;
|
36
|
+
lineHeight: number;
|
37
|
+
weight: number;
|
38
|
+
};
|
39
|
+
};
|
40
|
+
xs: {
|
41
|
+
lg: {
|
42
|
+
size: number;
|
43
|
+
lineHeight: number;
|
44
|
+
weight: number;
|
45
|
+
};
|
46
|
+
};
|
47
|
+
};
|
48
|
+
text: {
|
49
|
+
l: {
|
50
|
+
lg: {
|
51
|
+
size: number;
|
52
|
+
lineHeight: number;
|
53
|
+
weight: number;
|
54
|
+
};
|
55
|
+
};
|
56
|
+
m: {
|
57
|
+
lg: {
|
58
|
+
size: number;
|
59
|
+
lineHeight: number;
|
60
|
+
weight: number;
|
61
|
+
};
|
62
|
+
};
|
63
|
+
s: {
|
64
|
+
lg: {
|
65
|
+
size: number;
|
66
|
+
lineHeight: number;
|
67
|
+
weight: number;
|
68
|
+
};
|
69
|
+
};
|
70
|
+
xs: {
|
71
|
+
lg: {
|
72
|
+
size: number;
|
73
|
+
lineHeight: number;
|
74
|
+
weight: number;
|
75
|
+
};
|
76
|
+
};
|
77
|
+
};
|
78
|
+
navigation: {
|
79
|
+
l: {
|
80
|
+
lg: {
|
81
|
+
size: number;
|
82
|
+
lineHeight: number;
|
83
|
+
weight: number;
|
84
|
+
};
|
85
|
+
};
|
86
|
+
m: {
|
87
|
+
lg: {
|
88
|
+
size: number;
|
89
|
+
lineHeight: number;
|
90
|
+
weight: number;
|
91
|
+
};
|
92
|
+
};
|
93
|
+
};
|
94
|
+
link: {
|
95
|
+
m: {
|
96
|
+
decoration: string;
|
97
|
+
lg: {
|
98
|
+
size: number;
|
99
|
+
lineHeight: number;
|
100
|
+
weight: number;
|
101
|
+
};
|
102
|
+
};
|
103
|
+
};
|
104
|
+
}
|
@@ -1,8 +1,164 @@
|
|
1
|
-
import { TypographyBlueprints } from "@omnia/fx-models";
|
2
|
-
|
3
|
-
export declare class DefaultTypographyBlueprint implements TypographyBlueprints {
|
1
|
+
import { Guid, TypographyBlueprint, TypographyBlueprints } from "@omnia/fx-models";
|
2
|
+
export declare class DefaultEditorTypographyBlueprints implements TypographyBlueprints {
|
4
3
|
type: "typography";
|
5
4
|
name: string;
|
6
5
|
primary: EditorTypography;
|
7
6
|
constructor();
|
8
7
|
}
|
8
|
+
export declare class EditorTypography implements TypographyBlueprint {
|
9
|
+
name: "Davids editor typooos";
|
10
|
+
font: {
|
11
|
+
id: Guid;
|
12
|
+
family: string;
|
13
|
+
cdn: string;
|
14
|
+
};
|
15
|
+
title: {
|
16
|
+
xl: {
|
17
|
+
lg: {
|
18
|
+
size: number;
|
19
|
+
lineHeight: number;
|
20
|
+
weight: number;
|
21
|
+
};
|
22
|
+
};
|
23
|
+
l: {
|
24
|
+
lg: {
|
25
|
+
size: number;
|
26
|
+
lineHeight: number;
|
27
|
+
weight: number;
|
28
|
+
};
|
29
|
+
};
|
30
|
+
m: {
|
31
|
+
lg: {
|
32
|
+
size: number;
|
33
|
+
lineHeight: number;
|
34
|
+
weight: number;
|
35
|
+
};
|
36
|
+
};
|
37
|
+
s: {
|
38
|
+
lg: {
|
39
|
+
size: number;
|
40
|
+
lineHeight: number;
|
41
|
+
weight: number;
|
42
|
+
};
|
43
|
+
};
|
44
|
+
xs: {
|
45
|
+
lg: {
|
46
|
+
size: number;
|
47
|
+
lineHeight: number;
|
48
|
+
weight: number;
|
49
|
+
};
|
50
|
+
};
|
51
|
+
};
|
52
|
+
text: {
|
53
|
+
xl: {
|
54
|
+
lg: {
|
55
|
+
size: number;
|
56
|
+
lineHeight: number;
|
57
|
+
weight: number;
|
58
|
+
};
|
59
|
+
};
|
60
|
+
l: {
|
61
|
+
lg: {
|
62
|
+
size: number;
|
63
|
+
lineHeight: number;
|
64
|
+
weight: number;
|
65
|
+
};
|
66
|
+
};
|
67
|
+
m: {
|
68
|
+
lg: {
|
69
|
+
size: number;
|
70
|
+
lineHeight: number;
|
71
|
+
weight: number;
|
72
|
+
};
|
73
|
+
};
|
74
|
+
s: {
|
75
|
+
lg: {
|
76
|
+
size: number;
|
77
|
+
lineHeight: number;
|
78
|
+
weight: number;
|
79
|
+
};
|
80
|
+
};
|
81
|
+
xs: {
|
82
|
+
lg: {
|
83
|
+
size: number;
|
84
|
+
lineHeight: number;
|
85
|
+
weight: number;
|
86
|
+
};
|
87
|
+
};
|
88
|
+
};
|
89
|
+
navigation: {
|
90
|
+
xl: {
|
91
|
+
lg: {
|
92
|
+
size: number;
|
93
|
+
lineHeight: number;
|
94
|
+
weight: number;
|
95
|
+
};
|
96
|
+
};
|
97
|
+
l: {
|
98
|
+
lg: {
|
99
|
+
size: number;
|
100
|
+
lineHeight: number;
|
101
|
+
weight: number;
|
102
|
+
};
|
103
|
+
};
|
104
|
+
m: {
|
105
|
+
lg: {
|
106
|
+
size: number;
|
107
|
+
lineHeight: number;
|
108
|
+
weight: number;
|
109
|
+
};
|
110
|
+
};
|
111
|
+
s: {
|
112
|
+
lg: {
|
113
|
+
size: number;
|
114
|
+
lineHeight: number;
|
115
|
+
weight: number;
|
116
|
+
};
|
117
|
+
};
|
118
|
+
xs: {
|
119
|
+
lg: {
|
120
|
+
size: number;
|
121
|
+
lineHeight: number;
|
122
|
+
weight: number;
|
123
|
+
};
|
124
|
+
};
|
125
|
+
};
|
126
|
+
link: {
|
127
|
+
xl: {
|
128
|
+
lg: {
|
129
|
+
size: number;
|
130
|
+
lineHeight: number;
|
131
|
+
weight: number;
|
132
|
+
};
|
133
|
+
};
|
134
|
+
l: {
|
135
|
+
lg: {
|
136
|
+
size: number;
|
137
|
+
lineHeight: number;
|
138
|
+
weight: number;
|
139
|
+
};
|
140
|
+
};
|
141
|
+
m: {
|
142
|
+
decoration: string;
|
143
|
+
lg: {
|
144
|
+
size: number;
|
145
|
+
lineHeight: number;
|
146
|
+
weight: number;
|
147
|
+
};
|
148
|
+
};
|
149
|
+
s: {
|
150
|
+
lg: {
|
151
|
+
size: number;
|
152
|
+
lineHeight: number;
|
153
|
+
weight: number;
|
154
|
+
};
|
155
|
+
};
|
156
|
+
xs: {
|
157
|
+
lg: {
|
158
|
+
size: number;
|
159
|
+
lineHeight: number;
|
160
|
+
weight: number;
|
161
|
+
};
|
162
|
+
};
|
163
|
+
};
|
164
|
+
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { BorderStylingDefinition, ButtonBlueprint, ChromeBlueprint, ChromeBlueprints, ComponentBlueprints, FillDefinition, SpacingBlueprints, SpacingDefinition, TabsBlueprint } from "@omnia/fx-models";
|
1
|
+
import { BorderStylingDefinition, ButtonBlueprint, ChromeBlueprint, ChromeBlueprints, ComponentBlueprints, FillDefinition, SpacingBlueprints, SpacingDefinition, TabsBlueprint, TypographyBlueprints } from "@omnia/fx-models";
|
2
2
|
export declare const useBlueprintTemplatesStore: () => {
|
3
3
|
state: {
|
4
4
|
fills: FillDefinition[];
|
@@ -10,6 +10,7 @@ export declare const useBlueprintTemplatesStore: () => {
|
|
10
10
|
component: ComponentBlueprints[];
|
11
11
|
spacings: SpacingBlueprints[];
|
12
12
|
spacing: SpacingDefinition[];
|
13
|
+
typographies: TypographyBlueprints[];
|
13
14
|
};
|
14
15
|
events: {
|
15
16
|
onMutatedFills: import("@omnia/fx").MessageBusExposeOnlySubscription<FillDefinition[]>;
|
@@ -21,6 +22,7 @@ export declare const useBlueprintTemplatesStore: () => {
|
|
21
22
|
onMutatedComponent: import("@omnia/fx").MessageBusExposeOnlySubscription<ComponentBlueprints[]>;
|
22
23
|
onMutatedSpacings: import("@omnia/fx").MessageBusExposeOnlySubscription<SpacingBlueprints[]>;
|
23
24
|
onMutatedSpacing: import("@omnia/fx").MessageBusExposeOnlySubscription<SpacingDefinition[]>;
|
25
|
+
onMutatedTypographies: import("@omnia/fx").MessageBusExposeOnlySubscription<TypographyBlueprints[]>;
|
24
26
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
25
27
|
actions: {
|
26
28
|
onDispatching: {
|
@@ -51,6 +53,9 @@ export declare const useBlueprintTemplatesStore: () => {
|
|
51
53
|
addComponentBlueprints: {
|
52
54
|
subscribe(fn: (blueprint: ComponentBlueprints) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
53
55
|
};
|
56
|
+
addTypographyBlueprints: {
|
57
|
+
subscribe(fn: (blueprints: TypographyBlueprints) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
58
|
+
};
|
54
59
|
};
|
55
60
|
onDispatched: {
|
56
61
|
addSpacingDefinition: {
|
@@ -80,6 +85,9 @@ export declare const useBlueprintTemplatesStore: () => {
|
|
80
85
|
addComponentBlueprints: {
|
81
86
|
subscribe(fn: (result: void, blueprint: ComponentBlueprints) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
82
87
|
};
|
88
|
+
addTypographyBlueprints: {
|
89
|
+
subscribe(fn: (result: void, blueprints: TypographyBlueprints) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
90
|
+
};
|
83
91
|
};
|
84
92
|
onFailure: {
|
85
93
|
addSpacingDefinition: {
|
@@ -109,6 +117,9 @@ export declare const useBlueprintTemplatesStore: () => {
|
|
109
117
|
addComponentBlueprints: {
|
110
118
|
subscribe(fn: (failureReason: any, blueprint: ComponentBlueprints) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
111
119
|
};
|
120
|
+
addTypographyBlueprints: {
|
121
|
+
subscribe(fn: (failureReason: any, blueprints: TypographyBlueprints) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
122
|
+
};
|
112
123
|
};
|
113
124
|
} & {
|
114
125
|
addSpacingDefinition(spacing: SpacingDefinition): void;
|
@@ -120,6 +131,7 @@ export declare const useBlueprintTemplatesStore: () => {
|
|
120
131
|
addChromeBlueprint(blueprint: ChromeBlueprint): void;
|
121
132
|
addChromeBlueprints(blueprint: ChromeBlueprints): void;
|
122
133
|
addComponentBlueprints(blueprint: ComponentBlueprints): void;
|
134
|
+
addTypographyBlueprints(blueprints: TypographyBlueprints): void;
|
123
135
|
};
|
124
136
|
get: {};
|
125
137
|
};
|