@redseed/redseed-ui-tailwindcss 7.19.0 → 7.20.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.
@@ -48,3 +48,36 @@
48
48
  .rsui-card-group--list .rsui-card-group__cards {
49
49
  @apply grid-cols-1;
50
50
  }
51
+
52
+ /* Reorderable: drag handle and drag states */
53
+ .rsui-card-group__drag-handle {
54
+ @apply absolute right-2 p-1 rounded cursor-grab text-grey-400 hover:text-grey-600 transition-colors z-10;
55
+ }
56
+
57
+ .rsui-card-group__drag-handle--top {
58
+ @apply top-2;
59
+ }
60
+
61
+ .rsui-card-group__drag-handle--center {
62
+ @apply top-1/2 -translate-y-1/2;
63
+ }
64
+
65
+ .rsui-card-group__drag-handle--bottom {
66
+ @apply bottom-2;
67
+ }
68
+
69
+ .rsui-card-group__drag-handle:active {
70
+ @apply cursor-grabbing;
71
+ }
72
+
73
+ .rsui-card-group__drag-handle-icon {
74
+ @apply block;
75
+ }
76
+
77
+ .rsui-card-group__card--dragging {
78
+ @apply opacity-50;
79
+ }
80
+
81
+ .rsui-card-group__card--drag-over {
82
+ @apply ring-2 ring-brand-500 ring-offset-2 rounded-xl;
83
+ }
@@ -65,7 +65,7 @@
65
65
  }
66
66
 
67
67
  .rsui-form-field-select__trigger,
68
- .rsui-form-field-select select {
68
+ .rsui-form-field-select--mobile select {
69
69
  @apply block w-full border ring-0 bg-none cursor-pointer appearance-none transition;
70
70
  @apply py-3 pl-5 pr-14 truncate;
71
71
  @apply text-base rounded-lg outline-hidden focus:outline-hidden;
@@ -79,8 +79,12 @@
79
79
  @apply focus-visible:ring-offset-2 focus-visible:ring-2 focus-visible:ring-border-primary;
80
80
  }
81
81
 
82
- .rsui-form-field-select option {
83
- @apply hidden;
82
+ .rsui-form-field-select select {
83
+ @apply sr-only;
84
+ }
85
+
86
+ .rsui-form-field-select--mobile select {
87
+ @apply not-sr-only;
84
88
  }
85
89
 
86
90
  .rsui-form-field-select--mobile option {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redseed/redseed-ui-tailwindcss",
3
- "version": "7.19.0",
3
+ "version": "7.20.1",
4
4
  "description": "RedSeed UI Tailwindcss",
5
5
  "main": "index.js",
6
6
  "style": "index.css",