@penwin/discord-components-core 4.1.2 → 4.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.
Files changed (24) hide show
  1. package/custom-elements.json +954 -954
  2. package/dist/bundle/index.mjs +12 -6
  3. package/dist/bundle/index.mjs.map +1 -1
  4. package/dist/components/discord-attachments/DiscordAttachments.js +3 -3
  5. package/dist/components/discord-media-fullscreen-previewer/DiscordMediaFullscreenPreviewer.d.ts.map +1 -1
  6. package/dist/components/discord-media-fullscreen-previewer/DiscordMediaFullscreenPreviewer.js +4 -1
  7. package/dist/components/discord-media-fullscreen-previewer/DiscordMediaFullscreenPreviewer.js.map +1 -1
  8. package/dist/components/discord-media-gallery-item/DiscordMediaGalleryItem.d.ts +26 -0
  9. package/dist/components/discord-media-gallery-item/DiscordMediaGalleryItem.d.ts.map +1 -0
  10. package/dist/components/discord-media-gallery-item/DiscordMediaGalleryItem.js +183 -0
  11. package/dist/components/discord-media-gallery-item/DiscordMediaGalleryItem.js.map +1 -0
  12. package/dist/components/discord-message/DiscordMessage.d.ts.map +1 -1
  13. package/dist/components/discord-message/DiscordMessage.js +5 -0
  14. package/dist/components/discord-message/DiscordMessage.js.map +1 -1
  15. package/dist/components/discord-transcript-header/DiscordTranscriptHeader.d.ts.map +1 -1
  16. package/dist/components/discord-transcript-header/DiscordTranscriptHeader.js +1 -0
  17. package/dist/components/discord-transcript-header/DiscordTranscriptHeader.js.map +1 -1
  18. package/dist/index.d.ts +1 -1
  19. package/dist/index.d.ts.map +1 -1
  20. package/dist/index.js +1 -1
  21. package/dist/index.js.map +1 -1
  22. package/dist/util.js +1 -1
  23. package/dist/util.js.map +1 -1
  24. package/package.json +3 -3
@@ -445,7 +445,7 @@
445
445
  "name": "DiscordMediaGalleryItem",
446
446
  "declaration": {
447
447
  "name": "DiscordMediaGalleryItem",
448
- "module": "./components/discord-media-gallery-tem/DiscordMediaGalleryItem.js"
448
+ "module": "./components/discord-media-gallery-item/DiscordMediaGalleryItem.js"
449
449
  }
450
450
  },
451
451
  {
@@ -1046,405 +1046,276 @@
1046
1046
  },
1047
1047
  {
1048
1048
  "kind": "javascript-module",
1049
- "path": "src/components/discord-author-info/DiscordAuthorInfo.ts",
1049
+ "path": "src/components/discord-audio-attachment/DiscordAudioAttachment.ts",
1050
1050
  "declarations": [
1051
1051
  {
1052
1052
  "kind": "class",
1053
1053
  "description": "",
1054
- "name": "DiscordAuthorInfo",
1054
+ "name": "DiscordAudioAttachment",
1055
1055
  "members": [
1056
1056
  {
1057
1057
  "kind": "field",
1058
- "name": "author",
1058
+ "name": "href",
1059
1059
  "type": {
1060
- "text": "string | undefined"
1060
+ "text": "string"
1061
1061
  },
1062
1062
  "privacy": "public",
1063
- "default": "undefined",
1064
- "description": "The name of the author",
1065
- "attribute": "author"
1063
+ "description": "The URL to audio file",
1064
+ "attribute": "href"
1066
1065
  },
1067
1066
  {
1068
1067
  "kind": "field",
1069
- "name": "bot",
1068
+ "name": "name",
1070
1069
  "type": {
1071
- "text": "boolean"
1070
+ "text": "string | undefined"
1072
1071
  },
1073
1072
  "privacy": "public",
1074
- "default": "false",
1075
- "description": "Whether this author is a bot. Only works if `server` and `officialApp` is `false` or `undefined`.",
1076
- "attribute": "bot"
1073
+ "description": "The name of the audio file",
1074
+ "attribute": "name"
1077
1075
  },
1078
1076
  {
1079
1077
  "kind": "field",
1080
- "name": "server",
1078
+ "name": "bytes",
1081
1079
  "type": {
1082
- "text": "boolean"
1080
+ "text": "number"
1083
1081
  },
1084
1082
  "privacy": "public",
1085
- "default": "false",
1086
- "description": "Whether this author is a `server` crosspost webhook. Only works if `bot` and `officialApp` is `false` or `undefined`.",
1087
- "attribute": "server"
1083
+ "description": "The size of the audio file in bytes",
1084
+ "attribute": "bytes"
1088
1085
  },
1089
1086
  {
1090
1087
  "kind": "field",
1091
- "name": "officialApp",
1088
+ "name": "bytesUnit",
1092
1089
  "type": {
1093
- "text": "boolean"
1090
+ "text": "string"
1094
1091
  },
1095
1092
  "privacy": "public",
1096
- "default": "false",
1097
- "description": "Whether this author is a `official app` crosspost webhook. Only works if `bot` and `server` is `false` or `undefined`.",
1098
- "attribute": "official-app"
1093
+ "description": "The unit of the audio file in a human-readable format",
1094
+ "attribute": "bytes-unit"
1099
1095
  },
1100
1096
  {
1101
1097
  "kind": "field",
1102
- "name": "op",
1098
+ "name": "lightTheme",
1103
1099
  "type": {
1104
1100
  "text": "boolean"
1105
1101
  },
1106
1102
  "privacy": "public",
1107
1103
  "default": "false",
1108
- "description": "Whether this author is the original poster.",
1109
- "attribute": "op"
1104
+ "attribute": "light-theme",
1105
+ "reflects": true
1110
1106
  },
1111
1107
  {
1112
1108
  "kind": "field",
1113
- "name": "roleColor",
1109
+ "name": "mediaComponentRef",
1114
1110
  "type": {
1115
- "text": "string | undefined"
1111
+ "text": "Ref<HTMLAudioElement | HTMLVideoElement>"
1116
1112
  },
1117
- "privacy": "public",
1118
- "default": "undefined",
1119
- "description": "The colour of the author, which comes from their highest role",
1120
- "attribute": "role-color"
1113
+ "privacy": "protected",
1114
+ "inheritedFrom": {
1115
+ "name": "DiscordMediaLifecycle",
1116
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
1117
+ }
1121
1118
  },
1122
1119
  {
1123
1120
  "kind": "field",
1124
- "name": "roleIcon",
1121
+ "name": "seekSliderRef",
1125
1122
  "type": {
1126
- "text": "string | undefined"
1123
+ "text": "Ref<HTMLInputElement>"
1127
1124
  },
1128
- "privacy": "public",
1129
- "default": "undefined",
1130
- "description": "The role icon of the author, which comes from their highest role",
1131
- "attribute": "role-icon"
1125
+ "privacy": "protected",
1126
+ "inheritedFrom": {
1127
+ "name": "DiscordMediaLifecycle",
1128
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
1129
+ }
1132
1130
  },
1133
1131
  {
1134
1132
  "kind": "field",
1135
- "name": "roleName",
1133
+ "name": "volumeControlRef",
1136
1134
  "type": {
1137
- "text": "string | undefined"
1135
+ "text": "Ref<HTMLDivElement>"
1138
1136
  },
1139
- "privacy": "public",
1140
- "default": "undefined",
1141
- "description": "The role name of the author, which comes from their highest role",
1142
- "attribute": "role-name"
1137
+ "privacy": "protected",
1138
+ "inheritedFrom": {
1139
+ "name": "DiscordMediaLifecycle",
1140
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
1141
+ }
1143
1142
  },
1144
1143
  {
1145
1144
  "kind": "field",
1146
- "name": "clanIcon",
1145
+ "name": "volumeControlInputRef",
1147
1146
  "type": {
1148
- "text": "string | undefined"
1147
+ "text": "Ref<HTMLInputElement>"
1149
1148
  },
1150
- "privacy": "public",
1151
- "default": "undefined",
1152
- "description": "The clan icon of the author, which comes from the enabled clan tag",
1153
- "attribute": "clan-icon"
1149
+ "privacy": "protected",
1150
+ "inheritedFrom": {
1151
+ "name": "DiscordMediaLifecycle",
1152
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
1153
+ }
1154
1154
  },
1155
1155
  {
1156
1156
  "kind": "field",
1157
- "name": "clanTag",
1157
+ "name": "currentPlaybackPosition",
1158
1158
  "type": {
1159
- "text": "string | undefined"
1159
+ "text": "string"
1160
1160
  },
1161
- "privacy": "public",
1162
- "default": "undefined",
1163
- "description": "The clan name of the author, which comes from the enabled clan tag",
1164
- "attribute": "clan-tag"
1161
+ "privacy": "protected",
1162
+ "default": "'0:00'",
1163
+ "inheritedFrom": {
1164
+ "name": "DiscordMediaLifecycle",
1165
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
1166
+ }
1165
1167
  },
1166
1168
  {
1167
1169
  "kind": "field",
1168
- "name": "verified",
1170
+ "name": "leftPlaybackPosition",
1169
1171
  "type": {
1170
- "text": "boolean"
1172
+ "text": "string"
1171
1173
  },
1172
- "privacy": "public",
1173
- "default": "false",
1174
- "description": "Whether this bot is verified by Discord. Only works if `bot` is `true`",
1175
- "attribute": "verified"
1174
+ "privacy": "protected",
1175
+ "default": "'0:00'",
1176
+ "inheritedFrom": {
1177
+ "name": "DiscordMediaLifecycle",
1178
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
1179
+ }
1176
1180
  },
1177
1181
  {
1178
1182
  "kind": "field",
1179
- "name": "compactMode",
1183
+ "name": "totalMediaDuration",
1180
1184
  "type": {
1181
- "text": "boolean"
1185
+ "text": "string"
1182
1186
  },
1183
- "privacy": "public",
1184
- "default": "false",
1185
- "description": "Whether to reverse the order of the author info for compact mode.",
1186
- "attribute": "compact-mode",
1187
- "reflects": true
1187
+ "privacy": "protected",
1188
+ "default": "''",
1189
+ "inheritedFrom": {
1190
+ "name": "DiscordMediaLifecycle",
1191
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
1192
+ }
1188
1193
  },
1189
1194
  {
1190
1195
  "kind": "field",
1191
- "name": "lightTheme",
1196
+ "name": "isPlaying",
1192
1197
  "type": {
1193
1198
  "text": "boolean"
1194
1199
  },
1195
- "privacy": "public",
1200
+ "privacy": "protected",
1196
1201
  "default": "false",
1197
- "attribute": "light-theme",
1198
- "reflects": true
1199
- }
1200
- ],
1201
- "attributes": [
1202
+ "inheritedFrom": {
1203
+ "name": "DiscordMediaLifecycle",
1204
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
1205
+ }
1206
+ },
1202
1207
  {
1203
- "name": "author",
1208
+ "kind": "field",
1209
+ "name": "raf",
1204
1210
  "type": {
1205
- "text": "string | undefined"
1211
+ "text": "number | null"
1206
1212
  },
1207
- "default": "undefined",
1208
- "description": "The name of the author",
1209
- "fieldName": "author"
1213
+ "privacy": "private",
1214
+ "default": "null",
1215
+ "inheritedFrom": {
1216
+ "name": "DiscordMediaLifecycle",
1217
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
1218
+ }
1210
1219
  },
1211
1220
  {
1212
- "name": "bot",
1221
+ "kind": "field",
1222
+ "name": "isMuted",
1213
1223
  "type": {
1214
1224
  "text": "boolean"
1215
1225
  },
1226
+ "privacy": "protected",
1216
1227
  "default": "false",
1217
- "description": "Whether this author is a bot. Only works if `server` and `officialApp` is `false` or `undefined`.",
1218
- "fieldName": "bot"
1228
+ "inheritedFrom": {
1229
+ "name": "DiscordMediaLifecycle",
1230
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
1231
+ }
1219
1232
  },
1220
1233
  {
1221
- "name": "server",
1234
+ "kind": "field",
1235
+ "name": "currentVolume",
1222
1236
  "type": {
1223
- "text": "boolean"
1237
+ "text": "number"
1224
1238
  },
1225
- "default": "false",
1226
- "description": "Whether this author is a `server` crosspost webhook. Only works if `bot` and `officialApp` is `false` or `undefined`.",
1227
- "fieldName": "server"
1239
+ "privacy": "protected",
1240
+ "default": "1",
1241
+ "description": "Volume is a fractional value between 0 and 1",
1242
+ "inheritedFrom": {
1243
+ "name": "DiscordMediaLifecycle",
1244
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
1245
+ }
1228
1246
  },
1229
1247
  {
1230
- "name": "official-app",
1248
+ "kind": "field",
1249
+ "name": "hasEnded",
1231
1250
  "type": {
1232
1251
  "text": "boolean"
1233
1252
  },
1253
+ "privacy": "protected",
1234
1254
  "default": "false",
1235
- "description": "Whether this author is a `official app` crosspost webhook. Only works if `bot` and `server` is `false` or `undefined`.",
1236
- "fieldName": "officialApp"
1255
+ "inheritedFrom": {
1256
+ "name": "DiscordMediaLifecycle",
1257
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
1258
+ }
1237
1259
  },
1238
1260
  {
1239
- "name": "op",
1261
+ "kind": "field",
1262
+ "name": "hasRunUpdate",
1240
1263
  "type": {
1241
1264
  "text": "boolean"
1242
1265
  },
1266
+ "privacy": "private",
1243
1267
  "default": "false",
1244
- "description": "Whether this author is the original poster.",
1245
- "fieldName": "op"
1268
+ "inheritedFrom": {
1269
+ "name": "DiscordMediaLifecycle",
1270
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
1271
+ }
1246
1272
  },
1247
1273
  {
1248
- "name": "role-color",
1249
- "type": {
1250
- "text": "string | undefined"
1251
- },
1252
- "default": "undefined",
1253
- "description": "The colour of the author, which comes from their highest role",
1254
- "fieldName": "roleColor"
1274
+ "kind": "method",
1275
+ "name": "calculateTime",
1276
+ "privacy": "protected",
1277
+ "parameters": [
1278
+ {
1279
+ "name": "secs",
1280
+ "type": {
1281
+ "text": "number"
1282
+ }
1283
+ }
1284
+ ],
1285
+ "inheritedFrom": {
1286
+ "name": "DiscordMediaLifecycle",
1287
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
1288
+ }
1255
1289
  },
1256
1290
  {
1257
- "name": "role-icon",
1258
- "type": {
1259
- "text": "string | undefined"
1260
- },
1261
- "default": "undefined",
1262
- "description": "The role icon of the author, which comes from their highest role",
1263
- "fieldName": "roleIcon"
1291
+ "kind": "method",
1292
+ "name": "displayMediaDuration",
1293
+ "privacy": "protected",
1294
+ "inheritedFrom": {
1295
+ "name": "DiscordMediaLifecycle",
1296
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
1297
+ }
1264
1298
  },
1265
1299
  {
1266
- "name": "role-name",
1267
- "type": {
1268
- "text": "string | undefined"
1269
- },
1270
- "default": "undefined",
1271
- "description": "The role name of the author, which comes from their highest role",
1272
- "fieldName": "roleName"
1273
- },
1274
- {
1275
- "name": "clan-icon",
1276
- "type": {
1277
- "text": "string | undefined"
1278
- },
1279
- "default": "undefined",
1280
- "description": "The clan icon of the author, which comes from the enabled clan tag",
1281
- "fieldName": "clanIcon"
1282
- },
1283
- {
1284
- "name": "clan-tag",
1285
- "type": {
1286
- "text": "string | undefined"
1287
- },
1288
- "default": "undefined",
1289
- "description": "The clan name of the author, which comes from the enabled clan tag",
1290
- "fieldName": "clanTag"
1291
- },
1292
- {
1293
- "name": "verified",
1294
- "type": {
1295
- "text": "boolean"
1296
- },
1297
- "default": "false",
1298
- "description": "Whether this bot is verified by Discord. Only works if `bot` is `true`",
1299
- "fieldName": "verified"
1300
- },
1301
- {
1302
- "name": "compact-mode",
1303
- "type": {
1304
- "text": "boolean"
1305
- },
1306
- "default": "false",
1307
- "description": "Whether to reverse the order of the author info for compact mode.",
1308
- "fieldName": "compactMode"
1309
- },
1310
- {
1311
- "name": "light-theme",
1312
- "type": {
1313
- "text": "boolean"
1314
- },
1315
- "default": "false",
1316
- "fieldName": "lightTheme"
1317
- }
1318
- ],
1319
- "superclass": {
1320
- "name": "LitElement",
1321
- "package": "lit"
1322
- },
1323
- "tagName": "discord-author-info",
1324
- "customElement": true
1325
- }
1326
- ],
1327
- "exports": [
1328
- {
1329
- "kind": "js",
1330
- "name": "DiscordAuthorInfo",
1331
- "declaration": {
1332
- "name": "DiscordAuthorInfo",
1333
- "module": "src/components/discord-author-info/DiscordAuthorInfo.ts"
1334
- }
1335
- },
1336
- {
1337
- "kind": "custom-element-definition",
1338
- "name": "discord-author-info",
1339
- "declaration": {
1340
- "name": "DiscordAuthorInfo",
1341
- "module": "src/components/discord-author-info/DiscordAuthorInfo.ts"
1342
- }
1343
- }
1344
- ]
1345
- },
1346
- {
1347
- "kind": "javascript-module",
1348
- "path": "src/components/discord-bold/DiscordBold.ts",
1349
- "declarations": [
1350
- {
1351
- "kind": "class",
1352
- "description": "",
1353
- "name": "DiscordBold",
1354
- "members": [],
1355
- "superclass": {
1356
- "name": "LitElement",
1357
- "package": "lit"
1358
- },
1359
- "tagName": "discord-bold",
1360
- "customElement": true
1361
- }
1362
- ],
1363
- "exports": [
1364
- {
1365
- "kind": "js",
1366
- "name": "DiscordBold",
1367
- "declaration": {
1368
- "name": "DiscordBold",
1369
- "module": "src/components/discord-bold/DiscordBold.ts"
1370
- }
1371
- },
1372
- {
1373
- "kind": "custom-element-definition",
1374
- "name": "discord-bold",
1375
- "declaration": {
1376
- "name": "DiscordBold",
1377
- "module": "src/components/discord-bold/DiscordBold.ts"
1378
- }
1379
- }
1380
- ]
1381
- },
1382
- {
1383
- "kind": "javascript-module",
1384
- "path": "src/components/discord-audio-attachment/DiscordAudioAttachment.ts",
1385
- "declarations": [
1386
- {
1387
- "kind": "class",
1388
- "description": "",
1389
- "name": "DiscordAudioAttachment",
1390
- "members": [
1391
- {
1392
- "kind": "field",
1393
- "name": "href",
1394
- "type": {
1395
- "text": "string"
1396
- },
1397
- "privacy": "public",
1398
- "description": "The URL to audio file",
1399
- "attribute": "href"
1400
- },
1401
- {
1402
- "kind": "field",
1403
- "name": "name",
1404
- "type": {
1405
- "text": "string | undefined"
1406
- },
1407
- "privacy": "public",
1408
- "description": "The name of the audio file",
1409
- "attribute": "name"
1410
- },
1411
- {
1412
- "kind": "field",
1413
- "name": "bytes",
1414
- "type": {
1415
- "text": "number"
1416
- },
1417
- "privacy": "public",
1418
- "description": "The size of the audio file in bytes",
1419
- "attribute": "bytes"
1420
- },
1421
- {
1422
- "kind": "field",
1423
- "name": "bytesUnit",
1424
- "type": {
1425
- "text": "string"
1426
- },
1427
- "privacy": "public",
1428
- "description": "The unit of the audio file in a human-readable format",
1429
- "attribute": "bytes-unit"
1430
- },
1431
- {
1432
- "kind": "field",
1433
- "name": "lightTheme",
1434
- "type": {
1435
- "text": "boolean"
1436
- },
1437
- "privacy": "public",
1438
- "default": "false",
1439
- "attribute": "light-theme",
1440
- "reflects": true
1300
+ "kind": "method",
1301
+ "name": "displayLeftPlaybackPosition",
1302
+ "privacy": "protected",
1303
+ "parameters": [
1304
+ {
1305
+ "name": "bufferedAmount",
1306
+ "type": {
1307
+ "text": "number"
1308
+ }
1309
+ }
1310
+ ],
1311
+ "inheritedFrom": {
1312
+ "name": "DiscordMediaLifecycle",
1313
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
1314
+ }
1441
1315
  },
1442
1316
  {
1443
- "kind": "field",
1444
- "name": "mediaComponentRef",
1445
- "type": {
1446
- "text": "Ref<HTMLAudioElement | HTMLVideoElement>"
1447
- },
1317
+ "kind": "method",
1318
+ "name": "setSliderMax",
1448
1319
  "privacy": "protected",
1449
1320
  "inheritedFrom": {
1450
1321
  "name": "DiscordMediaLifecycle",
@@ -1452,11 +1323,8 @@
1452
1323
  }
1453
1324
  },
1454
1325
  {
1455
- "kind": "field",
1456
- "name": "seekSliderRef",
1457
- "type": {
1458
- "text": "Ref<HTMLInputElement>"
1459
- },
1326
+ "kind": "method",
1327
+ "name": "displayBufferedAmount",
1460
1328
  "privacy": "protected",
1461
1329
  "inheritedFrom": {
1462
1330
  "name": "DiscordMediaLifecycle",
@@ -1465,11 +1333,12 @@
1465
1333
  },
1466
1334
  {
1467
1335
  "kind": "field",
1468
- "name": "volumeControlRef",
1336
+ "name": "wavesurfer",
1469
1337
  "type": {
1470
- "text": "Ref<HTMLDivElement>"
1338
+ "text": "WaveSurfer | null | undefined"
1471
1339
  },
1472
1340
  "privacy": "protected",
1341
+ "default": "null",
1473
1342
  "inheritedFrom": {
1474
1343
  "name": "DiscordMediaLifecycle",
1475
1344
  "module": "src/components/_private/DiscordMediaLifecycle.ts"
@@ -1477,10 +1346,7 @@
1477
1346
  },
1478
1347
  {
1479
1348
  "kind": "field",
1480
- "name": "volumeControlInputRef",
1481
- "type": {
1482
- "text": "Ref<HTMLInputElement>"
1483
- },
1349
+ "name": "whilePlaying",
1484
1350
  "privacy": "protected",
1485
1351
  "inheritedFrom": {
1486
1352
  "name": "DiscordMediaLifecycle",
@@ -1488,26 +1354,18 @@
1488
1354
  }
1489
1355
  },
1490
1356
  {
1491
- "kind": "field",
1492
- "name": "currentPlaybackPosition",
1493
- "type": {
1494
- "text": "string"
1495
- },
1357
+ "kind": "method",
1358
+ "name": "handleEnded",
1496
1359
  "privacy": "protected",
1497
- "default": "'0:00'",
1498
1360
  "inheritedFrom": {
1499
1361
  "name": "DiscordMediaLifecycle",
1500
1362
  "module": "src/components/_private/DiscordMediaLifecycle.ts"
1501
1363
  }
1502
1364
  },
1503
1365
  {
1504
- "kind": "field",
1505
- "name": "leftPlaybackPosition",
1506
- "type": {
1507
- "text": "string"
1508
- },
1366
+ "kind": "method",
1367
+ "name": "handleClickPlayPauseIcon",
1509
1368
  "privacy": "protected",
1510
- "default": "'0:00'",
1511
1369
  "inheritedFrom": {
1512
1370
  "name": "DiscordMediaLifecycle",
1513
1371
  "module": "src/components/_private/DiscordMediaLifecycle.ts"
@@ -1515,38 +1373,34 @@
1515
1373
  },
1516
1374
  {
1517
1375
  "kind": "field",
1518
- "name": "totalMediaDuration",
1519
- "type": {
1520
- "text": "string"
1521
- },
1376
+ "name": "handleSpaceToPlayPause",
1522
1377
  "privacy": "protected",
1523
- "default": "''",
1524
1378
  "inheritedFrom": {
1525
1379
  "name": "DiscordMediaLifecycle",
1526
1380
  "module": "src/components/_private/DiscordMediaLifecycle.ts"
1527
1381
  }
1528
1382
  },
1529
1383
  {
1530
- "kind": "field",
1531
- "name": "isPlaying",
1532
- "type": {
1533
- "text": "boolean"
1534
- },
1384
+ "kind": "method",
1385
+ "name": "handleClickMuteIcon",
1535
1386
  "privacy": "protected",
1536
- "default": "false",
1537
1387
  "inheritedFrom": {
1538
1388
  "name": "DiscordMediaLifecycle",
1539
1389
  "module": "src/components/_private/DiscordMediaLifecycle.ts"
1540
1390
  }
1541
1391
  },
1542
1392
  {
1543
- "kind": "field",
1544
- "name": "raf",
1545
- "type": {
1546
- "text": "number | null"
1547
- },
1548
- "privacy": "private",
1549
- "default": "null",
1393
+ "kind": "method",
1394
+ "name": "handleSeekSliderInput",
1395
+ "privacy": "protected",
1396
+ "parameters": [
1397
+ {
1398
+ "name": "event",
1399
+ "type": {
1400
+ "text": "Event"
1401
+ }
1402
+ }
1403
+ ],
1550
1404
  "inheritedFrom": {
1551
1405
  "name": "DiscordMediaLifecycle",
1552
1406
  "module": "src/components/_private/DiscordMediaLifecycle.ts"
@@ -1554,52 +1408,43 @@
1554
1408
  },
1555
1409
  {
1556
1410
  "kind": "field",
1557
- "name": "isMuted",
1558
- "type": {
1559
- "text": "boolean"
1560
- },
1411
+ "name": "handleSeekSliderChange",
1561
1412
  "privacy": "protected",
1562
- "default": "false",
1563
1413
  "inheritedFrom": {
1564
1414
  "name": "DiscordMediaLifecycle",
1565
1415
  "module": "src/components/_private/DiscordMediaLifecycle.ts"
1566
1416
  }
1567
1417
  },
1568
1418
  {
1569
- "kind": "field",
1570
- "name": "currentVolume",
1571
- "type": {
1572
- "text": "number"
1573
- },
1419
+ "kind": "method",
1420
+ "name": "handleVolumeSliderInput",
1574
1421
  "privacy": "protected",
1575
- "default": "1",
1576
- "description": "Volume is a fractional value between 0 and 1",
1422
+ "parameters": [
1423
+ {
1424
+ "name": "event",
1425
+ "type": {
1426
+ "text": "Event"
1427
+ }
1428
+ }
1429
+ ],
1577
1430
  "inheritedFrom": {
1578
1431
  "name": "DiscordMediaLifecycle",
1579
1432
  "module": "src/components/_private/DiscordMediaLifecycle.ts"
1580
1433
  }
1581
1434
  },
1582
1435
  {
1583
- "kind": "field",
1584
- "name": "hasEnded",
1585
- "type": {
1586
- "text": "boolean"
1587
- },
1436
+ "kind": "method",
1437
+ "name": "handleVolumeVerticalFocus",
1588
1438
  "privacy": "protected",
1589
- "default": "false",
1590
1439
  "inheritedFrom": {
1591
1440
  "name": "DiscordMediaLifecycle",
1592
1441
  "module": "src/components/_private/DiscordMediaLifecycle.ts"
1593
1442
  }
1594
1443
  },
1595
1444
  {
1596
- "kind": "field",
1597
- "name": "hasRunUpdate",
1598
- "type": {
1599
- "text": "boolean"
1600
- },
1601
- "privacy": "private",
1602
- "default": "false",
1445
+ "kind": "method",
1446
+ "name": "handleVolumeVerticalBlur",
1447
+ "privacy": "protected",
1603
1448
  "inheritedFrom": {
1604
1449
  "name": "DiscordMediaLifecycle",
1605
1450
  "module": "src/components/_private/DiscordMediaLifecycle.ts"
@@ -1607,13 +1452,13 @@
1607
1452
  },
1608
1453
  {
1609
1454
  "kind": "method",
1610
- "name": "calculateTime",
1455
+ "name": "handleVolumeControlKeyboard",
1611
1456
  "privacy": "protected",
1612
1457
  "parameters": [
1613
1458
  {
1614
- "name": "secs",
1459
+ "name": "event",
1615
1460
  "type": {
1616
- "text": "number"
1461
+ "text": "KeyboardEvent"
1617
1462
  }
1618
1463
  }
1619
1464
  ],
@@ -1624,23 +1469,20 @@
1624
1469
  },
1625
1470
  {
1626
1471
  "kind": "method",
1627
- "name": "displayMediaDuration",
1628
- "privacy": "protected",
1629
- "inheritedFrom": {
1630
- "name": "DiscordMediaLifecycle",
1631
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1632
- }
1633
- },
1634
- {
1635
- "kind": "method",
1636
- "name": "displayLeftPlaybackPosition",
1472
+ "name": "adjustVolume",
1637
1473
  "privacy": "protected",
1638
1474
  "parameters": [
1639
1475
  {
1640
- "name": "bufferedAmount",
1476
+ "name": "change",
1641
1477
  "type": {
1642
1478
  "text": "number"
1643
1479
  }
1480
+ },
1481
+ {
1482
+ "name": "event",
1483
+ "type": {
1484
+ "text": "KeyboardEvent"
1485
+ }
1644
1486
  }
1645
1487
  ],
1646
1488
  "inheritedFrom": {
@@ -1649,224 +1491,346 @@
1649
1491
  }
1650
1492
  },
1651
1493
  {
1652
- "kind": "method",
1653
- "name": "setSliderMax",
1494
+ "kind": "field",
1495
+ "name": "mediaMetadataLoaded",
1654
1496
  "privacy": "protected",
1655
1497
  "inheritedFrom": {
1656
1498
  "name": "DiscordMediaLifecycle",
1657
1499
  "module": "src/components/_private/DiscordMediaLifecycle.ts"
1658
1500
  }
1501
+ }
1502
+ ],
1503
+ "attributes": [
1504
+ {
1505
+ "name": "href",
1506
+ "type": {
1507
+ "text": "string"
1508
+ },
1509
+ "description": "The URL to audio file",
1510
+ "fieldName": "href"
1659
1511
  },
1660
1512
  {
1661
- "kind": "method",
1662
- "name": "displayBufferedAmount",
1663
- "privacy": "protected",
1664
- "inheritedFrom": {
1665
- "name": "DiscordMediaLifecycle",
1666
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1667
- }
1513
+ "name": "name",
1514
+ "type": {
1515
+ "text": "string | undefined"
1516
+ },
1517
+ "description": "The name of the audio file",
1518
+ "fieldName": "name"
1519
+ },
1520
+ {
1521
+ "name": "bytes",
1522
+ "type": {
1523
+ "text": "number"
1524
+ },
1525
+ "description": "The size of the audio file in bytes",
1526
+ "fieldName": "bytes"
1668
1527
  },
1528
+ {
1529
+ "name": "bytes-unit",
1530
+ "type": {
1531
+ "text": "string"
1532
+ },
1533
+ "description": "The unit of the audio file in a human-readable format",
1534
+ "fieldName": "bytesUnit"
1535
+ },
1536
+ {
1537
+ "name": "light-theme",
1538
+ "type": {
1539
+ "text": "boolean"
1540
+ },
1541
+ "default": "false",
1542
+ "fieldName": "lightTheme"
1543
+ }
1544
+ ],
1545
+ "superclass": {
1546
+ "name": "DiscordMediaLifecycle",
1547
+ "module": "/src/components/_private/DiscordMediaLifecycle.js"
1548
+ },
1549
+ "tagName": "discord-audio-attachment",
1550
+ "customElement": true
1551
+ }
1552
+ ],
1553
+ "exports": [
1554
+ {
1555
+ "kind": "js",
1556
+ "name": "DiscordAudioAttachment",
1557
+ "declaration": {
1558
+ "name": "DiscordAudioAttachment",
1559
+ "module": "src/components/discord-audio-attachment/DiscordAudioAttachment.ts"
1560
+ }
1561
+ },
1562
+ {
1563
+ "kind": "custom-element-definition",
1564
+ "name": "discord-audio-attachment",
1565
+ "declaration": {
1566
+ "name": "DiscordAudioAttachment",
1567
+ "module": "src/components/discord-audio-attachment/DiscordAudioAttachment.ts"
1568
+ }
1569
+ }
1570
+ ]
1571
+ },
1572
+ {
1573
+ "kind": "javascript-module",
1574
+ "path": "src/components/discord-author-info/DiscordAuthorInfo.ts",
1575
+ "declarations": [
1576
+ {
1577
+ "kind": "class",
1578
+ "description": "",
1579
+ "name": "DiscordAuthorInfo",
1580
+ "members": [
1669
1581
  {
1670
1582
  "kind": "field",
1671
- "name": "wavesurfer",
1583
+ "name": "author",
1672
1584
  "type": {
1673
- "text": "WaveSurfer | null | undefined"
1585
+ "text": "string | undefined"
1674
1586
  },
1675
- "privacy": "protected",
1676
- "default": "null",
1677
- "inheritedFrom": {
1678
- "name": "DiscordMediaLifecycle",
1679
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1680
- }
1587
+ "privacy": "public",
1588
+ "default": "undefined",
1589
+ "description": "The name of the author",
1590
+ "attribute": "author"
1681
1591
  },
1682
1592
  {
1683
1593
  "kind": "field",
1684
- "name": "whilePlaying",
1685
- "privacy": "protected",
1686
- "inheritedFrom": {
1687
- "name": "DiscordMediaLifecycle",
1688
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1689
- }
1594
+ "name": "bot",
1595
+ "type": {
1596
+ "text": "boolean"
1597
+ },
1598
+ "privacy": "public",
1599
+ "default": "false",
1600
+ "description": "Whether this author is a bot. Only works if `server` and `officialApp` is `false` or `undefined`.",
1601
+ "attribute": "bot"
1690
1602
  },
1691
1603
  {
1692
- "kind": "method",
1693
- "name": "handleEnded",
1694
- "privacy": "protected",
1695
- "inheritedFrom": {
1696
- "name": "DiscordMediaLifecycle",
1697
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1698
- }
1604
+ "kind": "field",
1605
+ "name": "server",
1606
+ "type": {
1607
+ "text": "boolean"
1608
+ },
1609
+ "privacy": "public",
1610
+ "default": "false",
1611
+ "description": "Whether this author is a `server` crosspost webhook. Only works if `bot` and `officialApp` is `false` or `undefined`.",
1612
+ "attribute": "server"
1699
1613
  },
1700
1614
  {
1701
- "kind": "method",
1702
- "name": "handleClickPlayPauseIcon",
1703
- "privacy": "protected",
1704
- "inheritedFrom": {
1705
- "name": "DiscordMediaLifecycle",
1706
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1707
- }
1615
+ "kind": "field",
1616
+ "name": "officialApp",
1617
+ "type": {
1618
+ "text": "boolean"
1619
+ },
1620
+ "privacy": "public",
1621
+ "default": "false",
1622
+ "description": "Whether this author is a `official app` crosspost webhook. Only works if `bot` and `server` is `false` or `undefined`.",
1623
+ "attribute": "official-app"
1708
1624
  },
1709
1625
  {
1710
1626
  "kind": "field",
1711
- "name": "handleSpaceToPlayPause",
1712
- "privacy": "protected",
1713
- "inheritedFrom": {
1714
- "name": "DiscordMediaLifecycle",
1715
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1716
- }
1627
+ "name": "op",
1628
+ "type": {
1629
+ "text": "boolean"
1630
+ },
1631
+ "privacy": "public",
1632
+ "default": "false",
1633
+ "description": "Whether this author is the original poster.",
1634
+ "attribute": "op"
1717
1635
  },
1718
1636
  {
1719
- "kind": "method",
1720
- "name": "handleClickMuteIcon",
1721
- "privacy": "protected",
1722
- "inheritedFrom": {
1723
- "name": "DiscordMediaLifecycle",
1724
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1725
- }
1637
+ "kind": "field",
1638
+ "name": "roleColor",
1639
+ "type": {
1640
+ "text": "string | undefined"
1641
+ },
1642
+ "privacy": "public",
1643
+ "default": "undefined",
1644
+ "description": "The colour of the author, which comes from their highest role",
1645
+ "attribute": "role-color"
1726
1646
  },
1727
1647
  {
1728
- "kind": "method",
1729
- "name": "handleSeekSliderInput",
1730
- "privacy": "protected",
1731
- "parameters": [
1732
- {
1733
- "name": "event",
1734
- "type": {
1735
- "text": "Event"
1736
- }
1737
- }
1738
- ],
1739
- "inheritedFrom": {
1740
- "name": "DiscordMediaLifecycle",
1741
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1742
- }
1648
+ "kind": "field",
1649
+ "name": "roleIcon",
1650
+ "type": {
1651
+ "text": "string | undefined"
1652
+ },
1653
+ "privacy": "public",
1654
+ "default": "undefined",
1655
+ "description": "The role icon of the author, which comes from their highest role",
1656
+ "attribute": "role-icon"
1743
1657
  },
1744
1658
  {
1745
1659
  "kind": "field",
1746
- "name": "handleSeekSliderChange",
1747
- "privacy": "protected",
1748
- "inheritedFrom": {
1749
- "name": "DiscordMediaLifecycle",
1750
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1751
- }
1660
+ "name": "roleName",
1661
+ "type": {
1662
+ "text": "string | undefined"
1663
+ },
1664
+ "privacy": "public",
1665
+ "default": "undefined",
1666
+ "description": "The role name of the author, which comes from their highest role",
1667
+ "attribute": "role-name"
1668
+ },
1669
+ {
1670
+ "kind": "field",
1671
+ "name": "clanIcon",
1672
+ "type": {
1673
+ "text": "string | undefined"
1674
+ },
1675
+ "privacy": "public",
1676
+ "default": "undefined",
1677
+ "description": "The clan icon of the author, which comes from the enabled clan tag",
1678
+ "attribute": "clan-icon"
1679
+ },
1680
+ {
1681
+ "kind": "field",
1682
+ "name": "clanTag",
1683
+ "type": {
1684
+ "text": "string | undefined"
1685
+ },
1686
+ "privacy": "public",
1687
+ "default": "undefined",
1688
+ "description": "The clan name of the author, which comes from the enabled clan tag",
1689
+ "attribute": "clan-tag"
1690
+ },
1691
+ {
1692
+ "kind": "field",
1693
+ "name": "verified",
1694
+ "type": {
1695
+ "text": "boolean"
1696
+ },
1697
+ "privacy": "public",
1698
+ "default": "false",
1699
+ "description": "Whether this bot is verified by Discord. Only works if `bot` is `true`",
1700
+ "attribute": "verified"
1701
+ },
1702
+ {
1703
+ "kind": "field",
1704
+ "name": "compactMode",
1705
+ "type": {
1706
+ "text": "boolean"
1707
+ },
1708
+ "privacy": "public",
1709
+ "default": "false",
1710
+ "description": "Whether to reverse the order of the author info for compact mode.",
1711
+ "attribute": "compact-mode",
1712
+ "reflects": true
1713
+ },
1714
+ {
1715
+ "kind": "field",
1716
+ "name": "lightTheme",
1717
+ "type": {
1718
+ "text": "boolean"
1719
+ },
1720
+ "privacy": "public",
1721
+ "default": "false",
1722
+ "attribute": "light-theme",
1723
+ "reflects": true
1724
+ }
1725
+ ],
1726
+ "attributes": [
1727
+ {
1728
+ "name": "author",
1729
+ "type": {
1730
+ "text": "string | undefined"
1731
+ },
1732
+ "default": "undefined",
1733
+ "description": "The name of the author",
1734
+ "fieldName": "author"
1735
+ },
1736
+ {
1737
+ "name": "bot",
1738
+ "type": {
1739
+ "text": "boolean"
1740
+ },
1741
+ "default": "false",
1742
+ "description": "Whether this author is a bot. Only works if `server` and `officialApp` is `false` or `undefined`.",
1743
+ "fieldName": "bot"
1744
+ },
1745
+ {
1746
+ "name": "server",
1747
+ "type": {
1748
+ "text": "boolean"
1749
+ },
1750
+ "default": "false",
1751
+ "description": "Whether this author is a `server` crosspost webhook. Only works if `bot` and `officialApp` is `false` or `undefined`.",
1752
+ "fieldName": "server"
1752
1753
  },
1753
1754
  {
1754
- "kind": "method",
1755
- "name": "handleVolumeSliderInput",
1756
- "privacy": "protected",
1757
- "parameters": [
1758
- {
1759
- "name": "event",
1760
- "type": {
1761
- "text": "Event"
1762
- }
1763
- }
1764
- ],
1765
- "inheritedFrom": {
1766
- "name": "DiscordMediaLifecycle",
1767
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1768
- }
1755
+ "name": "official-app",
1756
+ "type": {
1757
+ "text": "boolean"
1758
+ },
1759
+ "default": "false",
1760
+ "description": "Whether this author is a `official app` crosspost webhook. Only works if `bot` and `server` is `false` or `undefined`.",
1761
+ "fieldName": "officialApp"
1769
1762
  },
1770
1763
  {
1771
- "kind": "method",
1772
- "name": "handleVolumeVerticalFocus",
1773
- "privacy": "protected",
1774
- "inheritedFrom": {
1775
- "name": "DiscordMediaLifecycle",
1776
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1777
- }
1764
+ "name": "op",
1765
+ "type": {
1766
+ "text": "boolean"
1767
+ },
1768
+ "default": "false",
1769
+ "description": "Whether this author is the original poster.",
1770
+ "fieldName": "op"
1778
1771
  },
1779
1772
  {
1780
- "kind": "method",
1781
- "name": "handleVolumeVerticalBlur",
1782
- "privacy": "protected",
1783
- "inheritedFrom": {
1784
- "name": "DiscordMediaLifecycle",
1785
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1786
- }
1773
+ "name": "role-color",
1774
+ "type": {
1775
+ "text": "string | undefined"
1776
+ },
1777
+ "default": "undefined",
1778
+ "description": "The colour of the author, which comes from their highest role",
1779
+ "fieldName": "roleColor"
1787
1780
  },
1788
1781
  {
1789
- "kind": "method",
1790
- "name": "handleVolumeControlKeyboard",
1791
- "privacy": "protected",
1792
- "parameters": [
1793
- {
1794
- "name": "event",
1795
- "type": {
1796
- "text": "KeyboardEvent"
1797
- }
1798
- }
1799
- ],
1800
- "inheritedFrom": {
1801
- "name": "DiscordMediaLifecycle",
1802
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1803
- }
1782
+ "name": "role-icon",
1783
+ "type": {
1784
+ "text": "string | undefined"
1785
+ },
1786
+ "default": "undefined",
1787
+ "description": "The role icon of the author, which comes from their highest role",
1788
+ "fieldName": "roleIcon"
1804
1789
  },
1805
1790
  {
1806
- "kind": "method",
1807
- "name": "adjustVolume",
1808
- "privacy": "protected",
1809
- "parameters": [
1810
- {
1811
- "name": "change",
1812
- "type": {
1813
- "text": "number"
1814
- }
1815
- },
1816
- {
1817
- "name": "event",
1818
- "type": {
1819
- "text": "KeyboardEvent"
1820
- }
1821
- }
1822
- ],
1823
- "inheritedFrom": {
1824
- "name": "DiscordMediaLifecycle",
1825
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1826
- }
1791
+ "name": "role-name",
1792
+ "type": {
1793
+ "text": "string | undefined"
1794
+ },
1795
+ "default": "undefined",
1796
+ "description": "The role name of the author, which comes from their highest role",
1797
+ "fieldName": "roleName"
1827
1798
  },
1828
1799
  {
1829
- "kind": "field",
1830
- "name": "mediaMetadataLoaded",
1831
- "privacy": "protected",
1832
- "inheritedFrom": {
1833
- "name": "DiscordMediaLifecycle",
1834
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1835
- }
1836
- }
1837
- ],
1838
- "attributes": [
1839
- {
1840
- "name": "href",
1800
+ "name": "clan-icon",
1841
1801
  "type": {
1842
- "text": "string"
1802
+ "text": "string | undefined"
1843
1803
  },
1844
- "description": "The URL to audio file",
1845
- "fieldName": "href"
1804
+ "default": "undefined",
1805
+ "description": "The clan icon of the author, which comes from the enabled clan tag",
1806
+ "fieldName": "clanIcon"
1846
1807
  },
1847
1808
  {
1848
- "name": "name",
1809
+ "name": "clan-tag",
1849
1810
  "type": {
1850
1811
  "text": "string | undefined"
1851
1812
  },
1852
- "description": "The name of the audio file",
1853
- "fieldName": "name"
1813
+ "default": "undefined",
1814
+ "description": "The clan name of the author, which comes from the enabled clan tag",
1815
+ "fieldName": "clanTag"
1854
1816
  },
1855
1817
  {
1856
- "name": "bytes",
1818
+ "name": "verified",
1857
1819
  "type": {
1858
- "text": "number"
1820
+ "text": "boolean"
1859
1821
  },
1860
- "description": "The size of the audio file in bytes",
1861
- "fieldName": "bytes"
1822
+ "default": "false",
1823
+ "description": "Whether this bot is verified by Discord. Only works if `bot` is `true`",
1824
+ "fieldName": "verified"
1862
1825
  },
1863
1826
  {
1864
- "name": "bytes-unit",
1827
+ "name": "compact-mode",
1865
1828
  "type": {
1866
- "text": "string"
1829
+ "text": "boolean"
1867
1830
  },
1868
- "description": "The unit of the audio file in a human-readable format",
1869
- "fieldName": "bytesUnit"
1831
+ "default": "false",
1832
+ "description": "Whether to reverse the order of the author info for compact mode.",
1833
+ "fieldName": "compactMode"
1870
1834
  },
1871
1835
  {
1872
1836
  "name": "light-theme",
@@ -1878,28 +1842,64 @@
1878
1842
  }
1879
1843
  ],
1880
1844
  "superclass": {
1881
- "name": "DiscordMediaLifecycle",
1882
- "module": "/src/components/_private/DiscordMediaLifecycle.js"
1845
+ "name": "LitElement",
1846
+ "package": "lit"
1883
1847
  },
1884
- "tagName": "discord-audio-attachment",
1848
+ "tagName": "discord-author-info",
1885
1849
  "customElement": true
1886
1850
  }
1887
1851
  ],
1888
1852
  "exports": [
1889
1853
  {
1890
1854
  "kind": "js",
1891
- "name": "DiscordAudioAttachment",
1855
+ "name": "DiscordAuthorInfo",
1892
1856
  "declaration": {
1893
- "name": "DiscordAudioAttachment",
1894
- "module": "src/components/discord-audio-attachment/DiscordAudioAttachment.ts"
1857
+ "name": "DiscordAuthorInfo",
1858
+ "module": "src/components/discord-author-info/DiscordAuthorInfo.ts"
1895
1859
  }
1896
1860
  },
1897
1861
  {
1898
1862
  "kind": "custom-element-definition",
1899
- "name": "discord-audio-attachment",
1863
+ "name": "discord-author-info",
1900
1864
  "declaration": {
1901
- "name": "DiscordAudioAttachment",
1902
- "module": "src/components/discord-audio-attachment/DiscordAudioAttachment.ts"
1865
+ "name": "DiscordAuthorInfo",
1866
+ "module": "src/components/discord-author-info/DiscordAuthorInfo.ts"
1867
+ }
1868
+ }
1869
+ ]
1870
+ },
1871
+ {
1872
+ "kind": "javascript-module",
1873
+ "path": "src/components/discord-bold/DiscordBold.ts",
1874
+ "declarations": [
1875
+ {
1876
+ "kind": "class",
1877
+ "description": "",
1878
+ "name": "DiscordBold",
1879
+ "members": [],
1880
+ "superclass": {
1881
+ "name": "LitElement",
1882
+ "package": "lit"
1883
+ },
1884
+ "tagName": "discord-bold",
1885
+ "customElement": true
1886
+ }
1887
+ ],
1888
+ "exports": [
1889
+ {
1890
+ "kind": "js",
1891
+ "name": "DiscordBold",
1892
+ "declaration": {
1893
+ "name": "DiscordBold",
1894
+ "module": "src/components/discord-bold/DiscordBold.ts"
1895
+ }
1896
+ },
1897
+ {
1898
+ "kind": "custom-element-definition",
1899
+ "name": "discord-bold",
1900
+ "declaration": {
1901
+ "name": "DiscordBold",
1902
+ "module": "src/components/discord-bold/DiscordBold.ts"
1903
1903
  }
1904
1904
  }
1905
1905
  ]
@@ -5591,7 +5591,7 @@
5591
5591
  },
5592
5592
  {
5593
5593
  "kind": "javascript-module",
5594
- "path": "src/components/discord-media-gallery-tem/DiscordMediaGalleryItem.ts",
5594
+ "path": "src/components/discord-media-gallery-item/DiscordMediaGalleryItem.ts",
5595
5595
  "declarations": [
5596
5596
  {
5597
5597
  "kind": "class",
@@ -5745,7 +5745,7 @@
5745
5745
  "name": "DiscordMediaGalleryItem",
5746
5746
  "declaration": {
5747
5747
  "name": "DiscordMediaGalleryItem",
5748
- "module": "src/components/discord-media-gallery-tem/DiscordMediaGalleryItem.ts"
5748
+ "module": "src/components/discord-media-gallery-item/DiscordMediaGalleryItem.ts"
5749
5749
  }
5750
5750
  },
5751
5751
  {
@@ -5753,7 +5753,7 @@
5753
5753
  "name": "discord-media-gallery-item",
5754
5754
  "declaration": {
5755
5755
  "name": "DiscordMediaGalleryItem",
5756
- "module": "src/components/discord-media-gallery-tem/DiscordMediaGalleryItem.ts"
5756
+ "module": "src/components/discord-media-gallery-item/DiscordMediaGalleryItem.ts"
5757
5757
  }
5758
5758
  }
5759
5759
  ]
@@ -8727,67 +8727,9 @@
8727
8727
  "type": {
8728
8728
  "text": "string"
8729
8729
  },
8730
- "description": "The description of the option",
8731
- "fieldName": "description"
8732
- },
8733
- {
8734
- "name": "light-theme",
8735
- "type": {
8736
- "text": "boolean"
8737
- },
8738
- "default": "false",
8739
- "fieldName": "lightTheme"
8740
- }
8741
- ],
8742
- "superclass": {
8743
- "name": "LitElement",
8744
- "package": "lit"
8745
- },
8746
- "tagName": "discord-string-select-menu-option",
8747
- "customElement": true
8748
- }
8749
- ],
8750
- "exports": [
8751
- {
8752
- "kind": "js",
8753
- "name": "DiscordStringSelectMenuOption",
8754
- "declaration": {
8755
- "name": "DiscordStringSelectMenuOption",
8756
- "module": "src/components/discord-string-select-menu-option/DiscordStringSelectMenuOption.ts"
8757
- }
8758
- },
8759
- {
8760
- "kind": "custom-element-definition",
8761
- "name": "discord-string-select-menu-option",
8762
- "declaration": {
8763
- "name": "DiscordStringSelectMenuOption",
8764
- "module": "src/components/discord-string-select-menu-option/DiscordStringSelectMenuOption.ts"
8765
- }
8766
- }
8767
- ]
8768
- },
8769
- {
8770
- "kind": "javascript-module",
8771
- "path": "src/components/discord-subscript/DiscordSubscript.ts",
8772
- "declarations": [
8773
- {
8774
- "kind": "class",
8775
- "description": "",
8776
- "name": "DiscordSubscript",
8777
- "members": [
8778
- {
8779
- "kind": "field",
8780
- "name": "lightTheme",
8781
- "type": {
8782
- "text": "boolean"
8783
- },
8784
- "privacy": "public",
8785
- "default": "false",
8786
- "attribute": "light-theme",
8787
- "reflects": true
8788
- }
8789
- ],
8790
- "attributes": [
8730
+ "description": "The description of the option",
8731
+ "fieldName": "description"
8732
+ },
8791
8733
  {
8792
8734
  "name": "light-theme",
8793
8735
  "type": {
@@ -8801,84 +8743,38 @@
8801
8743
  "name": "LitElement",
8802
8744
  "package": "lit"
8803
8745
  },
8804
- "tagName": "discord-subscript",
8746
+ "tagName": "discord-string-select-menu-option",
8805
8747
  "customElement": true
8806
8748
  }
8807
8749
  ],
8808
8750
  "exports": [
8809
8751
  {
8810
8752
  "kind": "js",
8811
- "name": "DiscordSubscript",
8753
+ "name": "DiscordStringSelectMenuOption",
8812
8754
  "declaration": {
8813
- "name": "DiscordSubscript",
8814
- "module": "src/components/discord-subscript/DiscordSubscript.ts"
8755
+ "name": "DiscordStringSelectMenuOption",
8756
+ "module": "src/components/discord-string-select-menu-option/DiscordStringSelectMenuOption.ts"
8815
8757
  }
8816
8758
  },
8817
8759
  {
8818
8760
  "kind": "custom-element-definition",
8819
- "name": "discord-subscript",
8761
+ "name": "discord-string-select-menu-option",
8820
8762
  "declaration": {
8821
- "name": "DiscordSubscript",
8822
- "module": "src/components/discord-subscript/DiscordSubscript.ts"
8763
+ "name": "DiscordStringSelectMenuOption",
8764
+ "module": "src/components/discord-string-select-menu-option/DiscordStringSelectMenuOption.ts"
8823
8765
  }
8824
8766
  }
8825
8767
  ]
8826
8768
  },
8827
8769
  {
8828
8770
  "kind": "javascript-module",
8829
- "path": "src/components/discord-system-message/DiscordSystemMessage.ts",
8771
+ "path": "src/components/discord-subscript/DiscordSubscript.ts",
8830
8772
  "declarations": [
8831
8773
  {
8832
8774
  "kind": "class",
8833
8775
  "description": "",
8834
- "name": "DiscordSystemMessage",
8776
+ "name": "DiscordSubscript",
8835
8777
  "members": [
8836
- {
8837
- "kind": "field",
8838
- "name": "timestamp",
8839
- "type": {
8840
- "text": "DiscordTimestamp"
8841
- },
8842
- "privacy": "public",
8843
- "default": "new Date()",
8844
- "description": "The timestamp to use for the message date.",
8845
- "attribute": "timestamp"
8846
- },
8847
- {
8848
- "kind": "field",
8849
- "name": "type",
8850
- "type": {
8851
- "text": "'alert' | 'boost' | 'call' | 'edit' | 'error' | 'join' | 'leave' | 'missed-call' | 'pin' | 'thread' | 'upgrade'"
8852
- },
8853
- "privacy": "public",
8854
- "default": "'join'",
8855
- "description": "The type of system message this is, this will change the icon shown.\r\nValid values: `join`, `leave`, `call`, `missed-call`, `boost`, `edit`, `thread`, `pin`, `alert`, `upgrade` and `error`.",
8856
- "attribute": "type",
8857
- "reflects": true
8858
- },
8859
- {
8860
- "kind": "field",
8861
- "name": "channelName",
8862
- "type": {
8863
- "text": "boolean"
8864
- },
8865
- "privacy": "public",
8866
- "default": "false",
8867
- "description": "Whether this message is to show channel name changes, used to match Discord's style.",
8868
- "attribute": "channel-name",
8869
- "reflects": true
8870
- },
8871
- {
8872
- "kind": "field",
8873
- "name": "hasThread",
8874
- "type": {
8875
- "text": "boolean"
8876
- },
8877
- "privacy": "public",
8878
- "default": "false",
8879
- "attribute": "has-thread",
8880
- "reflects": true
8881
- },
8882
8778
  {
8883
8779
  "kind": "field",
8884
8780
  "name": "lightTheme",
@@ -8889,49 +8785,9 @@
8889
8785
  "default": "false",
8890
8786
  "attribute": "light-theme",
8891
8787
  "reflects": true
8892
- },
8893
- {
8894
- "kind": "method",
8895
- "name": "checkType",
8896
- "privacy": "public"
8897
8788
  }
8898
8789
  ],
8899
8790
  "attributes": [
8900
- {
8901
- "name": "timestamp",
8902
- "type": {
8903
- "text": "DiscordTimestamp"
8904
- },
8905
- "default": "new Date()",
8906
- "description": "The timestamp to use for the message date.",
8907
- "fieldName": "timestamp"
8908
- },
8909
- {
8910
- "name": "type",
8911
- "type": {
8912
- "text": "'alert' | 'boost' | 'call' | 'edit' | 'error' | 'join' | 'leave' | 'missed-call' | 'pin' | 'thread' | 'upgrade'"
8913
- },
8914
- "default": "'join'",
8915
- "description": "The type of system message this is, this will change the icon shown.\r\nValid values: `join`, `leave`, `call`, `missed-call`, `boost`, `edit`, `thread`, `pin`, `alert`, `upgrade` and `error`.",
8916
- "fieldName": "type"
8917
- },
8918
- {
8919
- "name": "channel-name",
8920
- "type": {
8921
- "text": "boolean"
8922
- },
8923
- "default": "false",
8924
- "description": "Whether this message is to show channel name changes, used to match Discord's style.",
8925
- "fieldName": "channelName"
8926
- },
8927
- {
8928
- "name": "has-thread",
8929
- "type": {
8930
- "text": "boolean"
8931
- },
8932
- "default": "false",
8933
- "fieldName": "hasThread"
8934
- },
8935
8791
  {
8936
8792
  "name": "light-theme",
8937
8793
  "type": {
@@ -8945,25 +8801,25 @@
8945
8801
  "name": "LitElement",
8946
8802
  "package": "lit"
8947
8803
  },
8948
- "tagName": "discord-system-message",
8804
+ "tagName": "discord-subscript",
8949
8805
  "customElement": true
8950
8806
  }
8951
8807
  ],
8952
8808
  "exports": [
8953
8809
  {
8954
8810
  "kind": "js",
8955
- "name": "DiscordSystemMessage",
8811
+ "name": "DiscordSubscript",
8956
8812
  "declaration": {
8957
- "name": "DiscordSystemMessage",
8958
- "module": "src/components/discord-system-message/DiscordSystemMessage.ts"
8813
+ "name": "DiscordSubscript",
8814
+ "module": "src/components/discord-subscript/DiscordSubscript.ts"
8959
8815
  }
8960
8816
  },
8961
8817
  {
8962
8818
  "kind": "custom-element-definition",
8963
- "name": "discord-system-message",
8819
+ "name": "discord-subscript",
8964
8820
  "declaration": {
8965
- "name": "DiscordSystemMessage",
8966
- "module": "src/components/discord-system-message/DiscordSystemMessage.ts"
8821
+ "name": "DiscordSubscript",
8822
+ "module": "src/components/discord-subscript/DiscordSubscript.ts"
8967
8823
  }
8968
8824
  }
8969
8825
  ]
@@ -9074,25 +8930,169 @@
9074
8930
  "name": "LitElement",
9075
8931
  "package": "lit"
9076
8932
  },
9077
- "tagName": "discord-text-display",
8933
+ "tagName": "discord-text-display",
8934
+ "customElement": true
8935
+ }
8936
+ ],
8937
+ "exports": [
8938
+ {
8939
+ "kind": "js",
8940
+ "name": "DiscordTextDisplay",
8941
+ "declaration": {
8942
+ "name": "DiscordTextDisplay",
8943
+ "module": "src/components/discord-text-display/DiscordTextDisplay.ts"
8944
+ }
8945
+ },
8946
+ {
8947
+ "kind": "custom-element-definition",
8948
+ "name": "discord-text-display",
8949
+ "declaration": {
8950
+ "name": "DiscordTextDisplay",
8951
+ "module": "src/components/discord-text-display/DiscordTextDisplay.ts"
8952
+ }
8953
+ }
8954
+ ]
8955
+ },
8956
+ {
8957
+ "kind": "javascript-module",
8958
+ "path": "src/components/discord-system-message/DiscordSystemMessage.ts",
8959
+ "declarations": [
8960
+ {
8961
+ "kind": "class",
8962
+ "description": "",
8963
+ "name": "DiscordSystemMessage",
8964
+ "members": [
8965
+ {
8966
+ "kind": "field",
8967
+ "name": "timestamp",
8968
+ "type": {
8969
+ "text": "DiscordTimestamp"
8970
+ },
8971
+ "privacy": "public",
8972
+ "default": "new Date()",
8973
+ "description": "The timestamp to use for the message date.",
8974
+ "attribute": "timestamp"
8975
+ },
8976
+ {
8977
+ "kind": "field",
8978
+ "name": "type",
8979
+ "type": {
8980
+ "text": "'alert' | 'boost' | 'call' | 'edit' | 'error' | 'join' | 'leave' | 'missed-call' | 'pin' | 'thread' | 'upgrade'"
8981
+ },
8982
+ "privacy": "public",
8983
+ "default": "'join'",
8984
+ "description": "The type of system message this is, this will change the icon shown.\r\nValid values: `join`, `leave`, `call`, `missed-call`, `boost`, `edit`, `thread`, `pin`, `alert`, `upgrade` and `error`.",
8985
+ "attribute": "type",
8986
+ "reflects": true
8987
+ },
8988
+ {
8989
+ "kind": "field",
8990
+ "name": "channelName",
8991
+ "type": {
8992
+ "text": "boolean"
8993
+ },
8994
+ "privacy": "public",
8995
+ "default": "false",
8996
+ "description": "Whether this message is to show channel name changes, used to match Discord's style.",
8997
+ "attribute": "channel-name",
8998
+ "reflects": true
8999
+ },
9000
+ {
9001
+ "kind": "field",
9002
+ "name": "hasThread",
9003
+ "type": {
9004
+ "text": "boolean"
9005
+ },
9006
+ "privacy": "public",
9007
+ "default": "false",
9008
+ "attribute": "has-thread",
9009
+ "reflects": true
9010
+ },
9011
+ {
9012
+ "kind": "field",
9013
+ "name": "lightTheme",
9014
+ "type": {
9015
+ "text": "boolean"
9016
+ },
9017
+ "privacy": "public",
9018
+ "default": "false",
9019
+ "attribute": "light-theme",
9020
+ "reflects": true
9021
+ },
9022
+ {
9023
+ "kind": "method",
9024
+ "name": "checkType",
9025
+ "privacy": "public"
9026
+ }
9027
+ ],
9028
+ "attributes": [
9029
+ {
9030
+ "name": "timestamp",
9031
+ "type": {
9032
+ "text": "DiscordTimestamp"
9033
+ },
9034
+ "default": "new Date()",
9035
+ "description": "The timestamp to use for the message date.",
9036
+ "fieldName": "timestamp"
9037
+ },
9038
+ {
9039
+ "name": "type",
9040
+ "type": {
9041
+ "text": "'alert' | 'boost' | 'call' | 'edit' | 'error' | 'join' | 'leave' | 'missed-call' | 'pin' | 'thread' | 'upgrade'"
9042
+ },
9043
+ "default": "'join'",
9044
+ "description": "The type of system message this is, this will change the icon shown.\r\nValid values: `join`, `leave`, `call`, `missed-call`, `boost`, `edit`, `thread`, `pin`, `alert`, `upgrade` and `error`.",
9045
+ "fieldName": "type"
9046
+ },
9047
+ {
9048
+ "name": "channel-name",
9049
+ "type": {
9050
+ "text": "boolean"
9051
+ },
9052
+ "default": "false",
9053
+ "description": "Whether this message is to show channel name changes, used to match Discord's style.",
9054
+ "fieldName": "channelName"
9055
+ },
9056
+ {
9057
+ "name": "has-thread",
9058
+ "type": {
9059
+ "text": "boolean"
9060
+ },
9061
+ "default": "false",
9062
+ "fieldName": "hasThread"
9063
+ },
9064
+ {
9065
+ "name": "light-theme",
9066
+ "type": {
9067
+ "text": "boolean"
9068
+ },
9069
+ "default": "false",
9070
+ "fieldName": "lightTheme"
9071
+ }
9072
+ ],
9073
+ "superclass": {
9074
+ "name": "LitElement",
9075
+ "package": "lit"
9076
+ },
9077
+ "tagName": "discord-system-message",
9078
9078
  "customElement": true
9079
9079
  }
9080
9080
  ],
9081
9081
  "exports": [
9082
9082
  {
9083
9083
  "kind": "js",
9084
- "name": "DiscordTextDisplay",
9084
+ "name": "DiscordSystemMessage",
9085
9085
  "declaration": {
9086
- "name": "DiscordTextDisplay",
9087
- "module": "src/components/discord-text-display/DiscordTextDisplay.ts"
9086
+ "name": "DiscordSystemMessage",
9087
+ "module": "src/components/discord-system-message/DiscordSystemMessage.ts"
9088
9088
  }
9089
9089
  },
9090
9090
  {
9091
9091
  "kind": "custom-element-definition",
9092
- "name": "discord-text-display",
9092
+ "name": "discord-system-message",
9093
9093
  "declaration": {
9094
- "name": "DiscordTextDisplay",
9095
- "module": "src/components/discord-text-display/DiscordTextDisplay.ts"
9094
+ "name": "DiscordSystemMessage",
9095
+ "module": "src/components/discord-system-message/DiscordSystemMessage.ts"
9096
9096
  }
9097
9097
  }
9098
9098
  ]
@@ -9681,274 +9681,52 @@
9681
9681
  {
9682
9682
  "name": "role-color",
9683
9683
  "type": {
9684
- "text": "string"
9685
- },
9686
- "description": "The message author's primary role color. Can be any [CSS color value](https://www.w3schools.com/cssref/css_colors_legal.asp).",
9687
- "fieldName": "roleColor"
9688
- },
9689
- {
9690
- "name": "relative-timestamp",
9691
- "type": {
9692
- "text": "string"
9693
- },
9694
- "default": "'1m ago'",
9695
- "description": "The relative timestamp of the message.",
9696
- "fieldName": "relativeTimestamp"
9697
- },
9698
- {
9699
- "name": "light-theme",
9700
- "type": {
9701
- "text": "boolean"
9702
- },
9703
- "default": "false",
9704
- "fieldName": "lightTheme"
9705
- }
9706
- ],
9707
- "superclass": {
9708
- "name": "LitElement",
9709
- "package": "lit"
9710
- },
9711
- "tagName": "discord-thread-message",
9712
- "customElement": true
9713
- }
9714
- ],
9715
- "exports": [
9716
- {
9717
- "kind": "js",
9718
- "name": "DiscordThreadMessage",
9719
- "declaration": {
9720
- "name": "DiscordThreadMessage",
9721
- "module": "src/components/discord-thread-message/DiscordThreadMessage.ts"
9722
- }
9723
- },
9724
- {
9725
- "kind": "custom-element-definition",
9726
- "name": "discord-thread-message",
9727
- "declaration": {
9728
- "name": "DiscordThreadMessage",
9729
- "module": "src/components/discord-thread-message/DiscordThreadMessage.ts"
9730
- }
9731
- }
9732
- ]
9733
- },
9734
- {
9735
- "kind": "javascript-module",
9736
- "path": "src/components/discord-thumbnail/DiscordThumbnail.ts",
9737
- "declarations": [
9738
- {
9739
- "kind": "class",
9740
- "description": "",
9741
- "name": "DiscordThumbnail",
9742
- "members": [
9743
- {
9744
- "kind": "field",
9745
- "name": "media",
9746
- "type": {
9747
- "text": "string"
9748
- },
9749
- "privacy": "public",
9750
- "attribute": "media"
9751
- },
9752
- {
9753
- "kind": "field",
9754
- "name": "description",
9755
- "type": {
9756
- "text": "string"
9757
- },
9758
- "privacy": "public",
9759
- "attribute": "description"
9760
- },
9761
- {
9762
- "kind": "field",
9763
- "name": "spoiler",
9764
- "type": {
9765
- "text": "boolean"
9766
- },
9767
- "privacy": "public",
9768
- "default": "false",
9769
- "attribute": "spoiler",
9770
- "reflects": true
9771
- }
9772
- ],
9773
- "attributes": [
9774
- {
9775
- "name": "media",
9776
- "type": {
9777
- "text": "string"
9778
- },
9779
- "fieldName": "media"
9780
- },
9781
- {
9782
- "name": "description",
9783
- "type": {
9784
- "text": "string"
9785
- },
9786
- "fieldName": "description"
9787
- },
9788
- {
9789
- "name": "spoiler",
9790
- "type": {
9791
- "text": "boolean"
9792
- },
9793
- "default": "false",
9794
- "fieldName": "spoiler"
9795
- }
9796
- ],
9797
- "superclass": {
9798
- "name": "LitElement",
9799
- "package": "lit"
9800
- },
9801
- "tagName": "discord-thumbnail",
9802
- "customElement": true
9803
- }
9804
- ],
9805
- "exports": [
9806
- {
9807
- "kind": "js",
9808
- "name": "DiscordThumbnail",
9809
- "declaration": {
9810
- "name": "DiscordThumbnail",
9811
- "module": "src/components/discord-thumbnail/DiscordThumbnail.ts"
9812
- }
9813
- },
9814
- {
9815
- "kind": "custom-element-definition",
9816
- "name": "discord-thumbnail",
9817
- "declaration": {
9818
- "name": "DiscordThumbnail",
9819
- "module": "src/components/discord-thumbnail/DiscordThumbnail.ts"
9820
- }
9821
- }
9822
- ]
9823
- },
9824
- {
9825
- "kind": "javascript-module",
9826
- "path": "src/components/discord-time/DiscordTime.ts",
9827
- "declarations": [
9828
- {
9829
- "kind": "class",
9830
- "description": "",
9831
- "name": "DiscordTime",
9832
- "members": [
9833
- {
9834
- "kind": "field",
9835
- "name": "timestamp",
9836
- "type": {
9837
- "text": "number"
9838
- },
9839
- "privacy": "public",
9840
- "attribute": "timestamp",
9841
- "reflects": true
9842
- },
9843
- {
9844
- "kind": "field",
9845
- "name": "baseNow",
9846
- "type": {
9847
- "text": "number | undefined"
9848
- },
9849
- "privacy": "public",
9850
- "attribute": "baseNow",
9851
- "reflects": true
9852
- },
9853
- {
9854
- "kind": "field",
9855
- "name": "format",
9856
- "type": {
9857
- "text": "keyof typeof DATE_TYPE_FORMATS"
9858
- },
9859
- "privacy": "public",
9860
- "default": "'t'",
9861
- "attribute": "format",
9862
- "reflects": true
9863
- },
9864
- {
9865
- "kind": "field",
9866
- "name": "timeout",
9867
- "type": {
9868
- "text": "number | undefined"
9869
- },
9870
- "privacy": "private"
9871
- },
9872
- {
9873
- "kind": "field",
9874
- "name": "resultTime",
9875
- "type": {
9876
- "text": "string | undefined"
9877
- },
9878
- "privacy": "private"
9879
- },
9880
- {
9881
- "kind": "method",
9882
- "name": "parseTime",
9883
- "privacy": "private",
9884
- "description": "Generates a string for the time."
9885
- },
9886
- {
9887
- "kind": "method",
9888
- "name": "getRelativeTime",
9889
- "privacy": "private",
9890
- "return": {
9891
- "type": {
9892
- "text": "[string, number]"
9893
- }
9894
- },
9895
- "parameters": [
9896
- {
9897
- "name": "timestamp",
9898
- "type": {
9899
- "text": "number"
9900
- }
9901
- }
9902
- ]
9903
- }
9904
- ],
9905
- "attributes": [
9906
- {
9907
- "name": "timestamp",
9908
- "type": {
9909
- "text": "number"
9684
+ "text": "string"
9910
9685
  },
9911
- "fieldName": "timestamp"
9686
+ "description": "The message author's primary role color. Can be any [CSS color value](https://www.w3schools.com/cssref/css_colors_legal.asp).",
9687
+ "fieldName": "roleColor"
9912
9688
  },
9913
9689
  {
9914
- "name": "baseNow",
9690
+ "name": "relative-timestamp",
9915
9691
  "type": {
9916
- "text": "number | undefined"
9692
+ "text": "string"
9917
9693
  },
9918
- "fieldName": "baseNow"
9694
+ "default": "'1m ago'",
9695
+ "description": "The relative timestamp of the message.",
9696
+ "fieldName": "relativeTimestamp"
9919
9697
  },
9920
9698
  {
9921
- "name": "format",
9699
+ "name": "light-theme",
9922
9700
  "type": {
9923
- "text": "keyof typeof DATE_TYPE_FORMATS"
9701
+ "text": "boolean"
9924
9702
  },
9925
- "default": "'t'",
9926
- "fieldName": "format"
9703
+ "default": "false",
9704
+ "fieldName": "lightTheme"
9927
9705
  }
9928
9706
  ],
9929
9707
  "superclass": {
9930
9708
  "name": "LitElement",
9931
9709
  "package": "lit"
9932
9710
  },
9933
- "tagName": "discord-time",
9711
+ "tagName": "discord-thread-message",
9934
9712
  "customElement": true
9935
9713
  }
9936
9714
  ],
9937
9715
  "exports": [
9938
9716
  {
9939
9717
  "kind": "js",
9940
- "name": "DiscordTime",
9718
+ "name": "DiscordThreadMessage",
9941
9719
  "declaration": {
9942
- "name": "DiscordTime",
9943
- "module": "src/components/discord-time/DiscordTime.ts"
9720
+ "name": "DiscordThreadMessage",
9721
+ "module": "src/components/discord-thread-message/DiscordThreadMessage.ts"
9944
9722
  }
9945
9723
  },
9946
9724
  {
9947
9725
  "kind": "custom-element-definition",
9948
- "name": "discord-time",
9726
+ "name": "discord-thread-message",
9949
9727
  "declaration": {
9950
- "name": "DiscordTime",
9951
- "module": "src/components/discord-time/DiscordTime.ts"
9728
+ "name": "DiscordThreadMessage",
9729
+ "module": "src/components/discord-thread-message/DiscordThreadMessage.ts"
9952
9730
  }
9953
9731
  }
9954
9732
  ]
@@ -10054,6 +9832,96 @@
10054
9832
  }
10055
9833
  ]
10056
9834
  },
9835
+ {
9836
+ "kind": "javascript-module",
9837
+ "path": "src/components/discord-thumbnail/DiscordThumbnail.ts",
9838
+ "declarations": [
9839
+ {
9840
+ "kind": "class",
9841
+ "description": "",
9842
+ "name": "DiscordThumbnail",
9843
+ "members": [
9844
+ {
9845
+ "kind": "field",
9846
+ "name": "media",
9847
+ "type": {
9848
+ "text": "string"
9849
+ },
9850
+ "privacy": "public",
9851
+ "attribute": "media"
9852
+ },
9853
+ {
9854
+ "kind": "field",
9855
+ "name": "description",
9856
+ "type": {
9857
+ "text": "string"
9858
+ },
9859
+ "privacy": "public",
9860
+ "attribute": "description"
9861
+ },
9862
+ {
9863
+ "kind": "field",
9864
+ "name": "spoiler",
9865
+ "type": {
9866
+ "text": "boolean"
9867
+ },
9868
+ "privacy": "public",
9869
+ "default": "false",
9870
+ "attribute": "spoiler",
9871
+ "reflects": true
9872
+ }
9873
+ ],
9874
+ "attributes": [
9875
+ {
9876
+ "name": "media",
9877
+ "type": {
9878
+ "text": "string"
9879
+ },
9880
+ "fieldName": "media"
9881
+ },
9882
+ {
9883
+ "name": "description",
9884
+ "type": {
9885
+ "text": "string"
9886
+ },
9887
+ "fieldName": "description"
9888
+ },
9889
+ {
9890
+ "name": "spoiler",
9891
+ "type": {
9892
+ "text": "boolean"
9893
+ },
9894
+ "default": "false",
9895
+ "fieldName": "spoiler"
9896
+ }
9897
+ ],
9898
+ "superclass": {
9899
+ "name": "LitElement",
9900
+ "package": "lit"
9901
+ },
9902
+ "tagName": "discord-thumbnail",
9903
+ "customElement": true
9904
+ }
9905
+ ],
9906
+ "exports": [
9907
+ {
9908
+ "kind": "js",
9909
+ "name": "DiscordThumbnail",
9910
+ "declaration": {
9911
+ "name": "DiscordThumbnail",
9912
+ "module": "src/components/discord-thumbnail/DiscordThumbnail.ts"
9913
+ }
9914
+ },
9915
+ {
9916
+ "kind": "custom-element-definition",
9917
+ "name": "discord-thumbnail",
9918
+ "declaration": {
9919
+ "name": "DiscordThumbnail",
9920
+ "module": "src/components/discord-thumbnail/DiscordThumbnail.ts"
9921
+ }
9922
+ }
9923
+ ]
9924
+ },
10057
9925
  {
10058
9926
  "kind": "javascript-module",
10059
9927
  "path": "src/components/discord-underlined/DiscordUnderlined.ts",
@@ -10235,6 +10103,138 @@
10235
10103
  }
10236
10104
  ]
10237
10105
  },
10106
+ {
10107
+ "kind": "javascript-module",
10108
+ "path": "src/components/discord-time/DiscordTime.ts",
10109
+ "declarations": [
10110
+ {
10111
+ "kind": "class",
10112
+ "description": "",
10113
+ "name": "DiscordTime",
10114
+ "members": [
10115
+ {
10116
+ "kind": "field",
10117
+ "name": "timestamp",
10118
+ "type": {
10119
+ "text": "number"
10120
+ },
10121
+ "privacy": "public",
10122
+ "attribute": "timestamp",
10123
+ "reflects": true
10124
+ },
10125
+ {
10126
+ "kind": "field",
10127
+ "name": "baseNow",
10128
+ "type": {
10129
+ "text": "number | undefined"
10130
+ },
10131
+ "privacy": "public",
10132
+ "attribute": "baseNow",
10133
+ "reflects": true
10134
+ },
10135
+ {
10136
+ "kind": "field",
10137
+ "name": "format",
10138
+ "type": {
10139
+ "text": "keyof typeof DATE_TYPE_FORMATS"
10140
+ },
10141
+ "privacy": "public",
10142
+ "default": "'t'",
10143
+ "attribute": "format",
10144
+ "reflects": true
10145
+ },
10146
+ {
10147
+ "kind": "field",
10148
+ "name": "timeout",
10149
+ "type": {
10150
+ "text": "number | undefined"
10151
+ },
10152
+ "privacy": "private"
10153
+ },
10154
+ {
10155
+ "kind": "field",
10156
+ "name": "resultTime",
10157
+ "type": {
10158
+ "text": "string | undefined"
10159
+ },
10160
+ "privacy": "private"
10161
+ },
10162
+ {
10163
+ "kind": "method",
10164
+ "name": "parseTime",
10165
+ "privacy": "private",
10166
+ "description": "Generates a string for the time."
10167
+ },
10168
+ {
10169
+ "kind": "method",
10170
+ "name": "getRelativeTime",
10171
+ "privacy": "private",
10172
+ "return": {
10173
+ "type": {
10174
+ "text": "[string, number]"
10175
+ }
10176
+ },
10177
+ "parameters": [
10178
+ {
10179
+ "name": "timestamp",
10180
+ "type": {
10181
+ "text": "number"
10182
+ }
10183
+ }
10184
+ ]
10185
+ }
10186
+ ],
10187
+ "attributes": [
10188
+ {
10189
+ "name": "timestamp",
10190
+ "type": {
10191
+ "text": "number"
10192
+ },
10193
+ "fieldName": "timestamp"
10194
+ },
10195
+ {
10196
+ "name": "baseNow",
10197
+ "type": {
10198
+ "text": "number | undefined"
10199
+ },
10200
+ "fieldName": "baseNow"
10201
+ },
10202
+ {
10203
+ "name": "format",
10204
+ "type": {
10205
+ "text": "keyof typeof DATE_TYPE_FORMATS"
10206
+ },
10207
+ "default": "'t'",
10208
+ "fieldName": "format"
10209
+ }
10210
+ ],
10211
+ "superclass": {
10212
+ "name": "LitElement",
10213
+ "package": "lit"
10214
+ },
10215
+ "tagName": "discord-time",
10216
+ "customElement": true
10217
+ }
10218
+ ],
10219
+ "exports": [
10220
+ {
10221
+ "kind": "js",
10222
+ "name": "DiscordTime",
10223
+ "declaration": {
10224
+ "name": "DiscordTime",
10225
+ "module": "src/components/discord-time/DiscordTime.ts"
10226
+ }
10227
+ },
10228
+ {
10229
+ "kind": "custom-element-definition",
10230
+ "name": "discord-time",
10231
+ "declaration": {
10232
+ "name": "DiscordTime",
10233
+ "module": "src/components/discord-time/DiscordTime.ts"
10234
+ }
10235
+ }
10236
+ ]
10237
+ },
10238
10238
  {
10239
10239
  "kind": "javascript-module",
10240
10240
  "path": "src/components/discord-video-attachment/DiscordVideoAttachment.ts",