negodesign 0.0.34 → 0.0.35

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.
@@ -18,8 +18,7 @@
18
18
 
19
19
  let {
20
20
  id,
21
- tags,
22
- logo,
21
+ tags = [],
23
22
  title,
24
23
  content,
25
24
  startNumber,
@@ -45,7 +44,7 @@
45
44
  class="border border-gray-300 dark:border-gray-700 bg-gray-100 dark:bg-transparent rounded-lg relative"
46
45
  >
47
46
  <div class="p-5">
48
- <div class="flex justify-between items-center w-full">
47
+ <div class="flex justify-between items-center w-full border-b-2">
49
48
  <div class="w-full flex flex-col justify-center items-center relative">
50
49
  <div>
51
50
  {#if isLoading}
@@ -94,12 +93,12 @@
94
93
  {isLoading}
95
94
  {isDescriptionIcon}
96
95
  {isDescriptionLabel}
97
- lines={tags?.length == 0 ? 3 : 2}
96
+ lines={tags.length == 0 ? 3 : 2}
98
97
  />
99
98
  </div>
100
99
 
101
100
  <CardTags
102
- className="my-4"
101
+ className="mb-2"
103
102
  tags={tags ?? []}
104
103
  {isTagBorderBottom}
105
104
  {isLoading}
@@ -18,8 +18,7 @@
18
18
 
19
19
  let {
20
20
  id,
21
- tags,
22
- logo,
21
+ tags = [],
23
22
  title,
24
23
  content,
25
24
  className,
@@ -92,24 +91,16 @@
92
91
  {isLoading}
93
92
  {isDescriptionLabel}
94
93
  {isDescriptionIcon}
94
+ lines={tags.length == 0 ? 3 : 2}
95
95
  />
96
96
  </div>
97
97
 
98
- {#if tags && tags.length > 0}
99
- <CardTags
100
- className="my-4"
101
- tags={tags ?? []}
102
- {isTagBorderBottom}
103
- {isLoading}
104
- />
105
- {:else}
106
- <CardTags
107
- className="my-4"
108
- tags={[{ text: "- - -" }]}
109
- {isTagBorderBottom}
110
- {isLoading}
111
- />
112
- {/if}
98
+ <CardTags
99
+ className="my-2"
100
+ tags={tags ?? []}
101
+ {isTagBorderBottom}
102
+ {isLoading}
103
+ />
113
104
 
114
105
  <CardThumbnailVideo
115
106
  {imageUrl}
@@ -12,7 +12,7 @@
12
12
  <div class="flex border-t border-gray-300 dark:border-gray-700">
13
13
  {#if onEmailClick}
14
14
  <button
15
- class="flex-1 flex justify-center items-center gap-2 p-3 hover:bg-red-800 hover:text-white cursor-pointer rounded-bl-lg {isFlex
15
+ class="flex-1 flex justify-center items-center gap-2 p-3 hover:bg-red-800 hover:text-white cursor-pointer rounded-bl-lg {!isFlex
16
16
  ? 'rounded-br-lg'
17
17
  : ''}"
18
18
  onclick={() => onEmailClick?.(id)}
@@ -26,7 +26,7 @@
26
26
  {/if}
27
27
  {#if onWhatsappClick}
28
28
  <button
29
- class="flex-1 flex justify-center items-center gap-2 p-3 hover:bg-green-600 hover:text-white cursor-pointer rounded-br-lg {isFlex
29
+ class="flex-1 flex justify-center items-center gap-2 p-3 hover:bg-green-600 hover:text-white cursor-pointer rounded-br-lg {!isFlex
30
30
  ? 'rounded-bl-lg'
31
31
  : ''}"
32
32
  onclick={() => onWhatsappClick?.(id)}
package/dist/globals.css CHANGED
@@ -466,9 +466,6 @@
466
466
  .my-2 {
467
467
  margin-block: calc(var(--spacing) * 2);
468
468
  }
469
- .my-4 {
470
- margin-block: calc(var(--spacing) * 4);
471
- }
472
469
  .my-6 {
473
470
  margin-block: calc(var(--spacing) * 6);
474
471
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "negodesign",
3
- "version": "0.0.34",
3
+ "version": "0.0.35",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "sideEffects": [