@finema/core 2.23.0 → 2.24.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 (33) hide show
  1. package/README.md +79 -79
  2. package/dist/module.json +1 -1
  3. package/dist/module.mjs +1 -1
  4. package/dist/runtime/components/Dialog/index.vue +6 -2
  5. package/dist/runtime/components/Form/FieldWrapper.vue +13 -13
  6. package/dist/runtime/components/Form/Fields.vue +13 -13
  7. package/dist/runtime/components/Form/InputCheckbox/index.vue +18 -18
  8. package/dist/runtime/components/Form/InputNumber/index.vue +20 -20
  9. package/dist/runtime/components/Form/InputSelectMultiple/index.vue +43 -43
  10. package/dist/runtime/components/Form/InputText/index.vue +74 -74
  11. package/dist/runtime/components/Form/InputTextarea/index.vue +18 -18
  12. package/dist/runtime/components/Form/InputToggle/index.vue +17 -17
  13. package/dist/runtime/components/Form/InputUploadDropzone/index.vue +30 -30
  14. package/dist/runtime/components/Form/InputUploadDropzoneAuto/index.vue +1 -8
  15. package/dist/runtime/components/Form/fileState/EmptyState.vue +21 -21
  16. package/dist/runtime/components/Form/fileState/FailedState.vue +33 -33
  17. package/dist/runtime/components/Form/fileState/LoadingState.vue +24 -24
  18. package/dist/runtime/components/Form/fileState/PreviewModal.vue +23 -23
  19. package/dist/runtime/components/Form/fileState/SuccessState.vue +9 -3
  20. package/dist/runtime/components/Form/fileState/useUploadState.js +12 -13
  21. package/dist/runtime/components/Form/index.vue +5 -5
  22. package/dist/runtime/components/Image.vue +28 -28
  23. package/dist/runtime/components/Log/index.vue +17 -17
  24. package/dist/runtime/components/Table/ColumnDate.vue +1 -1
  25. package/dist/runtime/components/Table/ColumnDateTime.vue +1 -1
  26. package/dist/runtime/components/Table/ColumnImage.vue +4 -4
  27. package/dist/runtime/components/Table/ColumnText.vue +1 -1
  28. package/dist/runtime/composables/useDialog.d.ts +4 -1
  29. package/dist/runtime/composables/useDialog.js +16 -5
  30. package/dist/runtime/server/tsconfig.json +3 -3
  31. package/dist/runtime/theme/dialog.d.ts +6 -0
  32. package/dist/runtime/theme/dialog.js +7 -1
  33. package/package.json +2 -2
@@ -1,3 +1,3 @@
1
- {
2
- "extends": "../../../.nuxt/tsconfig.server.json",
3
- }
1
+ {
2
+ "extends": "../../../.nuxt/tsconfig.server.json",
3
+ }
@@ -5,6 +5,7 @@ export declare const dialogTheme: {
5
5
  iconWarning: string;
6
6
  iconError: string;
7
7
  iconConfirm: string;
8
+ iconLoading: string;
8
9
  };
9
10
  slots: {
10
11
  base: string;
@@ -32,6 +33,11 @@ export declare const dialogTheme: {
32
33
  error: {
33
34
  icon: string;
34
35
  };
36
+ loading: {
37
+ icon: string;
38
+ base: string;
39
+ wrapper: string;
40
+ };
35
41
  };
36
42
  confirm: {
37
43
  true: {
@@ -4,7 +4,8 @@ export const dialogTheme = {
4
4
  iconInfo: "i-heroicons-information-circle",
5
5
  iconWarning: "i-heroicons-exclamation-circle",
6
6
  iconError: "i-heroicons-x-circle",
7
- iconConfirm: "i-heroicons-information-circle"
7
+ iconConfirm: "i-heroicons-information-circle",
8
+ iconLoading: "i-svg-spinners:180-ring-with-bg"
8
9
  },
9
10
  slots: {
10
11
  base: "flex space-x-4 shadow-lg ring ring-default z-[100] text-sm fixed top-[50%] left-[50%] max-h-[85vh] w-[90vw] max-w-[500px] translate-x-[-50%] translate-y-[-50%] rounded-lg bg-white p-[25px] focus:outline-none",
@@ -31,6 +32,11 @@ export const dialogTheme = {
31
32
  },
32
33
  error: {
33
34
  icon: "text-error"
35
+ },
36
+ loading: {
37
+ icon: "text-primary",
38
+ base: "max-w-[400px]",
39
+ wrapper: "justify-center"
34
40
  }
35
41
  },
36
42
  confirm: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "2.23.0",
3
+ "version": "2.24.0",
4
4
  "repository": "https://gitlab.finema.co/finema/ui-kit",
5
5
  "license": "MIT",
6
6
  "author": "Finema Dev Core Team",
@@ -93,4 +93,4 @@
93
93
  "lint-staged": {
94
94
  "*": "eslint --fix --quiet"
95
95
  }
96
- }
96
+ }