@omnia/fx-models 8.0.329-dev → 8.0.330-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.
@@ -19,10 +19,11 @@ var SpacingMethods;
19
19
  let result = spacingValue;
20
20
  if (isNaN(spacingValue)) {
21
21
  let strippedValue = spacingScaling.get.valueWithoutScale(spacingValue);
22
- if (strippedValue.startsWith("-")) {
22
+ const isString = typeof strippedValue === "string";
23
+ if (isString && strippedValue?.startsWith("-")) {
23
24
  negative = true;
24
25
  }
25
- strippedValue = strippedValue.replace("-", "");
26
+ strippedValue = isString && strippedValue.replace("-", "");
26
27
  if (strippedValue === Spacing_1.SpacingTypes.xs) {
27
28
  result = definition.xs;
28
29
  }
@@ -38,6 +38,12 @@ export declare const OAppBarTypesName = "OAppBarTypes";
38
38
  export declare const OAlertTypeDefinitions: readonly ["success", "info", "warning", "error"];
39
39
  export type OAlertTypes = typeof OAlertTypeDefinitions[number];
40
40
  export declare const OAlertTypesName = "OAlertTypes";
41
+ /**Breadcrumb */
42
+ export type LinkItemProps = {
43
+ title: string;
44
+ href?: string;
45
+ disabled?: boolean;
46
+ };
41
47
  /**Button */
42
48
  export declare const OButtonPresetDefinitions: readonly ["confirm", "create", "remove", "delete", "add", "ok", "cancel", "save", "close", "manage-list", "settings", "icon-add", "icon-comment", "icon-delete", "icon-edit", "icon-drag-handle", "icon-copy", "icon-code", "icon-close", "icon-back", "icon-more", "icon-navigate", "icon-preview", "icon-settings", "load-more", "retry", "remove", "approve", "copy-to-clipboard", "details", "next", "previous", "select", "view-more", "send-request"];
43
49
  export type OOxideButtonPresets = typeof OButtonPresetDefinitions[number];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "8.0.329-dev",
4
+ "version": "8.0.330-dev",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"