@hortiview/default-components 0.0.11202 → 0.0.11924
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/README.md +55 -50
- package/dist/HealthCheckFailed-D-HxxKaW.js +1839 -0
- package/dist/InternationalizationWrapper-f8wtvSQv.js +41 -0
- package/dist/LoadingSpinner-cKWdZk2k.js +514 -0
- package/dist/assets/DefaultFormNumber.css +1 -0
- package/dist/assets/HealthCheckFailed.css +1 -0
- package/dist/assets/LoadingSpinner.css +1 -0
- package/dist/assets/index.css +1 -0
- package/dist/assets/useTranslation.css +1 -0
- package/dist/component-DsB0poTj-DaqoXt8b.js +530 -0
- package/dist/components/DefaultFormNumber/DefaultFormNumber.d.ts +5 -0
- package/dist/components/DefaultFormNumber/DefaultFormNumber.js +3603 -0
- package/dist/components/DefaultLoadingSpinner/DefaultLoadingSpinner.d.ts +5 -0
- package/dist/components/DefaultLoadingSpinner/DefaultLoadingSpinner.js +11 -0
- package/dist/components/HealthChecks/DataBaseHealthCheck.d.ts +5 -0
- package/dist/components/HealthChecks/DataBaseHealthCheck.js +19 -0
- package/dist/components/HealthChecks/DefaultHealthCheck.d.ts +5 -0
- package/dist/components/HealthChecks/DefaultHealthCheck.js +19 -0
- package/dist/components/HealthChecks/IotServiceHealthCheck.d.ts +5 -0
- package/dist/components/HealthChecks/IotServiceHealthCheck.js +19 -0
- package/dist/components/HealthChecks/PlatformHealthCheck.d.ts +5 -0
- package/dist/components/HealthChecks/PlatformHealthCheck.js +19 -0
- package/dist/components/ImpatienceLoadingSpinner/ImpatienceLoadingSpinner.d.ts +5 -0
- package/dist/components/ImpatienceLoadingSpinner/ImpatienceLoadingSpinner.js +18 -0
- package/dist/components/InternationalizationWrapper/InternationalizationWrapper.d.ts +15 -0
- package/dist/components/InternationalizationWrapper/InternationalizationWrapper.js +8 -0
- package/dist/i18n-BfBMXJfT.js +1739 -0
- package/dist/i18n.d.ts +2 -0
- package/dist/i18n.js +7 -0
- package/dist/index.es-D-CKRzIB-DytY6U2C.js +1029 -0
- package/dist/locales/en-US.js +11 -0
- package/dist/locales/en-US.json.d.ts +22 -0
- package/dist/locales/es-MX.js +11 -0
- package/dist/locales/es-MX.json.d.ts +22 -0
- package/dist/locales/tr-TR.js +11 -0
- package/dist/locales/tr-TR.json.d.ts +22 -0
- package/dist/main.d.ts +14 -0
- package/dist/main.js +16 -4
- package/dist/useTranslation-DCJK5-ax.js +4070 -0
- package/package.json +33 -10
- package/dist/assets/App.css +0 -1
- package/dist/assets/Button.css +0 -1
- package/dist/components/App/App.test.js +0 -32948
- package/dist/components/Button/Button.js +0 -11
- package/dist/components/Label/Label.js +0 -7
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hortiview/default-components",
|
|
3
3
|
"description": "This is a component library that should be used in the HortiView platform and its modules. The components provided here have default translation strings.",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.11924",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/main.js",
|
|
7
7
|
"types": "dist/main.d.ts",
|
|
@@ -22,17 +22,31 @@
|
|
|
22
22
|
"preview": "vite preview",
|
|
23
23
|
"test": "vitest",
|
|
24
24
|
"test:ci": "vitest run --coverage",
|
|
25
|
-
"test:ui": "vitest --ui"
|
|
25
|
+
"test:ui": "vitest --ui",
|
|
26
|
+
"storybook": "storybook dev -p 6006",
|
|
27
|
+
"build-storybook": "storybook build"
|
|
26
28
|
},
|
|
27
29
|
"peerDependencies": {
|
|
28
30
|
"react": "^18.3.1",
|
|
29
31
|
"react-dom": "^18.3.1",
|
|
30
|
-
"react-
|
|
32
|
+
"react-hook-form": "^7.51.2",
|
|
33
|
+
"react-router-dom": "^6.22.3"
|
|
31
34
|
},
|
|
32
35
|
"devDependencies": {
|
|
33
|
-
"@element/react-components": "
|
|
34
|
-
"@element/themes": "^
|
|
36
|
+
"@element-public/react-components": "2.0.0-alpha.1",
|
|
37
|
+
"@element-public/themes": "^2.0.0",
|
|
35
38
|
"@eslint/js": "^9.17.0",
|
|
39
|
+
"@hortiview/shared-components": "^0.0.11881",
|
|
40
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
41
|
+
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
42
|
+
"@storybook/addon-essentials": "8.5.3",
|
|
43
|
+
"@storybook/addon-interactions": "8.5.3",
|
|
44
|
+
"@storybook/addon-links": "8.5.3",
|
|
45
|
+
"@storybook/addon-onboarding": "8.5.3",
|
|
46
|
+
"@storybook/blocks": "8.5.3",
|
|
47
|
+
"@storybook/react": "8.5.3",
|
|
48
|
+
"@storybook/react-vite": "8.5.3",
|
|
49
|
+
"@storybook/test": "8.5.3",
|
|
36
50
|
"@testing-library/dom": "^10.4.0",
|
|
37
51
|
"@testing-library/jest-dom": "^6.6.3",
|
|
38
52
|
"@testing-library/react": "^16.2.0",
|
|
@@ -44,22 +58,31 @@
|
|
|
44
58
|
"@typescript-eslint/eslint-plugin": "^8.7.0",
|
|
45
59
|
"@typescript-eslint/parser": "^8.7.0",
|
|
46
60
|
"@vitejs/plugin-react": "^4.3.4",
|
|
47
|
-
"@vitest/coverage-v8": "3.0.5",
|
|
61
|
+
"@vitest/coverage-v8": "^3.0.5",
|
|
48
62
|
"@vitest/ui": "^3.0.5",
|
|
49
63
|
"eslint": "^8.57.0",
|
|
50
64
|
"eslint-plugin-react": "^7.37.0",
|
|
51
65
|
"eslint-plugin-react-hooks": "^5.0.0",
|
|
52
|
-
"eslint-plugin-storybook": "^0.
|
|
66
|
+
"eslint-plugin-storybook": "^0.11.2",
|
|
53
67
|
"glob": "^10.3.10",
|
|
54
68
|
"globals": "^15.14.0",
|
|
69
|
+
"i18next": "^24.2.2",
|
|
70
|
+
"i18next-browser-languagedetector": "^8.0.3",
|
|
71
|
+
"i18next-http-backend": "^3.0.2",
|
|
55
72
|
"jsdom": "^26.0.0",
|
|
73
|
+
"lodash": "^4.17.21",
|
|
56
74
|
"react": "^18.3.1",
|
|
57
75
|
"react-dom": "^18.3.1",
|
|
58
|
-
"react-
|
|
76
|
+
"react-hook-form": "^7.51.2",
|
|
77
|
+
"react-i18next": "^15.4.1",
|
|
78
|
+
"react-number-format": "^5.4.3",
|
|
79
|
+
"react-router-dom": "^6.22.3",
|
|
80
|
+
"rollup-plugin-copy": "^3.5.0",
|
|
81
|
+
"storybook": "8.5.3",
|
|
59
82
|
"typescript": "~5.6.2",
|
|
60
83
|
"typescript-eslint": "^8.18.2",
|
|
61
|
-
"vite": "
|
|
62
|
-
"vite-plugin-dts": "
|
|
84
|
+
"vite": "6.1.0",
|
|
85
|
+
"vite-plugin-dts": "3.9.1",
|
|
63
86
|
"vite-plugin-lib-inject-css": "^2.2.1",
|
|
64
87
|
"vite-plugin-svgr": "^4.3.0",
|
|
65
88
|
"vitest": "^3.0.5"
|
package/dist/assets/App.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
#root{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}.logo{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}.logo:hover{filter:drop-shadow(0 0 2em #646cffaa)}.logo.react:hover{filter:drop-shadow(0 0 2em #61dafbaa)}@keyframes logo-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (prefers-reduced-motion: no-preference){a:nth-of-type(2) .logo{animation:logo-spin infinite 20s linear}}.card{padding:2em}.read-the-docs{color:#888}
|
package/dist/assets/Button.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._button_lslui_1{padding:1rem}
|