@helpwave/hightide 0.6.6 → 0.6.7
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/index.d.mts +215 -178
- package/dist/index.d.ts +215 -178
- package/dist/index.js +1653 -1544
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1707 -1602
- package/dist/index.mjs.map +1 -1
- package/dist/style/globals.css +36 -21
- package/dist/style/uncompiled/theme/components/table.css +14 -14
- package/dist/style/uncompiled/theme/components/tooltip.css +4 -4
- package/package.json +1 -1
package/dist/style/globals.css
CHANGED
|
@@ -491,6 +491,11 @@
|
|
|
491
491
|
flex-direction: row;
|
|
492
492
|
column-gap: calc(var(--spacing) * 6);
|
|
493
493
|
}
|
|
494
|
+
.flex-row-8 {
|
|
495
|
+
display: flex;
|
|
496
|
+
flex-direction: row;
|
|
497
|
+
column-gap: calc(var(--spacing) * 8);
|
|
498
|
+
}
|
|
494
499
|
.flex-col-0 {
|
|
495
500
|
display: flex;
|
|
496
501
|
flex-direction: column;
|
|
@@ -664,6 +669,9 @@
|
|
|
664
669
|
.max-h-71 {
|
|
665
670
|
max-height: calc(var(--spacing) * 71);
|
|
666
671
|
}
|
|
672
|
+
.max-h-128 {
|
|
673
|
+
max-height: calc(var(--spacing) * 128);
|
|
674
|
+
}
|
|
667
675
|
.\!min-h-10 {
|
|
668
676
|
min-height: calc(var(--spacing) * 10) !important;
|
|
669
677
|
}
|
|
@@ -763,9 +771,6 @@
|
|
|
763
771
|
.max-w-128 {
|
|
764
772
|
max-width: calc(var(--spacing) * 128);
|
|
765
773
|
}
|
|
766
|
-
.max-w-full {
|
|
767
|
-
max-width: 100%;
|
|
768
|
-
}
|
|
769
774
|
.min-w-0 {
|
|
770
775
|
min-width: calc(var(--spacing) * 0);
|
|
771
776
|
}
|
|
@@ -775,6 +780,9 @@
|
|
|
775
780
|
.min-w-20 {
|
|
776
781
|
min-width: calc(var(--spacing) * 20);
|
|
777
782
|
}
|
|
783
|
+
.min-w-24 {
|
|
784
|
+
min-width: calc(var(--spacing) * 24);
|
|
785
|
+
}
|
|
778
786
|
.min-w-26 {
|
|
779
787
|
min-width: calc(var(--spacing) * 26);
|
|
780
788
|
}
|
|
@@ -816,6 +824,10 @@
|
|
|
816
824
|
--tw-translate-x: calc(1/2 * 100%);
|
|
817
825
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
818
826
|
}
|
|
827
|
+
.translate-x-4 {
|
|
828
|
+
--tw-translate-x: calc(var(--spacing) * 4);
|
|
829
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
830
|
+
}
|
|
819
831
|
.-translate-y-1\/2 {
|
|
820
832
|
--tw-translate-y: calc(calc(1/2 * 100%) * -1);
|
|
821
833
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
@@ -1443,9 +1455,6 @@
|
|
|
1443
1455
|
.text-nowrap {
|
|
1444
1456
|
text-wrap: nowrap;
|
|
1445
1457
|
}
|
|
1446
|
-
.overflow-ellipsis {
|
|
1447
|
-
text-overflow: ellipsis;
|
|
1448
|
-
}
|
|
1449
1458
|
.text-ellipsis {
|
|
1450
1459
|
text-overflow: ellipsis;
|
|
1451
1460
|
}
|
|
@@ -3023,14 +3032,14 @@
|
|
|
3023
3032
|
}
|
|
3024
3033
|
}
|
|
3025
3034
|
@layer components {
|
|
3026
|
-
|
|
3035
|
+
.table-container {
|
|
3027
3036
|
display: flex;
|
|
3028
3037
|
flex-direction: column;
|
|
3029
3038
|
row-gap: calc(var(--spacing) * 0);
|
|
3030
3039
|
width: 100%;
|
|
3031
3040
|
overflow: auto;
|
|
3032
3041
|
}
|
|
3033
|
-
|
|
3042
|
+
.table {
|
|
3034
3043
|
table-layout: fixed;
|
|
3035
3044
|
border-collapse: separate;
|
|
3036
3045
|
--tw-border-spacing-x: calc(var(--spacing) * 0);
|
|
@@ -3040,7 +3049,7 @@
|
|
|
3040
3049
|
background-color: var(--color-table-background);
|
|
3041
3050
|
color: var(--color-table-text);
|
|
3042
3051
|
}
|
|
3043
|
-
|
|
3052
|
+
.table-filler-cell {
|
|
3044
3053
|
display: flex;
|
|
3045
3054
|
height: calc(var(--spacing) * 6);
|
|
3046
3055
|
width: calc(1/2 * 100%);
|
|
@@ -3050,17 +3059,14 @@
|
|
|
3050
3059
|
font-weight: var(--font-weight-bold);
|
|
3051
3060
|
color: var(--color-disabled);
|
|
3052
3061
|
}
|
|
3053
|
-
|
|
3062
|
+
.table-default-cell {
|
|
3054
3063
|
display: block;
|
|
3055
3064
|
max-width: 100%;
|
|
3056
3065
|
overflow: hidden;
|
|
3057
3066
|
white-space: nowrap;
|
|
3058
3067
|
text-overflow: ellipsis;
|
|
3059
3068
|
}
|
|
3060
|
-
|
|
3061
|
-
position: relative;
|
|
3062
|
-
--tw-font-weight: var(--font-weight-bold);
|
|
3063
|
-
font-weight: var(--font-weight-bold);
|
|
3069
|
+
.table-header-cell {
|
|
3064
3070
|
padding-inline: calc(var(--spacing) * 3);
|
|
3065
3071
|
padding-block: calc(var(--spacing) * 2.5);
|
|
3066
3072
|
&:first-child {
|
|
@@ -3086,23 +3092,29 @@
|
|
|
3086
3092
|
border-top-right-radius: var(--radius-lg);
|
|
3087
3093
|
}
|
|
3088
3094
|
background-color: var(--color-table-header-background);
|
|
3095
|
+
--tw-font-weight: var(--font-weight-bold);
|
|
3096
|
+
font-weight: var(--font-weight-bold);
|
|
3089
3097
|
color: var(--color-description);
|
|
3098
|
+
&[data-sticky] {
|
|
3099
|
+
position: sticky;
|
|
3100
|
+
top: calc(var(--spacing) * 0);
|
|
3101
|
+
}
|
|
3090
3102
|
}
|
|
3091
|
-
|
|
3103
|
+
.table-body-row {
|
|
3092
3104
|
&:hover {
|
|
3093
3105
|
@media (hover: hover) {
|
|
3094
3106
|
background-color: var(--color-table-row-hover-background);
|
|
3095
3107
|
}
|
|
3096
3108
|
}
|
|
3097
3109
|
}
|
|
3098
|
-
|
|
3110
|
+
.table-body-filler-row {
|
|
3099
3111
|
&:hover {
|
|
3100
3112
|
@media (hover: hover) {
|
|
3101
3113
|
cursor: not-allowed;
|
|
3102
3114
|
}
|
|
3103
3115
|
}
|
|
3104
3116
|
}
|
|
3105
|
-
|
|
3117
|
+
.table-body-cell, .table-body-filler-cell {
|
|
3106
3118
|
padding-inline: calc(var(--spacing) * 3);
|
|
3107
3119
|
padding-block: calc(var(--spacing) * 2.5);
|
|
3108
3120
|
&:first-child {
|
|
@@ -3162,7 +3174,7 @@
|
|
|
3162
3174
|
}
|
|
3163
3175
|
}
|
|
3164
3176
|
}
|
|
3165
|
-
|
|
3177
|
+
.table-body-row:last-child > .table-body-cell {
|
|
3166
3178
|
&:first-child {
|
|
3167
3179
|
border-bottom-left-radius: var(--radius-lg);
|
|
3168
3180
|
}
|
|
@@ -3994,7 +4006,7 @@
|
|
|
3994
4006
|
}
|
|
3995
4007
|
}
|
|
3996
4008
|
@layer components {
|
|
3997
|
-
|
|
4009
|
+
.tooltip {
|
|
3998
4010
|
position: absolute;
|
|
3999
4011
|
border-radius: 0.25rem;
|
|
4000
4012
|
padding-inline: calc(var(--spacing) * 2);
|
|
@@ -4004,16 +4016,19 @@
|
|
|
4004
4016
|
--shadow-top: 0 -5px 5px 0 var(--tw-shadow-color, rgb(0 0 0 / 2%));
|
|
4005
4017
|
--shadow-bottom: 0 5px 5px 0 var(--tw-shadow-color, rgb(0 0 0 / 2%));
|
|
4006
4018
|
box-shadow: var(--shadow-right, 0 0 0 transparent), var(--shadow-left, 0 0 0 transparent), var(--shadow-top, 0 0 0 transparent), var(--shadow-bottom, 0 0 0 transparent);
|
|
4019
|
+
overflow: hidden;
|
|
4020
|
+
text-overflow: ellipsis;
|
|
4021
|
+
white-space: nowrap;
|
|
4007
4022
|
background-color: var(--color-tooltip-background);
|
|
4008
4023
|
font-size: var(--text-xs);
|
|
4009
4024
|
line-height: var(--tw-leading, var(--text-xs--line-height));
|
|
4010
4025
|
--tw-font-weight: var(--font-weight-semibold);
|
|
4011
4026
|
font-weight: var(--font-weight-semibold);
|
|
4012
4027
|
color: var(--color-tooltip-text);
|
|
4013
|
-
&[data-state="opening"] {
|
|
4028
|
+
&[data-state="opening"][data-animated] {
|
|
4014
4029
|
animation: fade-in calc(var(--animation-duration-in, 250ms) * 2) ease-in-out 1 forwards;
|
|
4015
4030
|
}
|
|
4016
|
-
&[data-state="closing"] {
|
|
4031
|
+
&[data-state="closing"][data-animated] {
|
|
4017
4032
|
animation: fade-in var(--animation-duration-out, 170ms) ease-in-out 1 reverse forwards;
|
|
4018
4033
|
}
|
|
4019
4034
|
&[data-state="closed"] {
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
@layer components {
|
|
2
|
-
|
|
2
|
+
.table-container {
|
|
3
3
|
@apply flex-col-0 w-full overflow-auto;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
.table {
|
|
7
7
|
@apply table-fixed border-separate border-spacing-0 rounded-lg;
|
|
8
8
|
@apply bg-table-background text-table-text;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
.table-filler-cell {
|
|
12
12
|
@apply flex flex-row items-center w-1/2 h-6 text-disabled font-bold;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
.table-default-cell {
|
|
16
16
|
@apply block max-w-full overflow-ellipsis truncate;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
[data-name="table-header-cell"] {
|
|
23
|
-
@apply relative font-bold;
|
|
19
|
+
.table-header-cell {
|
|
24
20
|
@apply px-3 first:pl-6 last:pr-6 py-2.5;
|
|
25
21
|
@apply border-y-1 first:border-l-1 last:border-r-1;
|
|
26
22
|
@apply first:rounded-tl-lg last:rounded-tr-lg;
|
|
27
|
-
@apply bg-table-header-background text-description;
|
|
23
|
+
@apply bg-table-header-background text-description font-bold;
|
|
24
|
+
|
|
25
|
+
&[data-sticky] {
|
|
26
|
+
@apply sticky top-0;
|
|
27
|
+
}
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
.table-body-row {
|
|
31
31
|
@apply hover:bg-table-row-hover-background;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
.table-body-filler-row {
|
|
35
35
|
@apply hover:cursor-not-allowed;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
.table-body-cell, .table-body-filler-cell {
|
|
39
39
|
@apply px-3 first:pl-6 last:pr-6 py-2.5;
|
|
40
40
|
@apply border-b-1 first:border-l-1 last:border-r-1;
|
|
41
41
|
@apply [nth-last-child(1)]:first:rounded-bl-lg [nth-last-child(1)]:last:rounded-br-lg;
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
.table-body-row:last-child > .table-body-cell {
|
|
64
64
|
@apply first:rounded-bl-lg last:rounded-br-lg;
|
|
65
65
|
}
|
|
66
66
|
}
|
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
@layer components {
|
|
11
|
-
|
|
11
|
+
.tooltip {
|
|
12
12
|
@apply absolute px-2 py-1 rounded shadow-around-md;
|
|
13
|
-
@apply text-xs font-semibold text-tooltip-text bg-tooltip-background;
|
|
13
|
+
@apply text-xs font-semibold text-tooltip-text bg-tooltip-background truncate;
|
|
14
14
|
|
|
15
|
-
&[data-state="opening"] {
|
|
15
|
+
&[data-state="opening"][data-animated] {
|
|
16
16
|
@apply animate-tooltip-fade-in;
|
|
17
17
|
}
|
|
18
|
-
&[data-state="closing"] {
|
|
18
|
+
&[data-state="closing"][data-animated] {
|
|
19
19
|
@apply animate-tooltip-fade-out;
|
|
20
20
|
}
|
|
21
21
|
&[data-state="closed"] {
|