@omnia/fx-models 8.0.176-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.
- package/internal-do-not-import-from-here/shared/models/theming/ThemeDefinitionV2.d.ts +0 -1
- package/internal-do-not-import-from-here/shared/models/velcron/VelcronContentSection.d.ts +6 -0
- package/internal-do-not-import-from-here/shared/models/velcron/VelcronContentSection.js +2 -0
- package/internal-do-not-import-from-here/shared/models/velcron/index.d.ts +1 -0
- package/internal-do-not-import-from-here/shared/models/velcron/index.js +1 -0
- package/internal-do-not-import-from-here/velcron/core/models/VelcronDefinitions.d.ts +6 -4
- package/internal-do-not-import-from-here/velcron/core/models/VelcronDefinitions.js +0 -31
- package/package.json +1 -1
@@ -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;
|
@@ -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";
|