@redseed/redseed-ui-tailwindcss 7.18.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
+ }
@@ -74,6 +74,9 @@
74
74
  @apply flex flex-nowrap items-center justify-between cursor-pointer px-4 py-3 rounded-lg;
75
75
  @apply bg-background-primary hover:bg-background-secondary text-text-primary transition;
76
76
  }
77
+ .rsui-form-field-combobox__option--highlighted {
78
+ @apply bg-background-secondary;
79
+ }
77
80
  .rsui-form-field-combobox__option--disabled {
78
81
  @apply opacity-50 hover:bg-background-primary cursor-auto;
79
82
  }
@@ -40,6 +40,9 @@
40
40
  .rsui-form-field-select__option--disabled {
41
41
  @apply opacity-50 hover:bg-background-primary cursor-auto;
42
42
  }
43
+ .rsui-form-field-select__option--highlighted {
44
+ @apply bg-background-secondary;
45
+ }
43
46
  .rsui-form-field-select__option-label {
44
47
  @apply text-base truncate;
45
48
  }
@@ -61,6 +64,7 @@
61
64
  @apply size-6 transform transition-transform;
62
65
  }
63
66
 
67
+ .rsui-form-field-select__trigger,
64
68
  .rsui-form-field-select select {
65
69
  @apply block w-full border ring-0 bg-none cursor-pointer appearance-none transition;
66
70
  @apply py-3 pl-5 pr-14 truncate;
@@ -70,6 +74,10 @@
70
74
  @apply invalid:border-border-error invalid:ring-0;
71
75
  @apply disabled:text-text-disabled disabled:bg-background-disabled disabled:border-border-disabled disabled:ring-0 disabled:cursor-default;
72
76
  }
77
+ .rsui-form-field-select__trigger {
78
+ @apply text-left;
79
+ @apply focus-visible:ring-offset-2 focus-visible:ring-2 focus-visible:ring-border-primary;
80
+ }
73
81
 
74
82
  .rsui-form-field-select option {
75
83
  @apply hidden;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redseed/redseed-ui-tailwindcss",
3
- "version": "7.18.0",
3
+ "version": "7.20.0",
4
4
  "description": "RedSeed UI Tailwindcss",
5
5
  "main": "index.js",
6
6
  "style": "index.css",