@helpwave/hightide 0.11.1 → 0.12.1
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 +187 -14
- package/dist/index.d.ts +187 -14
- package/dist/index.js +2969 -2091
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2684 -1823
- package/dist/index.mjs.map +1 -1
- package/dist/style/globals.css +473 -20
- package/dist/style/uncompiled/theme/components/app-page.css +116 -0
- package/dist/style/uncompiled/theme/components/avatar.css +33 -0
- package/dist/style/uncompiled/theme/components/card.css +78 -7
- package/dist/style/uncompiled/theme/components/checkbox.css +2 -1
- package/dist/style/uncompiled/theme/components/index.css +3 -1
- package/dist/style/uncompiled/theme/components/vertical-navigation.css +42 -0
- package/package.json +2 -2
|
@@ -71,4 +71,37 @@
|
|
|
71
71
|
[data-name="avatar-group-more"] {
|
|
72
72
|
@apply flex-row-2 truncate items-center text-[calc(var(--size)*2/3)];
|
|
73
73
|
}
|
|
74
|
+
|
|
75
|
+
[data-name="avatar-with-status"] {
|
|
76
|
+
@apply relative inline-flex;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
[data-name="avatar-with-status-dot"] {
|
|
80
|
+
@apply absolute right-0 bottom-0 z-1 rounded-full border-solid;
|
|
81
|
+
border-color: var(--color-background);
|
|
82
|
+
|
|
83
|
+
&[data-size="xs"] {
|
|
84
|
+
@apply size-3 border-[1.5px];
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&[data-size="sm"] {
|
|
88
|
+
@apply size-3.5 border-2;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&[data-size="md"] {
|
|
92
|
+
@apply size-4 border-2;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
&[data-size="lg"] {
|
|
96
|
+
@apply size-5 border-2;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&[data-online] {
|
|
100
|
+
background-color: var(--color-positive);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&:not([data-online]) {
|
|
104
|
+
background-color: var(--color-negative);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
74
107
|
}
|
|
@@ -1,13 +1,84 @@
|
|
|
1
1
|
@layer components {
|
|
2
|
-
[data-name="card
|
|
3
|
-
@apply flex-col-
|
|
2
|
+
[data-name="card"] {
|
|
3
|
+
@apply flex-col-1 w-full min-w-0 surface coloring-solid shadow-md;
|
|
4
|
+
|
|
5
|
+
&[data-size="sm"] {
|
|
6
|
+
@apply px-2 py-1 rounded;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
&[data-size="md"] {
|
|
10
|
+
@apply px-4 py-2 rounded-md;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&[data-size="lg"] {
|
|
14
|
+
@apply px-8 py-4 rounded-lg;
|
|
15
|
+
}
|
|
4
16
|
}
|
|
5
17
|
|
|
6
|
-
[data-name="card
|
|
7
|
-
|
|
18
|
+
[data-name="action-card"],
|
|
19
|
+
[data-name="navigation-card"] {
|
|
20
|
+
@apply flex-col-1 w-full min-w-0 surface coloring-solid-hover shadow-md;
|
|
21
|
+
|
|
22
|
+
&[data-size="sm"] {
|
|
23
|
+
@apply px-2 py-1 rounded;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&[data-size="md"] {
|
|
27
|
+
@apply px-4 py-2 rounded-md;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&[data-size="lg"] {
|
|
31
|
+
@apply px-8 py-4 rounded-lg;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
[data-name="card-header"] {
|
|
36
|
+
@apply flex-row-2 items-center w-full min-w-0;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
[data-name="card-content"] {
|
|
40
|
+
@apply flex-col-1 min-w-0 flex-1;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
[data-name="card-action"] {
|
|
44
|
+
@apply flex-col-0 items-center justify-center shrink-0 text-description;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
[data-name="navigation-card-action"] {
|
|
48
|
+
@apply flex-col-0 items-center justify-center shrink-0 text-description transition-colors group-hover/card:text-on-surface;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
[data-name="card-title"] {
|
|
52
|
+
@apply typography-title-md;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
[data-name="card"][data-size="sm"] [data-name="card-title"],
|
|
56
|
+
[data-name="action-card"][data-size="sm"] [data-name="card-title"],
|
|
57
|
+
[data-name="navigation-card"][data-size="sm"] [data-name="card-title"] {
|
|
58
|
+
@apply typography-title-sm;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
[data-name="card"][data-size="lg"] [data-name="card-title"],
|
|
62
|
+
[data-name="action-card"][data-size="lg"] [data-name="card-title"],
|
|
63
|
+
[data-name="navigation-card"][data-size="lg"] [data-name="card-title"] {
|
|
64
|
+
@apply typography-title-lg;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
[data-name="card-description"] {
|
|
68
|
+
@apply text-description typography-body-md;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
[data-name="action-card"] {
|
|
72
|
+
&:not([data-disabled]) {
|
|
73
|
+
@apply cursor-pointer;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&[data-disabled] {
|
|
77
|
+
@apply cursor-not-allowed disabled;
|
|
78
|
+
}
|
|
8
79
|
}
|
|
9
80
|
|
|
10
|
-
[data-name="card
|
|
11
|
-
@apply
|
|
81
|
+
[data-name="navigation-card"] {
|
|
82
|
+
@apply cursor-pointer;
|
|
12
83
|
}
|
|
13
|
-
}
|
|
84
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@layer components {
|
|
2
2
|
[data-name="checkbox"] {
|
|
3
|
-
@apply flex-col-0 items-center justify-center
|
|
3
|
+
@apply flex-col-0 items-center justify-center border-2;
|
|
4
|
+
@apply rounded data-[rounded]:rounded-full;
|
|
4
5
|
transition:
|
|
5
6
|
border-color var(--animation-duration-in, 250ms) ease-in-out,
|
|
6
7
|
box-shadow var(--animation-duration-in, 250ms) ease-in-out,
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
[data-name="vertical-navigation-tree"] {
|
|
3
|
+
@apply flex-col-2 list-none m-0 p-0;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
[data-name="vertical-navigation-node"] {
|
|
7
|
+
@apply list-none m-0 p-0 rounded-md outline-none cursor-pointer;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
[data-name="vertical-navigation-group"] {
|
|
11
|
+
@apply flex-col-0 list-none m-0 my-0.5 ml-2.5 pl-2.5 border-l border-border;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
[data-name="vertical-navigation-node-header"],
|
|
15
|
+
[data-name="vertical-navigation-item"] {
|
|
16
|
+
@apply flex-row-1 items-center rounded-md min-h-9 min-w-0 px-2.5 py-1.5;
|
|
17
|
+
|
|
18
|
+
&:hover, &:focus-visible {
|
|
19
|
+
@apply bg-primary/15;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
[data-name="vertical-navigation-node-header"] {
|
|
24
|
+
@apply justify-between;
|
|
25
|
+
transition: var(--focus-outline-transition);
|
|
26
|
+
|
|
27
|
+
&[data-active] {
|
|
28
|
+
@apply bg-primary/15;
|
|
29
|
+
|
|
30
|
+
&:is(:where(.group\/tree-node):focus-visible *) {
|
|
31
|
+
outline: var(--focus-outline);
|
|
32
|
+
outline-offset: var(--focus-outline-offset);
|
|
33
|
+
box-shadow: var(--focus-box-shadow);
|
|
34
|
+
border-color: var(--focus-border-color);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
[data-name="vertical-navigation-item-link"] {
|
|
40
|
+
@apply flex-row-2 w-full items-center justify-between no-underline;
|
|
41
|
+
}
|
|
42
|
+
}
|
package/package.json
CHANGED