@openfin/ui-library 0.30.21-alpha.1757522963 → 0.30.21
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/dist/components/controls/Menus/ContentMenu/ContentMenuItem/ContentMenuItem.d.ts +15 -17
- package/dist/components/controls/Menus/CustomContextMenu/useContextMenuKeyboardNavigation.d.ts +1 -1
- package/dist/components/controls/Menus/CustomContextMenu/useContextMenuNavigation.d.ts +2 -2
- package/dist/components/controls/Menus/common.d.ts +37 -66
- package/dist/components/elements/Icon/icon.d.ts +0 -1
- package/dist/components/elements/Label/label.d.ts +0 -1
- package/dist/components/elements/Loader/loader.d.ts +1 -1
- package/dist/components/elements/Loader/openfinLoader.d.ts +1 -1
- package/dist/components/input/BaseInput/baseInput.d.ts +11 -13
- package/dist/components/input/Checkbox/checkbox.d.ts +11 -10
- package/dist/components/input/DateInput/dateInput.d.ts +1 -3
- package/dist/components/input/NumberInput/numberInput.d.ts +1 -4
- package/dist/components/input/RadioInput/radioInput.d.ts +3 -3
- package/dist/components/input/TextArea/textArea.d.ts +3 -3
- package/dist/components/input/TextInput/textInput.d.ts +7 -10
- package/dist/components/layout/Box/box.d.ts +1 -15
- package/dist/components/system/ThemeProvider/lib/iconSet.d.ts +1 -2
- package/dist/components/typography/Heading/heading.d.ts +96 -96
- package/dist/components/typography/Text/text.d.ts +1 -6
- package/dist/hooks/useColorScheme.d.ts +1 -1
- package/dist/hooks/useTheme.d.ts +2 -2
- package/dist/index.js +107 -137
- package/dist/storybookHelpers.d.ts +52 -53
- package/package.json +38 -41
- package/dist/components/input/Checkbox/checkbox.variants.d.ts +0 -21
|
@@ -13,9 +13,4 @@ export type TextProps = HTMLAttributes<HTMLElement> & {
|
|
|
13
13
|
* <Text size="small">Okay Cool</Text>
|
|
14
14
|
* <Text weight="bold">Okay Cool</Text>
|
|
15
15
|
*/
|
|
16
|
-
export declare const Text: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme,
|
|
17
|
-
color?: "textDefault" | "background6" | undefined;
|
|
18
|
-
children: ReactNode;
|
|
19
|
-
size?: "base" | "small" | "xsmall" | "large" | "xlarge" | "xxlarge" | "xxxlarge" | "xxxxlarge" | undefined;
|
|
20
|
-
weight?: "normal" | "bold" | undefined;
|
|
21
|
-
}, never>;
|
|
16
|
+
export declare const Text: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, TextProps, never>;
|
|
@@ -15,5 +15,5 @@ type UseColorSchemeProps = {
|
|
|
15
15
|
* @param fallbackScheme
|
|
16
16
|
* @returns the current color scheme
|
|
17
17
|
*/
|
|
18
|
-
export declare const useColorScheme: ({ colorScheme, fallbackScheme, }: UseColorSchemeProps) => Exclude<ColorSchemeType,
|
|
18
|
+
export declare const useColorScheme: ({ colorScheme, fallbackScheme, }: UseColorSchemeProps) => Exclude<ColorSchemeType, "system">;
|
|
19
19
|
export {};
|
package/dist/hooks/useTheme.d.ts
CHANGED
|
@@ -3,6 +3,6 @@ import { ColorScheme } from '../hooks/useColorScheme';
|
|
|
3
3
|
import { ThemeSet } from '../components/system/ThemeProvider';
|
|
4
4
|
import type { DeepPartial } from '../types';
|
|
5
5
|
export declare const useTheme: ({ themes, scheme, }: {
|
|
6
|
-
themes?: DeepPartial<ThemeSet
|
|
7
|
-
scheme?:
|
|
6
|
+
themes?: DeepPartial<ThemeSet>;
|
|
7
|
+
scheme?: keyof typeof ColorScheme;
|
|
8
8
|
}) => DefaultTheme;
|