@omnia/fx 8.0.296-dev → 8.0.298-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/contexts/OmniaContext.d.ts +2 -2
- package/internal-do-not-import-from-here/contexts/OmniaContextProvider.d.ts +2 -2
- package/internal-do-not-import-from-here/manifests/omnia.fx.ux.app.manifest.json +1 -0
- package/internal-do-not-import-from-here/manifests/omnia.fx.ux.manifest.json +1 -1
- package/internal-do-not-import-from-here/stores/oxide/ComponentHostStore.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/Exposes.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/Styles.stylex.d.ts +87 -87
- package/internal-do-not-import-from-here/ux/VueComponentBase.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/app/ExposeToUxCore.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/app/index.d.ts +1 -5
- package/internal-do-not-import-from-here/ux/app/management/tabs/instance/EditPermissionDialog.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/themes/models/Theme.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/themes/store/ThemeEditorStore.d.ts +13 -11
- package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/ColorPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/components/colorschemapicker/ColorSchemaPicker.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/aurora/components/colorschemapicker/ColorSchemaViewer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/components/themepicker/ThemeEditor.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/aurora/components/themepicker/ThemePicker.css.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/components/themepicker/ThemePicker.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/aurora/components/themepicker/ThemeViewer.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/aurora/designkits/default/themes/ThemeDefinitions.d.ts +12 -12
- package/internal-do-not-import-from-here/ux/aurora/designkits/default/useDefaultDesignKit.d.ts +11 -11
- package/internal-do-not-import-from-here/ux/aurora/designkits/documentation/themes/ThemeDefinitions.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/designkits/documentation/useDocumentationDesignKit.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/designkits/editor/themes/ThemeDefinitions.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/aurora/designkits/editor/useEditorDesignKit.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/designkits/shared/ThemeDefinitionInstance.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/designkits/useDesignKits.d.ts +14 -14
- package/internal-do-not-import-from-here/ux/aurora/index.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/aurora/store/ColorManager.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/aurora/store/ColorSchemaStore.d.ts +12 -3
- package/internal-do-not-import-from-here/ux/aurora/store/FontStore.d.ts +5 -6
- package/internal-do-not-import-from-here/ux/aurora/store/SpacingBlueprintStore.d.ts +24 -7428
- package/internal-do-not-import-from-here/ux/aurora/store/ThemeContextStore.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/store/ThemeService.d.ts +10 -0
- package/internal-do-not-import-from-here/ux/aurora/{themingV3/store/ThemingStore.d.ts → store/ThemeStorage.d.ts} +14 -15
- package/internal-do-not-import-from-here/ux/aurora/store/{ThemeStoreV2.d.ts → ThemeStore.d.ts} +1 -1
- package/internal-do-not-import-from-here/ux/aurora/store/TypographyBlueprintStore.d.ts +24 -7428
- package/internal-do-not-import-from-here/ux/aurora/store/index.d.ts +3 -2
- package/internal-do-not-import-from-here/ux/aurora/styling/UseStyling.d.ts +6 -12
- package/internal-do-not-import-from-here/ux/aurora/styling/styles/Blueprints.d.ts +12 -9
- package/internal-do-not-import-from-here/ux/aurora/styling/styles/Chrome.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/styling/styles/Colors.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/aurora/styling/styles/General.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/aurora/styling/styles/Spacing.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/styling/styles/Typography.d.ts +18 -18
- package/internal-do-not-import-from-here/ux/aurora/themeprovider/ThemeProvider.d.ts +12 -12
- package/internal-do-not-import-from-here/ux/datetimepicker/DateTimePicker.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/dialog/Dialog.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/governancedashboard/BarChartIndicator.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerDialog.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/blockplaceholder/BlockPlaceholder.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/canvastoolbar/CanvasToolbar.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/BlockTitle.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/targetselector/TargetSelector.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/layoutactionhandler/LayoutAction.stylex.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/layoutcanvas/renderer/LayoutRendererCanvas.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/renderer/LayoutRendererCanvas.stylex.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/shared/LayoutEditorThemingManager.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/layoutcanvas/shared/ThemingRenditionManager.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/layoutcanvas/shared/layoutItemselector/LayoutItemSelection.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/shared/layoutItemselector/LayoutItemSelection.stylex.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/layoutcanvas/shared/layoutItemselector/LayoutItemSelector.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/shared/layoutItemselector/LayoutItemSelector.stylex.d.ts +11 -11
- package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasStore.d.ts +7 -7
- package/internal-do-not-import-from-here/ux/mediapickerimage/MediaPickerImage.css.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/mediapickerimage/MediaPickerImage.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/messaging/InternalTopics.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/messaging/Topics.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/monaco/MonacoEditor.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/oxide/appbar/Appbar.stylex.d.ts +15 -15
- package/internal-do-not-import-from-here/ux/oxide/avatar/Avatar.stylex.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/btn/Button.stylex.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/btngroup/ButtonGroup.stylex.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/card/Card.css.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/checkbox/Checkbox.stylex.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/chip/Chip.stylex.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/colorpicker/ColorPicker.stylex.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/oxide/column/Column.stylex.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.stylex.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/oxide/dialog/Dialog.stylex.d.ts +11 -11
- package/internal-do-not-import-from-here/ux/oxide/divider/Divider.stylex.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/draggable/Draggable.stylex.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/expansionpanel/ExpansionPanel.stylex.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/oxide/expansionpanel/ExpansionPanels.stylex.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/flex/Row.stylex.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/form/Form.stylex.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/icon/Icon.stylex.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/inputfield/InputField.stylex.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/oxide/layout/Layout.stylex.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/lazy/Lazy.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/oxide/link/link.stylex.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/list/List.stylex.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/list/ListItem.stylex.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/oxide/menu/Menu.stylex.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/motion/Motion.d.ts +12 -4
- package/internal-do-not-import-from-here/ux/oxide/navigationdrawer/NavigationDrawer.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/oxide/navigationdrawer/NavigationDrawer.stylex.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/notification/Notification.stylex.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/panel/Panel.stylex.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/oxide/radio/Radio.stylex.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/radio/RadioGroup.stylex.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/rangeslider/RangeSlider.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/rangeslider/RangeSlider.stylex.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/scrollcontainer/ScrollContainer.stylex.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/select/Select.stylex.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/slidepanel/SlidePanel.stylex.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/slider/Slider.stylex.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/splitpane/Splitpane.stylex.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/stepper/Stepper.stylex.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/stickycontainer/StickyContainer.stylex.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/switch/Switch.stylex.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/tab/Tab.stylex.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/oxide/tab/Tabs.stylex.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/oxide/table/Table.stylex.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/text/Text.stylex.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/textarea/TextArea.stylex.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/toolbar/Toolbar.stylex.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/oxide/treeview/Treeview.stylex.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/post/IPost.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/post/Post.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/post/templates/PostTemplate.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/settings/SettingsPane.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/social/Comment.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/social/templates/CommentLikeTemplate.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/theming/InternalTheming.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/theming/ThemeManager.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/theming/ThemeStore.d.ts +7 -7
- package/internal-do-not-import-from-here/ux/theming/Theming.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/use/UseColorSchemaSetup.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/use/UseDraggable.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/velcron/VelcronStylesProvider.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/components/definitionpicker/VelcronDefinitionPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronStyles.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/velcron/editor/stores/VelcronEditorStore.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/velcron/renderer/VelcronRenderer.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/velcron/renderer/VelcronRenderer.stylex.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/renderer/editors/AlignmentEditor.d.ts +76 -76
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/LayoutEditorTabRenderer.d.ts +9 -9
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/VersionedLayoutDefinitionEditorItem.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/VersionedLayoutDefinitionEditorItemFactory.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/versionedlayout/renderer/InternalVersionedLayoutRenderer.d.ts +9 -9
- package/internal-do-not-import-from-here/ux/versionedlayout/renderer/VersionedLayoutRenderer.d.ts +15 -15
- package/internal-do-not-import-from-here/wctypings.d.ts +10 -0
- package/package.json +2 -2
- package/task.js +10 -5
- package/task.ts +10 -5
- package/internal-do-not-import-from-here/ux/aurora/store/ThemingService.d.ts +0 -10
- package/internal-do-not-import-from-here/ux/aurora/themingV3/index.d.ts +0 -3
- package/internal-do-not-import-from-here/ux/aurora/themingV3/model/ThemingBoot.d.ts +0 -7
- package/internal-do-not-import-from-here/ux/aurora/themingV3/model/index.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/aurora/themingV3/service/ThemingService.d.ts +0 -9
- package/internal-do-not-import-from-here/ux/aurora/themingV3/service/index.d.ts +0 -1
- 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 {
|
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:
|
6
|
+
"emit:update:modelValue": (value: ResolvedThemeDefinition) => void;
|
7
7
|
} & {
|
8
|
-
"v-model"?:
|
8
|
+
"v-model"?: ResolvedThemeDefinition;
|
9
9
|
} & {
|
10
|
-
modelValue?:
|
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:
|
15
|
+
} & DefineEmit<"init:actionButtons", (value: () => VNodeChild) => void> & DefineEmit<"click:confirm", (value: ResolvedThemeDefinition) => void> & DefineSlot<"activator", () => VNodeChild>>) => any;
|
16
16
|
export default _default;
|
package/internal-do-not-import-from-here/ux/aurora/components/themepicker/ThemePicker.css.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
import { ColorSchema,
|
1
|
+
import { ColorSchema, ResolvedThemeDefinition } from "@omnia/fx-models";
|
2
2
|
export declare const ThemeDefinitionPickerStyles: {
|
3
3
|
menuContainer: (backgroundColor: string) => string;
|
4
|
-
itemContainer: (definition:
|
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,
|
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:
|
12
|
+
"emit:update:modelValue": (value: ResolvedThemeDefinition) => void;
|
13
13
|
} & {
|
14
|
-
"v-model"?:
|
14
|
+
"v-model"?: ResolvedThemeDefinition;
|
15
15
|
} & {
|
16
|
-
modelValue?:
|
17
|
-
} & DefineSlot<"activator", Func<[VNodeChild]>> & DefineEmit<"item:selected", (theme: ITemplateRegistration<
|
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,
|
1
|
+
import { ThemeContextType, ResolvedThemeDefinition } from "@omnia/fx-models";
|
2
2
|
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
3
|
-
"emit:update:modelValue": (value:
|
3
|
+
"emit:update:modelValue": (value: ResolvedThemeDefinition) => void;
|
4
4
|
} & {
|
5
|
-
"v-model"?:
|
5
|
+
"v-model"?: ResolvedThemeDefinition;
|
6
6
|
} & {
|
7
|
-
modelValue?:
|
7
|
+
modelValue?: ResolvedThemeDefinition;
|
8
8
|
} & {
|
9
9
|
themeType?: ThemeContextType;
|
10
10
|
} & {
|
package/internal-do-not-import-from-here/ux/aurora/designkits/default/themes/ThemeDefinitions.d.ts
CHANGED
@@ -1,18 +1,18 @@
|
|
1
|
-
import {
|
1
|
+
import { ResolvedThemeDefinition } from "@omnia/fx-models";
|
2
2
|
import { ThemeDefinitionInstance } from "../../shared";
|
3
3
|
export declare function useDefaultThemeDefinitions(): {
|
4
|
-
readonly darkKnight:
|
5
|
-
readonly black:
|
6
|
-
readonly bumbleBee:
|
7
|
-
readonly cyberPunk:
|
8
|
-
readonly coffe:
|
9
|
-
readonly light:
|
10
|
-
readonly lightAlt1:
|
11
|
-
readonly lightPreview:
|
12
|
-
readonly dark:
|
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:
|
15
|
-
readonly darkMini:
|
14
|
+
readonly dark: ResolvedThemeDefinition;
|
15
|
+
readonly darkMini: ResolvedThemeDefinition;
|
16
16
|
};
|
17
17
|
};
|
18
18
|
export declare function componentPreviewDefinition(mini: boolean): ThemeDefinitionInstance;
|
package/internal-do-not-import-from-here/ux/aurora/designkits/default/useDefaultDesignKit.d.ts
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
export declare function useDefaultDesignKit(): {
|
2
2
|
readonly themes: {
|
3
|
-
readonly darkKnight: import("@omnia/fx-models").
|
4
|
-
readonly black: import("@omnia/fx-models").
|
5
|
-
readonly bumbleBee: import("@omnia/fx-models").
|
6
|
-
readonly cyberPunk: import("@omnia/fx-models").
|
7
|
-
readonly coffe: import("@omnia/fx-models").
|
8
|
-
readonly light: import("@omnia/fx-models").
|
9
|
-
readonly lightAlt1: import("@omnia/fx-models").
|
10
|
-
readonly lightPreview: import("@omnia/fx-models").
|
11
|
-
readonly dark: import("@omnia/fx-models").
|
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").
|
14
|
-
readonly darkMini: import("@omnia/fx-models").
|
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 {
|
1
|
+
import { ResolvedThemeDefinition } from "@omnia/fx-models";
|
2
2
|
import { ThemeDefinitionInstance } from "../../shared";
|
3
3
|
export declare function useDocumentationThemeDefinitions(): {
|
4
|
-
readonly dark:
|
4
|
+
readonly dark: ResolvedThemeDefinition;
|
5
5
|
};
|
6
6
|
export declare function documentationDefinition(): ThemeDefinitionInstance;
|
package/internal-do-not-import-from-here/ux/aurora/designkits/editor/themes/ThemeDefinitions.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
import {
|
1
|
+
import { ResolvedThemeDefinition } from "@omnia/fx-models";
|
2
2
|
import { ThemeDefinitionInstance } from "../../shared";
|
3
3
|
export declare function useEditorThemeDefinitions(): {
|
4
|
-
readonly dark:
|
5
|
-
readonly light:
|
4
|
+
readonly dark: ResolvedThemeDefinition;
|
5
|
+
readonly light: ResolvedThemeDefinition;
|
6
6
|
};
|
7
7
|
export declare function darkEditorDefinition(): ThemeDefinitionInstance;
|
8
8
|
export declare function lightEditorDefinition(): ThemeDefinitionInstance;
|
package/internal-do-not-import-from-here/ux/aurora/designkits/editor/useEditorDesignKit.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
export declare function useEditorDesignKit(): {
|
2
2
|
themes: {
|
3
|
-
readonly dark: import("@omnia/fx-models").
|
4
|
-
readonly light: import("@omnia/fx-models").
|
3
|
+
readonly dark: import("@omnia/fx-models").ResolvedThemeDefinition;
|
4
|
+
readonly light: import("@omnia/fx-models").ResolvedThemeDefinition;
|
5
5
|
};
|
6
6
|
velcronTemplates: {};
|
7
7
|
};
|
package/internal-do-not-import-from-here/ux/aurora/designkits/shared/ThemeDefinitionInstance.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { ColorSchema, ColorSchemas, ComponentBlueprints, guid, SpacingBlueprints,
|
2
|
-
export declare class ThemeDefinitionInstance implements
|
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").
|
5
|
-
readonly black: import("@omnia/fx-models").
|
6
|
-
readonly bumbleBee: import("@omnia/fx-models").
|
7
|
-
readonly cyberPunk: import("@omnia/fx-models").
|
8
|
-
readonly coffe: import("@omnia/fx-models").
|
9
|
-
readonly light: import("@omnia/fx-models").
|
10
|
-
readonly lightAlt1: import("@omnia/fx-models").
|
11
|
-
readonly lightPreview: import("@omnia/fx-models").
|
12
|
-
readonly dark: import("@omnia/fx-models").
|
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").
|
15
|
-
readonly darkMini: import("@omnia/fx-models").
|
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").
|
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").
|
54
|
-
readonly light: import("@omnia/fx-models").
|
53
|
+
readonly dark: import("@omnia/fx-models").ResolvedThemeDefinition;
|
54
|
+
readonly light: import("@omnia/fx-models").ResolvedThemeDefinition;
|
55
55
|
};
|
56
56
|
velcronTemplates: {};
|
57
57
|
};
|
@@ -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 {
|
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
|
54
|
+
setThemeStore(themeStoreInstance: ReturnType<typeof useThemeStore>): void;
|
55
55
|
}>;
|
56
56
|
get: {
|
57
|
-
themeStore: ReturnType<typeof
|
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 {
|
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<
|
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<
|
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:
|
75
|
-
findFont(family: string): ITemplateRegistration<
|
73
|
+
readonly availableFonts: TypographyFontDefinition[];
|
74
|
+
findFont(family: string): ITemplateRegistration<TypographyFontDefinition, import("@omnia/fx-models").TemplateRegistrationType>;
|
76
75
|
readonly finishLoad: boolean;
|
77
76
|
};
|
78
77
|
} & {
|