@omnia/fx-models 8.0.175-dev → 8.0.177-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.
@@ -140,7 +140,6 @@ export interface BackgroundMediaDefinition {
140
140
  export interface FillDefinition {
141
141
  colors: Array<ColorValue | ColorGradientValue>;
142
142
  acrylic?: boolean;
143
- opacity?: number;
144
143
  }
145
144
  export type FillVariant = "variant1" | "variant2" | "variant3";
146
145
  export type FillDefinitionValue = FillVariant | FillDefinition | ColorValue;
@@ -0,0 +1,6 @@
1
+ import { GuidValue } from "../Guid";
2
+ import { VelcronAppDefinition } from "./VelcronDefinition";
3
+ export interface VelcronSectionInstance {
4
+ contentId: GuidValue;
5
+ definition: VelcronAppDefinition;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,4 @@
1
1
  export * from "./VelcronDefinition";
2
2
  export * from "./VelcronEvents";
3
3
  export * from "./VelcronReference";
4
+ export * from "./VelcronContentSection";
@@ -4,3 +4,4 @@ const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./VelcronDefinition"), exports);
5
5
  tslib_1.__exportStar(require("./VelcronEvents"), exports);
6
6
  tslib_1.__exportStar(require("./VelcronReference"), exports);
7
+ tslib_1.__exportStar(require("./VelcronContentSection"), exports);
@@ -151,6 +151,9 @@ export interface VelcronRenderProp {
151
151
  required?: boolean;
152
152
  defaultValue?: any;
153
153
  }
154
+ export interface VelcronDefinitionHasEffects {
155
+ effects?: VelcronEffects;
156
+ }
154
157
  /*** Built-in Components *********************************************************************/
155
158
  export interface VelcronFlexDefinition extends VelcronDefinition, VelcronColorStyling {
156
159
  type: "flex";
@@ -158,7 +161,7 @@ export interface VelcronFlexDefinition extends VelcronDefinition, VelcronColorSt
158
161
  border?: VelcronBorder;
159
162
  borderRadius?: VelcronDimensions;
160
163
  }
161
- export interface VelcronFlexRowDefinition extends VelcronDefinition, VelcronColorStyling {
164
+ export interface VelcronFlexRowDefinition extends VelcronDefinition, VelcronColorStyling, VelcronDefinitionHasEffects {
162
165
  type: "row";
163
166
  events?: VelcronOnPressEvent;
164
167
  direction?: VelcronBindableProp<"row" | "row-reverse">;
@@ -176,9 +179,8 @@ export interface VelcronFlexRowDefinition extends VelcronDefinition, VelcronColo
176
179
  minWidth?: number | string;
177
180
  height?: number | string;
178
181
  minHeight?: number | string;
179
- effects?: VelcronEffects;
180
182
  }
181
- export interface VelcronFlexColumnDefinition extends VelcronDefinition, VelcronColorStyling {
183
+ export interface VelcronFlexColumnDefinition extends VelcronDefinition, VelcronColorStyling, VelcronDefinitionHasEffects {
182
184
  type: "column";
183
185
  events?: VelcronOnPressEvent;
184
186
  grow?: number;
@@ -193,7 +195,7 @@ export interface VelcronCardDefinition extends VelcronDefinition, VelcronColorSt
193
195
  footer?: Array<VelcronDefinition>;
194
196
  events?: VelcronOnPressEvent;
195
197
  }
196
- export interface VelcronTextDefinition extends VelcronDefinition, VelcronColorStyling, VelcronTextStyling {
198
+ export interface VelcronTextDefinition extends VelcronDefinition, VelcronColorStyling, VelcronDefinitionHasEffects, VelcronTextStyling {
197
199
  type: "text";
198
200
  value?: VelcronBindableProp;
199
201
  placeholder?: VelcronBindableProp;
@@ -1,37 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VelcronImageRatios = void 0;
4
- const p = {
5
- type: "row",
6
- alignX: "center",
7
- alignY: "center",
8
- colorSchemaType: "primary",
9
- direction: "row",
10
- effects: {
11
- initial: {
12
- scale: 1
13
- },
14
- visible: {
15
- scale: 1
16
- },
17
- hovered: {
18
- scale: 1.5,
19
- rotateY: 360, // Rotate 360 degrees on hover
20
- transition: {
21
- duration: 0.5, // Duration of the animation
22
- easing: "ease-in-out" // Easing function for a smooth animation
23
- }
24
- },
25
- tapped: {
26
- scale: 1.5,
27
- rotateX: 360, // Rotate 360 degrees on hover
28
- transition: {
29
- duration: 0.5, // Duration of the animation
30
- easing: "ease-in-out" // Easing function for a smooth animation
31
- }
32
- }
33
- }
34
- };
35
4
  var VelcronImageRatios;
36
5
  (function (VelcronImageRatios) {
37
6
  VelcronImageRatios["square"] = "square";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "8.0.175-dev",
4
+ "version": "8.0.177-dev",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"