@finema/core 1.3.6 → 1.3.8

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.3.6",
3
+ "version": "1.3.8",
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 { merge } from 'lodash-es';
3
3
 
4
4
  const name = "@finema/core";
5
- const version = "1.3.6";
5
+ const version = "1.3.8";
6
6
 
7
7
  const colors = {
8
8
  black: "#20243E",
@@ -21,20 +21,6 @@ const colors = {
21
21
  border: "#E2E4EA",
22
22
  fill: "#F4F5FA"
23
23
  },
24
- customPrimary: {
25
- DEFAULT: "#3675FB",
26
- 50: "#F8F8FF",
27
- 100: "#E8EFFD",
28
- 200: "#bee3f8",
29
- 300: "#90cdf4",
30
- 400: "#63b3ed",
31
- 500: "#3675FB",
32
- 600: "#0068FE",
33
- 700: "#2b6cb0",
34
- 800: "#2c5282",
35
- 900: "#20243E",
36
- 950: "#20243E"
37
- },
38
24
  secondary: {
39
25
  DEFAULT: "#EE8B36",
40
26
  50: "#fdf1e7",
@@ -49,37 +35,39 @@ const colors = {
49
35
  900: "#180c02"
50
36
  },
51
37
  info: {
52
- DEFAULT: "#F64976",
53
- 50: "#FFEBF0",
54
- 100: "#F87395",
55
- 400: "#F87395",
56
- 500: "#F87395"
38
+ DEFAULT: "#0D8CEE",
39
+ 50: "#EBF6FF",
40
+ 100: "#EBF6FF",
41
+ 400: "#0D8CEE",
42
+ 500: "#0D8CEE"
57
43
  },
58
44
  danger: {
59
- DEFAULT: "#FF4C4C",
60
- 50: "#ffe5e5",
61
- 100: "#FF4C4C",
62
- 400: "#FF4C4C",
63
- 500: "#FF4C4C"
45
+ DEFAULT: "#F25555",
46
+ 50: "#FEF2F2",
47
+ 100: "#FF808E",
48
+ 400: "#FF808E",
49
+ 500: "#F25555",
50
+ 600: "#DC4040"
64
51
  },
65
52
  success: {
66
- DEFAULT: "#01B460",
67
- 50: "#E2FFF0",
68
- 100: "#52CB8C",
69
- 400: "#52CB8C",
70
- 500: "#52CB8C"
53
+ DEFAULT: "#3FB061",
54
+ 50: "#F0FDF4",
55
+ 100: "#C6F2D3",
56
+ 400: "#C6F2D3",
57
+ 500: "#3FB061",
58
+ 600: "#3BA059"
71
59
  },
72
60
  warning: {
73
- DEFAULT: "#EE7336",
74
- 50: "#FFEBE2",
75
- 100: "#FF864B",
76
- 400: "#FF864B",
77
- 500: "#FF864B"
61
+ DEFAULT: "#FF9A35",
62
+ 50: "#FFF3D2",
63
+ 100: "#FFC061",
64
+ 400: "#FFC061",
65
+ 500: "#FF9A35",
66
+ 600: "#F47A00"
78
67
  }
79
68
  };
80
69
 
81
70
  const ui = {
82
- primary: "customPrimary",
83
71
  safelistColors: ["secondary"]
84
72
  };
85
73
 
@@ -16,6 +16,14 @@
16
16
  />
17
17
  <FormInputText
18
18
  v-if="option.type === INPUT_TYPES.PASSWORD"
19
+ type="password"
20
+ :form="form"
21
+ v-bind="option.props"
22
+ v-on="option.on ?? {}"
23
+ />
24
+ <FormInputText
25
+ v-if="option.type === INPUT_TYPES.EMAIL"
26
+ type="email"
19
27
  :form="form"
20
28
  v-bind="option.props"
21
29
  v-on="option.on ?? {}"
@@ -5,6 +5,7 @@ import { type IStaticField } from '#core/components/Form/InputStatic/types';
5
5
  export declare const enum INPUT_TYPES {
6
6
  TEXT = "TEXT",
7
7
  PASSWORD = "PASSWORD",
8
+ EMAIL = "EMAIL",
8
9
  STATIC = "STATIC",
9
10
  TOGGLE = "TOGGLE",
10
11
  SELECT = "SELECT"
@@ -1,6 +1,7 @@
1
1
  export var INPUT_TYPES = /* @__PURE__ */ ((INPUT_TYPES2) => {
2
2
  INPUT_TYPES2["TEXT"] = "TEXT";
3
3
  INPUT_TYPES2["PASSWORD"] = "PASSWORD";
4
+ INPUT_TYPES2["EMAIL"] = "EMAIL";
4
5
  INPUT_TYPES2["STATIC"] = "STATIC";
5
6
  INPUT_TYPES2["TOGGLE"] = "TOGGLE";
6
7
  INPUT_TYPES2["SELECT"] = "SELECT";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "1.3.6",
3
+ "version": "1.3.8",
4
4
  "repository": "https://gitlab.finema.co/finema/ui-kit",
5
5
  "license": "MIT",
6
6
  "author": "Finema Development Team",