@appgram/react 0.1.1 → 0.1.4
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/{useVote-CLhkwtLT.d.mts → StatusBoard-DZWI3zGJ.d.mts} +126 -1
- package/dist/{useVote-CLhkwtLT.d.ts → StatusBoard-DZWI3zGJ.d.ts} +126 -1
- package/dist/{chunk-N6PJDQCU.mjs → chunk-NABMGLTY.mjs} +210 -6
- package/dist/chunk-NABMGLTY.mjs.map +1 -0
- package/dist/chunk-NSV6Q6QQ.js +202 -0
- package/dist/chunk-NSV6Q6QQ.js.map +1 -0
- package/dist/chunk-ONZ7RQBM.mjs +199 -0
- package/dist/chunk-ONZ7RQBM.mjs.map +1 -0
- package/dist/{chunk-75P634IK.js → chunk-UPTP7QX5.js} +213 -5
- package/dist/chunk-UPTP7QX5.js.map +1 -0
- package/dist/{chunk-AIDLOCVJ.mjs → chunk-UWIJR4ZY.mjs} +760 -15
- package/dist/chunk-UWIJR4ZY.mjs.map +1 -0
- package/dist/{chunk-3UBJGXCO.js → chunk-WZIN7KEM.js} +820 -74
- package/dist/chunk-WZIN7KEM.js.map +1 -0
- package/dist/components/index.d.mts +68 -106
- package/dist/components/index.d.ts +68 -106
- package/dist/components/index.js +29 -21
- package/dist/components/index.mjs +2 -2
- package/dist/hooks/index.d.mts +3 -572
- package/dist/hooks/index.d.ts +3 -572
- package/dist/hooks/index.js +33 -13
- package/dist/hooks/index.mjs +2 -2
- package/dist/index-C_IqzaBU.d.mts +917 -0
- package/dist/index-h4Nbq4LC.d.ts +917 -0
- package/dist/index.d.mts +32 -5
- package/dist/index.d.ts +32 -5
- package/dist/index.js +124 -76
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +61 -41
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-3UBJGXCO.js.map +0 -1
- package/dist/chunk-75P634IK.js.map +0 -1
- package/dist/chunk-AIDLOCVJ.mjs.map +0 -1
- package/dist/chunk-KPIKYXAN.mjs +0 -47
- package/dist/chunk-KPIKYXAN.mjs.map +0 -1
- package/dist/chunk-N6PJDQCU.mjs.map +0 -1
- package/dist/chunk-ZJZ3A2S3.js +0 -49
- package/dist/chunk-ZJZ3A2S3.js.map +0 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { U as UseVoteOptions, b as Wish, W as WishFilters, c as Comment,
|
|
2
|
+
import { U as UseVoteOptions, b as Wish, W as WishFilters, c as Comment, s as RoadmapColumn$1, t as RoadmapItem, d as Release, f as HelpFlow, g as HelpArticle, h as SupportRequest, z as StatusIncident } from '../StatusBoard-DZWI3zGJ.mjs';
|
|
3
|
+
export { l as ComponentStatus, I as IncidentImpact, o as IncidentStatus, p as IncidentUpdate, O as OverallStatus, v as StatusBoard, w as StatusBoardProps, x as StatusComponent, y as StatusData } from '../StatusBoard-DZWI3zGJ.mjs';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* VoteButton Component
|
|
@@ -1127,157 +1128,118 @@ interface SupportFormProps {
|
|
|
1127
1128
|
declare function SupportForm({ heading, description, headingAlignment, submitTitle, submitDescription, checkTitle, checkDescription, onSubmitSuccess, onSubmitError, onCheckStatus, onTicketClick, showCategory, showName, showCheckStatus, showAttachments, submitButtonText, accessToken, className, }: SupportFormProps): React.ReactElement;
|
|
1128
1129
|
|
|
1129
1130
|
/**
|
|
1130
|
-
*
|
|
1131
|
-
*
|
|
1132
|
-
* Modern system status page with service health indicators and incident tracking.
|
|
1133
|
-
* Adapted from StatusModern variant.
|
|
1134
|
-
*
|
|
1135
|
-
* @example
|
|
1136
|
-
* ```tsx
|
|
1137
|
-
* import { StatusBoard } from '@appgram/react'
|
|
1138
|
-
*
|
|
1139
|
-
* <StatusBoard
|
|
1140
|
-
* heading="System Status"
|
|
1141
|
-
* description="Current operational status of all services"
|
|
1142
|
-
* status={statusData}
|
|
1143
|
-
* onIncidentClick={(incident) => openIncidentDetail(incident.id)}
|
|
1144
|
-
* />
|
|
1145
|
-
* ```
|
|
1131
|
+
* StatusIncidentDetail Component
|
|
1146
1132
|
*
|
|
1147
|
-
*
|
|
1148
|
-
* ```tsx
|
|
1149
|
-
* // With custom component rendering
|
|
1150
|
-
* <StatusBoard
|
|
1151
|
-
* status={statusData}
|
|
1152
|
-
* renderComponent={(component) => (
|
|
1153
|
-
* <div className="custom-card">
|
|
1154
|
-
* <Icon name={component.status} />
|
|
1155
|
-
* <span>{component.name}</span>
|
|
1156
|
-
* </div>
|
|
1157
|
-
* )}
|
|
1158
|
-
* />
|
|
1159
|
-
* ```
|
|
1133
|
+
* Displays a single incident's full details with timeline of updates.
|
|
1160
1134
|
*/
|
|
1161
1135
|
|
|
1162
|
-
|
|
1163
|
-
type ComponentStatus = 'operational' | 'degraded' | 'partial_outage' | 'major_outage';
|
|
1164
|
-
type IncidentStatus = 'investigating' | 'identified' | 'monitoring' | 'resolved';
|
|
1165
|
-
type IncidentImpact = 'minor' | 'major' | 'critical';
|
|
1166
|
-
interface StatusComponent {
|
|
1167
|
-
id: string;
|
|
1168
|
-
name: string;
|
|
1169
|
-
description?: string;
|
|
1170
|
-
status: ComponentStatus;
|
|
1171
|
-
group?: string;
|
|
1172
|
-
}
|
|
1173
|
-
interface IncidentUpdate {
|
|
1174
|
-
id: string;
|
|
1175
|
-
message: string;
|
|
1176
|
-
status: IncidentStatus;
|
|
1177
|
-
created_at: string;
|
|
1178
|
-
}
|
|
1179
|
-
interface StatusIncident {
|
|
1180
|
-
id: string;
|
|
1181
|
-
title: string;
|
|
1182
|
-
status: IncidentStatus;
|
|
1183
|
-
impact: IncidentImpact;
|
|
1184
|
-
created_at: string;
|
|
1185
|
-
resolved_at?: string | null;
|
|
1186
|
-
updates: IncidentUpdate[];
|
|
1187
|
-
affected_components?: string[];
|
|
1188
|
-
}
|
|
1189
|
-
interface StatusData {
|
|
1190
|
-
overall_status: OverallStatus;
|
|
1191
|
-
components: StatusComponent[];
|
|
1192
|
-
incidents: StatusIncident[];
|
|
1193
|
-
last_updated?: string;
|
|
1194
|
-
}
|
|
1195
|
-
interface StatusBoardProps {
|
|
1136
|
+
interface StatusIncidentDetailProps {
|
|
1196
1137
|
/**
|
|
1197
|
-
*
|
|
1138
|
+
* The incident to display
|
|
1198
1139
|
*/
|
|
1199
|
-
|
|
1140
|
+
incident: StatusIncident;
|
|
1200
1141
|
/**
|
|
1201
|
-
*
|
|
1142
|
+
* Back button click handler
|
|
1202
1143
|
*/
|
|
1203
|
-
|
|
1144
|
+
onBack?: () => void;
|
|
1204
1145
|
/**
|
|
1205
|
-
*
|
|
1146
|
+
* Show back button
|
|
1147
|
+
* @default true
|
|
1206
1148
|
*/
|
|
1207
|
-
|
|
1149
|
+
showBackButton?: boolean;
|
|
1208
1150
|
/**
|
|
1209
|
-
*
|
|
1210
|
-
* @default
|
|
1151
|
+
* Show affected components
|
|
1152
|
+
* @default true
|
|
1211
1153
|
*/
|
|
1212
|
-
|
|
1154
|
+
showAffectedComponents?: boolean;
|
|
1213
1155
|
/**
|
|
1214
|
-
*
|
|
1215
|
-
* @default true
|
|
1156
|
+
* Custom class name
|
|
1216
1157
|
*/
|
|
1217
|
-
|
|
1158
|
+
className?: string;
|
|
1159
|
+
}
|
|
1160
|
+
declare function StatusIncidentDetail({ incident, onBack, showBackButton, showAffectedComponents, className, }: StatusIncidentDetailProps): React.ReactElement;
|
|
1161
|
+
|
|
1162
|
+
/**
|
|
1163
|
+
* SurveyRenderer Component
|
|
1164
|
+
*
|
|
1165
|
+
* Renders survey questions step-by-step with branching logic.
|
|
1166
|
+
* Supports all 6 question types: yes_no, short_answer, paragraph,
|
|
1167
|
+
* multiple_choice, checkboxes, rating.
|
|
1168
|
+
*/
|
|
1169
|
+
|
|
1170
|
+
interface SurveyRendererProps {
|
|
1218
1171
|
/**
|
|
1219
|
-
*
|
|
1220
|
-
* @default true
|
|
1172
|
+
* Survey slug to load
|
|
1221
1173
|
*/
|
|
1222
|
-
|
|
1174
|
+
slug: string;
|
|
1223
1175
|
/**
|
|
1224
|
-
*
|
|
1225
|
-
* @default 5
|
|
1176
|
+
* Optional title override
|
|
1226
1177
|
*/
|
|
1227
|
-
|
|
1178
|
+
title?: string;
|
|
1228
1179
|
/**
|
|
1229
|
-
*
|
|
1180
|
+
* Optional description override
|
|
1230
1181
|
*/
|
|
1231
|
-
|
|
1182
|
+
description?: string;
|
|
1232
1183
|
/**
|
|
1233
|
-
*
|
|
1184
|
+
* Called when the survey is submitted successfully
|
|
1234
1185
|
*/
|
|
1235
|
-
|
|
1186
|
+
onComplete?: () => void;
|
|
1236
1187
|
/**
|
|
1237
|
-
*
|
|
1188
|
+
* Called on submission error
|
|
1238
1189
|
*/
|
|
1239
|
-
|
|
1190
|
+
onError?: (error: string) => void;
|
|
1240
1191
|
/**
|
|
1241
|
-
*
|
|
1192
|
+
* External user ID to attach to the response
|
|
1242
1193
|
*/
|
|
1243
|
-
|
|
1194
|
+
externalUserId?: string;
|
|
1195
|
+
/**
|
|
1196
|
+
* Additional metadata to attach to the response
|
|
1197
|
+
*/
|
|
1198
|
+
metadata?: Record<string, unknown>;
|
|
1244
1199
|
/**
|
|
1245
1200
|
* Custom class name
|
|
1246
1201
|
*/
|
|
1247
1202
|
className?: string;
|
|
1248
1203
|
}
|
|
1249
|
-
declare function
|
|
1204
|
+
declare function SurveyRenderer({ slug, title, description, onComplete, onError, externalUserId, metadata, className, }: SurveyRendererProps): React.ReactElement;
|
|
1250
1205
|
|
|
1251
1206
|
/**
|
|
1252
|
-
*
|
|
1207
|
+
* ContactFormRenderer Component
|
|
1253
1208
|
*
|
|
1254
|
-
*
|
|
1209
|
+
* Renders a contact form based on its field configuration.
|
|
1210
|
+
* Supports: text, email, textarea, select, radio, checkbox fields with validation.
|
|
1255
1211
|
*/
|
|
1256
1212
|
|
|
1257
|
-
interface
|
|
1213
|
+
interface ContactFormRendererProps {
|
|
1258
1214
|
/**
|
|
1259
|
-
*
|
|
1215
|
+
* Form ID to load
|
|
1260
1216
|
*/
|
|
1261
|
-
|
|
1217
|
+
formId: string;
|
|
1262
1218
|
/**
|
|
1263
|
-
*
|
|
1219
|
+
* Project ID for submission
|
|
1264
1220
|
*/
|
|
1265
|
-
|
|
1221
|
+
projectId: string;
|
|
1266
1222
|
/**
|
|
1267
|
-
*
|
|
1268
|
-
* @default true
|
|
1223
|
+
* Optional title override
|
|
1269
1224
|
*/
|
|
1270
|
-
|
|
1225
|
+
title?: string;
|
|
1271
1226
|
/**
|
|
1272
|
-
*
|
|
1273
|
-
* @default true
|
|
1227
|
+
* Optional description override
|
|
1274
1228
|
*/
|
|
1275
|
-
|
|
1229
|
+
description?: string;
|
|
1230
|
+
/**
|
|
1231
|
+
* Called when the form is submitted successfully
|
|
1232
|
+
*/
|
|
1233
|
+
onSuccess?: () => void;
|
|
1234
|
+
/**
|
|
1235
|
+
* Called on submission error
|
|
1236
|
+
*/
|
|
1237
|
+
onError?: (error: string) => void;
|
|
1276
1238
|
/**
|
|
1277
1239
|
* Custom class name
|
|
1278
1240
|
*/
|
|
1279
1241
|
className?: string;
|
|
1280
1242
|
}
|
|
1281
|
-
declare function
|
|
1243
|
+
declare function ContactFormRenderer({ formId, projectId, title, description, onSuccess, onError, className, }: ContactFormRendererProps): React.ReactElement;
|
|
1282
1244
|
|
|
1283
|
-
export { type
|
|
1245
|
+
export { ContactFormRenderer, type ContactFormRendererProps, HelpArticleDetail, type HelpArticleDetailProps, HelpArticles, type HelpArticlesProps, HelpCenter, type HelpCenterProps, HelpCollections, type HelpCollectionsProps, type QuickAction, ReleaseCard, type ReleaseCardProps, ReleaseDetail, type ReleaseDetailProps, ReleaseList, type ReleaseListProps, Releases, type ReleasesProps, RoadmapBoard, type RoadmapBoardProps, RoadmapColumn, type RoadmapColumnProps, StatusIncident, StatusIncidentDetail, type StatusIncidentDetailProps, SubmitWishForm, type SubmitWishFormProps, SupportForm, type SupportFormProps, SurveyRenderer, type SurveyRendererProps, VoteButton, type VoteButtonProps, WhatsNewPopup, type WhatsNewPopupProps, WishCard, type WishCardProps, WishDetail, type WishDetailProps, WishList, type WishListProps };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { U as UseVoteOptions, b as Wish, W as WishFilters, c as Comment,
|
|
2
|
+
import { U as UseVoteOptions, b as Wish, W as WishFilters, c as Comment, s as RoadmapColumn$1, t as RoadmapItem, d as Release, f as HelpFlow, g as HelpArticle, h as SupportRequest, z as StatusIncident } from '../StatusBoard-DZWI3zGJ.js';
|
|
3
|
+
export { l as ComponentStatus, I as IncidentImpact, o as IncidentStatus, p as IncidentUpdate, O as OverallStatus, v as StatusBoard, w as StatusBoardProps, x as StatusComponent, y as StatusData } from '../StatusBoard-DZWI3zGJ.js';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* VoteButton Component
|
|
@@ -1127,157 +1128,118 @@ interface SupportFormProps {
|
|
|
1127
1128
|
declare function SupportForm({ heading, description, headingAlignment, submitTitle, submitDescription, checkTitle, checkDescription, onSubmitSuccess, onSubmitError, onCheckStatus, onTicketClick, showCategory, showName, showCheckStatus, showAttachments, submitButtonText, accessToken, className, }: SupportFormProps): React.ReactElement;
|
|
1128
1129
|
|
|
1129
1130
|
/**
|
|
1130
|
-
*
|
|
1131
|
-
*
|
|
1132
|
-
* Modern system status page with service health indicators and incident tracking.
|
|
1133
|
-
* Adapted from StatusModern variant.
|
|
1134
|
-
*
|
|
1135
|
-
* @example
|
|
1136
|
-
* ```tsx
|
|
1137
|
-
* import { StatusBoard } from '@appgram/react'
|
|
1138
|
-
*
|
|
1139
|
-
* <StatusBoard
|
|
1140
|
-
* heading="System Status"
|
|
1141
|
-
* description="Current operational status of all services"
|
|
1142
|
-
* status={statusData}
|
|
1143
|
-
* onIncidentClick={(incident) => openIncidentDetail(incident.id)}
|
|
1144
|
-
* />
|
|
1145
|
-
* ```
|
|
1131
|
+
* StatusIncidentDetail Component
|
|
1146
1132
|
*
|
|
1147
|
-
*
|
|
1148
|
-
* ```tsx
|
|
1149
|
-
* // With custom component rendering
|
|
1150
|
-
* <StatusBoard
|
|
1151
|
-
* status={statusData}
|
|
1152
|
-
* renderComponent={(component) => (
|
|
1153
|
-
* <div className="custom-card">
|
|
1154
|
-
* <Icon name={component.status} />
|
|
1155
|
-
* <span>{component.name}</span>
|
|
1156
|
-
* </div>
|
|
1157
|
-
* )}
|
|
1158
|
-
* />
|
|
1159
|
-
* ```
|
|
1133
|
+
* Displays a single incident's full details with timeline of updates.
|
|
1160
1134
|
*/
|
|
1161
1135
|
|
|
1162
|
-
|
|
1163
|
-
type ComponentStatus = 'operational' | 'degraded' | 'partial_outage' | 'major_outage';
|
|
1164
|
-
type IncidentStatus = 'investigating' | 'identified' | 'monitoring' | 'resolved';
|
|
1165
|
-
type IncidentImpact = 'minor' | 'major' | 'critical';
|
|
1166
|
-
interface StatusComponent {
|
|
1167
|
-
id: string;
|
|
1168
|
-
name: string;
|
|
1169
|
-
description?: string;
|
|
1170
|
-
status: ComponentStatus;
|
|
1171
|
-
group?: string;
|
|
1172
|
-
}
|
|
1173
|
-
interface IncidentUpdate {
|
|
1174
|
-
id: string;
|
|
1175
|
-
message: string;
|
|
1176
|
-
status: IncidentStatus;
|
|
1177
|
-
created_at: string;
|
|
1178
|
-
}
|
|
1179
|
-
interface StatusIncident {
|
|
1180
|
-
id: string;
|
|
1181
|
-
title: string;
|
|
1182
|
-
status: IncidentStatus;
|
|
1183
|
-
impact: IncidentImpact;
|
|
1184
|
-
created_at: string;
|
|
1185
|
-
resolved_at?: string | null;
|
|
1186
|
-
updates: IncidentUpdate[];
|
|
1187
|
-
affected_components?: string[];
|
|
1188
|
-
}
|
|
1189
|
-
interface StatusData {
|
|
1190
|
-
overall_status: OverallStatus;
|
|
1191
|
-
components: StatusComponent[];
|
|
1192
|
-
incidents: StatusIncident[];
|
|
1193
|
-
last_updated?: string;
|
|
1194
|
-
}
|
|
1195
|
-
interface StatusBoardProps {
|
|
1136
|
+
interface StatusIncidentDetailProps {
|
|
1196
1137
|
/**
|
|
1197
|
-
*
|
|
1138
|
+
* The incident to display
|
|
1198
1139
|
*/
|
|
1199
|
-
|
|
1140
|
+
incident: StatusIncident;
|
|
1200
1141
|
/**
|
|
1201
|
-
*
|
|
1142
|
+
* Back button click handler
|
|
1202
1143
|
*/
|
|
1203
|
-
|
|
1144
|
+
onBack?: () => void;
|
|
1204
1145
|
/**
|
|
1205
|
-
*
|
|
1146
|
+
* Show back button
|
|
1147
|
+
* @default true
|
|
1206
1148
|
*/
|
|
1207
|
-
|
|
1149
|
+
showBackButton?: boolean;
|
|
1208
1150
|
/**
|
|
1209
|
-
*
|
|
1210
|
-
* @default
|
|
1151
|
+
* Show affected components
|
|
1152
|
+
* @default true
|
|
1211
1153
|
*/
|
|
1212
|
-
|
|
1154
|
+
showAffectedComponents?: boolean;
|
|
1213
1155
|
/**
|
|
1214
|
-
*
|
|
1215
|
-
* @default true
|
|
1156
|
+
* Custom class name
|
|
1216
1157
|
*/
|
|
1217
|
-
|
|
1158
|
+
className?: string;
|
|
1159
|
+
}
|
|
1160
|
+
declare function StatusIncidentDetail({ incident, onBack, showBackButton, showAffectedComponents, className, }: StatusIncidentDetailProps): React.ReactElement;
|
|
1161
|
+
|
|
1162
|
+
/**
|
|
1163
|
+
* SurveyRenderer Component
|
|
1164
|
+
*
|
|
1165
|
+
* Renders survey questions step-by-step with branching logic.
|
|
1166
|
+
* Supports all 6 question types: yes_no, short_answer, paragraph,
|
|
1167
|
+
* multiple_choice, checkboxes, rating.
|
|
1168
|
+
*/
|
|
1169
|
+
|
|
1170
|
+
interface SurveyRendererProps {
|
|
1218
1171
|
/**
|
|
1219
|
-
*
|
|
1220
|
-
* @default true
|
|
1172
|
+
* Survey slug to load
|
|
1221
1173
|
*/
|
|
1222
|
-
|
|
1174
|
+
slug: string;
|
|
1223
1175
|
/**
|
|
1224
|
-
*
|
|
1225
|
-
* @default 5
|
|
1176
|
+
* Optional title override
|
|
1226
1177
|
*/
|
|
1227
|
-
|
|
1178
|
+
title?: string;
|
|
1228
1179
|
/**
|
|
1229
|
-
*
|
|
1180
|
+
* Optional description override
|
|
1230
1181
|
*/
|
|
1231
|
-
|
|
1182
|
+
description?: string;
|
|
1232
1183
|
/**
|
|
1233
|
-
*
|
|
1184
|
+
* Called when the survey is submitted successfully
|
|
1234
1185
|
*/
|
|
1235
|
-
|
|
1186
|
+
onComplete?: () => void;
|
|
1236
1187
|
/**
|
|
1237
|
-
*
|
|
1188
|
+
* Called on submission error
|
|
1238
1189
|
*/
|
|
1239
|
-
|
|
1190
|
+
onError?: (error: string) => void;
|
|
1240
1191
|
/**
|
|
1241
|
-
*
|
|
1192
|
+
* External user ID to attach to the response
|
|
1242
1193
|
*/
|
|
1243
|
-
|
|
1194
|
+
externalUserId?: string;
|
|
1195
|
+
/**
|
|
1196
|
+
* Additional metadata to attach to the response
|
|
1197
|
+
*/
|
|
1198
|
+
metadata?: Record<string, unknown>;
|
|
1244
1199
|
/**
|
|
1245
1200
|
* Custom class name
|
|
1246
1201
|
*/
|
|
1247
1202
|
className?: string;
|
|
1248
1203
|
}
|
|
1249
|
-
declare function
|
|
1204
|
+
declare function SurveyRenderer({ slug, title, description, onComplete, onError, externalUserId, metadata, className, }: SurveyRendererProps): React.ReactElement;
|
|
1250
1205
|
|
|
1251
1206
|
/**
|
|
1252
|
-
*
|
|
1207
|
+
* ContactFormRenderer Component
|
|
1253
1208
|
*
|
|
1254
|
-
*
|
|
1209
|
+
* Renders a contact form based on its field configuration.
|
|
1210
|
+
* Supports: text, email, textarea, select, radio, checkbox fields with validation.
|
|
1255
1211
|
*/
|
|
1256
1212
|
|
|
1257
|
-
interface
|
|
1213
|
+
interface ContactFormRendererProps {
|
|
1258
1214
|
/**
|
|
1259
|
-
*
|
|
1215
|
+
* Form ID to load
|
|
1260
1216
|
*/
|
|
1261
|
-
|
|
1217
|
+
formId: string;
|
|
1262
1218
|
/**
|
|
1263
|
-
*
|
|
1219
|
+
* Project ID for submission
|
|
1264
1220
|
*/
|
|
1265
|
-
|
|
1221
|
+
projectId: string;
|
|
1266
1222
|
/**
|
|
1267
|
-
*
|
|
1268
|
-
* @default true
|
|
1223
|
+
* Optional title override
|
|
1269
1224
|
*/
|
|
1270
|
-
|
|
1225
|
+
title?: string;
|
|
1271
1226
|
/**
|
|
1272
|
-
*
|
|
1273
|
-
* @default true
|
|
1227
|
+
* Optional description override
|
|
1274
1228
|
*/
|
|
1275
|
-
|
|
1229
|
+
description?: string;
|
|
1230
|
+
/**
|
|
1231
|
+
* Called when the form is submitted successfully
|
|
1232
|
+
*/
|
|
1233
|
+
onSuccess?: () => void;
|
|
1234
|
+
/**
|
|
1235
|
+
* Called on submission error
|
|
1236
|
+
*/
|
|
1237
|
+
onError?: (error: string) => void;
|
|
1276
1238
|
/**
|
|
1277
1239
|
* Custom class name
|
|
1278
1240
|
*/
|
|
1279
1241
|
className?: string;
|
|
1280
1242
|
}
|
|
1281
|
-
declare function
|
|
1243
|
+
declare function ContactFormRenderer({ formId, projectId, title, description, onSuccess, onError, className, }: ContactFormRendererProps): React.ReactElement;
|
|
1282
1244
|
|
|
1283
|
-
export { type
|
|
1245
|
+
export { ContactFormRenderer, type ContactFormRendererProps, HelpArticleDetail, type HelpArticleDetailProps, HelpArticles, type HelpArticlesProps, HelpCenter, type HelpCenterProps, HelpCollections, type HelpCollectionsProps, type QuickAction, ReleaseCard, type ReleaseCardProps, ReleaseDetail, type ReleaseDetailProps, ReleaseList, type ReleaseListProps, Releases, type ReleasesProps, RoadmapBoard, type RoadmapBoardProps, RoadmapColumn, type RoadmapColumnProps, StatusIncident, StatusIncidentDetail, type StatusIncidentDetailProps, SubmitWishForm, type SubmitWishFormProps, SupportForm, type SupportFormProps, SurveyRenderer, type SurveyRendererProps, VoteButton, type VoteButtonProps, WhatsNewPopup, type WhatsNewPopupProps, WishCard, type WishCardProps, WishDetail, type WishDetailProps, WishList, type WishListProps };
|
package/dist/components/index.js
CHANGED
|
@@ -1,85 +1,93 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkWZIN7KEM_js = require('../chunk-WZIN7KEM.js');
|
|
4
|
+
require('../chunk-UPTP7QX5.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
Object.defineProperty(exports, "ContactFormRenderer", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkWZIN7KEM_js.ContactFormRenderer; }
|
|
11
|
+
});
|
|
8
12
|
Object.defineProperty(exports, "HelpArticleDetail", {
|
|
9
13
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkWZIN7KEM_js.HelpArticleDetail; }
|
|
11
15
|
});
|
|
12
16
|
Object.defineProperty(exports, "HelpArticles", {
|
|
13
17
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkWZIN7KEM_js.HelpArticles; }
|
|
15
19
|
});
|
|
16
20
|
Object.defineProperty(exports, "HelpCenter", {
|
|
17
21
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkWZIN7KEM_js.HelpCenter; }
|
|
19
23
|
});
|
|
20
24
|
Object.defineProperty(exports, "HelpCollections", {
|
|
21
25
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkWZIN7KEM_js.HelpCollections; }
|
|
23
27
|
});
|
|
24
28
|
Object.defineProperty(exports, "ReleaseCard", {
|
|
25
29
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkWZIN7KEM_js.ReleaseCard; }
|
|
27
31
|
});
|
|
28
32
|
Object.defineProperty(exports, "ReleaseDetail", {
|
|
29
33
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkWZIN7KEM_js.ReleaseDetail; }
|
|
31
35
|
});
|
|
32
36
|
Object.defineProperty(exports, "ReleaseList", {
|
|
33
37
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkWZIN7KEM_js.ReleaseList; }
|
|
35
39
|
});
|
|
36
40
|
Object.defineProperty(exports, "Releases", {
|
|
37
41
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkWZIN7KEM_js.Releases; }
|
|
39
43
|
});
|
|
40
44
|
Object.defineProperty(exports, "RoadmapBoard", {
|
|
41
45
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkWZIN7KEM_js.RoadmapBoard; }
|
|
43
47
|
});
|
|
44
48
|
Object.defineProperty(exports, "RoadmapColumn", {
|
|
45
49
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkWZIN7KEM_js.RoadmapColumn; }
|
|
47
51
|
});
|
|
48
52
|
Object.defineProperty(exports, "StatusBoard", {
|
|
49
53
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkWZIN7KEM_js.StatusBoard; }
|
|
51
55
|
});
|
|
52
56
|
Object.defineProperty(exports, "StatusIncidentDetail", {
|
|
53
57
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkWZIN7KEM_js.StatusIncidentDetail; }
|
|
55
59
|
});
|
|
56
60
|
Object.defineProperty(exports, "SubmitWishForm", {
|
|
57
61
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkWZIN7KEM_js.SubmitWishForm; }
|
|
59
63
|
});
|
|
60
64
|
Object.defineProperty(exports, "SupportForm", {
|
|
61
65
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkWZIN7KEM_js.SupportForm; }
|
|
67
|
+
});
|
|
68
|
+
Object.defineProperty(exports, "SurveyRenderer", {
|
|
69
|
+
enumerable: true,
|
|
70
|
+
get: function () { return chunkWZIN7KEM_js.SurveyRenderer; }
|
|
63
71
|
});
|
|
64
72
|
Object.defineProperty(exports, "VoteButton", {
|
|
65
73
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkWZIN7KEM_js.VoteButton; }
|
|
67
75
|
});
|
|
68
76
|
Object.defineProperty(exports, "WhatsNewPopup", {
|
|
69
77
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkWZIN7KEM_js.WhatsNewPopup; }
|
|
71
79
|
});
|
|
72
80
|
Object.defineProperty(exports, "WishCard", {
|
|
73
81
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkWZIN7KEM_js.WishCard; }
|
|
75
83
|
});
|
|
76
84
|
Object.defineProperty(exports, "WishDetail", {
|
|
77
85
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkWZIN7KEM_js.WishDetail; }
|
|
79
87
|
});
|
|
80
88
|
Object.defineProperty(exports, "WishList", {
|
|
81
89
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkWZIN7KEM_js.WishList; }
|
|
83
91
|
});
|
|
84
92
|
//# sourceMappingURL=index.js.map
|
|
85
93
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { HelpArticleDetail, HelpArticles, HelpCenter, HelpCollections, ReleaseCard, ReleaseDetail, ReleaseList, Releases, RoadmapBoard, RoadmapColumn, StatusBoard, StatusIncidentDetail, SubmitWishForm, SupportForm, VoteButton, WhatsNewPopup, WishCard, WishDetail, WishList } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { ContactFormRenderer, HelpArticleDetail, HelpArticles, HelpCenter, HelpCollections, ReleaseCard, ReleaseDetail, ReleaseList, Releases, RoadmapBoard, RoadmapColumn, StatusBoard, StatusIncidentDetail, SubmitWishForm, SupportForm, SurveyRenderer, VoteButton, WhatsNewPopup, WishCard, WishDetail, WishList } from '../chunk-UWIJR4ZY.mjs';
|
|
2
|
+
import '../chunk-NABMGLTY.mjs';
|
|
3
3
|
//# sourceMappingURL=index.mjs.map
|
|
4
4
|
//# sourceMappingURL=index.mjs.map
|