@redseed/redseed-ui-tailwindcss 6.2.0 → 6.2.2
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/form_field_text.css +2 -2
- package/components/modal.css +41 -10
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
.rsui-form-field-text__prefix,
|
|
16
16
|
.rsui-form-field-text__suffix {
|
|
17
|
-
@apply flex items-center justify-center px-4 select-none bg-transparent;
|
|
17
|
+
@apply flex items-center justify-center px-2 xs:px-4 select-none bg-transparent;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.rsui-form-field-text input[type='date'],
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
.rsui-form-field-text input[type='url'],
|
|
31
31
|
.rsui-form-field-text input[type='week'] {
|
|
32
32
|
@apply flex-1;
|
|
33
|
-
@apply text-base text-text-primary transition py-3 px-4 outline-hidden focus:outline-hidden;
|
|
33
|
+
@apply text-base text-text-primary transition py-3 px-3 xs:px-4 outline-hidden focus:outline-hidden;
|
|
34
34
|
@apply bg-background-primary placeholder-text-secondary;
|
|
35
35
|
@apply disabled:text-text-disabled disabled:bg-background-disabled disabled:border-border-disabled disabled:ring-0;
|
|
36
36
|
}
|
package/components/modal.css
CHANGED
|
@@ -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
|
+
}
|