@invopop/popui 0.1.63 → 0.1.65
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/dist/DataListItem.svelte +4 -2
- package/dist/tailwind.theme.css +63 -8
- package/package.json +1 -1
package/dist/DataListItem.svelte
CHANGED
|
@@ -16,9 +16,11 @@
|
|
|
16
16
|
}: DataListItemProps = $props()
|
|
17
17
|
|
|
18
18
|
let valueStyles = $derived(
|
|
19
|
-
clsx('text-foreground font-medium text-base min-w-0
|
|
19
|
+
clsx('text-foreground font-medium text-base min-w-0 flex', {
|
|
20
20
|
'font-mono slashed-zero tabular-nums lining-nums': monospaced,
|
|
21
|
-
truncate: !children
|
|
21
|
+
truncate: !children,
|
|
22
|
+
'h-6 items-center': !children,
|
|
23
|
+
'items-start': children
|
|
22
24
|
})
|
|
23
25
|
)
|
|
24
26
|
|
package/dist/tailwind.theme.css
CHANGED
|
@@ -1000,16 +1000,71 @@
|
|
|
1000
1000
|
font-feature-settings: var(--font-mono-features);
|
|
1001
1001
|
}
|
|
1002
1002
|
|
|
1003
|
-
/*
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1003
|
+
/* Animated sidebar hide icon */
|
|
1004
|
+
|
|
1005
|
+
.icon-sidebar-hide_anim_line,
|
|
1006
|
+
.icon-sidebar-hide_anim_arrow {
|
|
1007
|
+
transition: all 0.4s ease;
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
.icon-sidebar-hide_anim_line {
|
|
1011
|
+
transition-behavior: allow-discrete;
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
.icon-sidebar-hide_anim {
|
|
1015
|
+
overflow: hidden;
|
|
1007
1016
|
}
|
|
1008
1017
|
|
|
1009
|
-
.
|
|
1010
|
-
|
|
1018
|
+
.icon-sidebar-hide:hover .icon-sidebar-hide_anim_line {
|
|
1019
|
+
transform: translate(-2.5px, 0) scale(0.70, 1);
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
.icon-sidebar-hide:hover .icon-sidebar-hide_anim_line rect {
|
|
1023
|
+
rx: 0.5px;
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
.icon-sidebar-hide:hover .icon-sidebar-hide_anim_arrow {
|
|
1027
|
+
transform: translate(-11px, 0);
|
|
1028
|
+
display: block;
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
/* Animated sidebar show icon */
|
|
1032
|
+
|
|
1033
|
+
.icon-sidebar-show_anim_line,
|
|
1034
|
+
.icon-sidebar-show_anim_arrow {
|
|
1035
|
+
transition: transform 0.4s ease;
|
|
1011
1036
|
}
|
|
1012
1037
|
|
|
1013
|
-
.
|
|
1014
|
-
|
|
1038
|
+
.icon-sidebar-show_anim_arrow {
|
|
1039
|
+
transform: scale(-1, 1) translateX(-1px);
|
|
1040
|
+
transform-origin: 8px 8px;
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
.icon-sidebar-show:hover .icon-sidebar-show_anim_line,
|
|
1044
|
+
.icon-sidebar-show:hover .icon-sidebar-show_anim_arrow {
|
|
1045
|
+
transform: translate(4px, 0);
|
|
1046
|
+
rx: 0;
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
.icon-sidebar-show_anim_line rect {
|
|
1050
|
+
rx: 0.5px;
|
|
1051
|
+
transform: translate(1.3px, 3px) scale(0.70, 1);
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
.icon-sidebar-show:hover .icon-sidebar-show_anim_line rect {
|
|
1055
|
+
rx: 0px;
|
|
1056
|
+
transform: translate(1px, 3px) scale(1, 1);
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
.icon-sidebar-show:hover .icon-sidebar-show_anim_arrow {
|
|
1060
|
+
transform: scale(-1,1) translate(-4px, 0);
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
/* Animated pulse icon */
|
|
1064
|
+
|
|
1065
|
+
.icon-pulse_r0 { animation: icon-pulse-animation 1.6s ease-in-out infinite 0s; }
|
|
1066
|
+
.icon-pulse_r1 { animation: icon-pulse-animation 1.6s ease-in-out infinite 0.16s; }
|
|
1067
|
+
@keyframes icon-pulse-animation {
|
|
1068
|
+
0%, 100% { fill: var(--color-background-default-tertiary); }
|
|
1069
|
+
40% { fill: var(--color-accent-50); }
|
|
1015
1070
|
}
|