@omnia/fx 8.0.111-dev → 8.0.112-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/manifests/omnia.fx.ux.libs.manifest.json +1 -1
- package/internal-do-not-import-from-here/manifests/omnia.vendor.manifest.json +1 -1
- package/internal-do-not-import-from-here/shared/models/theming/ComponentDefinitions.d.ts +1 -1
- package/internal-do-not-import-from-here/shared/models/theming/SpacingSetting.d.ts +6 -0
- package/internal-do-not-import-from-here/shared/models/theming/ThemeDefinitionV2.d.ts +9 -8
- package/internal-do-not-import-from-here/shared/models/theming/TypographyDefinition.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/Exposes.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/InternalDefineComponent.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/Styles.stylex.d.ts +20 -0
- package/internal-do-not-import-from-here/ux/backgroundpicker/BackgroundPicker.css.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/backgroundpicker/BackgroundPicker.d.ts +109 -0
- package/internal-do-not-import-from-here/ux/backgroundpicker/BackgroundPreview.d.ts +69 -0
- package/internal-do-not-import-from-here/ux/backgroundpicker/docs/BackgroundPickerExample.d.ts +16 -0
- package/internal-do-not-import-from-here/ux/backgroundpicker/docs/ExampleComponents.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/backgroundpicker/docs/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/filterpicker/FilterPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/ColorSettings.d.ts +23 -23
- package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasStore.d.ts +38 -9
- package/internal-do-not-import-from-here/ux/monaco/MonacoEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/multitextinput/MultiTextInput.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.css.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.d.ts +6 -2
- package/internal-do-not-import-from-here/ux/oxide/image/Image.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/link/Link.d.ts +11 -11
- package/internal-do-not-import-from-here/ux/oxide/scrollcontainer/store/ScrollContainerStore.d.ts +36 -4
- package/internal-do-not-import-from-here/ux/oxide/select/Select.d.ts +6 -2
- package/internal-do-not-import-from-here/ux/oxide/text/Text.css.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/text/Text.d.ts +11 -11
- package/internal-do-not-import-from-here/ux/properties/property-configuration/PropertyConfigurationV2.d.ts +65 -410
- package/internal-do-not-import-from-here/ux/properties/property-picker/PropertyInput.d.ts +582 -50
- package/internal-do-not-import-from-here/ux/properties/property-picker/PropertyPicker.css.d.ts +2 -4
- package/internal-do-not-import-from-here/ux/properties/property-picker/PropertyPicker.d.ts +312 -50
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/AnchorLink/AnchorLink.d.ts +5 -104
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/AnchorLink/AnchorLinkMenu.d.ts +4 -104
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/AnchorLink/AnchorLinkNode.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/theming-v2/store/ColorSchemaStore.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/theming-v2/styling/UseStyling.d.ts +530 -2
- package/internal-do-not-import-from-here/ux/theming-v2/styling/styles/Blueprints.d.ts +15 -1
- package/internal-do-not-import-from-here/ux/theming-v2/styling/styles/Spacing.d.ts +2 -7
- package/internal-do-not-import-from-here/ux/theming-v2/themeprovider/ThemeProvider.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/use/UseColorSchemaSetup.d.ts +1 -1
- package/internal-do-not-import-from-here/wctypings.d.ts +24 -0
- package/package.json +4 -4
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ChromeDefinition, SpacingDefinition, SpacingSettings, SpacingType, setColorOpacity } from "@omnia/fx-models";
|
2
2
|
import { useColorSchemaStore, useSpacingBlueprintStore } from "@omnia/fx/ux";
|
3
3
|
export declare function useStyling(): {
|
4
|
-
spacing: (spacing: import("
|
4
|
+
spacing: (spacing: import("@omnia/fx-models").Spacing, type: "margin" | "padding") => string;
|
5
5
|
};
|
6
6
|
export declare function useThemeStyling(): {
|
7
7
|
colors: {
|
@@ -1011,7 +1011,7 @@ export declare function useThemeStyling(): {
|
|
1011
1011
|
currentTheme: () => import("@omnia/fx-models").ThemeDefinitionV2;
|
1012
1012
|
};
|
1013
1013
|
};
|
1014
|
-
colorValue(color: import("@omnia/fx-models").ColorValue): string;
|
1014
|
+
colorValue(color: import("@omnia/fx-models").ColorValue | import("@omnia/fx-models").ColorGradientValue): string;
|
1015
1015
|
readonly colorSchema: import("@omnia/fx-models").ColorSchema;
|
1016
1016
|
readonly theme: "light" | "dark";
|
1017
1017
|
readonly base: import("@omnia/fx-models").ColorDefinition;
|
@@ -1503,7 +1503,535 @@ export declare function useThemeStyling(): {
|
|
1503
1503
|
};
|
1504
1504
|
deactivated(): void;
|
1505
1505
|
}) => string;
|
1506
|
+
background: (definition: import("@omnia/fx-models").BackgroundDefinition, colors?: {
|
1507
|
+
state: {
|
1508
|
+
base: import("@omnia/fx-models").ColorDefinition;
|
1509
|
+
onBase: import("@omnia/fx-models").ColorDefinition;
|
1510
|
+
container: import("@omnia/fx-models").ColorDefinition;
|
1511
|
+
onContainer: import("@omnia/fx-models").ColorDefinition;
|
1512
|
+
isContainer: boolean;
|
1513
|
+
name: string;
|
1514
|
+
colorSchemaType: "info" | "error" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | import("@omnia/fx-models").ColorSchemaTypes;
|
1515
|
+
id: import("@omnia/fx-models").GuidValue;
|
1516
|
+
};
|
1517
|
+
events: {
|
1518
|
+
onMutatedBase: import("../../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").ColorDefinition>;
|
1519
|
+
onMutatedOnBase: import("../../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").ColorDefinition>;
|
1520
|
+
onMutatedContainer: import("../../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").ColorDefinition>;
|
1521
|
+
onMutatedOnContainer: import("../../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").ColorDefinition>;
|
1522
|
+
onMutatedIsContainer: import("../../..").MessageBusExposeOnlySubscription<boolean>;
|
1523
|
+
onMutatedName: import("../../..").MessageBusExposeOnlySubscription<string>;
|
1524
|
+
onMutatedColorSchemaType: import("../../..").MessageBusExposeOnlySubscription<"info" | "error" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | import("@omnia/fx-models").ColorSchemaTypes>;
|
1525
|
+
onMutatedId: import("../../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").GuidValue>;
|
1526
|
+
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
1527
|
+
actions: {
|
1528
|
+
onDispatching: {
|
1529
|
+
setColorSchema: {
|
1530
|
+
subscribe(fn: (colorSchemaType: "info" | "error" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | import("@omnia/fx-models").ColorSchemaTypes, container?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1531
|
+
};
|
1532
|
+
setCustomColorSchema: {
|
1533
|
+
subscribe(fn: (colorSchema: import("@omnia/fx-models").ColorSchema, container?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1534
|
+
};
|
1535
|
+
setColor: {
|
1536
|
+
subscribe(fn: (colorDefinition: import("@omnia/fx-models").ColorDefinition, colorType: import("@omnia/fx-models").ColorTypes) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1537
|
+
};
|
1538
|
+
setThemeStore: {
|
1539
|
+
subscribe(fn: (themeStoreInstance: {
|
1540
|
+
state: {
|
1541
|
+
currentTheme: import("@omnia/fx-models").ThemeDefinitionV2;
|
1542
|
+
};
|
1543
|
+
events: {
|
1544
|
+
onMutatedCurrentTheme: import("../../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").ThemeDefinitionV2>;
|
1545
|
+
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
1546
|
+
actions: {
|
1547
|
+
onDispatching: {
|
1548
|
+
setTheme: {
|
1549
|
+
subscribe(fn: (themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1550
|
+
};
|
1551
|
+
};
|
1552
|
+
onDispatched: {
|
1553
|
+
setTheme: {
|
1554
|
+
subscribe(fn: (result: void, themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1555
|
+
};
|
1556
|
+
};
|
1557
|
+
onFailure: {
|
1558
|
+
setTheme: {
|
1559
|
+
subscribe(fn: (failureReason: any, themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1560
|
+
};
|
1561
|
+
};
|
1562
|
+
} & {
|
1563
|
+
setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
|
1564
|
+
};
|
1565
|
+
get: {
|
1566
|
+
colorSchema(colorSchemaType: "info" | "error" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | import("@omnia/fx-models").ColorSchemaTypes): import("@omnia/fx-models").ColorSchema;
|
1567
|
+
blueprint<TType extends import("@omnia/fx-models").BlueprintDefinition>(type: import("@omnia/fx-models").BlueprintType): TType;
|
1568
|
+
typography(): import("@omnia/fx-models").TypographyBlueprint;
|
1569
|
+
spacing(): import("@omnia/fx-models").SpacingBlueprint;
|
1570
|
+
chrome(): import("@omnia/fx-models").ChromeBlueprint;
|
1571
|
+
component(): import("@omnia/fx-models").ComponentBlueprint;
|
1572
|
+
color(colorSchemaType: "info" | "error" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | import("@omnia/fx-models").ColorSchemaTypes, colorType: "base" | "onBase" | "container" | "onContainer" | import("@omnia/fx-models").ColorTypes): string;
|
1573
|
+
colorDefinition(colorSchemaType: "info" | "error" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | import("@omnia/fx-models").ColorSchemaTypes, colorType: "base" | "onBase" | "container" | "onContainer" | import("@omnia/fx-models").ColorTypes): import("@omnia/fx-models").ColorDefinition;
|
1574
|
+
complementaryColorType(colorType: "base" | "onBase" | "container" | "onContainer" | import("@omnia/fx-models").ColorTypes): import("@omnia/fx-models").ColorTypes;
|
1575
|
+
complementaryColor(colorSchemaType: "info" | "error" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | import("@omnia/fx-models").ColorSchemaTypes, colorType: "base" | "onBase" | "container" | "onContainer" | import("@omnia/fx-models").ColorTypes): string;
|
1576
|
+
complementaryColorDefinition(colorSchemaType: "info" | "error" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | import("@omnia/fx-models").ColorSchemaTypes, colorType: "base" | "onBase" | "container" | "onContainer" | import("@omnia/fx-models").ColorTypes): import("@omnia/fx-models").ColorDefinition;
|
1577
|
+
currentTheme(): import("@omnia/fx-models").ThemeDefinitionV2;
|
1578
|
+
};
|
1579
|
+
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1580
|
+
};
|
1581
|
+
};
|
1582
|
+
onDispatched: {
|
1583
|
+
setColorSchema: {
|
1584
|
+
subscribe(fn: (result: void, colorSchemaType: "info" | "error" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | import("@omnia/fx-models").ColorSchemaTypes, container?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1585
|
+
};
|
1586
|
+
setCustomColorSchema: {
|
1587
|
+
subscribe(fn: (result: void, colorSchema: import("@omnia/fx-models").ColorSchema, container?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1588
|
+
};
|
1589
|
+
setColor: {
|
1590
|
+
subscribe(fn: (result: void, colorDefinition: import("@omnia/fx-models").ColorDefinition, colorType: import("@omnia/fx-models").ColorTypes) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1591
|
+
};
|
1592
|
+
setThemeStore: {
|
1593
|
+
subscribe(fn: (result: void, themeStoreInstance: {
|
1594
|
+
state: {
|
1595
|
+
currentTheme: import("@omnia/fx-models").ThemeDefinitionV2;
|
1596
|
+
};
|
1597
|
+
events: {
|
1598
|
+
onMutatedCurrentTheme: import("../../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").ThemeDefinitionV2>;
|
1599
|
+
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
1600
|
+
actions: {
|
1601
|
+
onDispatching: {
|
1602
|
+
setTheme: {
|
1603
|
+
subscribe(fn: (themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1604
|
+
};
|
1605
|
+
};
|
1606
|
+
onDispatched: {
|
1607
|
+
setTheme: {
|
1608
|
+
subscribe(fn: (result: void, themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1609
|
+
};
|
1610
|
+
};
|
1611
|
+
onFailure: {
|
1612
|
+
setTheme: {
|
1613
|
+
subscribe(fn: (failureReason: any, themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1614
|
+
};
|
1615
|
+
};
|
1616
|
+
} & {
|
1617
|
+
setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
|
1618
|
+
};
|
1619
|
+
get: {
|
1620
|
+
colorSchema(colorSchemaType: "info" | "error" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | import("@omnia/fx-models").ColorSchemaTypes): import("@omnia/fx-models").ColorSchema;
|
1621
|
+
blueprint<TType extends import("@omnia/fx-models").BlueprintDefinition>(type: import("@omnia/fx-models").BlueprintType): TType;
|
1622
|
+
typography(): import("@omnia/fx-models").TypographyBlueprint;
|
1623
|
+
spacing(): import("@omnia/fx-models").SpacingBlueprint;
|
1624
|
+
chrome(): import("@omnia/fx-models").ChromeBlueprint;
|
1625
|
+
component(): import("@omnia/fx-models").ComponentBlueprint;
|
1626
|
+
color(colorSchemaType: "info" | "error" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | import("@omnia/fx-models").ColorSchemaTypes, colorType: "base" | "onBase" | "container" | "onContainer" | import("@omnia/fx-models").ColorTypes): string;
|
1627
|
+
colorDefinition(colorSchemaType: "info" | "error" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | import("@omnia/fx-models").ColorSchemaTypes, colorType: "base" | "onBase" | "container" | "onContainer" | import("@omnia/fx-models").ColorTypes): import("@omnia/fx-models").ColorDefinition;
|
1628
|
+
complementaryColorType(colorType: "base" | "onBase" | "container" | "onContainer" | import("@omnia/fx-models").ColorTypes): import("@omnia/fx-models").ColorTypes;
|
1629
|
+
complementaryColor(colorSchemaType: "info" | "error" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | import("@omnia/fx-models").ColorSchemaTypes, colorType: "base" | "onBase" | "container" | "onContainer" | import("@omnia/fx-models").ColorTypes): string;
|
1630
|
+
complementaryColorDefinition(colorSchemaType: "info" | "error" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | import("@omnia/fx-models").ColorSchemaTypes, colorType: "base" | "onBase" | "container" | "onContainer" | import("@omnia/fx-models").ColorTypes): import("@omnia/fx-models").ColorDefinition;
|
1631
|
+
currentTheme(): import("@omnia/fx-models").ThemeDefinitionV2;
|
1632
|
+
};
|
1633
|
+
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1634
|
+
};
|
1635
|
+
};
|
1636
|
+
onFailure: {
|
1637
|
+
setColorSchema: {
|
1638
|
+
subscribe(fn: (failureReason: any, colorSchemaType: "info" | "error" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | import("@omnia/fx-models").ColorSchemaTypes, container?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1639
|
+
};
|
1640
|
+
setCustomColorSchema: {
|
1641
|
+
subscribe(fn: (failureReason: any, colorSchema: import("@omnia/fx-models").ColorSchema, container?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1642
|
+
};
|
1643
|
+
setColor: {
|
1644
|
+
subscribe(fn: (failureReason: any, colorDefinition: import("@omnia/fx-models").ColorDefinition, colorType: import("@omnia/fx-models").ColorTypes) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1645
|
+
};
|
1646
|
+
setThemeStore: {
|
1647
|
+
subscribe(fn: (failureReason: any, themeStoreInstance: {
|
1648
|
+
state: {
|
1649
|
+
currentTheme: import("@omnia/fx-models").ThemeDefinitionV2;
|
1650
|
+
};
|
1651
|
+
events: {
|
1652
|
+
onMutatedCurrentTheme: import("../../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").ThemeDefinitionV2>;
|
1653
|
+
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
1654
|
+
actions: {
|
1655
|
+
onDispatching: {
|
1656
|
+
setTheme: {
|
1657
|
+
subscribe(fn: (themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1658
|
+
};
|
1659
|
+
};
|
1660
|
+
onDispatched: {
|
1661
|
+
setTheme: {
|
1662
|
+
subscribe(fn: (result: void, themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1663
|
+
};
|
1664
|
+
};
|
1665
|
+
onFailure: {
|
1666
|
+
setTheme: {
|
1667
|
+
subscribe(fn: (failureReason: any, themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1668
|
+
};
|
1669
|
+
};
|
1670
|
+
} & {
|
1671
|
+
setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
|
1672
|
+
};
|
1673
|
+
get: {
|
1674
|
+
colorSchema(colorSchemaType: "info" | "error" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | import("@omnia/fx-models").ColorSchemaTypes): import("@omnia/fx-models").ColorSchema;
|
1675
|
+
blueprint<TType extends import("@omnia/fx-models").BlueprintDefinition>(type: import("@omnia/fx-models").BlueprintType): TType;
|
1676
|
+
typography(): import("@omnia/fx-models").TypographyBlueprint;
|
1677
|
+
spacing(): import("@omnia/fx-models").SpacingBlueprint;
|
1678
|
+
chrome(): import("@omnia/fx-models").ChromeBlueprint;
|
1679
|
+
component(): import("@omnia/fx-models").ComponentBlueprint;
|
1680
|
+
color(colorSchemaType: "info" | "error" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | import("@omnia/fx-models").ColorSchemaTypes, colorType: "base" | "onBase" | "container" | "onContainer" | import("@omnia/fx-models").ColorTypes): string;
|
1681
|
+
colorDefinition(colorSchemaType: "info" | "error" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | import("@omnia/fx-models").ColorSchemaTypes, colorType: "base" | "onBase" | "container" | "onContainer" | import("@omnia/fx-models").ColorTypes): import("@omnia/fx-models").ColorDefinition;
|
1682
|
+
complementaryColorType(colorType: "base" | "onBase" | "container" | "onContainer" | import("@omnia/fx-models").ColorTypes): import("@omnia/fx-models").ColorTypes;
|
1683
|
+
complementaryColor(colorSchemaType: "info" | "error" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | import("@omnia/fx-models").ColorSchemaTypes, colorType: "base" | "onBase" | "container" | "onContainer" | import("@omnia/fx-models").ColorTypes): string;
|
1684
|
+
complementaryColorDefinition(colorSchemaType: "info" | "error" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | import("@omnia/fx-models").ColorSchemaTypes, colorType: "base" | "onBase" | "container" | "onContainer" | import("@omnia/fx-models").ColorTypes): import("@omnia/fx-models").ColorDefinition;
|
1685
|
+
currentTheme(): import("@omnia/fx-models").ThemeDefinitionV2;
|
1686
|
+
};
|
1687
|
+
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1688
|
+
};
|
1689
|
+
};
|
1690
|
+
} & {
|
1691
|
+
setColorSchema(colorSchemaType: "info" | "error" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | import("@omnia/fx-models").ColorSchemaTypes, container?: boolean): void;
|
1692
|
+
setCustomColorSchema(colorSchema: import("@omnia/fx-models").ColorSchema, container?: boolean): void;
|
1693
|
+
setColor(colorDefinition: import("@omnia/fx-models").ColorDefinition, colorType: import("@omnia/fx-models").ColorTypes): void;
|
1694
|
+
setThemeStore(themeStoreInstance: {
|
1695
|
+
state: {
|
1696
|
+
currentTheme: import("@omnia/fx-models").ThemeDefinitionV2;
|
1697
|
+
};
|
1698
|
+
events: {
|
1699
|
+
onMutatedCurrentTheme: import("../../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").ThemeDefinitionV2>;
|
1700
|
+
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
1701
|
+
actions: {
|
1702
|
+
onDispatching: {
|
1703
|
+
setTheme: {
|
1704
|
+
subscribe(fn: (themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1705
|
+
};
|
1706
|
+
};
|
1707
|
+
onDispatched: {
|
1708
|
+
setTheme: {
|
1709
|
+
subscribe(fn: (result: void, themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1710
|
+
};
|
1711
|
+
};
|
1712
|
+
onFailure: {
|
1713
|
+
setTheme: {
|
1714
|
+
subscribe(fn: (failureReason: any, themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1715
|
+
};
|
1716
|
+
};
|
1717
|
+
} & {
|
1718
|
+
setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
|
1719
|
+
};
|
1720
|
+
get: {
|
1721
|
+
colorSchema(colorSchemaType: "info" | "error" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | import("@omnia/fx-models").ColorSchemaTypes): import("@omnia/fx-models").ColorSchema;
|
1722
|
+
blueprint<TType extends import("@omnia/fx-models").BlueprintDefinition>(type: import("@omnia/fx-models").BlueprintType): TType;
|
1723
|
+
typography(): import("@omnia/fx-models").TypographyBlueprint;
|
1724
|
+
spacing(): import("@omnia/fx-models").SpacingBlueprint;
|
1725
|
+
chrome(): import("@omnia/fx-models").ChromeBlueprint;
|
1726
|
+
component(): import("@omnia/fx-models").ComponentBlueprint;
|
1727
|
+
color(colorSchemaType: "info" | "error" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | import("@omnia/fx-models").ColorSchemaTypes, colorType: "base" | "onBase" | "container" | "onContainer" | import("@omnia/fx-models").ColorTypes): string;
|
1728
|
+
colorDefinition(colorSchemaType: "info" | "error" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | import("@omnia/fx-models").ColorSchemaTypes, colorType: "base" | "onBase" | "container" | "onContainer" | import("@omnia/fx-models").ColorTypes): import("@omnia/fx-models").ColorDefinition;
|
1729
|
+
complementaryColorType(colorType: "base" | "onBase" | "container" | "onContainer" | import("@omnia/fx-models").ColorTypes): import("@omnia/fx-models").ColorTypes;
|
1730
|
+
complementaryColor(colorSchemaType: "info" | "error" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | import("@omnia/fx-models").ColorSchemaTypes, colorType: "base" | "onBase" | "container" | "onContainer" | import("@omnia/fx-models").ColorTypes): string;
|
1731
|
+
complementaryColorDefinition(colorSchemaType: "info" | "error" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | import("@omnia/fx-models").ColorSchemaTypes, colorType: "base" | "onBase" | "container" | "onContainer" | import("@omnia/fx-models").ColorTypes): import("@omnia/fx-models").ColorDefinition;
|
1732
|
+
currentTheme(): import("@omnia/fx-models").ThemeDefinitionV2;
|
1733
|
+
};
|
1734
|
+
}): void;
|
1735
|
+
};
|
1736
|
+
get: {
|
1737
|
+
readonly themeStore: {
|
1738
|
+
state: {
|
1739
|
+
currentTheme: {
|
1740
|
+
id: {
|
1741
|
+
equals: {
|
1742
|
+
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
1743
|
+
};
|
1744
|
+
toString: () => string;
|
1745
|
+
toJSON: () => string;
|
1746
|
+
valueOf: () => string;
|
1747
|
+
};
|
1748
|
+
name: string;
|
1749
|
+
dark: boolean;
|
1750
|
+
colors: {
|
1751
|
+
primary: {
|
1752
|
+
name: string;
|
1753
|
+
base: {
|
1754
|
+
dark: boolean;
|
1755
|
+
color: string;
|
1756
|
+
colorToned: string;
|
1757
|
+
};
|
1758
|
+
onBase: {
|
1759
|
+
dark: boolean;
|
1760
|
+
color: string;
|
1761
|
+
colorToned: string;
|
1762
|
+
};
|
1763
|
+
container: {
|
1764
|
+
dark: boolean;
|
1765
|
+
color: string;
|
1766
|
+
colorToned: string;
|
1767
|
+
};
|
1768
|
+
onContainer: {
|
1769
|
+
dark: boolean;
|
1770
|
+
color: string;
|
1771
|
+
colorToned: string;
|
1772
|
+
};
|
1773
|
+
};
|
1774
|
+
secondary: {
|
1775
|
+
name: string;
|
1776
|
+
base: {
|
1777
|
+
dark: boolean;
|
1778
|
+
color: string;
|
1779
|
+
colorToned: string;
|
1780
|
+
};
|
1781
|
+
onBase: {
|
1782
|
+
dark: boolean;
|
1783
|
+
color: string;
|
1784
|
+
colorToned: string;
|
1785
|
+
};
|
1786
|
+
container: {
|
1787
|
+
dark: boolean;
|
1788
|
+
color: string;
|
1789
|
+
colorToned: string;
|
1790
|
+
};
|
1791
|
+
onContainer: {
|
1792
|
+
dark: boolean;
|
1793
|
+
color: string;
|
1794
|
+
colorToned: string;
|
1795
|
+
};
|
1796
|
+
};
|
1797
|
+
accent1: {
|
1798
|
+
name: string;
|
1799
|
+
base: {
|
1800
|
+
dark: boolean;
|
1801
|
+
color: string;
|
1802
|
+
colorToned: string;
|
1803
|
+
};
|
1804
|
+
onBase: {
|
1805
|
+
dark: boolean;
|
1806
|
+
color: string;
|
1807
|
+
colorToned: string;
|
1808
|
+
};
|
1809
|
+
container: {
|
1810
|
+
dark: boolean;
|
1811
|
+
color: string;
|
1812
|
+
colorToned: string;
|
1813
|
+
};
|
1814
|
+
onContainer: {
|
1815
|
+
dark: boolean;
|
1816
|
+
color: string;
|
1817
|
+
colorToned: string;
|
1818
|
+
};
|
1819
|
+
};
|
1820
|
+
accent2: {
|
1821
|
+
name: string;
|
1822
|
+
base: {
|
1823
|
+
dark: boolean;
|
1824
|
+
color: string;
|
1825
|
+
colorToned: string;
|
1826
|
+
};
|
1827
|
+
onBase: {
|
1828
|
+
dark: boolean;
|
1829
|
+
color: string;
|
1830
|
+
colorToned: string;
|
1831
|
+
};
|
1832
|
+
container: {
|
1833
|
+
dark: boolean;
|
1834
|
+
color: string;
|
1835
|
+
colorToned: string;
|
1836
|
+
};
|
1837
|
+
onContainer: {
|
1838
|
+
dark: boolean;
|
1839
|
+
color: string;
|
1840
|
+
colorToned: string;
|
1841
|
+
};
|
1842
|
+
};
|
1843
|
+
accent3: {
|
1844
|
+
name: string;
|
1845
|
+
base: {
|
1846
|
+
dark: boolean;
|
1847
|
+
color: string;
|
1848
|
+
colorToned: string;
|
1849
|
+
};
|
1850
|
+
onBase: {
|
1851
|
+
dark: boolean;
|
1852
|
+
color: string;
|
1853
|
+
colorToned: string;
|
1854
|
+
};
|
1855
|
+
container: {
|
1856
|
+
dark: boolean;
|
1857
|
+
color: string;
|
1858
|
+
colorToned: string;
|
1859
|
+
};
|
1860
|
+
onContainer: {
|
1861
|
+
dark: boolean;
|
1862
|
+
color: string;
|
1863
|
+
colorToned: string;
|
1864
|
+
};
|
1865
|
+
};
|
1866
|
+
neutral: {
|
1867
|
+
name: string;
|
1868
|
+
base: {
|
1869
|
+
dark: boolean;
|
1870
|
+
color: string;
|
1871
|
+
colorToned: string;
|
1872
|
+
};
|
1873
|
+
onBase: {
|
1874
|
+
dark: boolean;
|
1875
|
+
color: string;
|
1876
|
+
colorToned: string;
|
1877
|
+
};
|
1878
|
+
container: {
|
1879
|
+
dark: boolean;
|
1880
|
+
color: string;
|
1881
|
+
colorToned: string;
|
1882
|
+
};
|
1883
|
+
onContainer: {
|
1884
|
+
dark: boolean;
|
1885
|
+
color: string;
|
1886
|
+
colorToned: string;
|
1887
|
+
};
|
1888
|
+
};
|
1889
|
+
background: {
|
1890
|
+
name: string;
|
1891
|
+
base: {
|
1892
|
+
dark: boolean;
|
1893
|
+
color: string;
|
1894
|
+
colorToned: string;
|
1895
|
+
};
|
1896
|
+
onBase: {
|
1897
|
+
dark: boolean;
|
1898
|
+
color: string;
|
1899
|
+
colorToned: string;
|
1900
|
+
};
|
1901
|
+
container: {
|
1902
|
+
dark: boolean;
|
1903
|
+
color: string;
|
1904
|
+
colorToned: string;
|
1905
|
+
};
|
1906
|
+
onContainer: {
|
1907
|
+
dark: boolean;
|
1908
|
+
color: string;
|
1909
|
+
colorToned: string;
|
1910
|
+
};
|
1911
|
+
};
|
1912
|
+
error: {
|
1913
|
+
name: string;
|
1914
|
+
base: {
|
1915
|
+
dark: boolean;
|
1916
|
+
color: string;
|
1917
|
+
colorToned: string;
|
1918
|
+
};
|
1919
|
+
onBase: {
|
1920
|
+
dark: boolean;
|
1921
|
+
color: string;
|
1922
|
+
colorToned: string;
|
1923
|
+
};
|
1924
|
+
container: {
|
1925
|
+
dark: boolean;
|
1926
|
+
color: string;
|
1927
|
+
colorToned: string;
|
1928
|
+
};
|
1929
|
+
onContainer: {
|
1930
|
+
dark: boolean;
|
1931
|
+
color: string;
|
1932
|
+
colorToned: string;
|
1933
|
+
};
|
1934
|
+
};
|
1935
|
+
info: {
|
1936
|
+
name: string;
|
1937
|
+
base: {
|
1938
|
+
dark: boolean;
|
1939
|
+
color: string;
|
1940
|
+
colorToned: string;
|
1941
|
+
};
|
1942
|
+
onBase: {
|
1943
|
+
dark: boolean;
|
1944
|
+
color: string;
|
1945
|
+
colorToned: string;
|
1946
|
+
};
|
1947
|
+
container: {
|
1948
|
+
dark: boolean;
|
1949
|
+
color: string;
|
1950
|
+
colorToned: string;
|
1951
|
+
};
|
1952
|
+
onContainer: {
|
1953
|
+
dark: boolean;
|
1954
|
+
color: string;
|
1955
|
+
colorToned: string;
|
1956
|
+
};
|
1957
|
+
};
|
1958
|
+
};
|
1959
|
+
blueprints: {
|
1960
|
+
type: import("@omnia/fx-models").BlueprintType;
|
1961
|
+
name: string;
|
1962
|
+
}[];
|
1963
|
+
};
|
1964
|
+
};
|
1965
|
+
events: {
|
1966
|
+
[x: string]: {
|
1967
|
+
subscribe: (fn: (obj: any) => void) => import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1968
|
+
publish: (msg: any) => void;
|
1969
|
+
};
|
1970
|
+
onMutatedCurrentTheme: {
|
1971
|
+
subscribe: (fn: (obj: import("@omnia/fx-models").ThemeDefinitionV2) => void) => import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1972
|
+
};
|
1973
|
+
};
|
1974
|
+
actions: {
|
1975
|
+
onDispatching: {
|
1976
|
+
setTheme: {
|
1977
|
+
subscribe: (fn: (themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2) => void) => import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1978
|
+
};
|
1979
|
+
};
|
1980
|
+
onDispatched: {
|
1981
|
+
setTheme: {
|
1982
|
+
subscribe: (fn: (result: void, themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2) => void) => import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1983
|
+
};
|
1984
|
+
};
|
1985
|
+
onFailure: {
|
1986
|
+
setTheme: {
|
1987
|
+
subscribe: (fn: (failureReason: any, themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2) => void) => import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1988
|
+
};
|
1989
|
+
};
|
1990
|
+
setTheme: (themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2) => void;
|
1991
|
+
};
|
1992
|
+
get: {
|
1993
|
+
colorSchema: (colorSchemaType: "info" | "error" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | import("@omnia/fx-models").ColorSchemaTypes) => import("@omnia/fx-models").ColorSchema;
|
1994
|
+
blueprint: <TType extends import("@omnia/fx-models").BlueprintDefinition>(type: import("@omnia/fx-models").BlueprintType) => TType;
|
1995
|
+
typography: () => import("@omnia/fx-models").TypographyBlueprint;
|
1996
|
+
spacing: () => import("@omnia/fx-models").SpacingBlueprint;
|
1997
|
+
chrome: () => import("@omnia/fx-models").ChromeBlueprint;
|
1998
|
+
component: () => import("@omnia/fx-models").ComponentBlueprint;
|
1999
|
+
color: (colorSchemaType: "info" | "error" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | import("@omnia/fx-models").ColorSchemaTypes, colorType: "base" | "onBase" | "container" | "onContainer" | import("@omnia/fx-models").ColorTypes) => string;
|
2000
|
+
colorDefinition: (colorSchemaType: "info" | "error" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | import("@omnia/fx-models").ColorSchemaTypes, colorType: "base" | "onBase" | "container" | "onContainer" | import("@omnia/fx-models").ColorTypes) => import("@omnia/fx-models").ColorDefinition;
|
2001
|
+
complementaryColorType: (colorType: "base" | "onBase" | "container" | "onContainer" | import("@omnia/fx-models").ColorTypes) => import("@omnia/fx-models").ColorTypes;
|
2002
|
+
complementaryColor: (colorSchemaType: "info" | "error" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | import("@omnia/fx-models").ColorSchemaTypes, colorType: "base" | "onBase" | "container" | "onContainer" | import("@omnia/fx-models").ColorTypes) => string;
|
2003
|
+
complementaryColorDefinition: (colorSchemaType: "info" | "error" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | import("@omnia/fx-models").ColorSchemaTypes, colorType: "base" | "onBase" | "container" | "onContainer" | import("@omnia/fx-models").ColorTypes) => import("@omnia/fx-models").ColorDefinition;
|
2004
|
+
currentTheme: () => import("@omnia/fx-models").ThemeDefinitionV2;
|
2005
|
+
};
|
2006
|
+
};
|
2007
|
+
colorValue(color: import("@omnia/fx-models").ColorValue | import("@omnia/fx-models").ColorGradientValue): string;
|
2008
|
+
readonly colorSchema: import("@omnia/fx-models").ColorSchema;
|
2009
|
+
readonly theme: "light" | "dark";
|
2010
|
+
readonly base: import("@omnia/fx-models").ColorDefinition;
|
2011
|
+
readonly onBase: import("@omnia/fx-models").ColorDefinition;
|
2012
|
+
readonly container: import("@omnia/fx-models").ColorDefinition;
|
2013
|
+
readonly onContainer: import("@omnia/fx-models").ColorDefinition;
|
2014
|
+
dynamic: (isContainer: boolean) => {
|
2015
|
+
readonly base: import("@omnia/fx-models").ColorDefinition;
|
2016
|
+
readonly onBase: import("@omnia/fx-models").ColorDefinition;
|
2017
|
+
readonly container: import("@omnia/fx-models").ColorDefinition;
|
2018
|
+
readonly onContainer: import("@omnia/fx-models").ColorDefinition;
|
2019
|
+
};
|
2020
|
+
};
|
2021
|
+
deactivated(): void;
|
2022
|
+
}) => string;
|
1506
2023
|
spacing: {
|
2024
|
+
innerPaddingx: (value: SpacingSettings | SpacingType, blueprint?: ReturnType<typeof useSpacingBlueprintStore>) => readonly [Readonly<{
|
2025
|
+
paddingTop: import("@stylexjs/stylex/lib/StyleXTypes").StyleXClassNameFor<"paddingTop", string>;
|
2026
|
+
paddingRight: import("@stylexjs/stylex/lib/StyleXTypes").StyleXClassNameFor<"paddingRight", string>;
|
2027
|
+
paddingBottom: import("@stylexjs/stylex/lib/StyleXTypes").StyleXClassNameFor<"paddingBottom", string>;
|
2028
|
+
paddingLeft: import("@stylexjs/stylex/lib/StyleXTypes").StyleXClassNameFor<"paddingLeft", string>;
|
2029
|
+
}>, typeof import("@stylexjs/stylex/lib/StyleXTypes").StyleXInlineStylesTag] | readonly [Readonly<{
|
2030
|
+
marginTop: import("@stylexjs/stylex/lib/StyleXTypes").StyleXClassNameFor<"marginTop", string>;
|
2031
|
+
marginRight: import("@stylexjs/stylex/lib/StyleXTypes").StyleXClassNameFor<"marginRight", string>;
|
2032
|
+
marginBottom: import("@stylexjs/stylex/lib/StyleXTypes").StyleXClassNameFor<"marginBottom", string>;
|
2033
|
+
marginLeft: import("@stylexjs/stylex/lib/StyleXTypes").StyleXClassNameFor<"marginLeft", string>;
|
2034
|
+
}>, typeof import("@stylexjs/stylex/lib/StyleXTypes").StyleXInlineStylesTag];
|
1507
2035
|
innerPadding: (value: SpacingSettings | SpacingType, blueprint?: ReturnType<typeof useSpacingBlueprintStore>) => string;
|
1508
2036
|
innerMargin: (value: SpacingSettings | SpacingType, blueprint?: ReturnType<typeof useSpacingBlueprintStore>) => string;
|
1509
2037
|
innerValue: (value: any, blueprint?: ReturnType<typeof useSpacingBlueprintStore>) => number;
|
@@ -1,13 +1,27 @@
|
|
1
|
-
import { ButtonBlueprint, SpacingBlueprintTypes, SpacingSettings, SpacingType } from "@omnia/fx-models";
|
1
|
+
import { BackgroundDefinition, ButtonBlueprint, SpacingBlueprintTypes, SpacingSettings, SpacingType } from "@omnia/fx-models";
|
2
2
|
import { useColorSchemaStore, useComponentBlueprintStore, useSpacingBlueprintStore } from "../../store";
|
3
3
|
export declare const BlueprintStyles: {
|
4
4
|
getBlueprintSpacingValue: typeof getBlueprintSpacingValue;
|
5
5
|
getBlueprintSpacingStyling: typeof getBlueprintSpacingStyling;
|
6
6
|
getButtonBlueprintStyling: typeof getButtonBlueprintStyling;
|
7
7
|
getIconBlueprintStyling: typeof getIconBlueprintStyling;
|
8
|
+
getBlueprintBackgroundStyling: typeof getBlueprintBackgroundStyling;
|
9
|
+
getBlueprintSpacingStylingx: typeof getBlueprintSpacingStylingx;
|
8
10
|
};
|
11
|
+
declare function getBlueprintBackgroundStyling(definition: BackgroundDefinition, colors?: ReturnType<typeof useColorSchemaStore>): string;
|
9
12
|
/**Blueprint styling */
|
10
13
|
declare function getBlueprintSpacingValue(value: any, type: SpacingBlueprintTypes, blueprint?: ReturnType<typeof useSpacingBlueprintStore>): number;
|
14
|
+
declare function getBlueprintSpacingStylingx(value: SpacingSettings | SpacingType, type: SpacingBlueprintTypes, spacingType?: "margin" | "padding", blueprint?: ReturnType<typeof useSpacingBlueprintStore>): readonly [Readonly<{
|
15
|
+
paddingTop: import("@stylexjs/stylex/lib/StyleXTypes").StyleXClassNameFor<"paddingTop", string>;
|
16
|
+
paddingRight: import("@stylexjs/stylex/lib/StyleXTypes").StyleXClassNameFor<"paddingRight", string>;
|
17
|
+
paddingBottom: import("@stylexjs/stylex/lib/StyleXTypes").StyleXClassNameFor<"paddingBottom", string>;
|
18
|
+
paddingLeft: import("@stylexjs/stylex/lib/StyleXTypes").StyleXClassNameFor<"paddingLeft", string>;
|
19
|
+
}>, typeof import("@stylexjs/stylex/lib/StyleXTypes").StyleXInlineStylesTag] | readonly [Readonly<{
|
20
|
+
marginTop: import("@stylexjs/stylex/lib/StyleXTypes").StyleXClassNameFor<"marginTop", string>;
|
21
|
+
marginRight: import("@stylexjs/stylex/lib/StyleXTypes").StyleXClassNameFor<"marginRight", string>;
|
22
|
+
marginBottom: import("@stylexjs/stylex/lib/StyleXTypes").StyleXClassNameFor<"marginBottom", string>;
|
23
|
+
marginLeft: import("@stylexjs/stylex/lib/StyleXTypes").StyleXClassNameFor<"marginLeft", string>;
|
24
|
+
}>, typeof import("@stylexjs/stylex/lib/StyleXTypes").StyleXInlineStylesTag];
|
11
25
|
declare function getBlueprintSpacingStyling(value: SpacingSettings | SpacingType, type: SpacingBlueprintTypes, spacingType?: "margin" | "padding", blueprint?: ReturnType<typeof useSpacingBlueprintStore>): string;
|
12
26
|
declare function getButtonBlueprintStyling(bluePrint: ButtonBlueprint, colors: ReturnType<typeof useColorSchemaStore>): string;
|
13
27
|
declare function getIconBlueprintStyling(bluePrint?: ReturnType<typeof useComponentBlueprintStore>): string;
|
@@ -1,12 +1,7 @@
|
|
1
|
+
import { Spacing } from "@omnia/fx-models";
|
1
2
|
export declare const SpacingStyling: {
|
2
3
|
createSpacing: typeof createSpacing;
|
3
4
|
};
|
4
|
-
export interface spacing {
|
5
|
-
top?: number;
|
6
|
-
right?: number;
|
7
|
-
bottom?: number;
|
8
|
-
left?: number;
|
9
|
-
}
|
10
5
|
type SpacingTypes = "padding" | "margin";
|
11
|
-
declare function createSpacing(spacing:
|
6
|
+
declare function createSpacing(spacing: Spacing, type: SpacingTypes): string;
|
12
7
|
export {};
|