@finema/finework-layer 0.2.45 → 0.2.47

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.
@@ -217,7 +217,6 @@ const sidebarItems: NavigationMenuItem[] = [
217
217
  {
218
218
  label: 'Submenu 2-2',
219
219
  to: '/layout-admin/2',
220
- icon: 'i-heroicons-outline:home',
221
220
  },
222
221
  ],
223
222
  },
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.47](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.46...0.2.47) (2025-11-06)
4
+
5
+ ### Bug Fixes
6
+
7
+ * sidebar child don't have icon ([179de46](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/179de46d2bbc061ed3cdc735f9bfe50d7a1019f5))
8
+
9
+ ## [0.2.46](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.45...0.2.46) (2025-11-06)
10
+
3
11
  ## [0.2.45](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.44...0.2.45) (2025-11-05)
4
12
 
5
13
  ## [0.2.44](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.43...0.2.44) (2025-11-04)
package/app/app.config.ts CHANGED
@@ -121,5 +121,11 @@ export default defineAppConfig({
121
121
  size: 'lg',
122
122
  },
123
123
  },
124
+ table: {
125
+ slots: {
126
+ th: 'text-[#222222] whitespace-nowrap border-r border-[#EAECF0] last:border-0 ',
127
+ td: 'text-[#222222] border-r border-[#EAECF0] last:border-0 align-top',
128
+ },
129
+ },
124
130
  },
125
131
  })
@@ -1,6 +1,7 @@
1
1
  @import "tailwindcss";
2
2
 
3
3
  :root {
4
+ --color-main-50: #EFF8FF;
4
5
  --color-background: var(--color-gray-50);
5
6
  }
6
7
 
@@ -207,11 +207,17 @@ const mappedItems = (items: NavigationMenuItem[]): NavigationMenuItem[] => {
207
207
  isAnyChildActive = true
208
208
  }
209
209
 
210
+ const baseClass
211
+ = 'hover:bg-[#F9FAFB] hover:text-gray-700 hover:font-bold py-2 pl-8 data-active:before:bg-[#F9FAFB] data-active:text-primary data-active:font-bold'
212
+
213
+ const hasIcon = !!child.icon
214
+ const className = hasIcon ? baseClass : `${baseClass} gap-0 data-active:text-gray-500!`
215
+ const icon = hasIcon ? child.icon : 'ph:dot-outline-fill'
216
+
210
217
  return {
211
218
  active: isChildCurrentlyActive,
212
- class:
213
- 'hover:bg-[#F9FAFB] hover:text-gray-700 hover:font-bold py-2 pl-8 data-active:before:bg-[#F9FAFB] data-active:text-primary data-active:font-bold',
214
- icon: '',
219
+ class: className,
220
+ icon,
215
221
  ...child,
216
222
  }
217
223
  })
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@finema/finework-layer",
3
3
  "type": "module",
4
- "version": "0.2.45",
4
+ "version": "0.2.47",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground -o",