@redseed/redseed-ui-vue3 2.17.3 → 2.17.5

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redseed/redseed-ui-vue3",
3
- "version": "2.17.3",
3
+ "version": "2.17.5",
4
4
  "description": "RedSeed UI Vue 3 components",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -115,30 +115,30 @@ function onClick() {
115
115
  &__content {
116
116
  @apply min-h-14 p-3 flex-1 relative;
117
117
  &-top {
118
- @apply flex items-center;
119
- &--action {
120
- @apply items-center;
121
- }
122
- &--no-avatar {
123
- @apply justify-between;
124
- }
118
+ @apply flex items-center;
119
+ &--action {
120
+ @apply items-center;
121
+ }
122
+ &--no-avatar {
123
+ @apply justify-between;
124
+ }
125
+ }
126
+ }
127
+ &__avatar {
128
+ @apply size-12 mr-3; // Added margin-right
129
+ }
130
+ &__title-wrapper {
131
+ @apply flex-1 flex justify-between items-center;
132
+ }
133
+ &__title {
134
+ @apply max-h-12 text-lg font-semibold leading-6 line-clamp-2;
135
+ }
136
+ &__title-status {
137
+ @apply ml-2 flex-shrink-0 self-start flex items-center;
138
+ }
139
+ &__title-action {
140
+ @apply pointer-events-auto ml-3; // Added margin-left
125
141
  }
126
- }
127
- &__avatar {
128
- @apply size-12 mr-3; // Added margin-right
129
- }
130
- &__title-wrapper {
131
- @apply flex-1 flex justify-between items-center;
132
- }
133
- &__title {
134
- @apply max-h-12 text-lg font-semibold leading-6 line-clamp-2;
135
- }
136
- &__title-status {
137
- @apply ml-2 flex-shrink-0;
138
- }
139
- &__title-action {
140
- @apply pointer-events-auto ml-3; // Added margin-left
141
- }
142
142
  &__meta {
143
143
  @apply grid grid-cols-1 sm:grid-cols-2 gap-x-6 gap-y-2 mt-4;
144
144
  }
@@ -9,12 +9,15 @@ defineOptions({
9
9
 
10
10
  const model = defineModel()
11
11
 
12
- const checked = ref(model.value || false)
12
+ const checked = ref(false)
13
+
14
+ checked.value = model.value
13
15
 
14
16
  const emit = defineEmits(['input'])
15
17
 
16
18
  function check(event) {
17
19
  checked.value = !checked.value
20
+ model.value = checked.value
18
21
  emit('input', event)
19
22
  }
20
23
  </script>