@redseed/redseed-ui-tailwindcss 7.29.7 → 7.30.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.
@@ -72,8 +72,10 @@
72
72
  @apply absolute inset-0 size-full pointer-events-none rounded-xl border-border-secondary;
73
73
  }
74
74
 
75
- /* Prevent table row hover background from bleeding past card rounded corners */
76
- .rsui-card:has(.rsui-table) {
75
+ /* Prevent table row hover background from bleeding past card rounded corners.
76
+ Opt out while a dropdown menu is open inside the card — otherwise the menu
77
+ gets clipped by the card's overflow boundary. */
78
+ .rsui-card:has(.rsui-table):not(:has(.rsui-dropdown-menu__container--open)) {
77
79
  @apply overflow-x-hidden;
78
80
  }
79
81
 
@@ -0,0 +1,31 @@
1
+ .rsui-column-picker__count {
2
+ @apply inline-flex items-center px-1.5 ml-1 text-xs rounded-md bg-background-disabled text-text-secondary;
3
+ }
4
+
5
+ .rsui-column-picker__list {
6
+ @apply flex flex-col p-1 min-w-44;
7
+ }
8
+
9
+ .rsui-column-picker__item {
10
+ @apply flex items-center gap-2.5 px-2 py-1.5 rounded-md cursor-pointer text-sm text-text-primary;
11
+ @apply hover:bg-background-secondary;
12
+ @apply focus-visible:bg-background-secondary focus-visible:outline-none;
13
+ }
14
+
15
+ .rsui-column-picker__check {
16
+ @apply shrink-0 flex items-center justify-center;
17
+ @apply w-4 h-4 rounded border border-border-primary bg-background-primary;
18
+ @apply transition-colors;
19
+ }
20
+
21
+ .rsui-column-picker__check svg {
22
+ @apply w-3 h-3 stroke-[3] text-text-primary;
23
+ }
24
+
25
+ .rsui-column-picker__check--on {
26
+ @apply border-text-primary;
27
+ }
28
+
29
+ .rsui-column-picker__label {
30
+ @apply leading-none;
31
+ }
@@ -0,0 +1,93 @@
1
+ .rsui-drawer {
2
+ @apply fixed inset-0 z-50;
3
+ }
4
+
5
+ .rsui-drawer__background-wrapper {
6
+ @apply fixed inset-0 transition-all backdrop-blur-xs bg-text-primary/70;
7
+ }
8
+
9
+ .rsui-drawer__background {
10
+ @apply absolute inset-0 bg-transparent opacity-100;
11
+ }
12
+
13
+ .rsui-drawer__panel {
14
+ @apply fixed top-0 bottom-0 right-0 z-1 flex flex-col w-full;
15
+ @apply bg-background-primary shadow-full;
16
+ height: 100dvh;
17
+ }
18
+
19
+ .rsui-drawer__panel--entering {
20
+ transition: transform 250ms ease-out;
21
+ }
22
+
23
+ .rsui-drawer__panel--leaving {
24
+ transition: transform 180ms ease-in;
25
+ }
26
+
27
+ .rsui-drawer__panel--off-screen-right {
28
+ transform: translateX(100%);
29
+ }
30
+
31
+ .rsui-drawer__panel--off-screen-left {
32
+ transform: translateX(-100%);
33
+ }
34
+
35
+ .rsui-drawer__close-icon {
36
+ @apply absolute top-3 right-3 z-2 size-10 cursor-pointer rounded-lg flex items-center justify-center;
37
+ @apply text-text-secondary hover:text-text-primary hover:bg-border-secondary transition duration-200;
38
+ }
39
+
40
+ .rsui-drawer__panel--left {
41
+ @apply right-auto left-0;
42
+ }
43
+
44
+ .rsui-drawer__panel--sm {
45
+ @apply sm:max-w-sm;
46
+ }
47
+
48
+ .rsui-drawer__panel--md {
49
+ @apply sm:max-w-md;
50
+ }
51
+
52
+ .rsui-drawer__panel--lg {
53
+ @apply sm:max-w-lg;
54
+ }
55
+
56
+ .rsui-drawer__header {
57
+ @apply shrink-0 p-0 bg-background-secondary text-lg font-semibold;
58
+ padding-top: max(0rem, env(safe-area-inset-top));
59
+ }
60
+
61
+ .rsui-drawer__header--padded {
62
+ @apply p-4;
63
+ padding-top: max(1rem, env(safe-area-inset-top));
64
+ }
65
+
66
+ .rsui-drawer__body {
67
+ @apply flex-1 min-h-0 overflow-y-auto p-0 bg-background-primary relative;
68
+ -ms-overflow-style: none;
69
+ scrollbar-width: none;
70
+ }
71
+
72
+ .rsui-drawer__body--padded {
73
+ @apply p-4;
74
+ }
75
+
76
+ .rsui-drawer__body::-webkit-scrollbar {
77
+ display: none;
78
+ }
79
+
80
+ .rsui-drawer__footer {
81
+ @apply shrink-0 p-0 bg-background-secondary flex flex-col items-stretch gap-y-2;
82
+ @apply sm:flex-row sm:items-center sm:justify-end sm:gap-x-2 sm:gap-y-0;
83
+ padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
84
+ }
85
+
86
+ .rsui-drawer__footer--padded {
87
+ @apply p-4;
88
+ padding-bottom: max(1rem, env(safe-area-inset-bottom));
89
+ }
90
+
91
+ .rsui-drawer__footer > .rsui-button-slot {
92
+ @apply w-full sm:w-fit;
93
+ }
package/components.css CHANGED
@@ -21,9 +21,11 @@ Please be careful when adding new components and updating the order.
21
21
  @import './components/card.css';
22
22
  @import './components/card_header.css';
23
23
  @import './components/checkbox_card.css';
24
+ @import './components/column_picker.css';
24
25
  @import './components/comments.css';
25
26
  @import './components/comment.css';
26
27
  @import './components/disclosure.css';
28
+ @import './components/drawer.css';
27
29
  @import './components/dropdown_menu.css';
28
30
  @import './components/dropdown_option.css';
29
31
  @import './components/empty.css';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redseed/redseed-ui-tailwindcss",
3
- "version": "7.29.7",
3
+ "version": "7.30.1",
4
4
  "description": "RedSeed UI Tailwindcss",
5
5
  "main": "index.js",
6
6
  "style": "index.css",