@bfrs/agentic-components 0.1.2 → 0.1.3

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.
@@ -1106,6 +1106,12 @@ Branded full-screen loading screen. Use during auth redirects and account setup.
1106
1106
 
1107
1107
  Rich business identity card with centered profile identity, metadata chips, and compact label-value details. Uses the standard card surface (faded green-grey gradient stroke, white gradient background, green-glow shadow) and the Figma-derived green header wash.
1108
1108
 
1109
+ Built-in loading behavior:
1110
+ - `businessName=""` renders a shimmer placeholder in the name slot.
1111
+ - Missing or empty `initials` renders a shimmer avatar circle when no `logoSrc` is provided.
1112
+ - `sections={[]}` renders six shimmer detail rows.
1113
+ - `value: undefined` renders the label and separator with a shimmer placeholder for that value.
1114
+
1109
1115
  ```tsx
1110
1116
  <BusinessInfoDisplayCard
1111
1117
  businessName="Deeksha Gahlot"
@@ -1122,6 +1128,22 @@ Rich business identity card with centered profile identity, metadata chips, and
1122
1128
  },
1123
1129
  ]}
1124
1130
  />
1131
+
1132
+ <BusinessInfoDisplayCard businessName="" sections={[]} />
1133
+
1134
+ <BusinessInfoDisplayCard
1135
+ businessName="Deedoodle"
1136
+ initials="DD"
1137
+ sections={[
1138
+ {
1139
+ title: "Account Details",
1140
+ items: [
1141
+ { label: "Phone", value: "9876543210" },
1142
+ { label: "GST Number", value: undefined },
1143
+ ],
1144
+ },
1145
+ ]}
1146
+ />
1125
1147
  ```
1126
1148
 
1127
1149
  | Prop | Type | Default |
@@ -1140,7 +1162,7 @@ Rich business identity card with centered profile identity, metadata chips, and
1140
1162
 
1141
1163
  `BusinessInfoSection`:
1142
1164
  ```ts
1143
- { title?: ReactNode; items: { label: ReactNode; value: ReactNode }[] }
1165
+ { title?: ReactNode; items: { label: ReactNode; value?: ReactNode }[] }
1144
1166
  ```
1145
1167
 
1146
1168
  ---
@@ -5,7 +5,7 @@ export type BusinessInfoChip = {
5
5
  };
6
6
  export type BusinessInfoItem = {
7
7
  label: ReactNode;
8
- value: ReactNode;
8
+ value?: ReactNode;
9
9
  };
10
10
  export type BusinessInfoSection = {
11
11
  title?: ReactNode;