@appkit/dek-lib 0.2.8 → 0.5.0
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/Background/Background.d.ts +1 -5
- package/dist/components/CommandGroup/CommandGroup.styled.d.ts +4 -2
- package/dist/components/Header/Header.styled.d.ts +3 -3
- package/dist/components/Router/Router.styled.d.ts +1 -1
- package/dist/components/Zone/Zone.d.ts +2 -0
- package/dist/index.es.js +28251 -25083
- package/dist/index.umd.js +28274 -25106
- package/dist/lib/globals.d.ts +3 -1
- package/dist/lib/registry.d.ts +15 -0
- package/dist/plugins/base/components/Greeting/Greeting.styled.d.ts +2 -2
- package/dist/plugins/base/components/backgrounds/BlobBackground/BlobBackground.d.ts +7 -0
- package/dist/plugins/base/components/backgrounds/BlobBackground/BlobBackground.styled.d.ts +11 -0
- package/dist/plugins/base/components/backgrounds/BlurredLightsBackground/BlurredLightsBackground.d.ts +7 -0
- package/dist/plugins/base/components/backgrounds/BlurredLightsBackground/BlurredLightsBackground.styled.d.ts +5187 -0
- package/dist/plugins/base/components/backgrounds/GradientBackground/GradientBackground.d.ts +7 -0
- package/dist/plugins/base/components/backgrounds/GradientBackground/GradientBackground.styled.d.ts +8 -0
- package/dist/plugins/base/components/backgrounds/ImageBackground/ImageBackground.d.ts +6 -0
- package/dist/plugins/base/components/backgrounds/ImageBackground/ImageBackground.styled.d.ts +10 -0
- package/dist/plugins/base/plugin.d.ts +4 -3
- package/dist/plugins/base/screens/BackgroundsScreen.d.ts +2 -0
- package/dist/plugins/base/screens/SettingsScreen/About.d.ts +2 -0
- package/dist/plugins/base/screens/SettingsScreen/Backgrounds.d.ts +2 -0
- package/dist/plugins/base/screens/SettingsScreen/Boards.d.ts +2 -0
- package/dist/plugins/base/screens/SettingsScreen/Messages.d.ts +2 -0
- package/dist/plugins/base/screens/SettingsScreen/PluginDev.d.ts +2 -0
- package/dist/plugins/base/screens/SettingsScreen/SettingsScreen.d.ts +5 -0
- package/dist/plugins/calendar/CalendarTiles/CalendarTiles.styled.d.ts +3 -3
- package/dist/plugins/calendar/plugin.d.ts +2 -2
- package/dist/plugins/calendar/screens/EventScreen/EventScreen.styled.d.ts +1 -1
- package/dist/plugins/home-assistant/MediaView/MediaView.styled.d.ts +7 -5
- package/dist/plugins/home-assistant/plugin.d.ts +2 -2
- package/dist/plugins/weather/WeatherComponent/WeatherComponent.styled.d.ts +3 -3
- package/dist/plugins/weather/WeatherDisplay/WeatherDisplay.styled.d.ts +3 -3
- package/package.json +1 -1
package/dist/plugins/base/components/backgrounds/GradientBackground/GradientBackground.styled.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
type ContainerProps = {
|
|
3
|
+
$colorStart: string;
|
|
4
|
+
$colorEnd: string;
|
|
5
|
+
$speed: number;
|
|
6
|
+
};
|
|
7
|
+
export declare const Container: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ContainerProps>>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
type ContainerProps = {
|
|
3
|
+
$imageUrl: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const Container: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ContainerProps>>;
|
|
6
|
+
type OverlayProps = {
|
|
7
|
+
$opacity: number;
|
|
8
|
+
};
|
|
9
|
+
export declare const Overlay: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, OverlayProps>>;
|
|
10
|
+
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { DekPlugin, DekPluginConfig } from '@appkit/dek-plugin';
|
|
1
|
+
import { DekApi, DekPlugin, DekPluginConfig, DekRegistry } from '@appkit/dek-plugin';
|
|
2
2
|
declare class Plugin implements DekPlugin {
|
|
3
|
-
config: DekPluginConfig;
|
|
4
|
-
|
|
3
|
+
readonly config: DekPluginConfig;
|
|
4
|
+
constructor(config: DekPluginConfig, registry: DekRegistry);
|
|
5
|
+
load(api: DekApi): Promise<void>;
|
|
5
6
|
unload(): Promise<void>;
|
|
6
7
|
get screens(): {
|
|
7
8
|
path: string;
|
|
@@ -84,7 +84,7 @@ export declare const MoreContainer: import("styled-components").IStyledComponent
|
|
|
84
84
|
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
85
85
|
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
86
86
|
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
87
|
-
"aria-orientation"?: "
|
|
87
|
+
"aria-orientation"?: "vertical" | "horizontal" | undefined;
|
|
88
88
|
"aria-owns"?: string | undefined;
|
|
89
89
|
"aria-placeholder"?: string | undefined;
|
|
90
90
|
"aria-posinset"?: number | undefined;
|
|
@@ -356,7 +356,7 @@ export declare const MoreSpacer: import("styled-components").IStyledComponent<"w
|
|
|
356
356
|
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
357
357
|
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
358
358
|
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
359
|
-
"aria-orientation"?: "
|
|
359
|
+
"aria-orientation"?: "vertical" | "horizontal" | undefined;
|
|
360
360
|
"aria-owns"?: string | undefined;
|
|
361
361
|
"aria-placeholder"?: string | undefined;
|
|
362
362
|
"aria-posinset"?: number | undefined;
|
|
@@ -628,7 +628,7 @@ export declare const More: import("styled-components").IStyledComponent<"web", {
|
|
|
628
628
|
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
629
629
|
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
630
630
|
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
631
|
-
"aria-orientation"?: "
|
|
631
|
+
"aria-orientation"?: "vertical" | "horizontal" | undefined;
|
|
632
632
|
"aria-owns"?: string | undefined;
|
|
633
633
|
"aria-placeholder"?: string | undefined;
|
|
634
634
|
"aria-posinset"?: number | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DekPlugin, DekPluginConfig } from '@appkit/dek-plugin';
|
|
1
|
+
import { DekApi, DekPlugin, DekPluginConfig } from '@appkit/dek-plugin';
|
|
2
2
|
import { CalendarState } from './types';
|
|
3
3
|
export declare const states: Record<string, CalendarState>;
|
|
4
4
|
declare class Plugin implements DekPlugin {
|
|
@@ -8,7 +8,7 @@ declare class Plugin implements DekPlugin {
|
|
|
8
8
|
private emitter;
|
|
9
9
|
private state;
|
|
10
10
|
constructor(config: DekPluginConfig);
|
|
11
|
-
load(): Promise<void>;
|
|
11
|
+
load(api: DekApi): Promise<void>;
|
|
12
12
|
unload(): Promise<void>;
|
|
13
13
|
get screens(): {
|
|
14
14
|
path: string;
|
|
@@ -84,7 +84,7 @@ export declare const Container: import("styled-components").IStyledComponent<"we
|
|
|
84
84
|
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
85
85
|
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
86
86
|
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
87
|
-
"aria-orientation"?: "
|
|
87
|
+
"aria-orientation"?: "vertical" | "horizontal" | undefined;
|
|
88
88
|
"aria-owns"?: string | undefined;
|
|
89
89
|
"aria-placeholder"?: string | undefined;
|
|
90
90
|
"aria-posinset"?: number | undefined;
|
|
@@ -88,7 +88,7 @@ export declare const CoverArtContainer: import("styled-components").IStyledCompo
|
|
|
88
88
|
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
89
89
|
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
90
90
|
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
91
|
-
"aria-orientation"?: "
|
|
91
|
+
"aria-orientation"?: "vertical" | "horizontal" | undefined;
|
|
92
92
|
"aria-owns"?: string | undefined;
|
|
93
93
|
"aria-placeholder"?: string | undefined;
|
|
94
94
|
"aria-posinset"?: number | undefined;
|
|
@@ -360,7 +360,7 @@ export declare const Content: import("styled-components").IStyledComponent<"web"
|
|
|
360
360
|
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
361
361
|
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
362
362
|
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
363
|
-
"aria-orientation"?: "
|
|
363
|
+
"aria-orientation"?: "vertical" | "horizontal" | undefined;
|
|
364
364
|
"aria-owns"?: string | undefined;
|
|
365
365
|
"aria-placeholder"?: string | undefined;
|
|
366
366
|
"aria-posinset"?: number | undefined;
|
|
@@ -638,7 +638,7 @@ export declare const Controls: import("styled-components").IStyledComponent<"web
|
|
|
638
638
|
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
639
639
|
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
640
640
|
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
641
|
-
"aria-orientation"?: "
|
|
641
|
+
"aria-orientation"?: "vertical" | "horizontal" | undefined;
|
|
642
642
|
"aria-owns"?: string | undefined;
|
|
643
643
|
"aria-placeholder"?: string | undefined;
|
|
644
644
|
"aria-posinset"?: number | undefined;
|
|
@@ -910,7 +910,7 @@ export declare const ControlSpacer: import("styled-components").IStyledComponent
|
|
|
910
910
|
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
911
911
|
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
912
912
|
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
913
|
-
"aria-orientation"?: "
|
|
913
|
+
"aria-orientation"?: "vertical" | "horizontal" | undefined;
|
|
914
914
|
"aria-owns"?: string | undefined;
|
|
915
915
|
"aria-placeholder"?: string | undefined;
|
|
916
916
|
"aria-posinset"?: number | undefined;
|
|
@@ -1117,8 +1117,10 @@ export declare const Error: import("styled-components").IStyledComponent<"web",
|
|
|
1117
1117
|
height?: string | number | undefined;
|
|
1118
1118
|
fixed?: import("../../../../../ui/dist/components/View/View").ViewFixPosition | undefined;
|
|
1119
1119
|
backColor?: string | undefined;
|
|
1120
|
+
backColorHover?: string | undefined;
|
|
1120
1121
|
borderRadius?: number | undefined;
|
|
1122
|
+
className?: string | undefined;
|
|
1121
1123
|
onClick?: (() => void) | undefined;
|
|
1122
1124
|
children?: import("react").ReactNode;
|
|
1123
|
-
}> & (({ label, direction, collapse, valign, halign, vscroll, hscroll, padding, paddingVert, paddingHorz, paddingRight, paddingLeft, paddingTop, paddingBottom, width, height, fixed, backColor, borderRadius, onClick, style, children, }: import("../../../../../ui/dist/components/View/View").ViewProps) => import("react/jsx-runtime").JSX.Element);
|
|
1125
|
+
}> & (({ label, direction, collapse, valign, halign, vscroll, hscroll, padding, paddingVert, paddingHorz, paddingRight, paddingLeft, paddingTop, paddingBottom, width, height, fixed, backColor, backColorHover, borderRadius, className, onClick, style, children, }: import("../../../../../ui/dist/components/View/View").ViewProps) => import("react/jsx-runtime").JSX.Element);
|
|
1124
1126
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { DekPlugin, DekPluginConfig } from '@appkit/dek-plugin';
|
|
1
|
+
import { DekApi, DekPlugin, DekPluginConfig } from '@appkit/dek-plugin';
|
|
2
2
|
declare class Plugin implements DekPlugin {
|
|
3
3
|
readonly config: DekPluginConfig;
|
|
4
4
|
constructor(config: DekPluginConfig);
|
|
5
|
-
load(
|
|
5
|
+
load(api: DekApi): Promise<void>;
|
|
6
6
|
unload(): Promise<void>;
|
|
7
7
|
get components(): {
|
|
8
8
|
key: string;
|
|
@@ -84,7 +84,7 @@ export declare const Container: import("styled-components").IStyledComponent<"we
|
|
|
84
84
|
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
85
85
|
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
86
86
|
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
87
|
-
"aria-orientation"?: "
|
|
87
|
+
"aria-orientation"?: "vertical" | "horizontal" | undefined;
|
|
88
88
|
"aria-owns"?: string | undefined;
|
|
89
89
|
"aria-placeholder"?: string | undefined;
|
|
90
90
|
"aria-posinset"?: number | undefined;
|
|
@@ -356,7 +356,7 @@ export declare const LoadingText: import("styled-components").IStyledComponent<"
|
|
|
356
356
|
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
357
357
|
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
358
358
|
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
359
|
-
"aria-orientation"?: "
|
|
359
|
+
"aria-orientation"?: "vertical" | "horizontal" | undefined;
|
|
360
360
|
"aria-owns"?: string | undefined;
|
|
361
361
|
"aria-placeholder"?: string | undefined;
|
|
362
362
|
"aria-posinset"?: number | undefined;
|
|
@@ -628,7 +628,7 @@ export declare const ErrorText: import("styled-components").IStyledComponent<"we
|
|
|
628
628
|
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
629
629
|
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
630
630
|
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
631
|
-
"aria-orientation"?: "
|
|
631
|
+
"aria-orientation"?: "vertical" | "horizontal" | undefined;
|
|
632
632
|
"aria-owns"?: string | undefined;
|
|
633
633
|
"aria-placeholder"?: string | undefined;
|
|
634
634
|
"aria-posinset"?: number | undefined;
|
|
@@ -84,7 +84,7 @@ export declare const Container: import("styled-components").IStyledComponent<"we
|
|
|
84
84
|
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
85
85
|
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
86
86
|
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
87
|
-
"aria-orientation"?: "
|
|
87
|
+
"aria-orientation"?: "vertical" | "horizontal" | undefined;
|
|
88
88
|
"aria-owns"?: string | undefined;
|
|
89
89
|
"aria-placeholder"?: string | undefined;
|
|
90
90
|
"aria-posinset"?: number | undefined;
|
|
@@ -356,7 +356,7 @@ export declare const WeatherContainer: import("styled-components").IStyledCompon
|
|
|
356
356
|
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
357
357
|
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
358
358
|
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
359
|
-
"aria-orientation"?: "
|
|
359
|
+
"aria-orientation"?: "vertical" | "horizontal" | undefined;
|
|
360
360
|
"aria-owns"?: string | undefined;
|
|
361
361
|
"aria-placeholder"?: string | undefined;
|
|
362
362
|
"aria-posinset"?: number | undefined;
|
|
@@ -628,7 +628,7 @@ export declare const TemperatureContainer: import("styled-components").IStyledCo
|
|
|
628
628
|
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
629
629
|
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
630
630
|
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
631
|
-
"aria-orientation"?: "
|
|
631
|
+
"aria-orientation"?: "vertical" | "horizontal" | undefined;
|
|
632
632
|
"aria-owns"?: string | undefined;
|
|
633
633
|
"aria-placeholder"?: string | undefined;
|
|
634
634
|
"aria-posinset"?: number | undefined;
|