@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.
@@ -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;
@@ -9,10 +9,9 @@ export declare enum ActorActivityStatus {
9
9
  }
10
10
  export declare enum ActorActivityCategory {
11
11
  none = 0,
12
- important = 1,
13
- todo = 2,
14
- snoozed = 3,
15
- bookmarked = 4
12
+ todo = 1,
13
+ snoozed = 2,
14
+ completed = 3
16
15
  }
17
16
  export interface ActivitySettings {
18
17
  category: ActorActivityCategory;
@@ -10,8 +10,7 @@ var ActorActivityStatus;
10
10
  var ActorActivityCategory;
11
11
  (function (ActorActivityCategory) {
12
12
  ActorActivityCategory[ActorActivityCategory["none"] = 0] = "none";
13
- ActorActivityCategory[ActorActivityCategory["important"] = 1] = "important";
14
- ActorActivityCategory[ActorActivityCategory["todo"] = 2] = "todo";
15
- ActorActivityCategory[ActorActivityCategory["snoozed"] = 3] = "snoozed";
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
- export type BlueprintVariant = "primary" | "secondary" | "variant1" | "variant2" | "variant3" | "variant4" | "variant5" | "variant6" | "variant7" | "variant8";
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/velcron",
3
3
  "license": "MIT",
4
- "version": "8.0.553-dev",
4
+ "version": "8.0.556-dev",
5
5
  "description": "Provide Omnia Velcron Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -29,6 +29,7 @@ export declare const VelcronConstants: {
29
29
  link: string;
30
30
  motion: string;
31
31
  scroll: string;
32
+ markdown: string;
32
33
  };
33
34
  events: {
34
35
  idTokenStart: string;
@@ -32,6 +32,7 @@ exports.VelcronConstants = {
32
32
  link: "link",
33
33
  motion: "motion",
34
34
  scroll: "scroll",
35
+ markdown: "markdown"
35
36
  },
36
37
  events: {
37
38
  idTokenStart: "$ev{",