@finema/finework-layer 0.2.46 → 0.2.48
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.48](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.47...0.2.48) (2025-11-07)
|
|
4
|
+
|
|
5
|
+
## [0.2.47](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.46...0.2.47) (2025-11-06)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* sidebar child don't have icon ([179de46](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/179de46d2bbc061ed3cdc735f9bfe50d7a1019f5))
|
|
10
|
+
|
|
3
11
|
## [0.2.46](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.45...0.2.46) (2025-11-06)
|
|
4
12
|
|
|
5
13
|
## [0.2.45](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.44...0.2.45) (2025-11-05)
|
package/app/app.config.ts
CHANGED
|
@@ -123,7 +123,7 @@ export default defineAppConfig({
|
|
|
123
123
|
},
|
|
124
124
|
table: {
|
|
125
125
|
slots: {
|
|
126
|
-
th: 'text-[#222222] whitespace-nowrap border-r border-[#EAECF0] last:border-0 ',
|
|
126
|
+
th: 'text-[#222222] whitespace-nowrap border-r border-[#EAECF0] last:border-0 bg-[#F9FAFB]',
|
|
127
127
|
td: 'text-[#222222] border-r border-[#EAECF0] last:border-0 align-top',
|
|
128
128
|
},
|
|
129
129
|
},
|
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
|
})
|