@hortiview/default-components 1.2.1 → 1.4.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 (42) hide show
  1. package/README.md +12 -0
  2. package/dist/{HealthCheckFailed-xzjSWKc-.js → HealthCheckFailed-CqLYAwpc.js} +13 -12
  3. package/dist/{Iconify-B64-1COA.js → Iconify-Cjdr-ccS.js} +11 -12
  4. package/dist/{LoadingSpinner-AfsNRWJD.js → LoadingSpinner-FRQEZvxs.js} +25 -24
  5. package/dist/OfflineView-HbuDPpQL-kqlzfoUS.js +46 -0
  6. package/dist/assets/DefaultFormSelect.css +1 -0
  7. package/dist/assets/GenericTable.css +1 -1
  8. package/dist/assets/OfflineView-HbuDPpQL.css +1 -0
  9. package/dist/{component-DsB0poTj-QmhaJp70.js → component-DsB0poTj-BDGiEcbP.js} +1 -1
  10. package/dist/components/DefaultFormNumber/DefaultFormNumber.js +239 -251
  11. package/dist/components/DefaultFormSelect/DefaultFormSelect.d.ts +14 -0
  12. package/dist/components/DefaultFormSelect/DefaultFormSelect.js +189 -0
  13. package/dist/components/DefaultLoadingSpinner/DefaultLoadingSpinner.js +2 -2
  14. package/dist/components/GenericTable/GenericTable.js +9938 -23557
  15. package/dist/components/HealthChecks/DataBaseHealthCheck.js +2 -2
  16. package/dist/components/HealthChecks/DefaultHealthCheck.js +2 -2
  17. package/dist/components/HealthChecks/IotServiceHealthCheck.js +2 -2
  18. package/dist/components/HealthChecks/PlatformHealthCheck.js +2 -2
  19. package/dist/components/ImpatienceLoadingSpinner/ImpatienceLoadingSpinner.js +2 -2
  20. package/dist/components/OfflineView/OfflineView.d.ts +4 -0
  21. package/dist/components/OfflineView/OfflineView.js +18 -0
  22. package/dist/{index.es-D-CKRzIB-DgKmS30c.js → index.es--yyG47az-DBKBm3yD.js} +316 -450
  23. package/dist/index.es-Bx1E5MPK-CaV59rEP.js +344 -0
  24. package/dist/index.es-CzUKBF7E-C0X-mcdY.js +13567 -0
  25. package/dist/index.es-D-ph6ImM-CWxTa_iD.js +63 -0
  26. package/dist/index.es-DDo_AHL0-VqD9ikmU.js +1033 -0
  27. package/dist/index.es-Kg9soDed-BkTwDySy.js +440 -0
  28. package/dist/index.es-U5-b20Gv-ChQ_O81C.js +1010 -0
  29. package/dist/locales/en-US.js +10 -6
  30. package/dist/locales/en-US.json.d.ts +10 -0
  31. package/dist/locales/es-MX.js +11 -7
  32. package/dist/locales/es-MX.json.d.ts +10 -0
  33. package/dist/locales/tr-TR.js +15 -11
  34. package/dist/locales/tr-TR.json.d.ts +10 -0
  35. package/dist/main.d.ts +4 -1
  36. package/dist/main.js +22 -18
  37. package/dist/{index.es-25EARqhH-LGdAiMHi.js → omit-1Eom1PmQ-BLY9iMqj.js} +748 -1314
  38. package/dist/useHelperText-DD9_Dtkk.js +21 -0
  39. package/dist/useTranslation-B_ODv8uN.js +4306 -0
  40. package/package.json +3 -3
  41. package/dist/index.es-6TJ1S8Jr-CxeupS6f.js +0 -1806
  42. package/dist/useTranslation-DaMPyebp.js +0 -4223
@@ -1,7 +1,7 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { N as r } from "../../HealthCheckFailed-xzjSWKc-.js";
2
+ import { N as r } from "../../HealthCheckFailed-CqLYAwpc.js";
3
3
  import { InternationalizationWrapper as o } from "../InternationalizationWrapper/InternationalizationWrapper.js";
4
- import { u as i } from "../../useTranslation-DaMPyebp.js";
4
+ import { u as i } from "../../useTranslation-B_ODv8uN.js";
5
5
  const m = ({ ...e }) => {
6
6
  const { t } = i();
7
7
  return /* @__PURE__ */ a(o, { children: /* @__PURE__ */ a(
@@ -1,7 +1,7 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { N as o } from "../../HealthCheckFailed-xzjSWKc-.js";
2
+ import { N as o } from "../../HealthCheckFailed-CqLYAwpc.js";
3
3
  import { InternationalizationWrapper as a } from "../InternationalizationWrapper/InternationalizationWrapper.js";
4
- import { u as i } from "../../useTranslation-DaMPyebp.js";
4
+ import { u as i } from "../../useTranslation-B_ODv8uN.js";
5
5
  const p = ({ ...r }) => {
6
6
  const { t } = i();
7
7
  return /* @__PURE__ */ e(a, { children: /* @__PURE__ */ e(
@@ -1,7 +1,7 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { N as i } from "../../HealthCheckFailed-xzjSWKc-.js";
2
+ import { N as i } from "../../HealthCheckFailed-CqLYAwpc.js";
3
3
  import { InternationalizationWrapper as o } from "../InternationalizationWrapper/InternationalizationWrapper.js";
4
- import { u as a } from "../../useTranslation-DaMPyebp.js";
4
+ import { u as a } from "../../useTranslation-B_ODv8uN.js";
5
5
  const m = ({ ...r }) => {
6
6
  const { t } = a();
7
7
  return /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e(
@@ -1,7 +1,7 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { N as e } from "../../HealthCheckFailed-xzjSWKc-.js";
2
+ import { N as e } from "../../HealthCheckFailed-CqLYAwpc.js";
3
3
  import { InternationalizationWrapper as a } from "../InternationalizationWrapper/InternationalizationWrapper.js";
4
- import { u as l } from "../../useTranslation-DaMPyebp.js";
4
+ import { u as l } from "../../useTranslation-B_ODv8uN.js";
5
5
  const h = ({ isOutlined: o }) => {
6
6
  const { t } = l();
7
7
  return /* @__PURE__ */ r(a, { children: /* @__PURE__ */ r(
@@ -1,7 +1,7 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { p as r } from "../../LoadingSpinner-AfsNRWJD.js";
2
+ import { p as r } from "../../LoadingSpinner-FRQEZvxs.js";
3
3
  import { InternationalizationWrapper as a } from "../InternationalizationWrapper/InternationalizationWrapper.js";
4
- import { u as t } from "../../useTranslation-DaMPyebp.js";
4
+ import { u as t } from "../../useTranslation-B_ODv8uN.js";
5
5
  const c = ({ ...i }) => {
6
6
  const { t: e } = t();
7
7
  return /* @__PURE__ */ n(a, { children: /* @__PURE__ */ n(
@@ -0,0 +1,4 @@
1
+ import { OfflineViewProps } from '@hortiview/shared-components/dist/components/OfflineView/OfflineView';
2
+
3
+ export type SharedOfflineViewProps = Omit<OfflineViewProps, 'title' | 'subtitle'>;
4
+ export declare const OfflineView: ({ ...props }: SharedOfflineViewProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,18 @@
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import { z as o } from "../../OfflineView-HbuDPpQL-kqlzfoUS.js";
3
+ import { InternationalizationWrapper as r } from "../InternationalizationWrapper/InternationalizationWrapper.js";
4
+ import { u as n } from "../../useTranslation-B_ODv8uN.js";
5
+ const a = ({ ...e }) => {
6
+ const { t } = n();
7
+ return /* @__PURE__ */ i(r, { children: /* @__PURE__ */ i(
8
+ o,
9
+ {
10
+ ...e,
11
+ title: t("offlineView.title"),
12
+ subtitle: t("offlineView.subtitle")
13
+ }
14
+ ) });
15
+ };
16
+ export {
17
+ a as OfflineView
18
+ };