@finema/finework-layer 0.2.94 → 0.2.96

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.
@@ -56,8 +56,9 @@
56
56
  value: 'Active',
57
57
  },
58
58
  {
59
- label: '',
60
- value: '42',
59
+ label: '12',
60
+ value: '<p>123123</p>',
61
+ type: 'wysiwyg',
61
62
  },
62
63
  ]"
63
64
  />
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.96](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.95...0.2.96) (2025-12-24)
4
+
5
+ ### Bug Fixes
6
+
7
+ * infoitemlist prop fontbold ([0002318](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/00023189dc7f3f06836299607f432356a20554c4))
8
+ * infolist ([20badaa](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/20badaaf3ea41c2ee381d398f6342df74101b666))
9
+
10
+ ## [0.2.95](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.94...0.2.95) (2025-12-24)
11
+
12
+ ### Bug Fixes
13
+
14
+ * infoedit type wysiwyg ([fe857c9](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/fe857c9ee5e494647a30b77e3648df13fa8ea893))
15
+
3
16
  ## [0.2.94](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.93...0.2.94) (2025-12-24)
4
17
 
5
18
  ## [0.2.93](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.92...0.2.93) (2025-12-22)
@@ -29,6 +29,7 @@
29
29
  {
30
30
  'mb-1 block text-sm text-gray-500': !inline,
31
31
  'mr-2 text-gray-500': inline,
32
+ 'font-bold !text-black': item.label && titleBold,
32
33
  },
33
34
  ]"
34
35
  >
@@ -96,11 +97,20 @@
96
97
  :label="item.label"
97
98
  class="pointer-events-none"
98
99
  />
100
+ <span
101
+ v-else-if="!shouldTruncateText(item) && item.type === TYPE_INFO_ITEM.WYSIWYG"
102
+ :class="[
103
+ {
104
+ 'font-bold': item.label && !titleBold,
105
+ },
106
+ ]"
107
+ v-html="getValue(item)"
108
+ />
99
109
  <span
100
110
  v-else-if="!shouldTruncateText(item)"
101
111
  :class="[
102
112
  {
103
- 'font-bold': item.label,
113
+ 'font-bold': item.label && !titleBold,
104
114
  },
105
115
  ]"
106
116
  >
@@ -122,6 +132,7 @@ enum TYPE_INFO_ITEM {
122
132
  DATE = 'date',
123
133
  DATE_TIME = 'date_time',
124
134
  BOOLEAN = 'boolean',
135
+ WYSIWYG = 'wysiwyg',
125
136
  }
126
137
 
127
138
  defineProps<{
@@ -139,7 +150,7 @@ defineProps<{
139
150
  vertical?: boolean
140
151
  inline?: boolean
141
152
  customClass?: string
142
-
153
+ titleBold?: boolean
143
154
  }>()
144
155
 
145
156
  const expandedItems = reactive<Record<string, boolean>>({})
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@finema/finework-layer",
3
3
  "type": "module",
4
- "version": "0.2.94",
4
+ "version": "0.2.96",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground -o",