@omnia/fx-models 8.0.73-dev → 8.0.74-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.
@@ -0,0 +1,22 @@
1
+ import { BoxDimensions, ColorSchemaType, ColorSchemaTypes, ColorType, GuidValue, SpacingSettings, VelcronAppDefinition } from "@omnia/fx-models";
2
+ export interface ChromeDefinition {
3
+ id: GuidValue;
4
+ name: string;
5
+ header: {
6
+ definitionId: GuidValue;
7
+ definition?: VelcronAppDefinition;
8
+ };
9
+ colors: {
10
+ colorSchemaType?: ColorSchemaTypes | ColorSchemaType;
11
+ };
12
+ styles: {
13
+ spacing?: SpacingSettings;
14
+ elevation?: number;
15
+ borderRadius?: BoxDimensions;
16
+ border?: BoxDimensions;
17
+ borderColor?: {
18
+ colorType: ColorType;
19
+ toned?: boolean;
20
+ };
21
+ };
22
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -6,3 +6,4 @@ export * from "./BlueprintDefinition";
6
6
  export * from "./SpacingSetting";
7
7
  export * from "./SharedBlueprintMethods";
8
8
  export * from "./SharedColorMethods";
9
+ export * from "./ChromeDefinition";
@@ -9,3 +9,4 @@ tslib_1.__exportStar(require("./BlueprintDefinition"), exports);
9
9
  tslib_1.__exportStar(require("./SpacingSetting"), exports);
10
10
  tslib_1.__exportStar(require("./SharedBlueprintMethods"), exports);
11
11
  tslib_1.__exportStar(require("./SharedColorMethods"), exports);
12
+ tslib_1.__exportStar(require("./ChromeDefinition"), exports);
@@ -208,6 +208,14 @@ export declare const ORatingLengthName = "ORatingLength";
208
208
  export declare const OSplitpanesVariationDefinitions: readonly ["horizontal", "vertical"];
209
209
  export type OSplitpanesVariation = typeof OSplitpanesVariationDefinitions[number];
210
210
  export declare const OSplitpanesVariationTypesName = "OSplitpanesVariation";
211
+ /** Snackbar */
212
+ export declare const OSnackbarLocationTypeDefinitions: readonly ["top", "bottom", "left", "right", "center"];
213
+ export type OSnackbarLocationTypes = typeof OSnackbarLocationTypeDefinitions[number];
214
+ export declare const OSnackbarLocationTypesName = "OSnackbarLocationTypes";
215
+ export type OSnackbarLocationCombination = `${OSnackbarLocationTypes}` | `${OSnackbarLocationTypes} ${OSnackbarLocationTypes}` | `${OSnackbarLocationTypes} ${OSnackbarLocationTypes} ${OSnackbarLocationTypes}` | `${OSnackbarLocationTypes} ${OSnackbarLocationTypes} ${OSnackbarLocationTypes} ${OSnackbarLocationTypes}`;
216
+ export declare const OSnackbarVariationTypeDefinitions: readonly ["text", "flat", "elevated", "tonal", "outlined", "plain"];
217
+ export type OSnackbarVariationTypes = typeof OSnackbarVariationTypeDefinitions[number];
218
+ export declare const OSnackbarVariationTypesName = "OSnackbarVariation";
211
219
  export declare const OMultiTextInputModesDefinitions: readonly ["textfield", "textarea", "rtf"];
212
220
  export type OMultiTextInputModes = typeof OMultiTextInputModesDefinitions[number];
213
221
  export declare const OMultiTextInputModesName = "OMultiTextInputModes";
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OListTypeDefinitions = exports.OListItemVariantsName = exports.OListItemVariantDefinitions = exports.ORatioTypesName = exports.ORatioTypeDefinitions = exports.OIconVariantsName = exports.OIconVariantDefinitions = exports.OIconAnimationsName = exports.OIconAnimationsDefinition = exports.OIconSizesName = exports.OIconSizeDefinitions = exports.OIconPresetsName = exports.OIconPresetDefinitions = exports.OPanelTypesName = exports.OPanelTypeDefinitions = exports.OPageDividerTypesName = exports.OPageDividerTypeDefinitions = exports.ODialogSizeDefinitions = exports.ODialogTypesName = exports.ODialogTypeDefinitions = exports.OColumnVariantsName = exports.OColumnVariantDefinitions = exports.OAlignmentTypesName = exports.OAlignmentTypeDefinitions = exports.OColValuesName = exports.OColValueDefinitions = exports.OButtonGroupTypesName = exports.OButtonGroupTypeDefinitions = exports.OButtonVariantsName = exports.OButtonVariantDefinitions = exports.OButtonPresetsName = exports.OButtonPresetDefinitions = exports.OAlertTypesName = exports.OAlertTypeDefinitions = exports.OAppBarTypesName = exports.OAppBarTypeDefinitions = exports.OProgressSizeTypesName = exports.OProgressSizeTypeDefinitions = exports.OProgressVariantsName = exports.OProgressVariantDefinitions = exports.OProgressTypesName = exports.OProgressTypeDefinitions = exports.OSliderVariantsName = exports.OSliderVariantDefinitions = exports.ODirectionTypesName = exports.ODirectionDefinitions = exports.ONotificationSizeTypeDefinitions = exports.OContentHeightDefinitions = exports.OSizeTypesName = exports.OSizeTypeDefinitions = void 0;
4
4
  exports.OSplitpanesVariationDefinitions = exports.ORatingLengthName = exports.ORatingLengthDefinition = exports.ORatingDensityTypesName = exports.ORatingDensityDefinitions = exports.OLazyVariationDefinitions = exports.OInfiniteScrollStatusDefinitions = exports.ODraggableVariantsName = exports.ODraggableVariationDefinitions = exports.OToolbarVariantsName = exports.OToolbarVariationDefinitions = exports.OTextBoxTypesName = exports.OTextBoxTypeDefinitions = exports.OTextBoxVariantTypesName = exports.OTextBoxVariantTypeDefinitions = exports.OTabVariantsName = exports.OTabVariantDefinitions = exports.OScrollOffsetTypesName = exports.OScrollOffsetTypeDefinitions = exports.OSkeletonLoaderName = exports.OSkeletonLoaderTypeDefinitions = exports.OSelectTypesName = exports.OSelectTypeDefinitions = exports.OScrollTypesName = exports.OScrollTypeDefinitions = exports.OFlexVariantsName = exports.OFlexVariantDefinitions = exports.OVerticalAlignmentsName = exports.OVerticalAlignmentDefinitions = exports.OTabAlignmentsName = exports.OTabAlignmentDefinitions = exports.OHorizontalAlignmentsName = exports.OHorizontalAlignmentDefinitions = exports.OPanelVariantsName = exports.OPanelVariantDefinitions = exports.ORowDirectionsName = exports.ORowDirectionDefinitions = exports.OPaddingTypesName = exports.OPaddingTypeDefinitions = exports.ODividerTypesName = exports.ODividerTypeDefinitions = exports.ONavigationDrawerVariantsName = exports.ONavigationDrawerVariantDefinitions = exports.ONavigationDrawerLocationsName = exports.ONavigationDrawerLocationDefinitions = exports.OMenuLocationsName = exports.OMenuLocationDefinitions = exports.OListLineTypesName = exports.OListLineTypeDefinitions = exports.OListTypesName = void 0;
5
- exports.OMultiTextInputModesName = exports.OMultiTextInputModesDefinitions = exports.OSplitpanesVariationTypesName = void 0;
5
+ exports.OMultiTextInputModesName = exports.OMultiTextInputModesDefinitions = exports.OSnackbarVariationTypesName = exports.OSnackbarVariationTypeDefinitions = exports.OSnackbarLocationTypesName = exports.OSnackbarLocationTypeDefinitions = exports.OSplitpanesVariationTypesName = void 0;
6
6
  /**Shared */
7
7
  const block = ["top", "bottom"];
8
8
  const inline = ["start", "end", "left", "right"];
@@ -145,5 +145,10 @@ exports.ORatingLengthName = "ORatingLength";
145
145
  /** Splitpanes */
146
146
  exports.OSplitpanesVariationDefinitions = ["horizontal", "vertical"];
147
147
  exports.OSplitpanesVariationTypesName = "OSplitpanesVariation";
148
+ /** Snackbar */
149
+ exports.OSnackbarLocationTypeDefinitions = ["top", "bottom", "left", "right", "center"];
150
+ exports.OSnackbarLocationTypesName = "OSnackbarLocationTypes";
151
+ exports.OSnackbarVariationTypeDefinitions = ["text", "flat", "elevated", "tonal", "outlined", "plain"];
152
+ exports.OSnackbarVariationTypesName = "OSnackbarVariation";
148
153
  exports.OMultiTextInputModesDefinitions = ["textfield", "textarea", "rtf"];
149
154
  exports.OMultiTextInputModesName = "OMultiTextInputModes";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "8.0.73-dev",
4
+ "version": "8.0.74-dev",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -17,6 +17,7 @@ export declare const LayoutEditorCanvasStyles: {
17
17
  drawerToolbar: (dark: boolean, backgroundColor: string) => NestedCSSPropertiesExtends;
18
18
  drawerToolbarWrapper: (dark: boolean, expandedPadding: string) => NestedCSSPropertiesExtends;
19
19
  settingsWrapper: NestedCSSPropertiesExtends;
20
+ settingsDrawer: NestedCSSPropertiesExtends;
20
21
  closeButton: NestedCSSPropertiesExtends;
21
22
  rightResizer: (backgroundColor: string) => NestedCSSPropertiesExtends;
22
23
  };