@omnia/fx-models 8.0.112-dev → 8.0.113-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.
@@ -247,6 +247,7 @@ export interface TextFilterEngineProperty extends BaseFilterEngineProperty {
247
247
  operator: FilterEngineOperator;
248
248
  showResultCount: boolean;
249
249
  valueSortOrder: FilterEngineTextValueSortOrder;
250
+ showSearchValueBox: boolean;
250
251
  }
251
252
  export interface TagsFilterEngineProperty extends BaseFilterEngineProperty {
252
253
  value: Array<string>;
@@ -1,8 +1,7 @@
1
1
  import { GuidValue } from "../Guid";
2
2
  import { VelcronAppDefinition } from "../velcron";
3
- import { BoxDimensions } from "./ComponentDefinitions";
4
3
  import { SpacingSettings } from "./SpacingSetting";
5
- import { ColorValue } from "./ThemeDefinitionV2";
4
+ import { BackgroundDefinition } from "./ThemeDefinitionV2";
6
5
  export interface ChromeDefinition {
7
6
  id: GuidValue;
8
7
  name: string;
@@ -11,15 +10,7 @@ export interface ChromeDefinition {
11
10
  definition?: VelcronAppDefinition;
12
11
  };
13
12
  styles: {
14
- background?: {
15
- color?: ColorValue;
16
- filled?: boolean;
17
- opacity?: number;
18
- };
13
+ background?: BackgroundDefinition;
19
14
  spacing?: SpacingSettings;
20
- elevation?: number;
21
- borderRadius?: BoxDimensions;
22
- border?: BoxDimensions;
23
- borderColor?: ColorValue;
24
15
  };
25
16
  }
@@ -1,4 +1,4 @@
1
- import { ColorValue } from "./ThemeDefinitionV2";
1
+ import { BackgroundDefinition, ColorValue } from "./ThemeDefinitionV2";
2
2
  import { ChromeDefinition } from "./ChromeDefinition";
3
3
  import { SpacingDefinition, SpacingSettings } from "./SpacingSetting";
4
4
  import { TypographyDefinition } from "./TypographyDefinition";
@@ -78,11 +78,7 @@ export interface ButtonBlueprint extends BlueprintItemDefinition {
78
78
  density?: "compact" | "comfortable";
79
79
  size?: "x-small" | "small" | "large" | "x-large";
80
80
  padding?: SpacingSettings;
81
- rounded?: string;
82
- alterCaps?: boolean;
83
- background?: ColorValue;
81
+ background?: BackgroundDefinition;
82
+ alterCase?: boolean;
84
83
  textColor?: ColorValue;
85
- elevation?: number;
86
- border?: number;
87
- borderColor?: ColorValue;
88
84
  }
@@ -1,5 +1,5 @@
1
1
  import { Guid } from "../Guid";
2
- import { BlueprintDefinition } from "./ComponentDefinitions";
2
+ import { BlueprintDefinition, BoxDimensions } from "./ComponentDefinitions";
3
3
  export interface ColorTypeResult<resultType> {
4
4
  base: resultType;
5
5
  baseTone: resultType;
@@ -79,14 +79,27 @@ export interface ColorGradientValue {
79
79
  color: ColorValue;
80
80
  stop?: number;
81
81
  }
82
+ /**Background */
82
83
  export interface BackgroundDefinition {
84
+ filled?: boolean;
85
+ fill?: FillDefinition;
86
+ border?: BorderStylingDefinition;
87
+ elevation?: number;
88
+ }
89
+ export interface FillDefinition {
83
90
  colors: Array<ColorValue | ColorGradientValue>;
84
91
  acrylic?: boolean;
92
+ opacity?: number;
85
93
  }
86
- export interface LinearGradientBackgroundDefinition extends BackgroundDefinition {
94
+ export interface LinearGradientFillDefinition extends FillDefinition {
87
95
  degrees: number;
88
96
  }
89
- export interface RadialGradientBackgroundDefinition extends BackgroundDefinition {
97
+ export interface RadialGradientFillDefinition extends FillDefinition {
90
98
  shape: RadialGradientShapes;
91
99
  position?: number;
92
100
  }
101
+ export interface BorderStylingDefinition {
102
+ radius?: BoxDimensions;
103
+ width?: BoxDimensions;
104
+ fill?: FillDefinition;
105
+ }
@@ -96,7 +96,7 @@ export declare const ORatioTypeDefinitions: readonly ["default", "landscape"];
96
96
  export type ORatioTypes = typeof ORatioTypeDefinitions[number];
97
97
  export declare const ORatioTypesName = "ORatioTypes";
98
98
  /** List */
99
- export declare const OListItemVariantDefinitions: readonly ["default", "delete", "navigation"];
99
+ export declare const OListItemVariantDefinitions: readonly ["default", "delete", "navigation", "content"];
100
100
  export type OListItemVariants = typeof OListItemVariantDefinitions[number];
101
101
  export declare const OListItemVariantsName = "OListItemVariants";
102
102
  export declare const OListTypeDefinitions: readonly ["default", "navigation", "options"];
@@ -72,7 +72,7 @@ exports.OIconVariantsName = "OIconVariants";
72
72
  exports.ORatioTypeDefinitions = ["default", "landscape"];
73
73
  exports.ORatioTypesName = "ORatioTypes";
74
74
  /** List */
75
- exports.OListItemVariantDefinitions = ["default", "delete", "navigation"];
75
+ exports.OListItemVariantDefinitions = ["default", "delete", "navigation", "content"];
76
76
  exports.OListItemVariantsName = "OListItemVariants";
77
77
  exports.OListTypeDefinitions = ["default", "navigation", "options"];
78
78
  exports.OListTypesName = "OListTypes";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "8.0.112-dev",
4
+ "version": "8.0.113-dev",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -1,5 +1,6 @@
1
1
  import { Guid, GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
2
2
  import { LockStatusExcludeChildren, PropertyLockStatusType } from "../../../ux";
3
+ import { OSizeTypes } from "../../oxide";
3
4
  import { PropertyDefinition, PropertyDisplaySettingsBase, PropertyEditorSettingsBase } from "../PropertyDefinition";
4
5
  import { ImagePropertyValue } from "../values";
5
6
  export declare class ImageDisplaySettings extends PropertyDisplaySettingsBase {
@@ -7,7 +8,7 @@ export declare class ImageDisplaySettings extends PropertyDisplaySettingsBase {
7
8
  width?: string;
8
9
  height?: string;
9
10
  avatar?: {
10
- size: number;
11
+ size: OSizeTypes;
11
12
  };
12
13
  }
13
14
  export declare class ImageEditorSettings extends PropertyEditorSettingsBase {