@redseed/redseed-ui-tailwindcss 7.19.0 → 7.20.0

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
+ }
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.0",
4
4
  "description": "RedSeed UI Tailwindcss",
5
5
  "main": "index.js",
6
6
  "style": "index.css",