@appkit/dek-lib 0.26.0 → 0.28.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.
@@ -0,0 +1,7 @@
1
+ type Props = {
2
+ colorStart?: string;
3
+ colorEnd?: string;
4
+ speed?: number;
5
+ };
6
+ declare const SlantBackground: ({ colorStart, colorEnd, speed, }: Props) => import("react/jsx-runtime").JSX.Element;
7
+ export default SlantBackground;
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ type ContainerProps = {
3
+ $colorStart: string;
4
+ $colorEnd: string;
5
+ };
6
+ export declare const Container: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ContainerProps>>;
7
+ export type SlantProps = {
8
+ $speed: number;
9
+ $colorStart: string;
10
+ $colorEnd: string;
11
+ };
12
+ export declare const Slant1: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, SlantProps>>;
13
+ export declare const Slant2: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, SlantProps>>;
14
+ export declare const Slant3: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, SlantProps>>;
15
+ export {};
@@ -0,0 +1,8 @@
1
+ type Props = {
2
+ colorStart?: string;
3
+ colorEnd?: string;
4
+ speed?: number;
5
+ tide?: number;
6
+ };
7
+ declare const WaveBackground: ({ colorStart, colorEnd, speed, tide, }: Props) => import("react/jsx-runtime").JSX.Element;
8
+ export default WaveBackground;
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ type ContainerProps = {
3
+ $colorStart: string;
4
+ $colorEnd: string;
5
+ };
6
+ export declare const Container: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ContainerProps>>;
7
+ export type OceanProps = {
8
+ $height: number;
9
+ };
10
+ export declare const Ocean: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, OceanProps>>;
11
+ export type WaveProps = {
12
+ $speed: number;
13
+ };
14
+ export declare const Wave1: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, WaveProps>>;
15
+ export declare const Wave2: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, WaveProps>>;
16
+ export {};
@@ -4,6 +4,7 @@ type Props = {
4
4
  entityId: string;
5
5
  iconName?: string;
6
6
  variant?: ButtonVariant;
7
+ square?: boolean;
7
8
  };
8
- declare const EntityButton: ({ title, entityId, iconName, variant, }: Props) => import("react/jsx-runtime").JSX.Element;
9
+ declare const EntityButton: ({ title, entityId, iconName, variant, square, }: Props) => import("react/jsx-runtime").JSX.Element;
9
10
  export default EntityButton;
@@ -3,6 +3,7 @@ type Props = {
3
3
  entityId: string;
4
4
  title?: string;
5
5
  variant?: ButtonVariant;
6
+ square?: boolean;
6
7
  };
7
- declare const MediaButton: ({ entityId, title, variant }: Props) => import("react/jsx-runtime").JSX.Element;
8
+ declare const MediaButton: ({ entityId, title, variant, square, }: Props) => import("react/jsx-runtime").JSX.Element;
8
9
  export default MediaButton;
@@ -0,0 +1,9 @@
1
+ type Props = {
2
+ title: string;
3
+ entityId: string;
4
+ iconName?: string;
5
+ clear?: boolean;
6
+ square?: boolean;
7
+ };
8
+ declare const SensorCard: ({ title, entityId, iconName, clear, square, }: Props) => import("react/jsx-runtime").JSX.Element;
9
+ export default SensorCard;
@@ -8,5 +8,9 @@ declare class Plugin implements DekPlugin {
8
8
  key: string;
9
9
  element: (props: any) => import("react/jsx-runtime").JSX.Element;
10
10
  }[];
11
+ get screens(): {
12
+ path: string;
13
+ element: (props: any) => import("react/jsx-runtime").JSX.Element;
14
+ }[];
11
15
  }
12
16
  export default Plugin;
@@ -0,0 +1,2 @@
1
+ declare const EntitiesScreen: () => import("react/jsx-runtime").JSX.Element;
2
+ export default EntitiesScreen;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@appkit/dek-lib",
3
3
  "private": false,
4
- "version": "0.26.0",
4
+ "version": "0.28.0",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite --port 5173 --host",
@@ -1,8 +0,0 @@
1
- type Props = {
2
- title: string;
3
- uuid: string;
4
- iconName?: string;
5
- disabled?: boolean;
6
- };
7
- declare const HomekitButton: ({ title, uuid, disabled, iconName, }: Props) => import("react/jsx-runtime").JSX.Element;
8
- export default HomekitButton;
@@ -1,6 +0,0 @@
1
- export type AccessoryState = 0 | 1;
2
- export type Accessory = {
3
- state: AccessoryState;
4
- };
5
- export declare const getAccessory: (uuid: string) => Promise<Accessory>;
6
- export declare const setAccessoryState: (uuid: string, state: AccessoryState) => Promise<Accessory>;
@@ -1 +0,0 @@
1
- export declare const serverUri = "https://connect.daveweaver.net";