@ludo.ninja/components 2.1.89 → 2.1.90

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.
@@ -139,7 +139,7 @@ const SearchSuggestions = ({ searchTerm, assets, profiles, collections, isLoadin
139
139
  caption: 'Profiles',
140
140
  children: profiles.map((profile) => ((0, jsx_runtime_1.jsx)(searchSuggestionsItem_1.default, { borderRadius: true, name: profile.getName() || '', link: `${ludoDomains_1.ludoDomains[NEXT_PUBLIC_ENV_VALUE]["profile"]}/${profile.getUserId()}/nfts`, imgUrl: profile.getUserPic({
141
141
  mediaDomain: getMediaENVDomain(),
142
- }), additionalHTML: Boolean(profile.getFollowings()) && ((0, jsx_runtime_1.jsxs)("span", { className: 'additional', children: [profile.getFollowings(), " followers"] })), afterText: (0, jsx_runtime_1.jsx)(Badge_1.default, { color: profile.getReferralTypeColor(), title: profile.getReferralTypeName() }), searchTerm: searchTerm }, profile.getUserId()))),
142
+ }), additionalHTML: Boolean(profile.getFollowings()) && ((0, jsx_runtime_1.jsxs)("span", { className: 'additional', children: [profile.getFollowings(), " followers"] })), afterText: (0, jsx_runtime_1.jsx)(Badge_1.default, { className: 'badge', color: profile.getReferralTypeColor(), title: profile.getReferralTypeName() }), searchTerm: searchTerm }, profile.getUserId()))),
143
143
  },
144
144
  ]
145
145
  : []),
@@ -44,10 +44,16 @@ const StyledSearchSuggestionsItem = styled_components_1.default.div `
44
44
 
45
45
  .text {
46
46
  display: flex;
47
+ align-items: center;
47
48
  gap: 8px;
48
49
 
49
50
  overflow: hidden;
50
51
 
52
+ .badge{
53
+ width: 18px;
54
+ height: 18px;
55
+ }
56
+
51
57
  .strong {
52
58
  font-weight: 600;
53
59
  color: ${colors_1.BlackColor};
@@ -93,6 +99,11 @@ const StyledSearchSuggestionsItem = styled_components_1.default.div `
93
99
  }
94
100
 
95
101
  .text {
102
+ .badge{
103
+ width: ${(0, _4k_1.adaptiveValueCalc)(18)};
104
+ height: ${(0, _4k_1.adaptiveValueCalc)(18)};
105
+ }
106
+
96
107
  .strong {
97
108
  font-size: ${(0, _4k_1.adaptiveValueCalc)(18)};
98
109
  line-height: ${(0, _4k_1.adaptiveValueCalc)(26)};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludo.ninja/components",
3
- "version": "2.1.89",
3
+ "version": "2.1.90",
4
4
  "private": false,
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",