@omnia/velcron 8.0.553-dev → 8.0.556-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/shared/models/Icon.d.ts +2 -0
- package/internal-do-not-import-from-here/shared/models/activity-hub/activities/ActorActivity.d.ts +3 -4
- package/internal-do-not-import-from-here/shared/models/activity-hub/activities/ActorActivity.js +3 -4
- package/internal-do-not-import-from-here/shared/models/theme/Blueprints.d.ts +7 -2
- package/internal-do-not-import-from-here/shared/models/theme/Spacing.d.ts +1 -0
- package/internal-do-not-import-from-here/shared/models/theme/Spacing.js +2 -1
- package/models/VelcronDefinitions.d.ts +7 -0
- package/package.json +1 -1
- package/parser/VelcronConstants.d.ts +1 -0
- package/parser/VelcronConstants.js +1 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ThemeContextType } from "./theme";
|
|
1
2
|
export declare enum IconTypes {
|
|
2
3
|
FontAwesome = "IFontAwesomeIcon",
|
|
3
4
|
Fabric = "IFabricIcon",
|
|
@@ -9,6 +10,7 @@ export declare enum IconTypes {
|
|
|
9
10
|
export interface IIcon {
|
|
10
11
|
iconType: IconTypes;
|
|
11
12
|
role?: string;
|
|
13
|
+
themeType?: ThemeContextType;
|
|
12
14
|
}
|
|
13
15
|
export interface IFontAwesomeIcon extends IIcon {
|
|
14
16
|
faClass: string;
|
package/internal-do-not-import-from-here/shared/models/activity-hub/activities/ActorActivity.d.ts
CHANGED
|
@@ -9,10 +9,9 @@ export declare enum ActorActivityStatus {
|
|
|
9
9
|
}
|
|
10
10
|
export declare enum ActorActivityCategory {
|
|
11
11
|
none = 0,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
bookmarked = 4
|
|
12
|
+
todo = 1,
|
|
13
|
+
snoozed = 2,
|
|
14
|
+
completed = 3
|
|
16
15
|
}
|
|
17
16
|
export interface ActivitySettings {
|
|
18
17
|
category: ActorActivityCategory;
|
package/internal-do-not-import-from-here/shared/models/activity-hub/activities/ActorActivity.js
CHANGED
|
@@ -10,8 +10,7 @@ var ActorActivityStatus;
|
|
|
10
10
|
var ActorActivityCategory;
|
|
11
11
|
(function (ActorActivityCategory) {
|
|
12
12
|
ActorActivityCategory[ActorActivityCategory["none"] = 0] = "none";
|
|
13
|
-
ActorActivityCategory[ActorActivityCategory["
|
|
14
|
-
ActorActivityCategory[ActorActivityCategory["
|
|
15
|
-
ActorActivityCategory[ActorActivityCategory["
|
|
16
|
-
ActorActivityCategory[ActorActivityCategory["bookmarked"] = 4] = "bookmarked";
|
|
13
|
+
ActorActivityCategory[ActorActivityCategory["todo"] = 1] = "todo";
|
|
14
|
+
ActorActivityCategory[ActorActivityCategory["snoozed"] = 2] = "snoozed";
|
|
15
|
+
ActorActivityCategory[ActorActivityCategory["completed"] = 3] = "completed";
|
|
17
16
|
})(ActorActivityCategory || (exports.ActorActivityCategory = ActorActivityCategory = {}));
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { HorizontalAlignments, TextAlignment, VerticalAlignments } from "../Enums";
|
|
2
|
+
import { guid } from "../Guid";
|
|
2
3
|
import { IIcon } from "../Icon";
|
|
3
4
|
import { MediaPickerImage } from "../media";
|
|
4
5
|
import { MultilingualString } from "../MultilingualString";
|
|
@@ -6,7 +7,7 @@ import { VelcronRendererResolverReference } from "../velcron";
|
|
|
6
7
|
import { Spacing, SpacingDefinition, SpacingValue } from "./Spacing";
|
|
7
8
|
import { ThemeBase } from "./ThemeBase";
|
|
8
9
|
import { BackgroundDefinition, BlueprintsReference, ColorSchemaType, ColorValue, TextFillDefinitionValue } from "./ThemeDefinition";
|
|
9
|
-
import { TextStyleValue, TypographyFontDefinition } from "./Typography";
|
|
10
|
+
import { TextStyleConfiguration, TextStyleValue, TypographyFontDefinition } from "./Typography";
|
|
10
11
|
export interface BlueprintStrategy {
|
|
11
12
|
buttons: {
|
|
12
13
|
primary: ButtonBlueprint;
|
|
@@ -22,8 +23,10 @@ export interface BoxDimensions extends Spacing {
|
|
|
22
23
|
export interface Blueprints {
|
|
23
24
|
name?: string;
|
|
24
25
|
}
|
|
25
|
-
|
|
26
|
+
type VariantTypeBase = "variant1" | "variant2" | "variant3" | "variant4" | "variant5" | "variant6" | "variant7" | "variant8";
|
|
27
|
+
export type BlueprintVariant = "primary" | "secondary" | VariantTypeBase;
|
|
26
28
|
export declare const BlueprintVariants: Array<BlueprintVariant>;
|
|
29
|
+
export type ContainerFillVariants = VariantTypeBase;
|
|
27
30
|
export interface VariantBlueprints<T> extends Blueprints {
|
|
28
31
|
variant1?: T;
|
|
29
32
|
variant2?: T;
|
|
@@ -224,6 +227,7 @@ export interface TabsBlueprint extends Blueprint, DynamicColorSettings {
|
|
|
224
227
|
export interface TextBlueprint extends Blueprint {
|
|
225
228
|
color?: TextFillDefinitionValue;
|
|
226
229
|
textStyle?: TextStyleValue;
|
|
230
|
+
configuration?: TextStyleConfiguration | guid;
|
|
227
231
|
}
|
|
228
232
|
export interface IconBlueprint extends Blueprint {
|
|
229
233
|
color?: TextFillDefinitionValue;
|
|
@@ -233,3 +237,4 @@ export interface ChipBlueprint extends Blueprint {
|
|
|
233
237
|
bgColor?: TextFillDefinitionValue;
|
|
234
238
|
textColor?: TextFillDefinitionValue;
|
|
235
239
|
}
|
|
240
|
+
export {};
|
|
@@ -7,6 +7,7 @@ export type Spacing = {
|
|
|
7
7
|
};
|
|
8
8
|
export type SpacingScale = "l" | "s";
|
|
9
9
|
export type SpacingPreset = "preset-layout" | "preset-section" | "preset-column" | "preset-block";
|
|
10
|
+
export declare const SpacingPresetValues: string[];
|
|
10
11
|
export interface SpacingDefinition {
|
|
11
12
|
name?: string;
|
|
12
13
|
xs?: number;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SpacingTypes = void 0;
|
|
3
|
+
exports.SpacingTypes = exports.SpacingPresetValues = void 0;
|
|
4
|
+
exports.SpacingPresetValues = ["preset-layout", "preset-section", "preset-column", "preset-block"];
|
|
4
5
|
var SpacingTypes;
|
|
5
6
|
(function (SpacingTypes) {
|
|
6
7
|
SpacingTypes["xs"] = "xs";
|
|
@@ -40,6 +40,7 @@ export interface BuiltInComponentRenderers {
|
|
|
40
40
|
"link": unknown;
|
|
41
41
|
"motion": unknown;
|
|
42
42
|
"scroll": unknown;
|
|
43
|
+
"markdown": unknown;
|
|
43
44
|
}
|
|
44
45
|
export interface ColorSchemaReference {
|
|
45
46
|
name: string;
|
|
@@ -327,6 +328,12 @@ export interface VelcronFlowDefinition extends VelcronDefinition, VelcronColorSt
|
|
|
327
328
|
placeholder?: VelcronBindableProp<string>;
|
|
328
329
|
events?: VelcronOnUpdatedEvent;
|
|
329
330
|
}
|
|
331
|
+
export interface VelcronMarkdownDefinition extends VelcronDefinition, VelcronColorStyling {
|
|
332
|
+
type: "markdown";
|
|
333
|
+
value?: VelcronBindableProp<string>;
|
|
334
|
+
placeholder?: VelcronBindableProp<string>;
|
|
335
|
+
events?: VelcronOnUpdatedEvent;
|
|
336
|
+
}
|
|
330
337
|
export interface VelcronMotionDefinition extends VelcronDefinition {
|
|
331
338
|
initial?: false | VariantDefinition;
|
|
332
339
|
animate?: VariantDefinition;
|
package/package.json
CHANGED