@seamapi/react 1.25.0 → 1.27.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.
Files changed (166) hide show
  1. package/README.md +55 -4
  2. package/dist/elements.js +3058 -2958
  3. package/dist/elements.js.map +1 -1
  4. package/lib/icons/AccessCodeKey.d.ts +1 -1
  5. package/lib/icons/AccessCodeKey.js +3 -1
  6. package/lib/icons/AccessCodeKey.js.map +1 -1
  7. package/lib/icons/ArrowBack.d.ts +1 -1
  8. package/lib/icons/ArrowBack.js +5 -3
  9. package/lib/icons/ArrowBack.js.map +1 -1
  10. package/lib/icons/ArrowRestart.d.ts +1 -1
  11. package/lib/icons/ArrowRestart.js +5 -3
  12. package/lib/icons/ArrowRestart.js.map +1 -1
  13. package/lib/icons/BatteryLevelCritical.d.ts +1 -1
  14. package/lib/icons/BatteryLevelCritical.js +3 -1
  15. package/lib/icons/BatteryLevelCritical.js.map +1 -1
  16. package/lib/icons/BatteryLevelFull.d.ts +1 -1
  17. package/lib/icons/BatteryLevelFull.js +3 -1
  18. package/lib/icons/BatteryLevelFull.js.map +1 -1
  19. package/lib/icons/BatteryLevelHigh.d.ts +1 -1
  20. package/lib/icons/BatteryLevelHigh.js +3 -1
  21. package/lib/icons/BatteryLevelHigh.js.map +1 -1
  22. package/lib/icons/BatteryLevelLow.d.ts +1 -1
  23. package/lib/icons/BatteryLevelLow.js +3 -1
  24. package/lib/icons/BatteryLevelLow.js.map +1 -1
  25. package/lib/icons/BatteryLevelWired.d.ts +1 -1
  26. package/lib/icons/BatteryLevelWired.js +5 -3
  27. package/lib/icons/BatteryLevelWired.js.map +1 -1
  28. package/lib/icons/Check.d.ts +1 -1
  29. package/lib/icons/Check.js +3 -1
  30. package/lib/icons/Check.js.map +1 -1
  31. package/lib/icons/ChevronDown.d.ts +1 -1
  32. package/lib/icons/ChevronDown.js +3 -1
  33. package/lib/icons/ChevronDown.js.map +1 -1
  34. package/lib/icons/ChevronRight.d.ts +1 -1
  35. package/lib/icons/ChevronRight.js +5 -3
  36. package/lib/icons/ChevronRight.js.map +1 -1
  37. package/lib/icons/Close.d.ts +1 -1
  38. package/lib/icons/Close.js +5 -3
  39. package/lib/icons/Close.js.map +1 -1
  40. package/lib/icons/Copy.d.ts +1 -1
  41. package/lib/icons/Copy.js +5 -3
  42. package/lib/icons/Copy.js.map +1 -1
  43. package/lib/icons/DotsEllipsisMore.d.ts +1 -1
  44. package/lib/icons/DotsEllipsisMore.js +5 -3
  45. package/lib/icons/DotsEllipsisMore.js.map +1 -1
  46. package/lib/icons/ExclamationCircle.d.ts +1 -1
  47. package/lib/icons/ExclamationCircle.js +5 -3
  48. package/lib/icons/ExclamationCircle.js.map +1 -1
  49. package/lib/icons/ExclamationCircleOutline.d.ts +1 -1
  50. package/lib/icons/ExclamationCircleOutline.js +5 -3
  51. package/lib/icons/ExclamationCircleOutline.js.map +1 -1
  52. package/lib/icons/LockLocked.d.ts +1 -1
  53. package/lib/icons/LockLocked.js +5 -3
  54. package/lib/icons/LockLocked.js.map +1 -1
  55. package/lib/icons/LockUnlocked.d.ts +1 -1
  56. package/lib/icons/LockUnlocked.js +5 -3
  57. package/lib/icons/LockUnlocked.js.map +1 -1
  58. package/lib/icons/OnlineStatusAccountOffline.d.ts +1 -1
  59. package/lib/icons/OnlineStatusAccountOffline.js +5 -3
  60. package/lib/icons/OnlineStatusAccountOffline.js.map +1 -1
  61. package/lib/icons/OnlineStatusDeviceOffline.d.ts +1 -1
  62. package/lib/icons/OnlineStatusDeviceOffline.js +3 -1
  63. package/lib/icons/OnlineStatusDeviceOffline.js.map +1 -1
  64. package/lib/icons/OnlineStatusOnline.d.ts +1 -1
  65. package/lib/icons/OnlineStatusOnline.js +3 -1
  66. package/lib/icons/OnlineStatusOnline.js.map +1 -1
  67. package/lib/icons/Seam.d.ts +1 -1
  68. package/lib/icons/Seam.js +5 -3
  69. package/lib/icons/Seam.js.map +1 -1
  70. package/lib/icons/Search.d.ts +1 -1
  71. package/lib/icons/Search.js +5 -3
  72. package/lib/icons/Search.js.map +1 -1
  73. package/lib/icons/TriangleWarning.d.ts +1 -1
  74. package/lib/icons/TriangleWarning.js +5 -3
  75. package/lib/icons/TriangleWarning.js.map +1 -1
  76. package/lib/icons/TriangleWarningOutline.d.ts +1 -1
  77. package/lib/icons/TriangleWarningOutline.js +3 -1
  78. package/lib/icons/TriangleWarningOutline.js.map +1 -1
  79. package/lib/seam/access-codes/use-access-code.js +1 -1
  80. package/lib/seam/access-codes/use-access-code.js.map +1 -1
  81. package/lib/seam/access-codes/use-access-codes.js +1 -1
  82. package/lib/seam/access-codes/use-access-codes.js.map +1 -1
  83. package/lib/seam/components/DeviceTable/DeviceRow.js +11 -19
  84. package/lib/seam/components/DeviceTable/DeviceRow.js.map +1 -1
  85. package/lib/seam/components/SupportedDeviceTable/HiddenDevicesOverlay.d.ts +2 -1
  86. package/lib/seam/components/SupportedDeviceTable/HiddenDevicesOverlay.js +1 -1
  87. package/lib/seam/components/SupportedDeviceTable/HiddenDevicesOverlay.js.map +1 -1
  88. package/lib/seam/components/SupportedDeviceTable/ShowAllDevicesButton.d.ts +2 -1
  89. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceBrandSection.d.ts +2 -1
  90. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceBrandSection.js +4 -7
  91. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceBrandSection.js.map +1 -1
  92. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceContent.js +1 -1
  93. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceContent.js.map +1 -1
  94. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceFilterArea.d.ts +2 -1
  95. package/lib/seam/components/SupportedDeviceTable/{SupportedDeviceFilterResultRowProps.d.ts → SupportedDeviceFilterResultRow.d.ts} +3 -2
  96. package/lib/seam/components/SupportedDeviceTable/{SupportedDeviceFilterResultRowProps.js → SupportedDeviceFilterResultRow.js} +1 -1
  97. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceFilterResultRow.js.map +1 -0
  98. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceRow.d.ts +5 -4
  99. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceRow.js +3 -3
  100. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceRow.js.map +1 -1
  101. package/lib/seam/components/SupportedDeviceTable/use-device-provider.d.ts +1 -1
  102. package/lib/seam/components/SupportedDeviceTable/use-device-provider.js +9 -11
  103. package/lib/seam/components/SupportedDeviceTable/use-device-provider.js.map +1 -1
  104. package/lib/seam/device-models/use-device-models.js +1 -2
  105. package/lib/seam/device-models/use-device-models.js.map +1 -1
  106. package/lib/seam/devices/use-device-providers.d.ts +5 -5
  107. package/lib/seam/devices/use-device-providers.js +7 -8
  108. package/lib/seam/devices/use-device-providers.js.map +1 -1
  109. package/lib/seam/devices/use-device.js +1 -1
  110. package/lib/seam/devices/use-device.js.map +1 -1
  111. package/lib/seam/devices/use-devices.js +1 -1
  112. package/lib/seam/devices/use-devices.js.map +1 -1
  113. package/lib/seam/index.d.ts +2 -0
  114. package/lib/seam/index.js +2 -0
  115. package/lib/seam/index.js.map +1 -1
  116. package/lib/ui/device/OnlineStatus.d.ts +1 -0
  117. package/lib/ui/device/OnlineStatus.js +6 -9
  118. package/lib/ui/device/OnlineStatus.js.map +1 -1
  119. package/lib/version.d.ts +1 -1
  120. package/lib/version.js +1 -1
  121. package/package.json +17 -8
  122. package/src/lib/element.tsx +2 -2
  123. package/src/lib/icons/AccessCodeKey.tsx +22 -18
  124. package/src/lib/icons/ArrowBack.tsx +32 -26
  125. package/src/lib/icons/ArrowRestart.tsx +32 -28
  126. package/src/lib/icons/BatteryLevelCritical.tsx +31 -25
  127. package/src/lib/icons/BatteryLevelFull.tsx +31 -18
  128. package/src/lib/icons/BatteryLevelHigh.tsx +31 -25
  129. package/src/lib/icons/BatteryLevelLow.tsx +31 -25
  130. package/src/lib/icons/BatteryLevelWired.tsx +35 -29
  131. package/src/lib/icons/Check.tsx +20 -14
  132. package/src/lib/icons/ChevronDown.tsx +22 -18
  133. package/src/lib/icons/ChevronRight.tsx +32 -28
  134. package/src/lib/icons/Close.tsx +32 -26
  135. package/src/lib/icons/Copy.tsx +32 -26
  136. package/src/lib/icons/DotsEllipsisMore.tsx +33 -27
  137. package/src/lib/icons/ExclamationCircle.tsx +33 -27
  138. package/src/lib/icons/ExclamationCircleOutline.tsx +33 -27
  139. package/src/lib/icons/LockLocked.tsx +34 -28
  140. package/src/lib/icons/LockUnlocked.tsx +34 -30
  141. package/src/lib/icons/OnlineStatusAccountOffline.tsx +33 -27
  142. package/src/lib/icons/OnlineStatusDeviceOffline.tsx +27 -21
  143. package/src/lib/icons/OnlineStatusOnline.tsx +25 -19
  144. package/src/lib/icons/Seam.tsx +24 -18
  145. package/src/lib/icons/Search.tsx +32 -26
  146. package/src/lib/icons/TriangleWarning.tsx +33 -27
  147. package/src/lib/icons/TriangleWarningOutline.tsx +22 -16
  148. package/src/lib/seam/access-codes/use-access-code.ts +1 -1
  149. package/src/lib/seam/access-codes/use-access-codes.ts +1 -1
  150. package/src/lib/seam/components/DeviceTable/DeviceRow.tsx +28 -44
  151. package/src/lib/seam/components/SupportedDeviceTable/HiddenDevicesOverlay.tsx +3 -1
  152. package/src/lib/seam/components/SupportedDeviceTable/ShowAllDevicesButton.tsx +1 -1
  153. package/src/lib/seam/components/SupportedDeviceTable/SupportedDeviceBrandSection.tsx +9 -12
  154. package/src/lib/seam/components/SupportedDeviceTable/SupportedDeviceContent.tsx +1 -1
  155. package/src/lib/seam/components/SupportedDeviceTable/SupportedDeviceFilterArea.tsx +1 -1
  156. package/src/lib/seam/components/SupportedDeviceTable/{SupportedDeviceFilterResultRowProps.tsx → SupportedDeviceFilterResultRow.tsx} +2 -2
  157. package/src/lib/seam/components/SupportedDeviceTable/SupportedDeviceRow.tsx +10 -4
  158. package/src/lib/seam/components/SupportedDeviceTable/use-device-provider.ts +9 -15
  159. package/src/lib/seam/device-models/use-device-models.ts +1 -2
  160. package/src/lib/seam/devices/use-device-providers.ts +22 -14
  161. package/src/lib/seam/devices/use-device.ts +1 -1
  162. package/src/lib/seam/devices/use-devices.ts +1 -1
  163. package/src/lib/seam/index.ts +2 -0
  164. package/src/lib/ui/device/OnlineStatus.tsx +13 -14
  165. package/src/lib/version.ts +1 -1
  166. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceFilterResultRowProps.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/lib/seam/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAA;AACjD,cAAc,oCAAoC,CAAA;AAClD,cAAc,kDAAkD,CAAA;AAChE,cAAc,yBAAyB,CAAA;AACvC,cAAc,0BAA0B,CAAA;AACxC,cAAc,sBAAsB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/lib/seam/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAA;AACjD,cAAc,oCAAoC,CAAA;AAClD,cAAc,kDAAkD,CAAA;AAChE,cAAc,yBAAyB,CAAA;AACvC,cAAc,mCAAmC,CAAA;AACjD,cAAc,0BAA0B,CAAA;AACxC,cAAc,mBAAmB,CAAA;AACjC,cAAc,sBAAsB,CAAA"}
@@ -4,4 +4,5 @@ interface OnlineStatusProps {
4
4
  device: CommonDevice;
5
5
  }
6
6
  export declare function OnlineStatus(props: OnlineStatusProps): JSX.Element;
7
+ export declare const isDeviceAccountOffline: (device: CommonDevice) => boolean;
7
8
  export {};
@@ -1,26 +1,23 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { OnlineStatusAccountOfflineIcon } from '../../../lib/icons/OnlineStatusAccountOffline.js';
3
3
  import { OnlineStatusDeviceOfflineIcon } from '../../../lib/icons/OnlineStatusDeviceOffline.js';
4
4
  import { OnlineStatusOnlineIcon } from '../../../lib/icons/OnlineStatusOnline.js';
5
5
  export function OnlineStatus(props) {
6
6
  const { device } = props;
7
- const isAccountOffline = device.errors.filter((error) => error.error_code === 'account_disconnected')
8
- .length > 0;
9
- if (isAccountOffline) {
10
- return _jsx(AccountOfflineContent, {});
11
- }
12
- return (_jsxs("div", { className: 'seam-online-status', children: [isAccountOffline && _jsx(OnlineStatusAccountOfflineIcon, {}), _jsx(DeviceOnlineContent, { isOnline: device.properties.online })] }));
7
+ return (_jsx("div", { className: 'seam-online-status', children: isDeviceAccountOffline(device) ? (_jsx(AccountOfflineContent, {})) : (_jsx(AccountOnlineContent, { isOnline: device.properties.online })) }));
13
8
  }
14
9
  function AccountOfflineContent() {
15
- return (_jsxs("div", { className: 'seam-online-status', children: [_jsx(OnlineStatusAccountOfflineIcon, {}), _jsx("span", { className: 'seam-text-danger', children: t.accountOffline })] }));
10
+ return (_jsxs(_Fragment, { children: [_jsx(OnlineStatusAccountOfflineIcon, {}), _jsx("span", { className: 'seam-text-danger', children: t.accountOffline })] }));
16
11
  }
17
- function DeviceOnlineContent(props) {
12
+ function AccountOnlineContent(props) {
18
13
  const { isOnline } = props;
19
14
  if (isOnline) {
20
15
  return (_jsxs(_Fragment, { children: [_jsx(OnlineStatusOnlineIcon, {}), _jsx("span", { className: 'seam-status-text', children: t.online })] }));
21
16
  }
22
17
  return (_jsxs(_Fragment, { children: [_jsx(OnlineStatusDeviceOfflineIcon, {}), _jsx("span", { className: 'seam-text-danger', children: t.deviceOffline })] }));
23
18
  }
19
+ export const isDeviceAccountOffline = (device) => device.errors.filter((error) => error.error_code === 'account_disconnected')
20
+ .length > 0;
24
21
  const t = {
25
22
  online: 'Online',
26
23
  accountOffline: 'Account Offline',
@@ -1 +1 @@
1
- {"version":3,"file":"OnlineStatus.js","sourceRoot":"","sources":["../../../src/lib/ui/device/OnlineStatus.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,8BAA8B,EAAE,MAAM,yCAAyC,CAAA;AACxF,OAAO,EAAE,6BAA6B,EAAE,MAAM,wCAAwC,CAAA;AACtF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAA;AAMxE,MAAM,UAAU,YAAY,CAAC,KAAwB;IACnD,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IAExB,MAAM,gBAAgB,GACpB,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,UAAU,KAAK,sBAAsB,CAAC;SACzE,MAAM,GAAG,CAAC,CAAA;IAEf,IAAI,gBAAgB,EAAE;QACpB,OAAO,KAAC,qBAAqB,KAAG,CAAA;KACjC;IAED,OAAO,CACL,eAAK,SAAS,EAAC,oBAAoB,aAChC,gBAAgB,IAAI,KAAC,8BAA8B,KAAG,EACvD,KAAC,mBAAmB,IAAC,QAAQ,EAAE,MAAM,CAAC,UAAU,CAAC,MAAM,GAAI,IACvD,CACP,CAAA;AACH,CAAC;AAED,SAAS,qBAAqB;IAC5B,OAAO,CACL,eAAK,SAAS,EAAC,oBAAoB,aACjC,KAAC,8BAA8B,KAAG,EAClC,eAAM,SAAS,EAAC,kBAAkB,YAAE,CAAC,CAAC,cAAc,GAAQ,IACxD,CACP,CAAA;AACH,CAAC;AAED,SAAS,mBAAmB,CAAC,KAA4B;IACvD,MAAM,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAA;IAC1B,IAAI,QAAQ,EAAE;QACZ,OAAO,CACL,8BACE,KAAC,sBAAsB,KAAG,EAC1B,eAAM,SAAS,EAAC,kBAAkB,YAAE,CAAC,CAAC,MAAM,GAAQ,IACnD,CACJ,CAAA;KACF;IAED,OAAO,CACL,8BACE,KAAC,6BAA6B,KAAG,EACjC,eAAM,SAAS,EAAC,kBAAkB,YAAE,CAAC,CAAC,aAAa,GAAQ,IAC1D,CACJ,CAAA;AACH,CAAC;AAED,MAAM,CAAC,GAAG;IACR,MAAM,EAAE,QAAQ;IAChB,cAAc,EAAE,iBAAiB;IACjC,aAAa,EAAE,gBAAgB;CAChC,CAAA"}
1
+ {"version":3,"file":"OnlineStatus.js","sourceRoot":"","sources":["../../../src/lib/ui/device/OnlineStatus.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,8BAA8B,EAAE,MAAM,yCAAyC,CAAA;AACxF,OAAO,EAAE,6BAA6B,EAAE,MAAM,wCAAwC,CAAA;AACtF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAA;AAMxE,MAAM,UAAU,YAAY,CAAC,KAAwB;IACnD,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IAExB,OAAO,CACL,cAAK,SAAS,EAAC,oBAAoB,YAChC,sBAAsB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAChC,KAAC,qBAAqB,KAAG,CAC1B,CAAC,CAAC,CAAC,CACF,KAAC,oBAAoB,IAAC,QAAQ,EAAE,MAAM,CAAC,UAAU,CAAC,MAAM,GAAI,CAC7D,GACG,CACP,CAAA;AACH,CAAC;AAED,SAAS,qBAAqB;IAC5B,OAAO,CACL,8BACE,KAAC,8BAA8B,KAAG,EAClC,eAAM,SAAS,EAAC,kBAAkB,YAAE,CAAC,CAAC,cAAc,GAAQ,IAC3D,CACJ,CAAA;AACH,CAAC;AAED,SAAS,oBAAoB,CAAC,KAA4B;IACxD,MAAM,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAA;IAC1B,IAAI,QAAQ,EAAE;QACZ,OAAO,CACL,8BACE,KAAC,sBAAsB,KAAG,EAC1B,eAAM,SAAS,EAAC,kBAAkB,YAAE,CAAC,CAAC,MAAM,GAAQ,IACnD,CACJ,CAAA;KACF;IAED,OAAO,CACL,8BACE,KAAC,6BAA6B,KAAG,EACjC,eAAM,SAAS,EAAC,kBAAkB,YAAE,CAAC,CAAC,aAAa,GAAQ,IAC1D,CACJ,CAAA;AACH,CAAC;AAED,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,MAAoB,EAAW,EAAE,CACtE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,UAAU,KAAK,sBAAsB,CAAC;KACzE,MAAM,GAAG,CAAC,CAAA;AAEf,MAAM,CAAC,GAAG;IACR,MAAM,EAAE,QAAQ;IAChB,cAAc,EAAE,iBAAiB;IACjC,aAAa,EAAE,gBAAgB;CAChC,CAAA"}
package/lib/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const seamapiReactVersion = "1.25.0";
1
+ declare const seamapiReactVersion = "1.27.0";
2
2
  export default seamapiReactVersion;
package/lib/version.js CHANGED
@@ -1,3 +1,3 @@
1
- const seamapiReactVersion = '1.25.0';
1
+ const seamapiReactVersion = '1.27.0';
2
2
  export default seamapiReactVersion;
3
3
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/react",
3
- "version": "1.25.0",
3
+ "version": "1.27.0",
4
4
  "description": "Seam Components.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -103,8 +103,18 @@
103
103
  "npm": ">= 8.1.0"
104
104
  },
105
105
  "peerDependencies": {
106
- "react": ">=18.0.0",
107
- "react-dom": ">=18.0.0"
106
+ "@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0",
107
+ "@types/react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
108
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
109
+ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
110
+ },
111
+ "peerDependenciesMeta": {
112
+ "@types/react": {
113
+ "optional": true
114
+ },
115
+ "@types/react-dom": {
116
+ "optional": true
117
+ }
108
118
  },
109
119
  "dependencies": {
110
120
  "@tanstack/react-query": "^4.28.0",
@@ -123,13 +133,11 @@
123
133
  "@r2wc/react-to-web-component": "^2.0.2",
124
134
  "@seamapi/fake-seam-connect": "^0.10.0",
125
135
  "@storybook/addon-essentials": "^7.0.2",
126
- "@storybook/addon-interactions": "^7.0.2",
127
136
  "@storybook/addon-links": "^7.0.2",
128
137
  "@storybook/addon-styling": "^1.0.5",
129
138
  "@storybook/blocks": "^7.0.2",
130
139
  "@storybook/react": "^7.0.2",
131
140
  "@storybook/react-webpack5": "^7.0.2",
132
- "@storybook/testing-library": "^0.1.0",
133
141
  "@svgr/cli": "^8.0.1",
134
142
  "@testing-library/react": "^14.0.0",
135
143
  "@types/jest": "^29.5.0",
@@ -145,9 +153,10 @@
145
153
  "del-cli": "^5.0.0",
146
154
  "eslint": "^8.9.0",
147
155
  "eslint-config-prettier": "^8.4.0",
156
+ "eslint-config-standard": "^17.1.0",
148
157
  "eslint-config-standard-jsx": "^11.0.0",
149
158
  "eslint-config-standard-react": "^13.0.0",
150
- "eslint-config-standard-with-typescript": "^35.0.0",
159
+ "eslint-config-standard-with-typescript": "^36.0.0",
151
160
  "eslint-plugin-simple-import-sort": "^10.0.0",
152
161
  "eslint-plugin-storybook": "^0.6.11",
153
162
  "eslint-plugin-unused-imports": "^2.0.0",
@@ -164,11 +173,11 @@
164
173
  "storybook": "^7.0.2",
165
174
  "storybook-addon-designs": "^7.0.0-beta.2",
166
175
  "stylelint": "^15.6.0",
167
- "stylelint-config-standard-scss": "^9.0.0",
176
+ "stylelint-config-standard-scss": "^10.0.0",
168
177
  "ts-jest": "^29.1.0",
169
178
  "tsc-alias": "^1.8.5",
170
179
  "tsconfig-paths-webpack-plugin": "^4.0.1",
171
- "typescript": "^5.0.2",
180
+ "typescript": "~5.0.0",
172
181
  "vite": "^4.2.1",
173
182
  "vite-tsconfig-paths": "^4.0.8",
174
183
  "zustand-hoist": "^1.0.0"
@@ -56,7 +56,7 @@ export const defineCustomElement = ({
56
56
  function withProvider<P extends JSX.IntrinsicAttributes>(
57
57
  Component: ComponentType<P>
58
58
  ) {
59
- return ({
59
+ return function ({
60
60
  publishableKey,
61
61
  userIdentifierKey,
62
62
  clientSessionToken,
@@ -65,7 +65,7 @@ function withProvider<P extends JSX.IntrinsicAttributes>(
65
65
  unminifiyCss,
66
66
  container: _container,
67
67
  ...props
68
- }: ProviderProps & { container: Container } & P): JSX.Element | null => {
68
+ }: ProviderProps & { container: Container } & P): JSX.Element | null {
69
69
  return (
70
70
  <SeamProvider
71
71
  publishableKey={publishableKey}
@@ -1,19 +1,23 @@
1
+ /*
2
+ * Automaically generated by SVGR from assets/icons/*.svg.
3
+ * Do not edit this file or add other components to this directory.
4
+ */
1
5
  import type { SVGProps } from 'react'
2
- export const AccessCodeKeyIcon = (
3
- props: SVGProps<SVGSVGElement>
4
- ): JSX.Element => (
5
- <svg
6
- xmlns='http://www.w3.org/2000/svg'
7
- width={24}
8
- height={24}
9
- fill='none'
10
- {...props}
11
- >
12
- <path
13
- fill='#232B3A'
14
- fillRule='evenodd'
15
- d='m20.493 14.743 1.558-1.451.058-.06c.599-.701.598-1.855 0-2.556a.73.73 0 0 0-.07-.07l-.547-.49a1.863 1.863 0 0 0-1.377-.612L16.444 9.5l-.45-.575c-.18-.23-.411-.416-.819-.416H12.93a5.992 5.992 0 0 0-4.877-2.52c-3.311-.004-5.996 2.684-5.995 6.005.001 3.32 2.686 6.013 5.995 6.017a5.978 5.978 0 0 0 5.056-2.774l.011-.017.015-.026h6.008l.065.002c.26.006.85.02 1.285-.453Zm-.149-3.4.513.458a.484.484 0 0 1-.003.31l-1.505 1.401H12.717a.937.937 0 0 0-.804.456l-.223.374a4.303 4.303 0 0 1-3.635 1.987 4.333 4.333 0 0 1-4.32-4.335A4.315 4.315 0 0 1 8.05 7.67a4.32 4.32 0 0 1 3.617 1.966l.105.21c.217.407.944.407.944.407s1.421-.032 2.186 0l.443.567c.177.227.449.36.736.36l4.03.005c.056 0 .108.024.144.067a.948.948 0 0 0 .088.09Zm-13.92 1.86a1.2 1.2 0 0 0 1.2-1.202 1.2 1.2 0 0 0-1.2-1.203A1.2 1.2 0 0 0 5.225 12a1.2 1.2 0 0 0 1.2 1.202Z'
16
- clipRule='evenodd'
17
- />
18
- </svg>
19
- )
6
+ export function AccessCodeKeyIcon(props: SVGProps<SVGSVGElement>): JSX.Element {
7
+ return (
8
+ <svg
9
+ xmlns='http://www.w3.org/2000/svg'
10
+ width={24}
11
+ height={24}
12
+ fill='none'
13
+ {...props}
14
+ >
15
+ <path
16
+ fill='#232B3A'
17
+ fillRule='evenodd'
18
+ d='m20.493 14.743 1.558-1.451.058-.06c.599-.701.598-1.855 0-2.556a.73.73 0 0 0-.07-.07l-.547-.49a1.863 1.863 0 0 0-1.377-.612L16.444 9.5l-.45-.575c-.18-.23-.411-.416-.819-.416H12.93a5.992 5.992 0 0 0-4.877-2.52c-3.311-.004-5.996 2.684-5.995 6.005.001 3.32 2.686 6.013 5.995 6.017a5.978 5.978 0 0 0 5.056-2.774l.011-.017.015-.026h6.008l.065.002c.26.006.85.02 1.285-.453Zm-.149-3.4.513.458a.484.484 0 0 1-.003.31l-1.505 1.401H12.717a.937.937 0 0 0-.804.456l-.223.374a4.303 4.303 0 0 1-3.635 1.987 4.333 4.333 0 0 1-4.32-4.335A4.315 4.315 0 0 1 8.05 7.67a4.32 4.32 0 0 1 3.617 1.966l.105.21c.217.407.944.407.944.407s1.421-.032 2.186 0l.443.567c.177.227.449.36.736.36l4.03.005c.056 0 .108.024.144.067a.948.948 0 0 0 .088.09Zm-13.92 1.86a1.2 1.2 0 0 0 1.2-1.202 1.2 1.2 0 0 0-1.2-1.203A1.2 1.2 0 0 0 5.225 12a1.2 1.2 0 0 0 1.2 1.202Z'
19
+ clipRule='evenodd'
20
+ />
21
+ </svg>
22
+ )
23
+ }
@@ -1,30 +1,36 @@
1
+ /*
2
+ * Automaically generated by SVGR from assets/icons/*.svg.
3
+ * Do not edit this file or add other components to this directory.
4
+ */
1
5
  import type { SVGProps } from 'react'
2
- export const ArrowBackIcon = (props: SVGProps<SVGSVGElement>): JSX.Element => (
3
- <svg
4
- xmlns='http://www.w3.org/2000/svg'
5
- width={24}
6
- height={24}
7
- fill='none'
8
- {...props}
9
- >
10
- <mask
11
- id='arrow-back_svg__a'
6
+ export function ArrowBackIcon(props: SVGProps<SVGSVGElement>): JSX.Element {
7
+ return (
8
+ <svg
9
+ xmlns='http://www.w3.org/2000/svg'
12
10
  width={24}
13
11
  height={24}
14
- x={0}
15
- y={0}
16
- maskUnits='userSpaceOnUse'
17
- style={{
18
- maskType: 'alpha',
19
- }}
12
+ fill='none'
13
+ {...props}
20
14
  >
21
- <path fill='#D9D9D9' d='M0 0h24v24H0z' />
22
- </mask>
23
- <g mask='url(#arrow-back_svg__a)'>
24
- <path
25
- fill='#6E7179'
26
- d='m12 20-8-8 8-8 1.425 1.4-5.6 5.6H20v2H7.825l5.6 5.6L12 20Z'
27
- />
28
- </g>
29
- </svg>
30
- )
15
+ <mask
16
+ id='arrow-back_svg__a'
17
+ width={24}
18
+ height={24}
19
+ x={0}
20
+ y={0}
21
+ maskUnits='userSpaceOnUse'
22
+ style={{
23
+ maskType: 'alpha',
24
+ }}
25
+ >
26
+ <path fill='#D9D9D9' d='M0 0h24v24H0z' />
27
+ </mask>
28
+ <g mask='url(#arrow-back_svg__a)'>
29
+ <path
30
+ fill='#6E7179'
31
+ d='m12 20-8-8 8-8 1.425 1.4-5.6 5.6H20v2H7.825l5.6 5.6L12 20Z'
32
+ />
33
+ </g>
34
+ </svg>
35
+ )
36
+ }
@@ -1,32 +1,36 @@
1
+ /*
2
+ * Automaically generated by SVGR from assets/icons/*.svg.
3
+ * Do not edit this file or add other components to this directory.
4
+ */
1
5
  import type { SVGProps } from 'react'
2
- export const ArrowRestartIcon = (
3
- props: SVGProps<SVGSVGElement>
4
- ): JSX.Element => (
5
- <svg
6
- xmlns='http://www.w3.org/2000/svg'
7
- width={24}
8
- height={24}
9
- fill='none'
10
- {...props}
11
- >
12
- <mask
13
- id='arrow-restart_svg__a'
6
+ export function ArrowRestartIcon(props: SVGProps<SVGSVGElement>): JSX.Element {
7
+ return (
8
+ <svg
9
+ xmlns='http://www.w3.org/2000/svg'
14
10
  width={24}
15
11
  height={24}
16
- x={0}
17
- y={0}
18
- maskUnits='userSpaceOnUse'
19
- style={{
20
- maskType: 'alpha',
21
- }}
12
+ fill='none'
13
+ {...props}
22
14
  >
23
- <path fill='#D9D9D9' d='M0 0h24v24H0z' />
24
- </mask>
25
- <g mask='url(#arrow-restart_svg__a)'>
26
- <path
27
- fill='#232B3A'
28
- d='M12 20c2.233 0 4.125-.775 5.675-2.325C19.225 16.125 20 14.233 20 12c0-2.233-.775-4.125-2.325-5.675C16.125 4.775 14.233 4 12 4c-1.15 0-2.25.238-3.3.713A7.617 7.617 0 0 0 6 6.75V4H4v7h7V9H6.8a5.838 5.838 0 0 1 2.187-2.2A5.93 5.93 0 0 1 12 6c1.667 0 3.083.583 4.25 1.75C17.417 8.917 18 10.333 18 12c0 1.667-.583 3.083-1.75 4.25C15.083 17.417 13.667 18 12 18a5.863 5.863 0 0 1-3.475-1.1A5.809 5.809 0 0 1 6.35 14h-2.1c.467 1.767 1.417 3.208 2.85 4.325S10.167 20 12 20Z'
29
- />
30
- </g>
31
- </svg>
32
- )
15
+ <mask
16
+ id='arrow-restart_svg__a'
17
+ width={24}
18
+ height={24}
19
+ x={0}
20
+ y={0}
21
+ maskUnits='userSpaceOnUse'
22
+ style={{
23
+ maskType: 'alpha',
24
+ }}
25
+ >
26
+ <path fill='#D9D9D9' d='M0 0h24v24H0z' />
27
+ </mask>
28
+ <g mask='url(#arrow-restart_svg__a)'>
29
+ <path
30
+ fill='#232B3A'
31
+ d='M12 20c2.233 0 4.125-.775 5.675-2.325C19.225 16.125 20 14.233 20 12c0-2.233-.775-4.125-2.325-5.675C16.125 4.775 14.233 4 12 4c-1.15 0-2.25.238-3.3.713A7.617 7.617 0 0 0 6 6.75V4H4v7h7V9H6.8a5.838 5.838 0 0 1 2.187-2.2A5.93 5.93 0 0 1 12 6c1.667 0 3.083.583 4.25 1.75C17.417 8.917 18 10.333 18 12c0 1.667-.583 3.083-1.75 4.25C15.083 17.417 13.667 18 12 18a5.863 5.863 0 0 1-3.475-1.1A5.809 5.809 0 0 1 6.35 14h-2.1c.467 1.767 1.417 3.208 2.85 4.325S10.167 20 12 20Z'
32
+ />
33
+ </g>
34
+ </svg>
35
+ )
36
+ }
@@ -1,27 +1,33 @@
1
+ /*
2
+ * Automaically generated by SVGR from assets/icons/*.svg.
3
+ * Do not edit this file or add other components to this directory.
4
+ */
1
5
  import type { SVGProps } from 'react'
2
- export const BatteryLevelCriticalIcon = (
6
+ export function BatteryLevelCriticalIcon(
3
7
  props: SVGProps<SVGSVGElement>
4
- ): JSX.Element => (
5
- <svg
6
- xmlns='http://www.w3.org/2000/svg'
7
- width={24}
8
- height={25}
9
- fill='none'
10
- {...props}
11
- >
12
- <rect
13
- width={1.855}
14
- height={6}
15
- x={17.147}
16
- y={9.5}
17
- fill='#E36857'
18
- rx={0.75}
19
- />
20
- <path
21
- fill='#E36857'
22
- fillRule='evenodd'
23
- d='M19.52 6.269H5.5c-1.684 0-2.734 1.19-2.734 2.66v.804c-.765.23-1.352 1.02-1.352 1.962v1.558c0 .941.587 1.733 1.352 1.962v.764c0 1.473 1.044 2.748 2.734 2.748h14c1.646 0 2.736-.897 2.736-2.768V9c0-1.87-1.07-2.73-2.716-2.73Zm-14.793 2c.186-.207.484-.363.919-.363h13.627c.777 0 1.3.489 1.3 1.373v6.446c0 .884-.523 1.374-1.3 1.374H5.646c-.435 0-.733-.157-.92-.363-.183-.204-.322-.529-.322-1.01v-1.939H3.232c-.208 0-.251-.15-.251-.28v-2.02c0-.168.083-.267.25-.267h1.173V9.28c0-.482.139-.807.323-1.01Z'
24
- clipRule='evenodd'
25
- />
26
- </svg>
27
- )
8
+ ): JSX.Element {
9
+ return (
10
+ <svg
11
+ xmlns='http://www.w3.org/2000/svg'
12
+ width={24}
13
+ height={25}
14
+ fill='none'
15
+ {...props}
16
+ >
17
+ <rect
18
+ width={1.855}
19
+ height={6}
20
+ x={17.147}
21
+ y={9.5}
22
+ fill='#E36857'
23
+ rx={0.75}
24
+ />
25
+ <path
26
+ fill='#E36857'
27
+ fillRule='evenodd'
28
+ d='M19.52 6.269H5.5c-1.684 0-2.734 1.19-2.734 2.66v.804c-.765.23-1.352 1.02-1.352 1.962v1.558c0 .941.587 1.733 1.352 1.962v.764c0 1.473 1.044 2.748 2.734 2.748h14c1.646 0 2.736-.897 2.736-2.768V9c0-1.87-1.07-2.73-2.716-2.73Zm-14.793 2c.186-.207.484-.363.919-.363h13.627c.777 0 1.3.489 1.3 1.373v6.446c0 .884-.523 1.374-1.3 1.374H5.646c-.435 0-.733-.157-.92-.363-.183-.204-.322-.529-.322-1.01v-1.939H3.232c-.208 0-.251-.15-.251-.28v-2.02c0-.168.083-.267.25-.267h1.173V9.28c0-.482.139-.807.323-1.01Z'
29
+ clipRule='evenodd'
30
+ />
31
+ </svg>
32
+ )
33
+ }
@@ -1,20 +1,33 @@
1
+ /*
2
+ * Automaically generated by SVGR from assets/icons/*.svg.
3
+ * Do not edit this file or add other components to this directory.
4
+ */
1
5
  import type { SVGProps } from 'react'
2
- export const BatteryLevelFullIcon = (
6
+ export function BatteryLevelFullIcon(
3
7
  props: SVGProps<SVGSVGElement>
4
- ): JSX.Element => (
5
- <svg
6
- xmlns='http://www.w3.org/2000/svg'
7
- width={24}
8
- height={25}
9
- fill='none'
10
- {...props}
11
- >
12
- <rect width={13.06} height={6} x={5.941} y={9.5} fill='#27AE60' rx={0.75} />
13
- <path
14
- fill='#9DA1A9'
15
- fillRule='evenodd'
16
- d='M19.52 6.269H5.5c-1.684 0-2.734 1.19-2.734 2.66v.804c-.765.23-1.352 1.02-1.352 1.962v1.558c0 .941.587 1.733 1.352 1.962v.764c0 1.473 1.044 2.748 2.734 2.748h14c1.646 0 2.736-.897 2.736-2.768V9c0-1.87-1.07-2.73-2.716-2.73Zm-14.793 2c.186-.207.484-.363.919-.363h13.627c.777 0 1.3.489 1.3 1.373v6.446c0 .884-.523 1.374-1.3 1.374H5.646c-.435 0-.733-.157-.92-.363-.183-.204-.322-.529-.322-1.01v-1.939H3.232c-.208 0-.251-.15-.251-.28v-2.02c0-.168.083-.267.25-.267h1.173V9.28c0-.482.139-.807.323-1.01Z'
17
- clipRule='evenodd'
18
- />
19
- </svg>
20
- )
8
+ ): JSX.Element {
9
+ return (
10
+ <svg
11
+ xmlns='http://www.w3.org/2000/svg'
12
+ width={24}
13
+ height={25}
14
+ fill='none'
15
+ {...props}
16
+ >
17
+ <rect
18
+ width={13.06}
19
+ height={6}
20
+ x={5.941}
21
+ y={9.5}
22
+ fill='#27AE60'
23
+ rx={0.75}
24
+ />
25
+ <path
26
+ fill='#9DA1A9'
27
+ fillRule='evenodd'
28
+ d='M19.52 6.269H5.5c-1.684 0-2.734 1.19-2.734 2.66v.804c-.765.23-1.352 1.02-1.352 1.962v1.558c0 .941.587 1.733 1.352 1.962v.764c0 1.473 1.044 2.748 2.734 2.748h14c1.646 0 2.736-.897 2.736-2.768V9c0-1.87-1.07-2.73-2.716-2.73Zm-14.793 2c.186-.207.484-.363.919-.363h13.627c.777 0 1.3.489 1.3 1.373v6.446c0 .884-.523 1.374-1.3 1.374H5.646c-.435 0-.733-.157-.92-.363-.183-.204-.322-.529-.322-1.01v-1.939H3.232c-.208 0-.251-.15-.251-.28v-2.02c0-.168.083-.267.25-.267h1.173V9.28c0-.482.139-.807.323-1.01Z'
29
+ clipRule='evenodd'
30
+ />
31
+ </svg>
32
+ )
33
+ }
@@ -1,27 +1,33 @@
1
+ /*
2
+ * Automaically generated by SVGR from assets/icons/*.svg.
3
+ * Do not edit this file or add other components to this directory.
4
+ */
1
5
  import type { SVGProps } from 'react'
2
- export const BatteryLevelHighIcon = (
6
+ export function BatteryLevelHighIcon(
3
7
  props: SVGProps<SVGSVGElement>
4
- ): JSX.Element => (
5
- <svg
6
- xmlns='http://www.w3.org/2000/svg'
7
- width={24}
8
- height={25}
9
- fill='none'
10
- {...props}
11
- >
12
- <rect
13
- width={10.303}
14
- height={6}
15
- x={8.699}
16
- y={9.5}
17
- fill='#27AE60'
18
- rx={0.75}
19
- />
20
- <path
21
- fill='#9DA1A9'
22
- fillRule='evenodd'
23
- d='M19.52 6.269H5.5c-1.684 0-2.734 1.19-2.734 2.66v.804c-.765.23-1.352 1.02-1.352 1.962v1.558c0 .941.587 1.733 1.352 1.962v.764c0 1.473 1.044 2.748 2.734 2.748h14c1.646 0 2.736-.897 2.736-2.768V9c0-1.87-1.07-2.73-2.716-2.73Zm-14.793 2c.186-.207.484-.363.919-.363h13.627c.777 0 1.3.489 1.3 1.373v6.446c0 .884-.523 1.374-1.3 1.374H5.646c-.435 0-.733-.157-.92-.363-.183-.204-.322-.529-.322-1.01v-1.939H3.232c-.208 0-.251-.15-.251-.28v-2.02c0-.168.083-.267.25-.267h1.173V9.28c0-.482.139-.807.323-1.01Z'
24
- clipRule='evenodd'
25
- />
26
- </svg>
27
- )
8
+ ): JSX.Element {
9
+ return (
10
+ <svg
11
+ xmlns='http://www.w3.org/2000/svg'
12
+ width={24}
13
+ height={25}
14
+ fill='none'
15
+ {...props}
16
+ >
17
+ <rect
18
+ width={10.303}
19
+ height={6}
20
+ x={8.699}
21
+ y={9.5}
22
+ fill='#27AE60'
23
+ rx={0.75}
24
+ />
25
+ <path
26
+ fill='#9DA1A9'
27
+ fillRule='evenodd'
28
+ d='M19.52 6.269H5.5c-1.684 0-2.734 1.19-2.734 2.66v.804c-.765.23-1.352 1.02-1.352 1.962v1.558c0 .941.587 1.733 1.352 1.962v.764c0 1.473 1.044 2.748 2.734 2.748h14c1.646 0 2.736-.897 2.736-2.768V9c0-1.87-1.07-2.73-2.716-2.73Zm-14.793 2c.186-.207.484-.363.919-.363h13.627c.777 0 1.3.489 1.3 1.373v6.446c0 .884-.523 1.374-1.3 1.374H5.646c-.435 0-.733-.157-.92-.363-.183-.204-.322-.529-.322-1.01v-1.939H3.232c-.208 0-.251-.15-.251-.28v-2.02c0-.168.083-.267.25-.267h1.173V9.28c0-.482.139-.807.323-1.01Z'
29
+ clipRule='evenodd'
30
+ />
31
+ </svg>
32
+ )
33
+ }
@@ -1,27 +1,33 @@
1
+ /*
2
+ * Automaically generated by SVGR from assets/icons/*.svg.
3
+ * Do not edit this file or add other components to this directory.
4
+ */
1
5
  import type { SVGProps } from 'react'
2
- export const BatteryLevelLowIcon = (
6
+ export function BatteryLevelLowIcon(
3
7
  props: SVGProps<SVGSVGElement>
4
- ): JSX.Element => (
5
- <svg
6
- xmlns='http://www.w3.org/2000/svg'
7
- width={24}
8
- height={25}
9
- fill='none'
10
- {...props}
11
- >
12
- <rect
13
- width={4.829}
14
- height={6}
15
- x={14.172}
16
- y={9.5}
17
- fill='#E36857'
18
- rx={0.75}
19
- />
20
- <path
21
- fill='#9DA1A9'
22
- fillRule='evenodd'
23
- d='M19.52 6.269H5.5c-1.684 0-2.734 1.19-2.734 2.66v.804c-.765.23-1.352 1.02-1.352 1.962v1.558c0 .941.587 1.733 1.352 1.962v.764c0 1.473 1.044 2.748 2.734 2.748h14c1.646 0 2.736-.897 2.736-2.768V9c0-1.87-1.07-2.73-2.716-2.73Zm-14.793 2c.186-.207.484-.363.919-.363h13.627c.777 0 1.3.489 1.3 1.373v6.446c0 .884-.523 1.374-1.3 1.374H5.646c-.435 0-.733-.157-.92-.363-.183-.204-.322-.529-.322-1.01v-1.939H3.232c-.208 0-.251-.15-.251-.28v-2.02c0-.168.083-.267.25-.267h1.173V9.28c0-.482.139-.807.323-1.01Z'
24
- clipRule='evenodd'
25
- />
26
- </svg>
27
- )
8
+ ): JSX.Element {
9
+ return (
10
+ <svg
11
+ xmlns='http://www.w3.org/2000/svg'
12
+ width={24}
13
+ height={25}
14
+ fill='none'
15
+ {...props}
16
+ >
17
+ <rect
18
+ width={4.829}
19
+ height={6}
20
+ x={14.172}
21
+ y={9.5}
22
+ fill='#E36857'
23
+ rx={0.75}
24
+ />
25
+ <path
26
+ fill='#9DA1A9'
27
+ fillRule='evenodd'
28
+ d='M19.52 6.269H5.5c-1.684 0-2.734 1.19-2.734 2.66v.804c-.765.23-1.352 1.02-1.352 1.962v1.558c0 .941.587 1.733 1.352 1.962v.764c0 1.473 1.044 2.748 2.734 2.748h14c1.646 0 2.736-.897 2.736-2.768V9c0-1.87-1.07-2.73-2.716-2.73Zm-14.793 2c.186-.207.484-.363.919-.363h13.627c.777 0 1.3.489 1.3 1.373v6.446c0 .884-.523 1.374-1.3 1.374H5.646c-.435 0-.733-.157-.92-.363-.183-.204-.322-.529-.322-1.01v-1.939H3.232c-.208 0-.251-.15-.251-.28v-2.02c0-.168.083-.267.25-.267h1.173V9.28c0-.482.139-.807.323-1.01Z'
29
+ clipRule='evenodd'
30
+ />
31
+ </svg>
32
+ )
33
+ }
@@ -1,34 +1,40 @@
1
+ /*
2
+ * Automaically generated by SVGR from assets/icons/*.svg.
3
+ * Do not edit this file or add other components to this directory.
4
+ */
1
5
  import type { SVGProps } from 'react'
2
- export const BatteryLevelWiredIcon = (
6
+ export function BatteryLevelWiredIcon(
3
7
  props: SVGProps<SVGSVGElement>
4
- ): JSX.Element => (
5
- <svg
6
- xmlns='http://www.w3.org/2000/svg'
7
- width={24}
8
- height={25}
9
- fill='none'
10
- {...props}
11
- >
12
- <mask
13
- id='battery-level-wired_svg__a'
8
+ ): JSX.Element {
9
+ return (
10
+ <svg
11
+ xmlns='http://www.w3.org/2000/svg'
14
12
  width={24}
15
13
  height={25}
16
- x={0}
17
- y={0}
18
- maskUnits='userSpaceOnUse'
19
- style={{
20
- maskType: 'alpha',
21
- }}
14
+ fill='none'
15
+ {...props}
22
16
  >
23
- <path fill='#D9D9D9' d='M0 .5h24v24H0z' />
24
- </mask>
25
- <g mask='url(#battery-level-wired_svg__a)'>
26
- <path
27
- fill='#6E7179'
28
- fillRule='evenodd'
29
- d='M14.5 18.505a1 1 0 1 0 2 0V15.5h5a1 1 0 1 0 0-2h-5v-3h5a1 1 0 1 0 0-2h-5V5.444a1 1 0 1 0-2 0v.117h-3.576c-2.096 0-3.265 1.922-3.892 3.068-.226.413-.378.518-.548.518H2.51c-1.258 0-2.01.993-2.01 1.96v1.873c0 .968.725 2.196 2.01 2.196h3.996c.21 0 .287.154.405.393.04.082.085.172.142.27.645 1.118 1.817 2.55 3.871 2.55H14.5v.116Zm-3.089-2.065c-2.458 0-3.589-3.46-3.589-3.46H2.51v-1.873h5.312s1.131-3.57 3.59-3.57h3.052v8.903H11.41Z'
30
- clipRule='evenodd'
31
- />
32
- </g>
33
- </svg>
34
- )
17
+ <mask
18
+ id='battery-level-wired_svg__a'
19
+ width={24}
20
+ height={25}
21
+ x={0}
22
+ y={0}
23
+ maskUnits='userSpaceOnUse'
24
+ style={{
25
+ maskType: 'alpha',
26
+ }}
27
+ >
28
+ <path fill='#D9D9D9' d='M0 .5h24v24H0z' />
29
+ </mask>
30
+ <g mask='url(#battery-level-wired_svg__a)'>
31
+ <path
32
+ fill='#6E7179'
33
+ fillRule='evenodd'
34
+ d='M14.5 18.505a1 1 0 1 0 2 0V15.5h5a1 1 0 1 0 0-2h-5v-3h5a1 1 0 1 0 0-2h-5V5.444a1 1 0 1 0-2 0v.117h-3.576c-2.096 0-3.265 1.922-3.892 3.068-.226.413-.378.518-.548.518H2.51c-1.258 0-2.01.993-2.01 1.96v1.873c0 .968.725 2.196 2.01 2.196h3.996c.21 0 .287.154.405.393.04.082.085.172.142.27.645 1.118 1.817 2.55 3.871 2.55H14.5v.116Zm-3.089-2.065c-2.458 0-3.589-3.46-3.589-3.46H2.51v-1.873h5.312s1.131-3.57 3.59-3.57h3.052v8.903H11.41Z'
35
+ clipRule='evenodd'
36
+ />
37
+ </g>
38
+ </svg>
39
+ )
40
+ }