@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.
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
|
})
|
package/app/assets/css/main.css
CHANGED
|
@@ -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
|
-
|
|
214
|
-
icon: '',
|
|
219
|
+
class: className,
|
|
220
|
+
icon,
|
|
215
221
|
...child,
|
|
216
222
|
}
|
|
217
223
|
})
|