@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.
@@ -1 +1 @@
1
- {"version":3,"file":"CompanyBanner.d.ts","sourceRoot":"","sources":["../../../../src/components/generic/CompanyBanner/CompanyBanner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAwBvC,MAAM,WAAW,kBAAkB;IACjC,iDAAiD;IACjD,WAAW,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,kFAAkF;IAClF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,qCAAqC;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAAC,EAC5B,WAAW,EACX,cAAc,EACd,KAAK,EACL,MAAM,EACN,UAAe,GAChB,EAAE,kBAAkB,2CA6FpB"}
1
+ {"version":3,"file":"CompanyBanner.d.ts","sourceRoot":"","sources":["../../../../src/components/generic/CompanyBanner/CompanyBanner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAavC,MAAM,WAAW,kBAAkB;IACjC,iDAAiD;IACjD,WAAW,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,kFAAkF;IAClF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,qCAAqC;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAAC,EAC5B,WAAW,EACX,cAAc,EACd,KAAK,EACL,MAAM,EACN,UAAe,GAChB,EAAE,kBAAkB,2CA6FpB"}
@@ -38140,7 +38140,6 @@ function getAvatarColor(name) {
38140
38140
  }
38141
38141
  return AVATAR_PALETTE[hash2 % AVATAR_PALETTE.length];
38142
38142
  }
38143
- const BRAND_GRADIENT = `linear-gradient(90deg, ${brandColors.blue} 0%, ${brandColors.indigo} 50%, ${brandColors.purple} 100%)`;
38144
38143
  function getInitials(name) {
38145
38144
  const words = name.trim().split(/\s+/).filter(Boolean);
38146
38145
  if (words.length >= 2) {
@@ -38151,6 +38150,7 @@ function getInitials(name) {
38151
38150
  }
38152
38151
  return "";
38153
38152
  }
38153
+ const BRAND_GRADIENT = `linear-gradient(90deg, ${brandColors.blue} 0%, ${brandColors.indigo} 50%, ${brandColors.purple} 100%)`;
38154
38154
  function CompanyBanner({
38155
38155
  companyName,
38156
38156
  companyLogoUrl,
@@ -41107,6 +41107,7 @@ exports.formatPhone = formatPhone;
41107
41107
  exports.formatPhoneDisplay = formatPhoneDisplay;
41108
41108
  exports.formatPreciseWithCurrency = formatPreciseWithCurrency;
41109
41109
  exports.getAvatarColor = getAvatarColor;
41110
+ exports.getInitials = getInitials;
41110
41111
  exports.getWalletDisplayName = getWalletDisplayName;
41111
41112
  exports.getWalletKindPill = getWalletKindPill;
41112
41113
  exports.getWalletLabel = getWalletLabel;