ketekny-ui-kit 1.0.94 → 1.0.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.
package/package.json
CHANGED
package/src/style/style.css
CHANGED
|
@@ -314,7 +314,7 @@ export default {
|
|
|
314
314
|
type="text"
|
|
315
315
|
placeholder="Αναζήτηση μενού..."
|
|
316
316
|
aria-label="Αναζήτηση μενού"
|
|
317
|
-
class="w-full
|
|
317
|
+
class="w-full border rounded-md border-sidebar-border/35 bg-sidebar-accent/40 py-2 pl-8 pr-9 text-sidebar-foreground placeholder:text-sidebar-muted focus:border-white/15 focus:outline-none focus:ring-1 focus:ring-white/10"
|
|
318
318
|
/>
|
|
319
319
|
<button
|
|
320
320
|
v-if="query"
|
|
@@ -348,7 +348,7 @@ export default {
|
|
|
348
348
|
</ul>
|
|
349
349
|
<p
|
|
350
350
|
v-if="!collapsed && filteredMenu.length === 0"
|
|
351
|
-
class="px-3 py-6 text-
|
|
351
|
+
class="px-3 py-6 text-center text-sidebar-muted"
|
|
352
352
|
>
|
|
353
353
|
Δεν βρέθηκαν αποτελέσματα.
|
|
354
354
|
</p>
|
|
@@ -359,7 +359,7 @@ export default {
|
|
|
359
359
|
<div v-if="!collapsed" class="flex items-center gap-2">
|
|
360
360
|
<button
|
|
361
361
|
type="button"
|
|
362
|
-
class="sidebar-footer-item flex min-h-[38px] flex-1 items-center gap-2.5 rounded-md bg-transparent px-2 py-2 text-left
|
|
362
|
+
class="sidebar-footer-item flex min-h-[38px] flex-1 items-center gap-2.5 rounded-md bg-transparent px-2 py-2 text-left font-medium text-sidebar-foreground/80 outline-none transition-colors duration-150 hover:bg-sidebar-accent hover:text-sidebar-foreground"
|
|
363
363
|
@click="handleFooterSelect('my-profile')"
|
|
364
364
|
>
|
|
365
365
|
<CircleUser class="sidebar-footer-item-icon size-4 shrink-0" :stroke-width="1.9" />
|
|
@@ -382,7 +382,7 @@ export default {
|
|
|
382
382
|
v-if="collapsed"
|
|
383
383
|
type="button"
|
|
384
384
|
v-tooltip.right="link.label"
|
|
385
|
-
class="flex items-center w-full
|
|
385
|
+
class="flex items-center w-full rounded-md transition-colors duration-150"
|
|
386
386
|
:class="[
|
|
387
387
|
'justify-center px-0 py-2',
|
|
388
388
|
activeId === link.id
|
|
@@ -412,7 +412,7 @@ export default {
|
|
|
412
412
|
:key="`${link.id}-expanded`"
|
|
413
413
|
v-else
|
|
414
414
|
type="button"
|
|
415
|
-
class="flex items-center w-full
|
|
415
|
+
class="flex items-center w-full rounded-md transition-colors duration-150"
|
|
416
416
|
:class="[
|
|
417
417
|
'gap-2.5 px-2 py-2 text-left',
|
|
418
418
|
activeId === link.id
|
|
@@ -82,7 +82,7 @@ export default {
|
|
|
82
82
|
<button
|
|
83
83
|
type="button"
|
|
84
84
|
:style="isCollapsedTop ? undefined : indentStyle"
|
|
85
|
-
class="group relative flex w-full items-center rounded-md text-left
|
|
85
|
+
class="group relative flex w-full items-center rounded-md text-left transition-colors duration-150"
|
|
86
86
|
:class="[
|
|
87
87
|
isCollapsedTop ? 'h-10 justify-center px-0' : 'gap-2.5 py-2 pr-2',
|
|
88
88
|
isActiveLeaf || (isCollapsedTop && isActive)
|
|
@@ -181,7 +181,7 @@ export default {
|
|
|
181
181
|
>
|
|
182
182
|
<button
|
|
183
183
|
type="button"
|
|
184
|
-
class="mb-1 flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-left
|
|
184
|
+
class="mb-1 flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-left font-semibold"
|
|
185
185
|
:class="isActive ? 'text-brand' : 'text-sidebar-foreground hover:bg-sidebar-accent'"
|
|
186
186
|
@click="!hasChildren && $emit('select', item)"
|
|
187
187
|
>
|
package/src/ui/kTable.vue
CHANGED
|
@@ -115,7 +115,7 @@ export default {
|
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
.table-custom--card th {
|
|
118
|
-
@apply px-
|
|
118
|
+
@apply px-4 py-2.5 text-sm font-semibold text-left text-white bg-primary border-b border-primary;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
.table-custom--plain th {
|
|
@@ -127,15 +127,15 @@ export default {
|
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
.table-custom--card td {
|
|
130
|
-
@apply h-
|
|
130
|
+
@apply h-10 px-4 py-2.5 text-sm text-slate-800 dark:text-slate-200;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
.table-custom--plain td {
|
|
134
|
-
@apply h-
|
|
134
|
+
@apply h-10 px-2 py-2 text-sm text-slate-800 dark:text-slate-200;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
.table-custom--flat td {
|
|
138
|
-
@apply h-
|
|
138
|
+
@apply h-10 px-3 py-2 text-sm text-slate-900 dark:text-slate-200 align-middle;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
.table-custom tr {
|
|
@@ -6,10 +6,10 @@ export const K_BUTTON_BASE = "inline-flex flex-row items-center justify-center f
|
|
|
6
6
|
export const K_BUTTON_SIZE_STYLES = {
|
|
7
7
|
normal: {
|
|
8
8
|
regular: "h-9 px-4 text-sm",
|
|
9
|
-
iconOnly: "h-
|
|
10
|
-
icon: "w-
|
|
11
|
-
loader: "w-
|
|
12
|
-
gap: "mr-
|
|
9
|
+
iconOnly: "h-9 w-9 p-0",
|
|
10
|
+
icon: "w-4 h-4",
|
|
11
|
+
loader: "w-4 h-4",
|
|
12
|
+
gap: "mr-1.5",
|
|
13
13
|
},
|
|
14
14
|
small: {
|
|
15
15
|
regular: "h-8 px-3 text-sm",
|
|
@@ -28,10 +28,10 @@ export const K_BUTTON_SIZE_STYLES = {
|
|
|
28
28
|
// Backward compatibility aliases
|
|
29
29
|
default: {
|
|
30
30
|
regular: "h-9 px-4 text-sm",
|
|
31
|
-
iconOnly: "h-
|
|
32
|
-
icon: "w-
|
|
33
|
-
loader: "w-
|
|
34
|
-
gap: "mr-
|
|
31
|
+
iconOnly: "h-9 w-9 p-0",
|
|
32
|
+
icon: "w-4 h-4",
|
|
33
|
+
loader: "w-4 h-4",
|
|
34
|
+
gap: "mr-1.5",
|
|
35
35
|
},
|
|
36
36
|
};
|
|
37
37
|
|