@attraccess/plugin-shelly 0.1.0-nightly.1036.1 → 0.1.0-nightly.1041.1

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.
@@ -520,7 +520,7 @@ function StatusAlert({ status, title, children, dataCy }) {
520
520
  }
521
521
  //#endregion
522
522
  //#region frontend/src/AddDeviceDrawer.tsx
523
- var { Button: Button$5, DrawerBody: DrawerBody$4, DrawerHeader: DrawerHeader$4, Form: Form$3 } = await importShared("@heroui/react");
523
+ var { Button: Button$5, DrawerBody: DrawerBody$4, DrawerHeader: DrawerHeader$4, DrawerHeading: DrawerHeading$4, Form: Form$3 } = await importShared("@heroui/react");
524
524
  var { PlusIcon: PlusIcon$1, XIcon: XIcon$4 } = await importShared("lucide-react");
525
525
  var { useCallback: useCallback$5, useRef: useRef$2, useState: useState$5 } = await importShared("react");
526
526
  function AddDeviceDrawer({ isOpen, onOpenChange, onAdded }) {
@@ -569,7 +569,7 @@ function AddDeviceDrawer({ isOpen, onOpenChange, onAdded }) {
569
569
  className: "sh:flex sh:w-full sh:items-start sh:justify-between sh:gap-3",
570
570
  children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
571
571
  className: "sh:flex sh:flex-col sh:gap-1",
572
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("h2", {
572
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DrawerHeading$4, {
573
573
  className: "sh:text-lg sh:font-semibold",
574
574
  children: t("add.title")
575
575
  }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
@@ -637,7 +637,7 @@ function AddDeviceDrawer({ isOpen, onOpenChange, onAdded }) {
637
637
  }
638
638
  //#endregion
639
639
  //#region frontend/src/AdminPasswordDrawer.tsx
640
- var { Button: Button$4, DrawerBody: DrawerBody$3, DrawerFooter: DrawerFooter$2, DrawerHeader: DrawerHeader$3, Form: Form$2 } = await importShared("@heroui/react");
640
+ var { Button: Button$4, DrawerBody: DrawerBody$3, DrawerFooter: DrawerFooter$2, DrawerHeader: DrawerHeader$3, DrawerHeading: DrawerHeading$3, Form: Form$2 } = await importShared("@heroui/react");
641
641
  var { KeyRoundIcon: KeyRoundIcon$1, XIcon: XIcon$3 } = await importShared("lucide-react");
642
642
  var { useCallback: useCallback$4, useEffect: useEffect$3, useState: useState$4 } = await importShared("react");
643
643
  function AdminPasswordDrawer({ device, onOpenChange, onSaved }) {
@@ -696,7 +696,7 @@ function AdminPasswordDrawer({ device, onOpenChange, onSaved }) {
696
696
  className: "sh:flex sh:min-w-0 sh:flex-col sh:gap-1",
697
697
  children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
698
698
  className: "sh:flex sh:items-center sh:gap-2",
699
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(KeyRoundIcon$1, { className: "sh:h-5 sh:w-5 sh:shrink-0 sh:text-accent-soft-foreground" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("h2", {
699
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(KeyRoundIcon$1, { className: "sh:h-5 sh:w-5 sh:shrink-0 sh:text-accent-soft-foreground" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DrawerHeading$3, {
700
700
  className: "sh:text-lg sh:font-semibold",
701
701
  children: t("password.title")
702
702
  })]
@@ -768,7 +768,7 @@ function AdminPasswordDrawer({ device, onOpenChange, onSaved }) {
768
768
  }
769
769
  //#endregion
770
770
  //#region frontend/src/DeviceInfoDrawer.tsx
771
- var { Button: Button$3, Card, DrawerBody: DrawerBody$2, DrawerFooter: DrawerFooter$1, DrawerHeader: DrawerHeader$2, Form: Form$1, Skeleton } = await importShared("@heroui/react");
771
+ var { Button: Button$3, Card, DrawerBody: DrawerBody$2, DrawerFooter: DrawerFooter$1, DrawerHeader: DrawerHeader$2, DrawerHeading: DrawerHeading$2, Form: Form$1, Skeleton } = await importShared("@heroui/react");
772
772
  var { EyeIcon, EyeOffIcon, InfoIcon: InfoIcon$1, RefreshCwIcon: RefreshCwIcon$2, XIcon: XIcon$2 } = await importShared("lucide-react");
773
773
  var { useCallback: useCallback$3, useEffect: useEffect$2, useState: useState$3 } = await importShared("react");
774
774
  function isRecord(value) {
@@ -1008,7 +1008,7 @@ function DeviceInfoDrawer({ device, onOpenChange }) {
1008
1008
  className: "sh:flex sh:min-w-0 sh:flex-col sh:gap-1",
1009
1009
  children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
1010
1010
  className: "sh:flex sh:items-center sh:gap-2",
1011
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(InfoIcon$1, { className: "sh:h-5 sh:w-5 sh:shrink-0 sh:text-accent-soft-foreground" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("h2", {
1011
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(InfoIcon$1, { className: "sh:h-5 sh:w-5 sh:shrink-0 sh:text-accent-soft-foreground" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DrawerHeading$2, {
1012
1012
  className: "sh:text-lg sh:font-semibold",
1013
1013
  children: device?.name ?? t("info.title")
1014
1014
  })]
@@ -1072,7 +1072,7 @@ function DeviceInfoDrawer({ device, onOpenChange }) {
1072
1072
  }
1073
1073
  //#endregion
1074
1074
  //#region frontend/src/DiscoverDrawer.tsx
1075
- var { Button: Button$2, Chip: Chip$1, DrawerBody: DrawerBody$1, DrawerHeader: DrawerHeader$1, Form, Spinner: Spinner$2 } = await importShared("@heroui/react");
1075
+ var { Button: Button$2, Chip: Chip$1, DrawerBody: DrawerBody$1, DrawerHeader: DrawerHeader$1, DrawerHeading: DrawerHeading$1, Form, Spinner: Spinner$2 } = await importShared("@heroui/react");
1076
1076
  var { SearchIcon: SearchIcon$1, XIcon: XIcon$1 } = await importShared("lucide-react");
1077
1077
  var { useCallback: useCallback$2, useRef: useRef$1, useState: useState$2 } = await importShared("react");
1078
1078
  function ResultSummary({ result }) {
@@ -1161,7 +1161,7 @@ function DiscoverDrawer({ isOpen, onOpenChange, onDiscovered }) {
1161
1161
  className: "sh:flex sh:w-full sh:items-start sh:justify-between sh:gap-3",
1162
1162
  children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
1163
1163
  className: "sh:flex sh:flex-col sh:gap-1",
1164
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("h2", {
1164
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DrawerHeading$1, {
1165
1165
  className: "sh:text-lg sh:font-semibold",
1166
1166
  children: t("discovery.title")
1167
1167
  }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
@@ -1230,7 +1230,7 @@ function DiscoverDrawer({ isOpen, onOpenChange, onDiscovered }) {
1230
1230
  }
1231
1231
  //#endregion
1232
1232
  //#region frontend/src/FirmwareDrawer.tsx
1233
- var { Button: Button$1, DrawerBody, DrawerFooter, DrawerHeader, Spinner: Spinner$1, Tooltip: Tooltip$1 } = await importShared("@heroui/react");
1233
+ var { Button: Button$1, DrawerBody, DrawerFooter, DrawerHeader, DrawerHeading, Spinner: Spinner$1, Tooltip: Tooltip$1 } = await importShared("@heroui/react");
1234
1234
  var { ArrowUpCircleIcon, CpuIcon: CpuIcon$1, DownloadIcon, RefreshCwIcon: RefreshCwIcon$1, XIcon } = await importShared("lucide-react");
1235
1235
  var { useCallback: useCallback$1, useEffect: useEffect$1, useRef, useState: useState$1 } = await importShared("react");
1236
1236
  var POLL_INTERVAL_MS = 5e3;
@@ -1428,7 +1428,7 @@ function FirmwareDrawer({ device, onOpenChange, onUpdated }) {
1428
1428
  className: "sh:flex sh:min-w-0 sh:flex-col sh:gap-1",
1429
1429
  children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
1430
1430
  className: "sh:flex sh:items-center sh:gap-2",
1431
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(CpuIcon$1, { className: "sh:h-5 sh:w-5 sh:shrink-0 sh:text-accent-soft-foreground" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("h2", {
1431
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(CpuIcon$1, { className: "sh:h-5 sh:w-5 sh:shrink-0 sh:text-accent-soft-foreground" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DrawerHeading, {
1432
1432
  className: "sh:text-lg sh:font-semibold",
1433
1433
  children: t("devices.firmware")
1434
1434
  })]
@@ -75,7 +75,7 @@ var exportSet = /* @__PURE__ */ new Set([
75
75
  ]);
76
76
  var moduleMap = { "./plugin": () => {
77
77
  dynamicLoadingCss(["style.css"], false, "./plugin");
78
- return __federation_import("./__federation_expose_Plugin-C8kWx_i3.js").then((module) => Object.keys(module).every((item) => exportSet.has(item)) ? () => module.default : () => module);
78
+ return __federation_import("./__federation_expose_Plugin-DhqQw7gy.js").then((module) => Object.keys(module).every((item) => exportSet.has(item)) ? () => module.default : () => module);
79
79
  } };
80
80
  var seen = {};
81
81
  var dynamicLoadingCss = (cssFilePaths, dontAppendStylesToHead, exposeItemName) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@attraccess/plugin-shelly",
3
- "version": "0.1.0-nightly.1036.1",
3
+ "version": "0.1.0-nightly.1041.1",
4
4
  "description": "Official Attraccess integration for Shelly devices.",
5
5
  "license": "AGPL-3.0-only",
6
6
  "repository": {