@fairmint/ui 0.2.21 → 0.2.22
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/dist/components/generic/CompanyBanner/CompanyBanner.d.ts.map +1 -1
- package/dist/fairmint-ui.cjs +2 -1
- package/dist/fairmint-ui.cjs.map +1 -1
- package/dist/fairmint-ui.js +2 -1
- package/dist/fairmint-ui.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/utils/avatar.d.ts +14 -0
- package/dist/utils/avatar.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/fairmint-ui.js
CHANGED
|
@@ -38122,7 +38122,6 @@ function getAvatarColor(name) {
|
|
|
38122
38122
|
}
|
|
38123
38123
|
return AVATAR_PALETTE[hash2 % AVATAR_PALETTE.length];
|
|
38124
38124
|
}
|
|
38125
|
-
const BRAND_GRADIENT = `linear-gradient(90deg, ${brandColors.blue} 0%, ${brandColors.indigo} 50%, ${brandColors.purple} 100%)`;
|
|
38126
38125
|
function getInitials(name) {
|
|
38127
38126
|
const words = name.trim().split(/\s+/).filter(Boolean);
|
|
38128
38127
|
if (words.length >= 2) {
|
|
@@ -38133,6 +38132,7 @@ function getInitials(name) {
|
|
|
38133
38132
|
}
|
|
38134
38133
|
return "";
|
|
38135
38134
|
}
|
|
38135
|
+
const BRAND_GRADIENT = `linear-gradient(90deg, ${brandColors.blue} 0%, ${brandColors.indigo} 50%, ${brandColors.purple} 100%)`;
|
|
38136
38136
|
function CompanyBanner({
|
|
38137
38137
|
companyName,
|
|
38138
38138
|
companyLogoUrl,
|
|
@@ -41090,6 +41090,7 @@ export {
|
|
|
41090
41090
|
formatPhoneDisplay,
|
|
41091
41091
|
formatPreciseWithCurrency,
|
|
41092
41092
|
getAvatarColor,
|
|
41093
|
+
getInitials,
|
|
41093
41094
|
getWalletDisplayName,
|
|
41094
41095
|
getWalletKindPill,
|
|
41095
41096
|
getWalletLabel,
|