@finema/finework-layer 0.2.132 → 0.2.134

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.
@@ -50,6 +50,9 @@
50
50
  icon="ph:trash"
51
51
  />
52
52
  <InfoItemList
53
+ vertical
54
+ inline
55
+ label-width="150"
53
56
  :items="[
54
57
  {
55
58
  label: 'Status:',
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.134](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.133...0.2.134) (2026-02-11)
4
+
5
+ ### Features
6
+
7
+ * enhance InfoItemList with vertical and inline options, and add label width support ([1ced47a](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/1ced47adb67c390d2b389e6b7575344a62ef6d83))
8
+
9
+ ## [0.2.133](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.132...0.2.133) (2026-02-10)
10
+
3
11
  ## [0.2.132](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.131...0.2.132) (2026-02-10)
4
12
 
5
13
  ### Bug Fixes
@@ -29,9 +29,10 @@
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
+ 'font-bold text-black!': item.label && titleBold,
33
33
  },
34
34
  ]"
35
+ :style="inline && labelWidth ? { width: `${labelWidth}px` } : undefined"
35
36
  >
36
37
  {{ item.label }}
37
38
  </p>
@@ -82,15 +83,6 @@
82
83
  แสดงน้อยลง
83
84
  </button>
84
85
  </span>
85
- <!-- <span >
86
- <Icon
87
- class="size-5"
88
- :class="item.value ? 'text-success' : 'text-error'"
89
- :name="item.value
90
- ? 'material-symbols:check-circle-outline-rounded'
91
- : 'material-symbols:cancel-outline-rounded'"
92
- />
93
- </span> -->
94
86
  <Checkbox
95
87
  v-if="item.type === TYPE_INFO_ITEM.BOOLEAN"
96
88
  v-model="item.value"
@@ -151,6 +143,7 @@ defineProps<{
151
143
  inline?: boolean
152
144
  customClass?: string
153
145
  titleBold?: boolean
146
+ labelWidth?: string | number
154
147
  }>()
155
148
 
156
149
  const expandedItems = reactive<Record<string, boolean>>({})
package/bun.lock CHANGED
@@ -4,7 +4,7 @@
4
4
  "": {
5
5
  "name": "@finema/finework-layer",
6
6
  "dependencies": {
7
- "@finema/core": "^3.9.1",
7
+ "@finema/core": "^3.11.0",
8
8
  },
9
9
  "devDependencies": {
10
10
  "@finema/eslint-config": "^2.0.3",
@@ -183,7 +183,7 @@
183
183
 
184
184
  "@eslint/plugin-kit": ["@eslint/plugin-kit@0.4.1", "", { "dependencies": { "@eslint/core": "^0.17.0", "levn": "^0.4.1" } }, "sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA=="],
185
185
 
186
- "@finema/core": ["@finema/core@3.9.1", "", { "dependencies": { "@iconify-json/heroicons": "^1.2.2", "@iconify-json/ph": "^1.2.2", "@iconify-json/svg-spinners": "^1.2.2", "@nuxt/kit": "^4.1.3", "@nuxt/ui": "^4.4.0", "@pinia/nuxt": "^0.11.0", "@tailwindcss/typography": "^0.5.0-alpha.3", "@tiptap/extension-text-align": "^3.18.0", "@vee-validate/nuxt": "^4.15.1", "@vee-validate/valibot": "^4.15.1", "@vuepic/vue-datepicker": "^11.0.2", "@vueuse/components": "^13.9.0", "@vueuse/core": "^13.9.0", "@wdns/vue-code-block": "^2.3.5", "axios": "^1.10.0", "date-fns": "^4.1.0", "date-fns-tz": "^3.2.0", "defu": "^6.1.4", "lodash-es": "^4.17.21", "maska": "^3.1.1", "url-join": "^5.0.0" } }, "sha512-wEbWk4+kEuy4f2nmr3z7zzz7SGC2KGGWxNThdfHnXo1DmKTCN3NHxYhwR2p3Jt+SvuC2c9CYT9p3ANGSU+1KeQ=="],
186
+ "@finema/core": ["@finema/core@3.11.0", "", { "dependencies": { "@iconify-json/heroicons": "^1.2.2", "@iconify-json/ph": "^1.2.2", "@iconify-json/svg-spinners": "^1.2.2", "@nuxt/kit": "^4.1.3", "@nuxt/ui": "^4.4.0", "@pinia/nuxt": "^0.11.0", "@tailwindcss/typography": "^0.5.0-alpha.3", "@tiptap/extension-text-align": "^3.18.0", "@vee-validate/nuxt": "^4.15.1", "@vee-validate/valibot": "^4.15.1", "@vuepic/vue-datepicker": "^11.0.2", "@vueuse/components": "^13.9.0", "@vueuse/core": "^13.9.0", "@wdns/vue-code-block": "^2.3.5", "axios": "^1.10.0", "date-fns": "^4.1.0", "date-fns-tz": "^3.2.0", "defu": "^6.1.4", "lodash-es": "^4.17.21", "maska": "^3.1.1", "url-join": "^5.0.0" } }, "sha512-hZEpL4LcNnh6kWSISqhirP8BepUcm9uj8UCuEVC3W6DeR38yVxf5UD4i0NyhFQXvYa0d070tql4GjnedRnFsXw=="],
187
187
 
188
188
  "@finema/eslint-config": ["@finema/eslint-config@2.0.4", "", { "dependencies": { "eslint-plugin-better-tailwindcss": "^3.7.10", "eslint-plugin-tailwindcss": "^3.18.2", "eslint-plugin-unused-imports": "^4.2.0" }, "peerDependencies": { "eslint": "^9.37.0" } }, "sha512-kKznMgbsOfPPg+td53dK36I3YFo6Ji4GAwKbVS2pimuQfcJT4mbgnEXCuW1Q/uNvUaFItr1NCSSD1LtEQTNNug=="],
189
189
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@finema/finework-layer",
3
3
  "type": "module",
4
- "version": "0.2.132",
4
+ "version": "0.2.134",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground -o",
@@ -30,7 +30,7 @@
30
30
  "vue": "latest"
31
31
  },
32
32
  "dependencies": {
33
- "@finema/core": "^3.9.1"
33
+ "@finema/core": "^3.11.0"
34
34
  },
35
35
  "lint-staged": {
36
36
  "*": "eslint"