@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.
@@ -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
  }
@@ -46,29 +46,60 @@
46
46
  display: none;
47
47
  }
48
48
 
49
- .rsui-modal__content--sm { @apply sm:max-w-sm xs:mx-4 sm:mx-auto; }
50
- .rsui-modal__content--md { @apply sm:max-w-lg sm:mx-auto; }
51
- .rsui-modal__content--lg { @apply sm:max-w-2xl; }
52
- .rsui-modal__content--top { @apply top-0; }
53
- .rsui-modal__content--center { @apply top-1/2 -translate-y-1/2; }
54
- .rsui-modal__content--bottom { @apply bottom-0; }
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-4 bg-border-secondary shrink-0 text-lg font-semibold;
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-4 bg-background-primary relative overflow-scroll overscroll-contain z-0;
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-4 bg-border-secondary shrink-0 flex justify-end items-center space-x-2;
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 { @apply justify-start; }
103
+ .rsui-modal__footer--start {
104
+ @apply justify-start;
105
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redseed/redseed-ui-tailwindcss",
3
- "version": "6.2.0",
3
+ "version": "6.2.2",
4
4
  "description": "RedSeed UI Tailwindcss",
5
5
  "main": "index.js",
6
6
  "style": "index.css",