@asdp/ferryui 0.1.22-dev.8978 → 0.1.22-dev.8990

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/index.d.mts CHANGED
@@ -3312,6 +3312,7 @@ interface FileUploadProps<T extends FieldValues = FieldValues> {
3312
3312
  declare const FileUpload: React$1.ForwardRefExoticComponent<FileUploadProps<react_hook_form.FieldValues> & React$1.RefAttributes<HTMLDivElement>>;
3313
3313
 
3314
3314
  interface BadgeConfig {
3315
+ code: string;
3315
3316
  color: string;
3316
3317
  icon: string;
3317
3318
  }
package/dist/index.d.ts CHANGED
@@ -3312,6 +3312,7 @@ interface FileUploadProps<T extends FieldValues = FieldValues> {
3312
3312
  declare const FileUpload: React$1.ForwardRefExoticComponent<FileUploadProps<react_hook_form.FieldValues> & React$1.RefAttributes<HTMLDivElement>>;
3313
3313
 
3314
3314
  interface BadgeConfig {
3315
+ code: string;
3315
3316
  color: string;
3316
3317
  icon: string;
3317
3318
  }
package/dist/index.js CHANGED
@@ -8898,23 +8898,28 @@ var getBadgeConfig = (ticketClass) => {
8898
8898
  case "EKONOMI":
8899
8899
  case "ECONOMY":
8900
8900
  return {
8901
+ code: "ECONOMY",
8901
8902
  color: "#A74109",
8902
8903
  icon: "/assets/images/class/shield_badge_ekonomi.svg"
8903
8904
  };
8904
8905
  case "BISNIS":
8905
8906
  case "BUSINESS":
8906
8907
  return {
8908
+ code: "BUSINESS",
8907
8909
  color: "#859599",
8908
8910
  icon: "/assets/images/class/ribbon_badge_bisnis.svg"
8909
8911
  };
8910
8912
  case "EKSEKUTIF":
8913
+ case "EKSEKUTIVE":
8911
8914
  case "EXECUTIVE":
8912
8915
  return {
8916
+ code: "EXECUTIVE",
8913
8917
  color: "#C19C00",
8914
8918
  icon: "/assets/images/class/crown_badge_eksekutif.svg"
8915
8919
  };
8916
8920
  default:
8917
8921
  return {
8922
+ code: "",
8918
8923
  color: reactComponents.tokens.colorNeutralBackground3,
8919
8924
  icon: ""
8920
8925
  };