@omnia/fx 8.0.296-dev → 8.0.298-dev

Sign up to get free protection for your applications and to get access to all the features.
Files changed (154) hide show
  1. package/internal-do-not-import-from-here/contexts/OmniaContext.d.ts +2 -2
  2. package/internal-do-not-import-from-here/contexts/OmniaContextProvider.d.ts +2 -2
  3. package/internal-do-not-import-from-here/manifests/omnia.fx.ux.app.manifest.json +1 -0
  4. package/internal-do-not-import-from-here/manifests/omnia.fx.ux.manifest.json +1 -1
  5. package/internal-do-not-import-from-here/stores/oxide/ComponentHostStore.d.ts +5 -5
  6. package/internal-do-not-import-from-here/ux/Exposes.d.ts +1 -1
  7. package/internal-do-not-import-from-here/ux/Styles.stylex.d.ts +87 -87
  8. package/internal-do-not-import-from-here/ux/VueComponentBase.d.ts +2 -2
  9. package/internal-do-not-import-from-here/ux/app/ExposeToUxCore.d.ts +5 -0
  10. package/internal-do-not-import-from-here/ux/app/index.d.ts +1 -5
  11. package/internal-do-not-import-from-here/ux/app/management/tabs/instance/EditPermissionDialog.d.ts +1 -1
  12. package/internal-do-not-import-from-here/ux/aurora/admin/blades/themes/models/Theme.d.ts +2 -2
  13. package/internal-do-not-import-from-here/ux/aurora/admin/blades/themes/store/ThemeEditorStore.d.ts +13 -11
  14. package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/ColorPicker.d.ts +1 -1
  15. package/internal-do-not-import-from-here/ux/aurora/components/colorschemapicker/ColorSchemaPicker.d.ts +6 -6
  16. package/internal-do-not-import-from-here/ux/aurora/components/colorschemapicker/ColorSchemaViewer.d.ts +1 -1
  17. package/internal-do-not-import-from-here/ux/aurora/components/themepicker/ThemeEditor.d.ts +5 -5
  18. package/internal-do-not-import-from-here/ux/aurora/components/themepicker/ThemePicker.css.d.ts +2 -2
  19. package/internal-do-not-import-from-here/ux/aurora/components/themepicker/ThemePicker.d.ts +5 -5
  20. package/internal-do-not-import-from-here/ux/aurora/components/themepicker/ThemeViewer.d.ts +4 -4
  21. package/internal-do-not-import-from-here/ux/aurora/designkits/default/themes/ThemeDefinitions.d.ts +12 -12
  22. package/internal-do-not-import-from-here/ux/aurora/designkits/default/useDefaultDesignKit.d.ts +11 -11
  23. package/internal-do-not-import-from-here/ux/aurora/designkits/documentation/themes/ThemeDefinitions.d.ts +2 -2
  24. package/internal-do-not-import-from-here/ux/aurora/designkits/documentation/useDocumentationDesignKit.d.ts +1 -1
  25. package/internal-do-not-import-from-here/ux/aurora/designkits/editor/themes/ThemeDefinitions.d.ts +3 -3
  26. package/internal-do-not-import-from-here/ux/aurora/designkits/editor/useEditorDesignKit.d.ts +2 -2
  27. package/internal-do-not-import-from-here/ux/aurora/designkits/shared/ThemeDefinitionInstance.d.ts +2 -2
  28. package/internal-do-not-import-from-here/ux/aurora/designkits/useDesignKits.d.ts +14 -14
  29. package/internal-do-not-import-from-here/ux/aurora/index.d.ts +0 -1
  30. package/internal-do-not-import-from-here/ux/aurora/store/ColorManager.d.ts +1 -0
  31. package/internal-do-not-import-from-here/ux/aurora/store/ColorSchemaStore.d.ts +12 -3
  32. package/internal-do-not-import-from-here/ux/aurora/store/FontStore.d.ts +5 -6
  33. package/internal-do-not-import-from-here/ux/aurora/store/SpacingBlueprintStore.d.ts +24 -7428
  34. package/internal-do-not-import-from-here/ux/aurora/store/ThemeContextStore.d.ts +2 -2
  35. package/internal-do-not-import-from-here/ux/aurora/store/ThemeService.d.ts +10 -0
  36. package/internal-do-not-import-from-here/ux/aurora/{themingV3/store/ThemingStore.d.ts → store/ThemeStorage.d.ts} +14 -15
  37. package/internal-do-not-import-from-here/ux/aurora/store/{ThemeStoreV2.d.ts → ThemeStore.d.ts} +1 -1
  38. package/internal-do-not-import-from-here/ux/aurora/store/TypographyBlueprintStore.d.ts +24 -7428
  39. package/internal-do-not-import-from-here/ux/aurora/store/index.d.ts +3 -2
  40. package/internal-do-not-import-from-here/ux/aurora/styling/UseStyling.d.ts +6 -12
  41. package/internal-do-not-import-from-here/ux/aurora/styling/styles/Blueprints.d.ts +12 -9
  42. package/internal-do-not-import-from-here/ux/aurora/styling/styles/Chrome.d.ts +1 -1
  43. package/internal-do-not-import-from-here/ux/aurora/styling/styles/Colors.d.ts +3 -3
  44. package/internal-do-not-import-from-here/ux/aurora/styling/styles/General.d.ts +5 -5
  45. package/internal-do-not-import-from-here/ux/aurora/styling/styles/Spacing.d.ts +1 -1
  46. package/internal-do-not-import-from-here/ux/aurora/styling/styles/Typography.d.ts +18 -18
  47. package/internal-do-not-import-from-here/ux/aurora/themeprovider/ThemeProvider.d.ts +12 -12
  48. package/internal-do-not-import-from-here/ux/datetimepicker/DateTimePicker.d.ts +0 -2
  49. package/internal-do-not-import-from-here/ux/dialog/Dialog.d.ts +3 -3
  50. package/internal-do-not-import-from-here/ux/governancedashboard/BarChartIndicator.d.ts +1 -1
  51. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerDialog.d.ts +1 -1
  52. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/blockplaceholder/BlockPlaceholder.d.ts +1 -1
  53. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/canvastoolbar/CanvasToolbar.d.ts +5 -5
  54. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/BlockTitle.d.ts +1 -1
  55. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/targetselector/TargetSelector.d.ts +1 -1
  56. package/internal-do-not-import-from-here/ux/layoutcanvas/layoutactionhandler/LayoutAction.stylex.d.ts +3 -3
  57. package/internal-do-not-import-from-here/ux/layoutcanvas/renderer/LayoutRendererCanvas.d.ts +1 -1
  58. package/internal-do-not-import-from-here/ux/layoutcanvas/renderer/LayoutRendererCanvas.stylex.d.ts +1 -1
  59. package/internal-do-not-import-from-here/ux/layoutcanvas/shared/LayoutEditorThemingManager.d.ts +4 -4
  60. package/internal-do-not-import-from-here/ux/layoutcanvas/shared/ThemingRenditionManager.d.ts +5 -5
  61. package/internal-do-not-import-from-here/ux/layoutcanvas/shared/layoutItemselector/LayoutItemSelection.d.ts +1 -1
  62. package/internal-do-not-import-from-here/ux/layoutcanvas/shared/layoutItemselector/LayoutItemSelection.stylex.d.ts +2 -2
  63. package/internal-do-not-import-from-here/ux/layoutcanvas/shared/layoutItemselector/LayoutItemSelector.d.ts +1 -1
  64. package/internal-do-not-import-from-here/ux/layoutcanvas/shared/layoutItemselector/LayoutItemSelector.stylex.d.ts +11 -11
  65. package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasStore.d.ts +7 -7
  66. package/internal-do-not-import-from-here/ux/mediapickerimage/MediaPickerImage.css.d.ts +2 -2
  67. package/internal-do-not-import-from-here/ux/mediapickerimage/MediaPickerImage.d.ts +1 -1
  68. package/internal-do-not-import-from-here/ux/messaging/InternalTopics.d.ts +2 -2
  69. package/internal-do-not-import-from-here/ux/messaging/Topics.d.ts +2 -2
  70. package/internal-do-not-import-from-here/ux/monaco/MonacoEditor.d.ts +5 -5
  71. package/internal-do-not-import-from-here/ux/oxide/appbar/Appbar.stylex.d.ts +15 -15
  72. package/internal-do-not-import-from-here/ux/oxide/avatar/Avatar.stylex.d.ts +1 -1
  73. package/internal-do-not-import-from-here/ux/oxide/btn/Button.stylex.d.ts +1 -1
  74. package/internal-do-not-import-from-here/ux/oxide/btngroup/ButtonGroup.stylex.d.ts +1 -1
  75. package/internal-do-not-import-from-here/ux/oxide/card/Card.css.d.ts +1 -1
  76. package/internal-do-not-import-from-here/ux/oxide/checkbox/Checkbox.stylex.d.ts +1 -1
  77. package/internal-do-not-import-from-here/ux/oxide/chip/Chip.stylex.d.ts +2 -2
  78. package/internal-do-not-import-from-here/ux/oxide/colorpicker/ColorPicker.stylex.d.ts +6 -6
  79. package/internal-do-not-import-from-here/ux/oxide/column/Column.stylex.d.ts +1 -1
  80. package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.stylex.d.ts +3 -3
  81. package/internal-do-not-import-from-here/ux/oxide/dialog/Dialog.stylex.d.ts +11 -11
  82. package/internal-do-not-import-from-here/ux/oxide/divider/Divider.stylex.d.ts +2 -2
  83. package/internal-do-not-import-from-here/ux/oxide/draggable/Draggable.stylex.d.ts +1 -1
  84. package/internal-do-not-import-from-here/ux/oxide/expansionpanel/ExpansionPanel.stylex.d.ts +5 -5
  85. package/internal-do-not-import-from-here/ux/oxide/expansionpanel/ExpansionPanels.stylex.d.ts +1 -1
  86. package/internal-do-not-import-from-here/ux/oxide/flex/Row.stylex.d.ts +1 -1
  87. package/internal-do-not-import-from-here/ux/oxide/form/Form.stylex.d.ts +1 -1
  88. package/internal-do-not-import-from-here/ux/oxide/icon/Icon.stylex.d.ts +1 -1
  89. package/internal-do-not-import-from-here/ux/oxide/inputfield/InputField.stylex.d.ts +3 -3
  90. package/internal-do-not-import-from-here/ux/oxide/layout/Layout.stylex.d.ts +1 -1
  91. package/internal-do-not-import-from-here/ux/oxide/lazy/Lazy.d.ts +2 -1
  92. package/internal-do-not-import-from-here/ux/oxide/link/link.stylex.d.ts +1 -1
  93. package/internal-do-not-import-from-here/ux/oxide/list/List.stylex.d.ts +1 -1
  94. package/internal-do-not-import-from-here/ux/oxide/list/ListItem.stylex.d.ts +3 -3
  95. package/internal-do-not-import-from-here/ux/oxide/menu/Menu.stylex.d.ts +1 -1
  96. package/internal-do-not-import-from-here/ux/oxide/motion/Motion.d.ts +12 -4
  97. package/internal-do-not-import-from-here/ux/oxide/navigationdrawer/NavigationDrawer.d.ts +4 -4
  98. package/internal-do-not-import-from-here/ux/oxide/navigationdrawer/NavigationDrawer.stylex.d.ts +1 -1
  99. package/internal-do-not-import-from-here/ux/oxide/notification/Notification.stylex.d.ts +2 -2
  100. package/internal-do-not-import-from-here/ux/oxide/panel/Panel.stylex.d.ts +6 -6
  101. package/internal-do-not-import-from-here/ux/oxide/radio/Radio.stylex.d.ts +1 -1
  102. package/internal-do-not-import-from-here/ux/oxide/radio/RadioGroup.stylex.d.ts +2 -2
  103. package/internal-do-not-import-from-here/ux/oxide/rangeslider/RangeSlider.d.ts +1 -1
  104. package/internal-do-not-import-from-here/ux/oxide/rangeslider/RangeSlider.stylex.d.ts +1 -1
  105. package/internal-do-not-import-from-here/ux/oxide/scrollcontainer/ScrollContainer.stylex.d.ts +2 -2
  106. package/internal-do-not-import-from-here/ux/oxide/select/Select.stylex.d.ts +2 -2
  107. package/internal-do-not-import-from-here/ux/oxide/slidepanel/SlidePanel.stylex.d.ts +2 -2
  108. package/internal-do-not-import-from-here/ux/oxide/slider/Slider.stylex.d.ts +1 -1
  109. package/internal-do-not-import-from-here/ux/oxide/splitpane/Splitpane.stylex.d.ts +1 -1
  110. package/internal-do-not-import-from-here/ux/oxide/stepper/Stepper.stylex.d.ts +1 -1
  111. package/internal-do-not-import-from-here/ux/oxide/stickycontainer/StickyContainer.stylex.d.ts +2 -2
  112. package/internal-do-not-import-from-here/ux/oxide/switch/Switch.stylex.d.ts +1 -1
  113. package/internal-do-not-import-from-here/ux/oxide/tab/Tab.stylex.d.ts +4 -4
  114. package/internal-do-not-import-from-here/ux/oxide/tab/Tabs.stylex.d.ts +5 -5
  115. package/internal-do-not-import-from-here/ux/oxide/table/Table.stylex.d.ts +1 -1
  116. package/internal-do-not-import-from-here/ux/oxide/text/Text.stylex.d.ts +1 -1
  117. package/internal-do-not-import-from-here/ux/oxide/textarea/TextArea.stylex.d.ts +1 -1
  118. package/internal-do-not-import-from-here/ux/oxide/toolbar/Toolbar.stylex.d.ts +6 -6
  119. package/internal-do-not-import-from-here/ux/oxide/treeview/Treeview.stylex.d.ts +5 -5
  120. package/internal-do-not-import-from-here/ux/post/IPost.d.ts +2 -2
  121. package/internal-do-not-import-from-here/ux/post/Post.d.ts +2 -2
  122. package/internal-do-not-import-from-here/ux/post/templates/PostTemplate.d.ts +2 -2
  123. package/internal-do-not-import-from-here/ux/settings/SettingsPane.d.ts +1 -1
  124. package/internal-do-not-import-from-here/ux/social/Comment.d.ts +5 -5
  125. package/internal-do-not-import-from-here/ux/social/templates/CommentLikeTemplate.d.ts +5 -5
  126. package/internal-do-not-import-from-here/ux/theming/InternalTheming.d.ts +2 -2
  127. package/internal-do-not-import-from-here/ux/theming/ThemeManager.d.ts +6 -6
  128. package/internal-do-not-import-from-here/ux/theming/ThemeStore.d.ts +7 -7
  129. package/internal-do-not-import-from-here/ux/theming/Theming.d.ts +3 -3
  130. package/internal-do-not-import-from-here/ux/use/UseColorSchemaSetup.d.ts +4 -0
  131. package/internal-do-not-import-from-here/ux/use/UseDraggable.d.ts +2 -2
  132. package/internal-do-not-import-from-here/ux/velcron/VelcronStylesProvider.d.ts +1 -1
  133. package/internal-do-not-import-from-here/ux/velcron/components/definitionpicker/VelcronDefinitionPicker.d.ts +1 -1
  134. package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronStyles.d.ts +4 -4
  135. package/internal-do-not-import-from-here/ux/velcron/editor/stores/VelcronEditorStore.d.ts +3 -3
  136. package/internal-do-not-import-from-here/ux/velcron/renderer/VelcronRenderer.d.ts +6 -6
  137. package/internal-do-not-import-from-here/ux/velcron/renderer/VelcronRenderer.stylex.d.ts +1 -1
  138. package/internal-do-not-import-from-here/ux/velcron/renderer/editors/AlignmentEditor.d.ts +76 -76
  139. package/internal-do-not-import-from-here/ux/versionedlayout/editor/LayoutEditorTabRenderer.d.ts +9 -9
  140. package/internal-do-not-import-from-here/ux/versionedlayout/editor/VersionedLayoutDefinitionEditorItem.d.ts +3 -3
  141. package/internal-do-not-import-from-here/ux/versionedlayout/editor/VersionedLayoutDefinitionEditorItemFactory.d.ts +3 -3
  142. package/internal-do-not-import-from-here/ux/versionedlayout/renderer/InternalVersionedLayoutRenderer.d.ts +9 -9
  143. package/internal-do-not-import-from-here/ux/versionedlayout/renderer/VersionedLayoutRenderer.d.ts +15 -15
  144. package/internal-do-not-import-from-here/wctypings.d.ts +10 -0
  145. package/package.json +2 -2
  146. package/task.js +10 -5
  147. package/task.ts +10 -5
  148. package/internal-do-not-import-from-here/ux/aurora/store/ThemingService.d.ts +0 -10
  149. package/internal-do-not-import-from-here/ux/aurora/themingV3/index.d.ts +0 -3
  150. package/internal-do-not-import-from-here/ux/aurora/themingV3/model/ThemingBoot.d.ts +0 -7
  151. package/internal-do-not-import-from-here/ux/aurora/themingV3/model/index.d.ts +0 -1
  152. package/internal-do-not-import-from-here/ux/aurora/themingV3/service/ThemingService.d.ts +0 -9
  153. package/internal-do-not-import-from-here/ux/aurora/themingV3/service/index.d.ts +0 -1
  154. package/internal-do-not-import-from-here/ux/aurora/themingV3/store/index.d.ts +0 -1
@@ -390,8 +390,8 @@ declare const _default: {
390
390
  modelValue?: ColorSchema;
391
391
  variant?: Variant;
392
392
  "onUpdate:modelValue"?: (value: ColorSchema) => any | void;
393
- closeIcon?: boolean;
394
393
  selected?: boolean;
394
+ closeIcon?: boolean;
395
395
  }>, "onClick:close" | "onClick:select"> & {
396
396
  "onClick:close"?: () => any;
397
397
  "onClick:select"?: (schema: ColorSchema) => any;
@@ -1,16 +1,16 @@
1
- import { ThemeDefinitionV2 } from "@omnia/fx-models";
1
+ import { ResolvedThemeDefinition } from "@omnia/fx-models";
2
2
  import { DefineEmit, DefineSlot } from "@omnia/fx/ux";
3
3
  import { VNodeChild } from "vue";
4
4
  type EditorVariant = "default" | "dialog";
5
5
  declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
6
- "emit:update:modelValue": (value: ThemeDefinitionV2) => void;
6
+ "emit:update:modelValue": (value: ResolvedThemeDefinition) => void;
7
7
  } & {
8
- "v-model"?: ThemeDefinitionV2;
8
+ "v-model"?: ResolvedThemeDefinition;
9
9
  } & {
10
- modelValue?: ThemeDefinitionV2;
10
+ modelValue?: ResolvedThemeDefinition;
11
11
  } & {
12
12
  variant?: EditorVariant;
13
13
  } & {
14
14
  preview?: boolean;
15
- } & DefineEmit<"init:actionButtons", (value: () => VNodeChild) => void> & DefineEmit<"click:confirm", (value: ThemeDefinitionV2) => void> & DefineSlot<"activator", () => VNodeChild>>) => any;
15
+ } & DefineEmit<"init:actionButtons", (value: () => VNodeChild) => void> & DefineEmit<"click:confirm", (value: ResolvedThemeDefinition) => void> & DefineSlot<"activator", () => VNodeChild>>) => any;
16
16
  export default _default;
@@ -1,7 +1,7 @@
1
- import { ColorSchema, ThemeDefinitionV2 } from "@omnia/fx-models";
1
+ import { ColorSchema, ResolvedThemeDefinition } from "@omnia/fx-models";
2
2
  export declare const ThemeDefinitionPickerStyles: {
3
3
  menuContainer: (backgroundColor: string) => string;
4
- itemContainer: (definition: ThemeDefinitionV2, selectedView: boolean) => string;
4
+ itemContainer: (definition: ResolvedThemeDefinition, selectedView: boolean) => string;
5
5
  IconColumn: string;
6
6
  titleColumn: string;
7
7
  colorPreview: (schema: ColorSchema) => string;
@@ -1,5 +1,5 @@
1
1
  import { DefineEmit, DefineSlot } from "@omnia/fx/ux";
2
- import { Func, ITemplateRegistration, ThemeDefinitionV2 } from "@omnia/fx-models";
2
+ import { Func, ITemplateRegistration, ResolvedThemeDefinition } from "@omnia/fx-models";
3
3
  import { VNodeChild } from "vue";
4
4
  type ThemePickerVariant = "default" | "table-selection" | "panel" | "table-selection-edit" | "table";
5
5
  declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
@@ -9,10 +9,10 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
9
9
  } & {
10
10
  filter?: "custom";
11
11
  } & {
12
- "emit:update:modelValue": (value: ThemeDefinitionV2) => void;
12
+ "emit:update:modelValue": (value: ResolvedThemeDefinition) => void;
13
13
  } & {
14
- "v-model"?: ThemeDefinitionV2;
14
+ "v-model"?: ResolvedThemeDefinition;
15
15
  } & {
16
- modelValue?: ThemeDefinitionV2;
17
- } & DefineSlot<"activator", Func<[VNodeChild]>> & DefineEmit<"item:selected", (theme: ITemplateRegistration<ThemeDefinitionV2>) => true>>) => any;
16
+ modelValue?: ResolvedThemeDefinition;
17
+ } & DefineSlot<"activator", Func<[VNodeChild]>> & DefineEmit<"item:selected", (theme: ITemplateRegistration<ResolvedThemeDefinition>) => true>>) => any;
18
18
  export default _default;
@@ -1,10 +1,10 @@
1
- import { ThemeContextType, ThemeDefinitionV2 } from "@omnia/fx-models";
1
+ import { ThemeContextType, ResolvedThemeDefinition } from "@omnia/fx-models";
2
2
  declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
3
- "emit:update:modelValue": (value: ThemeDefinitionV2) => void;
3
+ "emit:update:modelValue": (value: ResolvedThemeDefinition) => void;
4
4
  } & {
5
- "v-model"?: ThemeDefinitionV2;
5
+ "v-model"?: ResolvedThemeDefinition;
6
6
  } & {
7
- modelValue?: ThemeDefinitionV2;
7
+ modelValue?: ResolvedThemeDefinition;
8
8
  } & {
9
9
  themeType?: ThemeContextType;
10
10
  } & {
@@ -1,18 +1,18 @@
1
- import { ThemeDefinitionV2 } from "@omnia/fx-models";
1
+ import { ResolvedThemeDefinition } from "@omnia/fx-models";
2
2
  import { ThemeDefinitionInstance } from "../../shared";
3
3
  export declare function useDefaultThemeDefinitions(): {
4
- readonly darkKnight: ThemeDefinitionV2;
5
- readonly black: ThemeDefinitionV2;
6
- readonly bumbleBee: ThemeDefinitionV2;
7
- readonly cyberPunk: ThemeDefinitionV2;
8
- readonly coffe: ThemeDefinitionV2;
9
- readonly light: ThemeDefinitionV2;
10
- readonly lightAlt1: ThemeDefinitionV2;
11
- readonly lightPreview: ThemeDefinitionV2;
12
- readonly dark: ThemeDefinitionV2;
4
+ readonly darkKnight: ResolvedThemeDefinition;
5
+ readonly black: ResolvedThemeDefinition;
6
+ readonly bumbleBee: ResolvedThemeDefinition;
7
+ readonly cyberPunk: ResolvedThemeDefinition;
8
+ readonly coffe: ResolvedThemeDefinition;
9
+ readonly light: ResolvedThemeDefinition;
10
+ readonly lightAlt1: ResolvedThemeDefinition;
11
+ readonly lightPreview: ResolvedThemeDefinition;
12
+ readonly dark: ResolvedThemeDefinition;
13
13
  preview: {
14
- readonly dark: ThemeDefinitionV2;
15
- readonly darkMini: ThemeDefinitionV2;
14
+ readonly dark: ResolvedThemeDefinition;
15
+ readonly darkMini: ResolvedThemeDefinition;
16
16
  };
17
17
  };
18
18
  export declare function componentPreviewDefinition(mini: boolean): ThemeDefinitionInstance;
@@ -1,17 +1,17 @@
1
1
  export declare function useDefaultDesignKit(): {
2
2
  readonly themes: {
3
- readonly darkKnight: import("@omnia/fx-models").ThemeDefinitionV2;
4
- readonly black: import("@omnia/fx-models").ThemeDefinitionV2;
5
- readonly bumbleBee: import("@omnia/fx-models").ThemeDefinitionV2;
6
- readonly cyberPunk: import("@omnia/fx-models").ThemeDefinitionV2;
7
- readonly coffe: import("@omnia/fx-models").ThemeDefinitionV2;
8
- readonly light: import("@omnia/fx-models").ThemeDefinitionV2;
9
- readonly lightAlt1: import("@omnia/fx-models").ThemeDefinitionV2;
10
- readonly lightPreview: import("@omnia/fx-models").ThemeDefinitionV2;
11
- readonly dark: import("@omnia/fx-models").ThemeDefinitionV2;
3
+ readonly darkKnight: import("@omnia/fx-models").ResolvedThemeDefinition;
4
+ readonly black: import("@omnia/fx-models").ResolvedThemeDefinition;
5
+ readonly bumbleBee: import("@omnia/fx-models").ResolvedThemeDefinition;
6
+ readonly cyberPunk: import("@omnia/fx-models").ResolvedThemeDefinition;
7
+ readonly coffe: import("@omnia/fx-models").ResolvedThemeDefinition;
8
+ readonly light: import("@omnia/fx-models").ResolvedThemeDefinition;
9
+ readonly lightAlt1: import("@omnia/fx-models").ResolvedThemeDefinition;
10
+ readonly lightPreview: import("@omnia/fx-models").ResolvedThemeDefinition;
11
+ readonly dark: import("@omnia/fx-models").ResolvedThemeDefinition;
12
12
  preview: {
13
- readonly dark: import("@omnia/fx-models").ThemeDefinitionV2;
14
- readonly darkMini: import("@omnia/fx-models").ThemeDefinitionV2;
13
+ readonly dark: import("@omnia/fx-models").ResolvedThemeDefinition;
14
+ readonly darkMini: import("@omnia/fx-models").ResolvedThemeDefinition;
15
15
  };
16
16
  };
17
17
  readonly velcronTemplates: {
@@ -1,6 +1,6 @@
1
- import { ThemeDefinitionV2 } from "@omnia/fx-models";
1
+ import { ResolvedThemeDefinition } from "@omnia/fx-models";
2
2
  import { ThemeDefinitionInstance } from "../../shared";
3
3
  export declare function useDocumentationThemeDefinitions(): {
4
- readonly dark: ThemeDefinitionV2;
4
+ readonly dark: ResolvedThemeDefinition;
5
5
  };
6
6
  export declare function documentationDefinition(): ThemeDefinitionInstance;
@@ -1,6 +1,6 @@
1
1
  export declare function useDocumentationDesignKit(): {
2
2
  themes: {
3
- readonly dark: import("@omnia/fx-models").ThemeDefinitionV2;
3
+ readonly dark: import("@omnia/fx-models").ResolvedThemeDefinition;
4
4
  };
5
5
  velcronTemplates: {};
6
6
  };
@@ -1,8 +1,8 @@
1
- import { ThemeDefinitionV2 } from "@omnia/fx-models";
1
+ import { ResolvedThemeDefinition } from "@omnia/fx-models";
2
2
  import { ThemeDefinitionInstance } from "../../shared";
3
3
  export declare function useEditorThemeDefinitions(): {
4
- readonly dark: ThemeDefinitionV2;
5
- readonly light: ThemeDefinitionV2;
4
+ readonly dark: ResolvedThemeDefinition;
5
+ readonly light: ResolvedThemeDefinition;
6
6
  };
7
7
  export declare function darkEditorDefinition(): ThemeDefinitionInstance;
8
8
  export declare function lightEditorDefinition(): ThemeDefinitionInstance;
@@ -1,7 +1,7 @@
1
1
  export declare function useEditorDesignKit(): {
2
2
  themes: {
3
- readonly dark: import("@omnia/fx-models").ThemeDefinitionV2;
4
- readonly light: import("@omnia/fx-models").ThemeDefinitionV2;
3
+ readonly dark: import("@omnia/fx-models").ResolvedThemeDefinition;
4
+ readonly light: import("@omnia/fx-models").ResolvedThemeDefinition;
5
5
  };
6
6
  velcronTemplates: {};
7
7
  };
@@ -1,5 +1,5 @@
1
- import { ColorSchema, ColorSchemas, ComponentBlueprints, guid, SpacingBlueprints, ThemeDefinitionV2, TypographyBlueprints } from "@omnia/fx-models";
2
- export declare class ThemeDefinitionInstance implements ThemeDefinitionV2 {
1
+ import { ColorSchema, ColorSchemas, ComponentBlueprints, guid, SpacingBlueprints, ResolvedThemeDefinition, TypographyBlueprints } from "@omnia/fx-models";
2
+ export declare class ThemeDefinitionInstance implements ResolvedThemeDefinition {
3
3
  id: guid;
4
4
  colors: ColorSchemas;
5
5
  dark: boolean;
@@ -1,18 +1,18 @@
1
1
  export declare function useDesignKits(): {
2
2
  default: {
3
3
  readonly themes: {
4
- readonly darkKnight: import("@omnia/fx-models").ThemeDefinitionV2;
5
- readonly black: import("@omnia/fx-models").ThemeDefinitionV2;
6
- readonly bumbleBee: import("@omnia/fx-models").ThemeDefinitionV2;
7
- readonly cyberPunk: import("@omnia/fx-models").ThemeDefinitionV2;
8
- readonly coffe: import("@omnia/fx-models").ThemeDefinitionV2;
9
- readonly light: import("@omnia/fx-models").ThemeDefinitionV2;
10
- readonly lightAlt1: import("@omnia/fx-models").ThemeDefinitionV2;
11
- readonly lightPreview: import("@omnia/fx-models").ThemeDefinitionV2;
12
- readonly dark: import("@omnia/fx-models").ThemeDefinitionV2;
4
+ readonly darkKnight: import("@omnia/fx-models").ResolvedThemeDefinition;
5
+ readonly black: import("@omnia/fx-models").ResolvedThemeDefinition;
6
+ readonly bumbleBee: import("@omnia/fx-models").ResolvedThemeDefinition;
7
+ readonly cyberPunk: import("@omnia/fx-models").ResolvedThemeDefinition;
8
+ readonly coffe: import("@omnia/fx-models").ResolvedThemeDefinition;
9
+ readonly light: import("@omnia/fx-models").ResolvedThemeDefinition;
10
+ readonly lightAlt1: import("@omnia/fx-models").ResolvedThemeDefinition;
11
+ readonly lightPreview: import("@omnia/fx-models").ResolvedThemeDefinition;
12
+ readonly dark: import("@omnia/fx-models").ResolvedThemeDefinition;
13
13
  preview: {
14
- readonly dark: import("@omnia/fx-models").ThemeDefinitionV2;
15
- readonly darkMini: import("@omnia/fx-models").ThemeDefinitionV2;
14
+ readonly dark: import("@omnia/fx-models").ResolvedThemeDefinition;
15
+ readonly darkMini: import("@omnia/fx-models").ResolvedThemeDefinition;
16
16
  };
17
17
  };
18
18
  readonly velcronTemplates: {
@@ -44,14 +44,14 @@ export declare function useDesignKits(): {
44
44
  };
45
45
  documentation: {
46
46
  themes: {
47
- readonly dark: import("@omnia/fx-models").ThemeDefinitionV2;
47
+ readonly dark: import("@omnia/fx-models").ResolvedThemeDefinition;
48
48
  };
49
49
  velcronTemplates: {};
50
50
  };
51
51
  editor: {
52
52
  themes: {
53
- readonly dark: import("@omnia/fx-models").ThemeDefinitionV2;
54
- readonly light: import("@omnia/fx-models").ThemeDefinitionV2;
53
+ readonly dark: import("@omnia/fx-models").ResolvedThemeDefinition;
54
+ readonly light: import("@omnia/fx-models").ResolvedThemeDefinition;
55
55
  };
56
56
  velcronTemplates: {};
57
57
  };
@@ -1,3 +1,2 @@
1
1
  export * from "./styling";
2
2
  export * from "./store";
3
- export * from "./themingV3";
@@ -1,5 +1,6 @@
1
1
  import { ColorDefinition } from "@omnia/fx-models";
2
2
  export declare function useColorManager(): {
3
+ isWcagCompliant: (color1: string, color2: string, level: "AA" | "AAA") => boolean;
3
4
  getColorDefinition: (color: string, isBaseColorDark: boolean) => ColorDefinition;
4
5
  isDarkColor: (color: any) => boolean;
5
6
  addOpacityToColor: (color: any, opacity: any) => any;
@@ -1,6 +1,6 @@
1
1
  import { MessageBusExposeOnlySubscription } from "@omnia/fx";
2
2
  import { ColorDefinition, ColorGradientValue, ColorSchema, ColorSchemaType, ColorSchemaTypes, ColorTypes, ColorValue, guid, IMessageBusSubscriptionHandler } from "@omnia/fx-models";
3
- import { useThemeStoreV2 } from "./ThemeStoreV2";
3
+ import { useThemeStore } from "./ThemeStore";
4
4
  type MapActionOnDispatching<T extends Function> = T extends (...args: infer U) => any ? (...args: U) => void : never;
5
5
  type MapActionOnDispatched<T extends Function> = T extends (...args: infer U) => Promise<infer Y> | infer Y ? (result: Y, ...args: U) => void : never;
6
6
  type MapActionOnFailure<T extends Function> = T extends (...args: infer U) => any ? (failureReason: any, ...args: U) => void : never;
@@ -51,10 +51,10 @@ export type ColorSchemaStoreType = {
51
51
  setColorSchema(colorSchemaType: ColorSchemaTypes | ColorSchemaType, container?: boolean): void;
52
52
  setCustomColorSchema(colorSchema: ColorSchema, container?: boolean): void;
53
53
  setColor(colorDefinition: ColorDefinition, colorType: ColorTypes): void;
54
- setThemeStore(themeStoreInstance: ReturnType<typeof useThemeStoreV2>): void;
54
+ setThemeStore(themeStoreInstance: ReturnType<typeof useThemeStore>): void;
55
55
  }>;
56
56
  get: {
57
- themeStore: ReturnType<typeof useThemeStoreV2>;
57
+ themeStore: ReturnType<typeof useThemeStore>;
58
58
  colorValue(color: ColorValue | ColorGradientValue, colorSchema?: ColorSchema): string;
59
59
  colorSchema: ColorSchema;
60
60
  theme: "dark" | "light";
@@ -71,7 +71,16 @@ export type ColorSchemaStoreType = {
71
71
  };
72
72
  dispose(force?: boolean): void;
73
73
  };
74
+ export type InternalColorSchemaStoreType = ColorSchemaStoreType & {
75
+ actions: {
76
+ disableAutoDispose(): void;
77
+ };
78
+ };
74
79
  export declare const useColorSchemaStore: () => ColorSchemaStoreType & {
80
+ actions: {
81
+ disableAutoDispose(): void;
82
+ };
83
+ } & {
75
84
  dispose?: () => void;
76
85
  };
77
86
  export {};
@@ -1,5 +1,4 @@
1
- import { Future, TypographyFontDefinitionV2 } from "@omnia/fx-models";
2
- import { ITemplateRegistration, TypographyFontDefinition } from "@omnia/fx-models";
1
+ import { ITemplateRegistration, TypographyFontDefinition, Future } from "@omnia/fx-models";
3
2
  export declare const useFontStore: () => {
4
3
  actions: {
5
4
  onDispatching: {
@@ -24,7 +23,7 @@ export declare const useFontStore: () => {
24
23
  };
25
24
  onDispatched: {
26
25
  ensureLoadFonts: {
27
- subscribe(fn: (result: ITemplateRegistration<TypographyFontDefinitionV2, import("@omnia/fx-models").TemplateRegistrationType>[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
26
+ subscribe(fn: (result: ITemplateRegistration<TypographyFontDefinition, import("@omnia/fx-models").TemplateRegistrationType>[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
28
27
  };
29
28
  addFont: {
30
29
  subscribe(fn: (result: void, font: TypographyFontDefinition) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
@@ -63,7 +62,7 @@ export declare const useFontStore: () => {
63
62
  };
64
63
  };
65
64
  } & {
66
- ensureLoadFonts: () => Future<ITemplateRegistration<TypographyFontDefinitionV2, import("@omnia/fx-models").TemplateRegistrationType>[]>;
65
+ ensureLoadFonts: () => Future<ITemplateRegistration<TypographyFontDefinition, import("@omnia/fx-models").TemplateRegistrationType>[]>;
67
66
  addFont(font: TypographyFontDefinition): void;
68
67
  editFont(font: TypographyFontDefinition): void;
69
68
  onFinishLoad(): Future<Record<string, ITemplateRegistration<any, import("@omnia/fx-models").TemplateRegistrationType>>>;
@@ -71,8 +70,8 @@ export declare const useFontStore: () => {
71
70
  delete(font: TypographyFontDefinition): Promise<void>;
72
71
  };
73
72
  get: {
74
- readonly availableFonts: TypographyFontDefinitionV2[];
75
- findFont(family: string): ITemplateRegistration<TypographyFontDefinitionV2, import("@omnia/fx-models").TemplateRegistrationType>;
73
+ readonly availableFonts: TypographyFontDefinition[];
74
+ findFont(family: string): ITemplateRegistration<TypographyFontDefinition, import("@omnia/fx-models").TemplateRegistrationType>;
76
75
  readonly finishLoad: boolean;
77
76
  };
78
77
  } & {