@finema/core 2.5.4 → 2.6.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.
package/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "2.5.4",
3
+ "version": "2.6.0",
4
4
  "configKey": "core",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.1",
package/dist/module.mjs CHANGED
@@ -3,7 +3,7 @@ import defu from 'defu';
3
3
  import * as theme from '../dist/runtime/theme/index.js';
4
4
 
5
5
  const name = "@finema/core";
6
- const version = "2.5.4";
6
+ const version = "2.6.0";
7
7
 
8
8
  const nuxtAppOptions = {
9
9
  head: {
@@ -131,7 +131,8 @@ const module = defineNuxtModule({
131
131
  addPlugin(resolve("./runtime/plugin"));
132
132
  void addComponentsDir({
133
133
  path: resolve(runtimeDir, "components"),
134
- prefix: _options.prefix
134
+ prefix: _options.prefix,
135
+ priority: 10
135
136
  });
136
137
  addImportsDir(resolve(runtimeDir, "composables"));
137
138
  addImportsDir(resolve(runtimeDir, "utils"));
@@ -11,6 +11,7 @@
11
11
  :class="option.class"
12
12
  :form="form"
13
13
  v-bind="getFieldBinding(option)"
14
+ :type="option.type === INPUT_TYPES.PASSWORD ? 'password' : void 0"
14
15
  v-on="option.on ?? {}"
15
16
  />
16
17
  </div>
@@ -48,7 +49,7 @@ const componentMap = {
48
49
  // Add other INPUT_TYPES here if they have dedicated components not covered by option.component
49
50
  [INPUT_TYPES.NUMBER]: FormInputNumber,
50
51
  // Example: Map to FormInputText or a specific Number input if exists
51
- [INPUT_TYPES.PASSWORD]: void 0,
52
+ [INPUT_TYPES.PASSWORD]: FormInputText,
52
53
  // Example: Map to FormInputText or a specific Password input if exists
53
54
  [INPUT_TYPES.EMAIL]: void 0,
54
55
  // Example: Map to FormInputText or a specific Email input if exists
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "2.5.4",
3
+ "version": "2.6.0",
4
4
  "repository": "https://gitlab.finema.co/finema/ui-kit",
5
5
  "license": "MIT",
6
6
  "author": "Finema Dev Core Team",