@finema/core 1.4.36 → 1.4.37

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": "1.4.36",
3
+ "version": "1.4.37",
4
4
  "configKey": "core",
5
5
  "compatibility": {
6
6
  "nuxt": "^3.7.4"
package/dist/module.mjs CHANGED
@@ -2,7 +2,7 @@ import { defineNuxtModule, createResolver, installModule, addPlugin, addComponen
2
2
  import 'lodash-es';
3
3
 
4
4
  const name = "@finema/core";
5
- const version = "1.4.36";
5
+ const version = "1.4.37";
6
6
 
7
7
  const colors = {
8
8
  black: "#20243E",
@@ -105,7 +105,6 @@
105
105
  v-else-if="option.type === INPUT_TYPES.UPLOAD_DROPZONE"
106
106
  :class="option.class"
107
107
  :form="form"
108
- :request-options="option.props.requestOptions"
109
108
  v-bind="getFieldBinding(option)"
110
109
  v-on="option.on ?? {}"
111
110
  />
@@ -3,9 +3,11 @@
3
3
  <UInput
4
4
  v-model="value"
5
5
  :disabled="wrapperProps.isDisabled"
6
+ :leading-icon="leadingIcon"
7
+ :trailing-icon="trailingIcon"
6
8
  :name="name"
7
9
  :placeholder="wrapperProps.placeholder"
8
- :type="isShowPassword ? 'text' : props.type || 'text'"
10
+ :type="isShowPassword ? 'text' : type || 'text'"
9
11
  :autofocus="!!autoFocus"
10
12
  :icon="icon"
11
13
  :readonly="isReadonly"
@@ -1,8 +1,8 @@
1
1
  import { type IFieldProps, type IFormFieldBase, type INPUT_TYPES } from '#core/components/Form/types';
2
2
  export interface ITextFieldProps extends IFieldProps {
3
3
  type?: 'text' | 'password' | 'email';
4
- prependIcon?: any;
5
- appendIcon?: any;
4
+ leadingIcon?: any;
5
+ trailingIcon?: any;
6
6
  icon?: string;
7
7
  }
8
8
  export type ITextField = IFormFieldBase<INPUT_TYPES.TEXT | INPUT_TYPES.PASSWORD | INPUT_TYPES.EMAIL, ITextFieldProps, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "1.4.36",
3
+ "version": "1.4.37",
4
4
  "repository": "https://gitlab.finema.co/finema/ui-kit",
5
5
  "license": "MIT",
6
6
  "author": "Finema Dev Core Team",