@redseed/redseed-ui-tailwindcss 6.2.1 → 6.2.3
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/components/card.css +5 -1
- package/components/modal.css +43 -12
- package/package.json +1 -1
package/components/card.css
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
.rsui-card {
|
|
2
2
|
@apply relative flex flex-col;
|
|
3
3
|
@apply transition duration-200;
|
|
4
|
-
@apply rounded-xl bg-background-primary border border-
|
|
4
|
+
@apply rounded-xl bg-background-primary border border-transparent;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.rsui-card--bordered {
|
|
8
|
+
@apply border-border-primary;
|
|
5
9
|
}
|
|
6
10
|
|
|
7
11
|
.rsui-card--hoverable {
|
package/components/modal.css
CHANGED
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
|
|
37
37
|
.rsui-modal__content {
|
|
38
38
|
@apply relative max-h-full inset-0 overflow-scroll overscroll-contain transform transition-all;
|
|
39
|
-
@apply border rounded-
|
|
40
|
-
@apply bg-background-primary border-border-
|
|
39
|
+
@apply border rounded-xl shadow-full md:w-full md:mx-auto mx-4;
|
|
40
|
+
@apply bg-background-primary border-border-primary;
|
|
41
41
|
-ms-overflow-style: none;
|
|
42
42
|
scrollbar-width: none;
|
|
43
43
|
}
|
|
@@ -46,29 +46,60 @@
|
|
|
46
46
|
display: none;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
.rsui-modal__content--sm {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
.rsui-modal__content--
|
|
54
|
-
|
|
49
|
+
.rsui-modal__content--sm {
|
|
50
|
+
@apply sm:max-w-sm xs:mx-4 sm:mx-auto;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.rsui-modal__content--md {
|
|
54
|
+
@apply sm:max-w-lg sm:mx-auto;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.rsui-modal__content--lg {
|
|
58
|
+
@apply sm:max-w-2xl;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.rsui-modal__content--top {
|
|
62
|
+
@apply top-0;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.rsui-modal__content--center {
|
|
66
|
+
@apply top-1/2 -translate-y-1/2;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.rsui-modal__content--bottom {
|
|
70
|
+
@apply bottom-0;
|
|
71
|
+
}
|
|
55
72
|
|
|
56
73
|
.rsui-modal__header {
|
|
57
|
-
@apply sticky top-0 z-1 p-
|
|
74
|
+
@apply sticky top-0 z-1 p-0 bg-background-secondary shrink-0 text-lg font-semibold;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.rsui-modal__header--padded {
|
|
78
|
+
@apply p-4;
|
|
58
79
|
}
|
|
59
80
|
|
|
60
81
|
.rsui-modal__body {
|
|
61
|
-
@apply p-
|
|
82
|
+
@apply p-0 bg-background-primary relative overflow-scroll overscroll-contain z-0;
|
|
62
83
|
-ms-overflow-style: none;
|
|
63
84
|
scrollbar-width: none;
|
|
64
85
|
}
|
|
65
86
|
|
|
87
|
+
.rsui-modal__body--padded {
|
|
88
|
+
@apply p-4;
|
|
89
|
+
}
|
|
90
|
+
|
|
66
91
|
.rsui-modal__body::-webkit-scrollbar {
|
|
67
92
|
display: none;
|
|
68
93
|
}
|
|
69
94
|
|
|
70
95
|
.rsui-modal__footer {
|
|
71
|
-
@apply sticky inset-x-0 bottom-0 z-1 p-
|
|
96
|
+
@apply sticky inset-x-0 bottom-0 z-1 p-0 bg-background-secondary shrink-0 flex justify-end items-center space-x-2;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.rsui-modal__footer--padded {
|
|
100
|
+
@apply p-4;
|
|
72
101
|
}
|
|
73
102
|
|
|
74
|
-
.rsui-modal__footer--start {
|
|
103
|
+
.rsui-modal__footer--start {
|
|
104
|
+
@apply justify-start;
|
|
105
|
+
}
|