@penwin/discord-components-core 4.1.2 → 4.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
  {
@@ -974,489 +974,322 @@
974
974
  },
975
975
  {
976
976
  "kind": "javascript-module",
977
- "path": "src/components/discord-action-row/DiscordActionRow.ts",
977
+ "path": "src/components/discord-attachments/DiscordAttachments.ts",
978
978
  "declarations": [
979
979
  {
980
980
  "kind": "class",
981
981
  "description": "",
982
- "name": "DiscordActionRow",
982
+ "name": "DiscordAttachments",
983
983
  "members": [],
984
984
  "superclass": {
985
985
  "name": "LitElement",
986
986
  "package": "lit"
987
987
  },
988
- "tagName": "discord-action-row",
988
+ "tagName": "discord-attachments",
989
989
  "customElement": true
990
990
  }
991
991
  ],
992
992
  "exports": [
993
993
  {
994
994
  "kind": "js",
995
- "name": "DiscordActionRow",
995
+ "name": "DiscordAttachments",
996
996
  "declaration": {
997
- "name": "DiscordActionRow",
998
- "module": "src/components/discord-action-row/DiscordActionRow.ts"
997
+ "name": "DiscordAttachments",
998
+ "module": "src/components/discord-attachments/DiscordAttachments.ts"
999
999
  }
1000
1000
  },
1001
1001
  {
1002
1002
  "kind": "custom-element-definition",
1003
- "name": "discord-action-row",
1003
+ "name": "discord-attachments",
1004
1004
  "declaration": {
1005
- "name": "DiscordActionRow",
1006
- "module": "src/components/discord-action-row/DiscordActionRow.ts"
1005
+ "name": "DiscordAttachments",
1006
+ "module": "src/components/discord-attachments/DiscordAttachments.ts"
1007
1007
  }
1008
1008
  }
1009
1009
  ]
1010
1010
  },
1011
1011
  {
1012
1012
  "kind": "javascript-module",
1013
- "path": "src/components/discord-attachments/DiscordAttachments.ts",
1013
+ "path": "src/components/discord-action-row/DiscordActionRow.ts",
1014
1014
  "declarations": [
1015
1015
  {
1016
1016
  "kind": "class",
1017
1017
  "description": "",
1018
- "name": "DiscordAttachments",
1018
+ "name": "DiscordActionRow",
1019
1019
  "members": [],
1020
1020
  "superclass": {
1021
1021
  "name": "LitElement",
1022
1022
  "package": "lit"
1023
1023
  },
1024
- "tagName": "discord-attachments",
1024
+ "tagName": "discord-action-row",
1025
1025
  "customElement": true
1026
1026
  }
1027
1027
  ],
1028
1028
  "exports": [
1029
1029
  {
1030
1030
  "kind": "js",
1031
- "name": "DiscordAttachments",
1031
+ "name": "DiscordActionRow",
1032
1032
  "declaration": {
1033
- "name": "DiscordAttachments",
1034
- "module": "src/components/discord-attachments/DiscordAttachments.ts"
1033
+ "name": "DiscordActionRow",
1034
+ "module": "src/components/discord-action-row/DiscordActionRow.ts"
1035
1035
  }
1036
1036
  },
1037
1037
  {
1038
1038
  "kind": "custom-element-definition",
1039
- "name": "discord-attachments",
1039
+ "name": "discord-action-row",
1040
1040
  "declaration": {
1041
- "name": "DiscordAttachments",
1042
- "module": "src/components/discord-attachments/DiscordAttachments.ts"
1041
+ "name": "DiscordActionRow",
1042
+ "module": "src/components/discord-action-row/DiscordActionRow.ts"
1043
1043
  }
1044
1044
  }
1045
1045
  ]
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"
1255
- },
1256
- {
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"
1264
- },
1265
- {
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
1441
- },
1442
- {
1443
- "kind": "field",
1444
- "name": "mediaComponentRef",
1445
- "type": {
1446
- "text": "Ref<HTMLAudioElement | HTMLVideoElement>"
1447
- },
1274
+ "kind": "method",
1275
+ "name": "calculateTime",
1448
1276
  "privacy": "protected",
1277
+ "parameters": [
1278
+ {
1279
+ "name": "secs",
1280
+ "type": {
1281
+ "text": "number"
1282
+ }
1283
+ }
1284
+ ],
1449
1285
  "inheritedFrom": {
1450
1286
  "name": "DiscordMediaLifecycle",
1451
1287
  "module": "src/components/_private/DiscordMediaLifecycle.ts"
1452
1288
  }
1453
1289
  },
1454
1290
  {
1455
- "kind": "field",
1456
- "name": "seekSliderRef",
1457
- "type": {
1458
- "text": "Ref<HTMLInputElement>"
1459
- },
1291
+ "kind": "method",
1292
+ "name": "displayMediaDuration",
1460
1293
  "privacy": "protected",
1461
1294
  "inheritedFrom": {
1462
1295
  "name": "DiscordMediaLifecycle",
@@ -1464,23 +1297,25 @@
1464
1297
  }
1465
1298
  },
1466
1299
  {
1467
- "kind": "field",
1468
- "name": "volumeControlRef",
1469
- "type": {
1470
- "text": "Ref<HTMLDivElement>"
1471
- },
1300
+ "kind": "method",
1301
+ "name": "displayLeftPlaybackPosition",
1472
1302
  "privacy": "protected",
1303
+ "parameters": [
1304
+ {
1305
+ "name": "bufferedAmount",
1306
+ "type": {
1307
+ "text": "number"
1308
+ }
1309
+ }
1310
+ ],
1473
1311
  "inheritedFrom": {
1474
1312
  "name": "DiscordMediaLifecycle",
1475
1313
  "module": "src/components/_private/DiscordMediaLifecycle.ts"
1476
1314
  }
1477
1315
  },
1478
1316
  {
1479
- "kind": "field",
1480
- "name": "volumeControlInputRef",
1481
- "type": {
1482
- "text": "Ref<HTMLInputElement>"
1483
- },
1317
+ "kind": "method",
1318
+ "name": "setSliderMax",
1484
1319
  "privacy": "protected",
1485
1320
  "inheritedFrom": {
1486
1321
  "name": "DiscordMediaLifecycle",
@@ -1488,13 +1323,9 @@
1488
1323
  }
1489
1324
  },
1490
1325
  {
1491
- "kind": "field",
1492
- "name": "currentPlaybackPosition",
1493
- "type": {
1494
- "text": "string"
1495
- },
1326
+ "kind": "method",
1327
+ "name": "displayBufferedAmount",
1496
1328
  "privacy": "protected",
1497
- "default": "'0:00'",
1498
1329
  "inheritedFrom": {
1499
1330
  "name": "DiscordMediaLifecycle",
1500
1331
  "module": "src/components/_private/DiscordMediaLifecycle.ts"
@@ -1502,12 +1333,12 @@
1502
1333
  },
1503
1334
  {
1504
1335
  "kind": "field",
1505
- "name": "leftPlaybackPosition",
1336
+ "name": "wavesurfer",
1506
1337
  "type": {
1507
- "text": "string"
1338
+ "text": "WaveSurfer | null | undefined"
1508
1339
  },
1509
1340
  "privacy": "protected",
1510
- "default": "'0:00'",
1341
+ "default": "null",
1511
1342
  "inheritedFrom": {
1512
1343
  "name": "DiscordMediaLifecycle",
1513
1344
  "module": "src/components/_private/DiscordMediaLifecycle.ts"
@@ -1515,173 +1346,7 @@
1515
1346
  },
1516
1347
  {
1517
1348
  "kind": "field",
1518
- "name": "totalMediaDuration",
1519
- "type": {
1520
- "text": "string"
1521
- },
1522
- "privacy": "protected",
1523
- "default": "''",
1524
- "inheritedFrom": {
1525
- "name": "DiscordMediaLifecycle",
1526
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1527
- }
1528
- },
1529
- {
1530
- "kind": "field",
1531
- "name": "isPlaying",
1532
- "type": {
1533
- "text": "boolean"
1534
- },
1535
- "privacy": "protected",
1536
- "default": "false",
1537
- "inheritedFrom": {
1538
- "name": "DiscordMediaLifecycle",
1539
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1540
- }
1541
- },
1542
- {
1543
- "kind": "field",
1544
- "name": "raf",
1545
- "type": {
1546
- "text": "number | null"
1547
- },
1548
- "privacy": "private",
1549
- "default": "null",
1550
- "inheritedFrom": {
1551
- "name": "DiscordMediaLifecycle",
1552
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1553
- }
1554
- },
1555
- {
1556
- "kind": "field",
1557
- "name": "isMuted",
1558
- "type": {
1559
- "text": "boolean"
1560
- },
1561
- "privacy": "protected",
1562
- "default": "false",
1563
- "inheritedFrom": {
1564
- "name": "DiscordMediaLifecycle",
1565
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1566
- }
1567
- },
1568
- {
1569
- "kind": "field",
1570
- "name": "currentVolume",
1571
- "type": {
1572
- "text": "number"
1573
- },
1574
- "privacy": "protected",
1575
- "default": "1",
1576
- "description": "Volume is a fractional value between 0 and 1",
1577
- "inheritedFrom": {
1578
- "name": "DiscordMediaLifecycle",
1579
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1580
- }
1581
- },
1582
- {
1583
- "kind": "field",
1584
- "name": "hasEnded",
1585
- "type": {
1586
- "text": "boolean"
1587
- },
1588
- "privacy": "protected",
1589
- "default": "false",
1590
- "inheritedFrom": {
1591
- "name": "DiscordMediaLifecycle",
1592
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1593
- }
1594
- },
1595
- {
1596
- "kind": "field",
1597
- "name": "hasRunUpdate",
1598
- "type": {
1599
- "text": "boolean"
1600
- },
1601
- "privacy": "private",
1602
- "default": "false",
1603
- "inheritedFrom": {
1604
- "name": "DiscordMediaLifecycle",
1605
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1606
- }
1607
- },
1608
- {
1609
- "kind": "method",
1610
- "name": "calculateTime",
1611
- "privacy": "protected",
1612
- "parameters": [
1613
- {
1614
- "name": "secs",
1615
- "type": {
1616
- "text": "number"
1617
- }
1618
- }
1619
- ],
1620
- "inheritedFrom": {
1621
- "name": "DiscordMediaLifecycle",
1622
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1623
- }
1624
- },
1625
- {
1626
- "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",
1637
- "privacy": "protected",
1638
- "parameters": [
1639
- {
1640
- "name": "bufferedAmount",
1641
- "type": {
1642
- "text": "number"
1643
- }
1644
- }
1645
- ],
1646
- "inheritedFrom": {
1647
- "name": "DiscordMediaLifecycle",
1648
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1649
- }
1650
- },
1651
- {
1652
- "kind": "method",
1653
- "name": "setSliderMax",
1654
- "privacy": "protected",
1655
- "inheritedFrom": {
1656
- "name": "DiscordMediaLifecycle",
1657
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1658
- }
1659
- },
1660
- {
1661
- "kind": "method",
1662
- "name": "displayBufferedAmount",
1663
- "privacy": "protected",
1664
- "inheritedFrom": {
1665
- "name": "DiscordMediaLifecycle",
1666
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1667
- }
1668
- },
1669
- {
1670
- "kind": "field",
1671
- "name": "wavesurfer",
1672
- "type": {
1673
- "text": "WaveSurfer | null | undefined"
1674
- },
1675
- "privacy": "protected",
1676
- "default": "null",
1677
- "inheritedFrom": {
1678
- "name": "DiscordMediaLifecycle",
1679
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1680
- }
1681
- },
1682
- {
1683
- "kind": "field",
1684
- "name": "whilePlaying",
1349
+ "name": "whilePlaying",
1685
1350
  "privacy": "protected",
1686
1351
  "inheritedFrom": {
1687
1352
  "name": "DiscordMediaLifecycle",
@@ -1906,272 +1571,607 @@
1906
1571
  },
1907
1572
  {
1908
1573
  "kind": "javascript-module",
1909
- "path": "src/components/discord-button/DiscordButton.ts",
1574
+ "path": "src/components/discord-author-info/DiscordAuthorInfo.ts",
1910
1575
  "declarations": [
1911
1576
  {
1912
1577
  "kind": "class",
1913
1578
  "description": "",
1914
- "name": "DiscordButton",
1579
+ "name": "DiscordAuthorInfo",
1915
1580
  "members": [
1916
1581
  {
1917
1582
  "kind": "field",
1918
- "name": "emoji",
1583
+ "name": "author",
1919
1584
  "type": {
1920
- "text": "string"
1585
+ "text": "string | undefined"
1921
1586
  },
1922
1587
  "privacy": "public",
1923
- "description": "The emoji URL to use in the button.",
1924
- "attribute": "emoji",
1925
- "reflects": true
1588
+ "default": "undefined",
1589
+ "description": "The name of the author",
1590
+ "attribute": "author"
1926
1591
  },
1927
1592
  {
1928
1593
  "kind": "field",
1929
- "name": "emojiName",
1594
+ "name": "bot",
1930
1595
  "type": {
1931
- "text": "string"
1596
+ "text": "boolean"
1932
1597
  },
1933
1598
  "privacy": "public",
1934
- "default": "'emoji'",
1935
- "description": "The name of the emoji used in the button.",
1936
- "attribute": "emoji-name",
1937
- "reflects": true
1599
+ "default": "false",
1600
+ "description": "Whether this author is a bot. Only works if `server` and `officialApp` is `false` or `undefined`.",
1601
+ "attribute": "bot"
1938
1602
  },
1939
1603
  {
1940
1604
  "kind": "field",
1941
- "name": "url",
1605
+ "name": "server",
1942
1606
  "type": {
1943
- "text": "string"
1607
+ "text": "boolean"
1944
1608
  },
1945
1609
  "privacy": "public",
1946
- "description": "The URL for the button. Setting this will force the button type to be `secondary`.",
1947
- "attribute": "url",
1948
- "reflects": true
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"
1949
1613
  },
1950
1614
  {
1951
1615
  "kind": "field",
1952
- "name": "disabled",
1616
+ "name": "officialApp",
1953
1617
  "type": {
1954
1618
  "text": "boolean"
1955
1619
  },
1956
1620
  "privacy": "public",
1957
1621
  "default": "false",
1958
- "description": "Whether to show the button as disabled.",
1959
- "attribute": "disabled",
1960
- "reflects": true
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"
1961
1624
  },
1962
1625
  {
1963
1626
  "kind": "field",
1964
- "name": "type",
1627
+ "name": "op",
1965
1628
  "type": {
1966
- "text": "'destructive' | 'primary' | 'secondary' | 'success'"
1629
+ "text": "boolean"
1967
1630
  },
1968
1631
  "privacy": "public",
1969
- "default": "'secondary'",
1970
- "description": "The type of button this is, this will change the color of the button.\r\nValid values: `primary`, `secondary`, `success`, `destructive`.",
1971
- "attribute": "type",
1972
- "reflects": true
1632
+ "default": "false",
1633
+ "description": "Whether this author is the original poster.",
1634
+ "attribute": "op"
1973
1635
  },
1974
1636
  {
1975
1637
  "kind": "field",
1976
- "name": "modalId",
1638
+ "name": "roleColor",
1977
1639
  "type": {
1978
- "text": "string"
1640
+ "text": "string | undefined"
1979
1641
  },
1980
1642
  "privacy": "public",
1981
- "description": "An `id` of a modal that should be opened when this button is clicked. This should match the `modal-id` of a `discord-modal` element.",
1982
- "attribute": "modal-id",
1983
- "reflects": true
1643
+ "default": "undefined",
1644
+ "description": "The colour of the author, which comes from their highest role",
1645
+ "attribute": "role-color"
1984
1646
  },
1985
1647
  {
1986
1648
  "kind": "field",
1987
- "name": "small",
1649
+ "name": "roleIcon",
1988
1650
  "type": {
1989
- "text": "boolean"
1651
+ "text": "string | undefined"
1990
1652
  },
1991
1653
  "privacy": "public",
1992
- "default": "false",
1993
- "attribute": "small",
1994
- "reflects": true
1654
+ "default": "undefined",
1655
+ "description": "The role icon of the author, which comes from their highest role",
1656
+ "attribute": "role-icon"
1995
1657
  },
1996
1658
  {
1997
1659
  "kind": "field",
1998
- "name": "validButtonTypes",
1999
- "privacy": "private",
2000
- "readonly": true,
2001
- "default": "new Set(['primary', 'secondary', 'success', 'destructive'])"
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"
2002
1668
  },
2003
1669
  {
2004
1670
  "kind": "field",
2005
- "name": "isInContainer",
1671
+ "name": "clanIcon",
2006
1672
  "type": {
2007
- "text": "boolean"
1673
+ "text": "string | undefined"
2008
1674
  },
2009
1675
  "privacy": "public",
2010
- "default": "false"
1676
+ "default": "undefined",
1677
+ "description": "The clan icon of the author, which comes from the enabled clan tag",
1678
+ "attribute": "clan-icon"
2011
1679
  },
2012
1680
  {
2013
- "kind": "method",
2014
- "name": "checkType",
2015
- "privacy": "public"
2016
- },
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
+ },
2017
1691
  {
2018
- "kind": "method",
2019
- "name": "checkParentElement",
2020
- "privacy": "public"
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"
2021
1701
  },
2022
1702
  {
2023
- "kind": "method",
2024
- "name": "handleButtonClick",
2025
- "privacy": "protected"
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
2026
1724
  }
2027
1725
  ],
2028
1726
  "attributes": [
2029
1727
  {
2030
- "name": "emoji",
1728
+ "name": "author",
2031
1729
  "type": {
2032
- "text": "string"
1730
+ "text": "string | undefined"
2033
1731
  },
2034
- "description": "The emoji URL to use in the button.",
2035
- "fieldName": "emoji"
1732
+ "default": "undefined",
1733
+ "description": "The name of the author",
1734
+ "fieldName": "author"
2036
1735
  },
2037
1736
  {
2038
- "name": "emoji-name",
1737
+ "name": "bot",
2039
1738
  "type": {
2040
- "text": "string"
1739
+ "text": "boolean"
2041
1740
  },
2042
- "default": "'emoji'",
2043
- "description": "The name of the emoji used in the button.",
2044
- "fieldName": "emojiName"
1741
+ "default": "false",
1742
+ "description": "Whether this author is a bot. Only works if `server` and `officialApp` is `false` or `undefined`.",
1743
+ "fieldName": "bot"
2045
1744
  },
2046
1745
  {
2047
- "name": "url",
1746
+ "name": "server",
2048
1747
  "type": {
2049
- "text": "string"
1748
+ "text": "boolean"
2050
1749
  },
2051
- "description": "The URL for the button. Setting this will force the button type to be `secondary`.",
2052
- "fieldName": "url"
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"
2053
1753
  },
2054
1754
  {
2055
- "name": "disabled",
1755
+ "name": "official-app",
2056
1756
  "type": {
2057
1757
  "text": "boolean"
2058
1758
  },
2059
1759
  "default": "false",
2060
- "description": "Whether to show the button as disabled.",
2061
- "fieldName": "disabled"
1760
+ "description": "Whether this author is a `official app` crosspost webhook. Only works if `bot` and `server` is `false` or `undefined`.",
1761
+ "fieldName": "officialApp"
2062
1762
  },
2063
1763
  {
2064
- "name": "type",
1764
+ "name": "op",
2065
1765
  "type": {
2066
- "text": "'destructive' | 'primary' | 'secondary' | 'success'"
1766
+ "text": "boolean"
2067
1767
  },
2068
- "default": "'secondary'",
2069
- "description": "The type of button this is, this will change the color of the button.\r\nValid values: `primary`, `secondary`, `success`, `destructive`.",
2070
- "fieldName": "type"
1768
+ "default": "false",
1769
+ "description": "Whether this author is the original poster.",
1770
+ "fieldName": "op"
2071
1771
  },
2072
1772
  {
2073
- "name": "modal-id",
1773
+ "name": "role-color",
2074
1774
  "type": {
2075
- "text": "string"
1775
+ "text": "string | undefined"
2076
1776
  },
2077
- "description": "An `id` of a modal that should be opened when this button is clicked. This should match the `modal-id` of a `discord-modal` element.",
2078
- "fieldName": "modalId"
1777
+ "default": "undefined",
1778
+ "description": "The colour of the author, which comes from their highest role",
1779
+ "fieldName": "roleColor"
2079
1780
  },
2080
1781
  {
2081
- "name": "small",
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"
1789
+ },
1790
+ {
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"
1798
+ },
1799
+ {
1800
+ "name": "clan-icon",
1801
+ "type": {
1802
+ "text": "string | undefined"
1803
+ },
1804
+ "default": "undefined",
1805
+ "description": "The clan icon of the author, which comes from the enabled clan tag",
1806
+ "fieldName": "clanIcon"
1807
+ },
1808
+ {
1809
+ "name": "clan-tag",
1810
+ "type": {
1811
+ "text": "string | undefined"
1812
+ },
1813
+ "default": "undefined",
1814
+ "description": "The clan name of the author, which comes from the enabled clan tag",
1815
+ "fieldName": "clanTag"
1816
+ },
1817
+ {
1818
+ "name": "verified",
2082
1819
  "type": {
2083
1820
  "text": "boolean"
2084
1821
  },
2085
1822
  "default": "false",
2086
- "fieldName": "small"
1823
+ "description": "Whether this bot is verified by Discord. Only works if `bot` is `true`",
1824
+ "fieldName": "verified"
1825
+ },
1826
+ {
1827
+ "name": "compact-mode",
1828
+ "type": {
1829
+ "text": "boolean"
1830
+ },
1831
+ "default": "false",
1832
+ "description": "Whether to reverse the order of the author info for compact mode.",
1833
+ "fieldName": "compactMode"
1834
+ },
1835
+ {
1836
+ "name": "light-theme",
1837
+ "type": {
1838
+ "text": "boolean"
1839
+ },
1840
+ "default": "false",
1841
+ "fieldName": "lightTheme"
2087
1842
  }
2088
1843
  ],
2089
1844
  "superclass": {
2090
1845
  "name": "LitElement",
2091
1846
  "package": "lit"
2092
1847
  },
2093
- "tagName": "discord-button",
1848
+ "tagName": "discord-author-info",
2094
1849
  "customElement": true
2095
1850
  }
2096
1851
  ],
2097
1852
  "exports": [
2098
1853
  {
2099
1854
  "kind": "js",
2100
- "name": "DiscordButton",
1855
+ "name": "DiscordAuthorInfo",
2101
1856
  "declaration": {
2102
- "name": "DiscordButton",
2103
- "module": "src/components/discord-button/DiscordButton.ts"
1857
+ "name": "DiscordAuthorInfo",
1858
+ "module": "src/components/discord-author-info/DiscordAuthorInfo.ts"
2104
1859
  }
2105
1860
  },
2106
1861
  {
2107
1862
  "kind": "custom-element-definition",
2108
- "name": "discord-button",
1863
+ "name": "discord-author-info",
2109
1864
  "declaration": {
2110
- "name": "DiscordButton",
2111
- "module": "src/components/discord-button/DiscordButton.ts"
1865
+ "name": "DiscordAuthorInfo",
1866
+ "module": "src/components/discord-author-info/DiscordAuthorInfo.ts"
2112
1867
  }
2113
1868
  }
2114
1869
  ]
2115
1870
  },
2116
1871
  {
2117
1872
  "kind": "javascript-module",
2118
- "path": "src/components/discord-code/DiscordCode.ts",
1873
+ "path": "src/components/discord-bold/DiscordBold.ts",
2119
1874
  "declarations": [
2120
1875
  {
2121
1876
  "kind": "class",
2122
1877
  "description": "",
2123
- "name": "DiscordCode",
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
+ }
1904
+ }
1905
+ ]
1906
+ },
1907
+ {
1908
+ "kind": "javascript-module",
1909
+ "path": "src/components/discord-button/DiscordButton.ts",
1910
+ "declarations": [
1911
+ {
1912
+ "kind": "class",
1913
+ "description": "",
1914
+ "name": "DiscordButton",
2124
1915
  "members": [
2125
1916
  {
2126
1917
  "kind": "field",
2127
- "name": "multiline",
1918
+ "name": "emoji",
2128
1919
  "type": {
2129
- "text": "boolean"
1920
+ "text": "string"
2130
1921
  },
2131
1922
  "privacy": "public",
2132
- "default": "false",
2133
- "description": "Whether this code block is a multi-line code block",
2134
- "attribute": "multiline",
1923
+ "description": "The emoji URL to use in the button.",
1924
+ "attribute": "emoji",
2135
1925
  "reflects": true
2136
1926
  },
2137
1927
  {
2138
1928
  "kind": "field",
2139
- "name": "lightTheme",
1929
+ "name": "emojiName",
2140
1930
  "type": {
2141
- "text": "boolean"
1931
+ "text": "string"
2142
1932
  },
2143
1933
  "privacy": "public",
2144
- "default": "false",
2145
- "attribute": "light-theme",
1934
+ "default": "'emoji'",
1935
+ "description": "The name of the emoji used in the button.",
1936
+ "attribute": "emoji-name",
2146
1937
  "reflects": true
2147
1938
  },
2148
1939
  {
2149
1940
  "kind": "field",
2150
- "name": "embed",
1941
+ "name": "url",
2151
1942
  "type": {
2152
- "text": "boolean"
1943
+ "text": "string"
2153
1944
  },
2154
1945
  "privacy": "public",
2155
- "default": "false",
2156
- "description": "Whether this code block exists within a `discord-embed` component.",
2157
- "attribute": "embed",
1946
+ "description": "The URL for the button. Setting this will force the button type to be `secondary`.",
1947
+ "attribute": "url",
2158
1948
  "reflects": true
2159
- }
2160
- ],
2161
- "attributes": [
1949
+ },
2162
1950
  {
2163
- "name": "multiline",
1951
+ "kind": "field",
1952
+ "name": "disabled",
2164
1953
  "type": {
2165
1954
  "text": "boolean"
2166
1955
  },
1956
+ "privacy": "public",
2167
1957
  "default": "false",
2168
- "description": "Whether this code block is a multi-line code block",
2169
- "fieldName": "multiline"
1958
+ "description": "Whether to show the button as disabled.",
1959
+ "attribute": "disabled",
1960
+ "reflects": true
2170
1961
  },
2171
1962
  {
2172
- "name": "light-theme",
1963
+ "kind": "field",
1964
+ "name": "type",
2173
1965
  "type": {
2174
- "text": "boolean"
1966
+ "text": "'destructive' | 'primary' | 'secondary' | 'success'"
1967
+ },
1968
+ "privacy": "public",
1969
+ "default": "'secondary'",
1970
+ "description": "The type of button this is, this will change the color of the button.\r\nValid values: `primary`, `secondary`, `success`, `destructive`.",
1971
+ "attribute": "type",
1972
+ "reflects": true
1973
+ },
1974
+ {
1975
+ "kind": "field",
1976
+ "name": "modalId",
1977
+ "type": {
1978
+ "text": "string"
1979
+ },
1980
+ "privacy": "public",
1981
+ "description": "An `id` of a modal that should be opened when this button is clicked. This should match the `modal-id` of a `discord-modal` element.",
1982
+ "attribute": "modal-id",
1983
+ "reflects": true
1984
+ },
1985
+ {
1986
+ "kind": "field",
1987
+ "name": "small",
1988
+ "type": {
1989
+ "text": "boolean"
1990
+ },
1991
+ "privacy": "public",
1992
+ "default": "false",
1993
+ "attribute": "small",
1994
+ "reflects": true
1995
+ },
1996
+ {
1997
+ "kind": "field",
1998
+ "name": "validButtonTypes",
1999
+ "privacy": "private",
2000
+ "readonly": true,
2001
+ "default": "new Set(['primary', 'secondary', 'success', 'destructive'])"
2002
+ },
2003
+ {
2004
+ "kind": "field",
2005
+ "name": "isInContainer",
2006
+ "type": {
2007
+ "text": "boolean"
2008
+ },
2009
+ "privacy": "public",
2010
+ "default": "false"
2011
+ },
2012
+ {
2013
+ "kind": "method",
2014
+ "name": "checkType",
2015
+ "privacy": "public"
2016
+ },
2017
+ {
2018
+ "kind": "method",
2019
+ "name": "checkParentElement",
2020
+ "privacy": "public"
2021
+ },
2022
+ {
2023
+ "kind": "method",
2024
+ "name": "handleButtonClick",
2025
+ "privacy": "protected"
2026
+ }
2027
+ ],
2028
+ "attributes": [
2029
+ {
2030
+ "name": "emoji",
2031
+ "type": {
2032
+ "text": "string"
2033
+ },
2034
+ "description": "The emoji URL to use in the button.",
2035
+ "fieldName": "emoji"
2036
+ },
2037
+ {
2038
+ "name": "emoji-name",
2039
+ "type": {
2040
+ "text": "string"
2041
+ },
2042
+ "default": "'emoji'",
2043
+ "description": "The name of the emoji used in the button.",
2044
+ "fieldName": "emojiName"
2045
+ },
2046
+ {
2047
+ "name": "url",
2048
+ "type": {
2049
+ "text": "string"
2050
+ },
2051
+ "description": "The URL for the button. Setting this will force the button type to be `secondary`.",
2052
+ "fieldName": "url"
2053
+ },
2054
+ {
2055
+ "name": "disabled",
2056
+ "type": {
2057
+ "text": "boolean"
2058
+ },
2059
+ "default": "false",
2060
+ "description": "Whether to show the button as disabled.",
2061
+ "fieldName": "disabled"
2062
+ },
2063
+ {
2064
+ "name": "type",
2065
+ "type": {
2066
+ "text": "'destructive' | 'primary' | 'secondary' | 'success'"
2067
+ },
2068
+ "default": "'secondary'",
2069
+ "description": "The type of button this is, this will change the color of the button.\r\nValid values: `primary`, `secondary`, `success`, `destructive`.",
2070
+ "fieldName": "type"
2071
+ },
2072
+ {
2073
+ "name": "modal-id",
2074
+ "type": {
2075
+ "text": "string"
2076
+ },
2077
+ "description": "An `id` of a modal that should be opened when this button is clicked. This should match the `modal-id` of a `discord-modal` element.",
2078
+ "fieldName": "modalId"
2079
+ },
2080
+ {
2081
+ "name": "small",
2082
+ "type": {
2083
+ "text": "boolean"
2084
+ },
2085
+ "default": "false",
2086
+ "fieldName": "small"
2087
+ }
2088
+ ],
2089
+ "superclass": {
2090
+ "name": "LitElement",
2091
+ "package": "lit"
2092
+ },
2093
+ "tagName": "discord-button",
2094
+ "customElement": true
2095
+ }
2096
+ ],
2097
+ "exports": [
2098
+ {
2099
+ "kind": "js",
2100
+ "name": "DiscordButton",
2101
+ "declaration": {
2102
+ "name": "DiscordButton",
2103
+ "module": "src/components/discord-button/DiscordButton.ts"
2104
+ }
2105
+ },
2106
+ {
2107
+ "kind": "custom-element-definition",
2108
+ "name": "discord-button",
2109
+ "declaration": {
2110
+ "name": "DiscordButton",
2111
+ "module": "src/components/discord-button/DiscordButton.ts"
2112
+ }
2113
+ }
2114
+ ]
2115
+ },
2116
+ {
2117
+ "kind": "javascript-module",
2118
+ "path": "src/components/discord-code/DiscordCode.ts",
2119
+ "declarations": [
2120
+ {
2121
+ "kind": "class",
2122
+ "description": "",
2123
+ "name": "DiscordCode",
2124
+ "members": [
2125
+ {
2126
+ "kind": "field",
2127
+ "name": "multiline",
2128
+ "type": {
2129
+ "text": "boolean"
2130
+ },
2131
+ "privacy": "public",
2132
+ "default": "false",
2133
+ "description": "Whether this code block is a multi-line code block",
2134
+ "attribute": "multiline",
2135
+ "reflects": true
2136
+ },
2137
+ {
2138
+ "kind": "field",
2139
+ "name": "lightTheme",
2140
+ "type": {
2141
+ "text": "boolean"
2142
+ },
2143
+ "privacy": "public",
2144
+ "default": "false",
2145
+ "attribute": "light-theme",
2146
+ "reflects": true
2147
+ },
2148
+ {
2149
+ "kind": "field",
2150
+ "name": "embed",
2151
+ "type": {
2152
+ "text": "boolean"
2153
+ },
2154
+ "privacy": "public",
2155
+ "default": "false",
2156
+ "description": "Whether this code block exists within a `discord-embed` component.",
2157
+ "attribute": "embed",
2158
+ "reflects": true
2159
+ }
2160
+ ],
2161
+ "attributes": [
2162
+ {
2163
+ "name": "multiline",
2164
+ "type": {
2165
+ "text": "boolean"
2166
+ },
2167
+ "default": "false",
2168
+ "description": "Whether this code block is a multi-line code block",
2169
+ "fieldName": "multiline"
2170
+ },
2171
+ {
2172
+ "name": "light-theme",
2173
+ "type": {
2174
+ "text": "boolean"
2175
2175
  },
2176
2176
  "default": "false",
2177
2177
  "fieldName": "lightTheme"
@@ -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
  ]
@@ -10113,263 +10113,838 @@
10113
10113
  },
10114
10114
  {
10115
10115
  "kind": "method",
10116
- "name": "checkChildren",
10117
- "privacy": "public"
10118
- }
10119
- ],
10120
- "attributes": [
10116
+ "name": "checkChildren",
10117
+ "privacy": "public"
10118
+ }
10119
+ ],
10120
+ "attributes": [
10121
+ {
10122
+ "name": "nested",
10123
+ "type": {
10124
+ "text": "boolean"
10125
+ },
10126
+ "default": "false",
10127
+ "description": "Whether this is a nested list or not, this will change the style of the list-style.\r\n\r\nThe library will try to guess this automatically based on the component tree, but\r\nyou can also set this manually.",
10128
+ "fieldName": "nested"
10129
+ }
10130
+ ],
10131
+ "superclass": {
10132
+ "name": "LitElement",
10133
+ "package": "lit"
10134
+ },
10135
+ "tagName": "discord-unordered-list",
10136
+ "customElement": true
10137
+ }
10138
+ ],
10139
+ "exports": [
10140
+ {
10141
+ "kind": "js",
10142
+ "name": "DiscordUnorderedList",
10143
+ "declaration": {
10144
+ "name": "DiscordUnorderedList",
10145
+ "module": "src/components/discord-unordered-list/DiscordUnorderedList.ts"
10146
+ }
10147
+ },
10148
+ {
10149
+ "kind": "custom-element-definition",
10150
+ "name": "discord-unordered-list",
10151
+ "declaration": {
10152
+ "name": "DiscordUnorderedList",
10153
+ "module": "src/components/discord-unordered-list/DiscordUnorderedList.ts"
10154
+ }
10155
+ }
10156
+ ]
10157
+ },
10158
+ {
10159
+ "kind": "javascript-module",
10160
+ "path": "src/components/discord-verified-author-tag/DiscordVerifiedAuthorTag.ts",
10161
+ "declarations": [
10162
+ {
10163
+ "kind": "class",
10164
+ "description": "",
10165
+ "name": "DiscordVerifiedAuthorTag",
10166
+ "members": [
10167
+ {
10168
+ "kind": "field",
10169
+ "name": "verified",
10170
+ "type": {
10171
+ "text": "boolean"
10172
+ },
10173
+ "privacy": "public",
10174
+ "default": "false",
10175
+ "description": "Whether this bot is verified by Discord. Only works if `bot` is `true`",
10176
+ "attribute": "verified"
10177
+ },
10178
+ {
10179
+ "kind": "field",
10180
+ "name": "compactMode",
10181
+ "type": {
10182
+ "text": "boolean"
10183
+ },
10184
+ "privacy": "public",
10185
+ "default": "false",
10186
+ "description": "Whether to reverse the order of the author info for compact mode.",
10187
+ "attribute": "compact-mode",
10188
+ "reflects": true
10189
+ }
10190
+ ],
10191
+ "attributes": [
10192
+ {
10193
+ "name": "verified",
10194
+ "type": {
10195
+ "text": "boolean"
10196
+ },
10197
+ "default": "false",
10198
+ "description": "Whether this bot is verified by Discord. Only works if `bot` is `true`",
10199
+ "fieldName": "verified"
10200
+ },
10201
+ {
10202
+ "name": "compact-mode",
10203
+ "type": {
10204
+ "text": "boolean"
10205
+ },
10206
+ "default": "false",
10207
+ "description": "Whether to reverse the order of the author info for compact mode.",
10208
+ "fieldName": "compactMode"
10209
+ }
10210
+ ],
10211
+ "superclass": {
10212
+ "name": "LitElement",
10213
+ "package": "lit"
10214
+ },
10215
+ "tagName": "discord-verified-author-tag",
10216
+ "customElement": true
10217
+ }
10218
+ ],
10219
+ "exports": [
10220
+ {
10221
+ "kind": "js",
10222
+ "name": "DiscordVerifiedAuthorTag",
10223
+ "declaration": {
10224
+ "name": "DiscordVerifiedAuthorTag",
10225
+ "module": "src/components/discord-verified-author-tag/DiscordVerifiedAuthorTag.ts"
10226
+ }
10227
+ },
10228
+ {
10229
+ "kind": "custom-element-definition",
10230
+ "name": "discord-verified-author-tag",
10231
+ "declaration": {
10232
+ "name": "DiscordVerifiedAuthorTag",
10233
+ "module": "src/components/discord-verified-author-tag/DiscordVerifiedAuthorTag.ts"
10234
+ }
10235
+ }
10236
+ ]
10237
+ },
10238
+ {
10239
+ "kind": "javascript-module",
10240
+ "path": "src/components/discord-video-attachment/DiscordVideoAttachment.ts",
10241
+ "declarations": [
10242
+ {
10243
+ "kind": "class",
10244
+ "description": "",
10245
+ "name": "DiscordVideoAttachment",
10246
+ "members": [
10247
+ {
10248
+ "kind": "field",
10249
+ "name": "href",
10250
+ "type": {
10251
+ "text": "string"
10252
+ },
10253
+ "privacy": "public",
10254
+ "description": "The URL to vidoe file",
10255
+ "attribute": "href"
10256
+ },
10257
+ {
10258
+ "kind": "field",
10259
+ "name": "poster",
10260
+ "type": {
10261
+ "text": "string"
10262
+ },
10263
+ "privacy": "public",
10264
+ "description": "A poster of the video, this is a static image of the video that is used as thumbnail when not yet having played the video",
10265
+ "attribute": "poster"
10266
+ },
10267
+ {
10268
+ "kind": "field",
10269
+ "name": "lightTheme",
10270
+ "type": {
10271
+ "text": "boolean"
10272
+ },
10273
+ "privacy": "public",
10274
+ "default": "false",
10275
+ "attribute": "light-theme",
10276
+ "reflects": true
10277
+ },
10278
+ {
10279
+ "kind": "field",
10280
+ "name": "playPausePopAnimationContainerRef",
10281
+ "type": {
10282
+ "text": "Ref<HTMLDivElement>"
10283
+ },
10284
+ "privacy": "private"
10285
+ },
10286
+ {
10287
+ "kind": "field",
10288
+ "name": "isInMediaFullScreenPreviewer",
10289
+ "type": {
10290
+ "text": "boolean"
10291
+ },
10292
+ "privacy": "public",
10293
+ "default": "false",
10294
+ "attribute": "is-in-media-full-screen-previewer",
10295
+ "reflects": true
10296
+ },
10297
+ {
10298
+ "kind": "field",
10299
+ "name": "fullScreenContainerRef",
10300
+ "type": {
10301
+ "text": "Ref<HTMLDivElement>"
10302
+ },
10303
+ "privacy": "private"
10304
+ },
10305
+ {
10306
+ "kind": "method",
10307
+ "name": "handleFullScreenClicked",
10308
+ "privacy": "private"
10309
+ },
10310
+ {
10311
+ "kind": "field",
10312
+ "name": "isFullScreen",
10313
+ "type": {
10314
+ "text": "boolean"
10315
+ },
10316
+ "privacy": "private",
10317
+ "default": "false"
10318
+ },
10319
+ {
10320
+ "kind": "field",
10321
+ "name": "showControlsInFullScreen",
10322
+ "type": {
10323
+ "text": "boolean"
10324
+ },
10325
+ "privacy": "private",
10326
+ "default": "false"
10327
+ },
10328
+ {
10329
+ "kind": "field",
10330
+ "name": "__mouseMoveInFullScreenTimeout",
10331
+ "type": {
10332
+ "text": "number | undefined"
10333
+ },
10334
+ "privacy": "private"
10335
+ },
10336
+ {
10337
+ "kind": "method",
10338
+ "name": "handleFullScreenChange",
10339
+ "privacy": "private"
10340
+ },
10341
+ {
10342
+ "kind": "method",
10343
+ "name": "handleMouseMoveInFullScreen",
10344
+ "privacy": "private"
10345
+ },
10346
+ {
10347
+ "kind": "method",
10348
+ "name": "handleHasStartedPlayingOrHasPaused",
10349
+ "privacy": "private"
10350
+ },
10351
+ {
10352
+ "kind": "field",
10353
+ "name": "isClickedPlayOverlay",
10354
+ "type": {
10355
+ "text": "boolean"
10356
+ },
10357
+ "privacy": "private",
10358
+ "default": "false"
10359
+ },
10360
+ {
10361
+ "kind": "method",
10362
+ "name": "handleClickPlayOverlay",
10363
+ "privacy": "private"
10364
+ },
10365
+ {
10366
+ "kind": "method",
10367
+ "name": "handleClickPlayPauseIcon",
10368
+ "privacy": "protected",
10369
+ "inheritedFrom": {
10370
+ "name": "DiscordMediaLifecycle",
10371
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
10372
+ }
10373
+ },
10374
+ {
10375
+ "kind": "field",
10376
+ "name": "mediaComponentRef",
10377
+ "type": {
10378
+ "text": "Ref<HTMLAudioElement | HTMLVideoElement>"
10379
+ },
10380
+ "privacy": "protected",
10381
+ "inheritedFrom": {
10382
+ "name": "DiscordMediaLifecycle",
10383
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
10384
+ }
10385
+ },
10386
+ {
10387
+ "kind": "field",
10388
+ "name": "seekSliderRef",
10389
+ "type": {
10390
+ "text": "Ref<HTMLInputElement>"
10391
+ },
10392
+ "privacy": "protected",
10393
+ "inheritedFrom": {
10394
+ "name": "DiscordMediaLifecycle",
10395
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
10396
+ }
10397
+ },
10398
+ {
10399
+ "kind": "field",
10400
+ "name": "volumeControlRef",
10401
+ "type": {
10402
+ "text": "Ref<HTMLDivElement>"
10403
+ },
10404
+ "privacy": "protected",
10405
+ "inheritedFrom": {
10406
+ "name": "DiscordMediaLifecycle",
10407
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
10408
+ }
10409
+ },
10410
+ {
10411
+ "kind": "field",
10412
+ "name": "volumeControlInputRef",
10413
+ "type": {
10414
+ "text": "Ref<HTMLInputElement>"
10415
+ },
10416
+ "privacy": "protected",
10417
+ "inheritedFrom": {
10418
+ "name": "DiscordMediaLifecycle",
10419
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
10420
+ }
10421
+ },
10422
+ {
10423
+ "kind": "field",
10424
+ "name": "currentPlaybackPosition",
10425
+ "type": {
10426
+ "text": "string"
10427
+ },
10428
+ "privacy": "protected",
10429
+ "default": "'0:00'",
10430
+ "inheritedFrom": {
10431
+ "name": "DiscordMediaLifecycle",
10432
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
10433
+ }
10434
+ },
10435
+ {
10436
+ "kind": "field",
10437
+ "name": "leftPlaybackPosition",
10438
+ "type": {
10439
+ "text": "string"
10440
+ },
10441
+ "privacy": "protected",
10442
+ "default": "'0:00'",
10443
+ "inheritedFrom": {
10444
+ "name": "DiscordMediaLifecycle",
10445
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
10446
+ }
10447
+ },
10448
+ {
10449
+ "kind": "field",
10450
+ "name": "totalMediaDuration",
10451
+ "type": {
10452
+ "text": "string"
10453
+ },
10454
+ "privacy": "protected",
10455
+ "default": "''",
10456
+ "inheritedFrom": {
10457
+ "name": "DiscordMediaLifecycle",
10458
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
10459
+ }
10460
+ },
10461
+ {
10462
+ "kind": "field",
10463
+ "name": "isPlaying",
10464
+ "type": {
10465
+ "text": "boolean"
10466
+ },
10467
+ "privacy": "protected",
10468
+ "default": "false",
10469
+ "inheritedFrom": {
10470
+ "name": "DiscordMediaLifecycle",
10471
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
10472
+ }
10473
+ },
10474
+ {
10475
+ "kind": "field",
10476
+ "name": "raf",
10477
+ "type": {
10478
+ "text": "number | null"
10479
+ },
10480
+ "privacy": "private",
10481
+ "default": "null",
10482
+ "inheritedFrom": {
10483
+ "name": "DiscordMediaLifecycle",
10484
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
10485
+ }
10486
+ },
10487
+ {
10488
+ "kind": "field",
10489
+ "name": "isMuted",
10490
+ "type": {
10491
+ "text": "boolean"
10492
+ },
10493
+ "privacy": "protected",
10494
+ "default": "false",
10495
+ "inheritedFrom": {
10496
+ "name": "DiscordMediaLifecycle",
10497
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
10498
+ }
10499
+ },
10500
+ {
10501
+ "kind": "field",
10502
+ "name": "currentVolume",
10503
+ "type": {
10504
+ "text": "number"
10505
+ },
10506
+ "privacy": "protected",
10507
+ "default": "1",
10508
+ "description": "Volume is a fractional value between 0 and 1",
10509
+ "inheritedFrom": {
10510
+ "name": "DiscordMediaLifecycle",
10511
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
10512
+ }
10513
+ },
10514
+ {
10515
+ "kind": "field",
10516
+ "name": "hasEnded",
10517
+ "type": {
10518
+ "text": "boolean"
10519
+ },
10520
+ "privacy": "protected",
10521
+ "default": "false",
10522
+ "inheritedFrom": {
10523
+ "name": "DiscordMediaLifecycle",
10524
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
10525
+ }
10526
+ },
10527
+ {
10528
+ "kind": "field",
10529
+ "name": "hasRunUpdate",
10530
+ "type": {
10531
+ "text": "boolean"
10532
+ },
10533
+ "privacy": "private",
10534
+ "default": "false",
10535
+ "inheritedFrom": {
10536
+ "name": "DiscordMediaLifecycle",
10537
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
10538
+ }
10539
+ },
10540
+ {
10541
+ "kind": "method",
10542
+ "name": "calculateTime",
10543
+ "privacy": "protected",
10544
+ "parameters": [
10545
+ {
10546
+ "name": "secs",
10547
+ "type": {
10548
+ "text": "number"
10549
+ }
10550
+ }
10551
+ ],
10552
+ "inheritedFrom": {
10553
+ "name": "DiscordMediaLifecycle",
10554
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
10555
+ }
10556
+ },
10557
+ {
10558
+ "kind": "method",
10559
+ "name": "displayMediaDuration",
10560
+ "privacy": "protected",
10561
+ "inheritedFrom": {
10562
+ "name": "DiscordMediaLifecycle",
10563
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
10564
+ }
10565
+ },
10566
+ {
10567
+ "kind": "method",
10568
+ "name": "displayLeftPlaybackPosition",
10569
+ "privacy": "protected",
10570
+ "parameters": [
10571
+ {
10572
+ "name": "bufferedAmount",
10573
+ "type": {
10574
+ "text": "number"
10575
+ }
10576
+ }
10577
+ ],
10578
+ "inheritedFrom": {
10579
+ "name": "DiscordMediaLifecycle",
10580
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
10581
+ }
10582
+ },
10583
+ {
10584
+ "kind": "method",
10585
+ "name": "setSliderMax",
10586
+ "privacy": "protected",
10587
+ "inheritedFrom": {
10588
+ "name": "DiscordMediaLifecycle",
10589
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
10590
+ }
10591
+ },
10592
+ {
10593
+ "kind": "method",
10594
+ "name": "displayBufferedAmount",
10595
+ "privacy": "protected",
10596
+ "inheritedFrom": {
10597
+ "name": "DiscordMediaLifecycle",
10598
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
10599
+ }
10600
+ },
10601
+ {
10602
+ "kind": "field",
10603
+ "name": "wavesurfer",
10604
+ "type": {
10605
+ "text": "WaveSurfer | null | undefined"
10606
+ },
10607
+ "privacy": "protected",
10608
+ "default": "null",
10609
+ "inheritedFrom": {
10610
+ "name": "DiscordMediaLifecycle",
10611
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
10612
+ }
10613
+ },
10614
+ {
10615
+ "kind": "field",
10616
+ "name": "whilePlaying",
10617
+ "privacy": "protected",
10618
+ "inheritedFrom": {
10619
+ "name": "DiscordMediaLifecycle",
10620
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
10621
+ }
10622
+ },
10623
+ {
10624
+ "kind": "method",
10625
+ "name": "handleEnded",
10626
+ "privacy": "protected",
10627
+ "inheritedFrom": {
10628
+ "name": "DiscordMediaLifecycle",
10629
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
10630
+ }
10631
+ },
10632
+ {
10633
+ "kind": "field",
10634
+ "name": "handleSpaceToPlayPause",
10635
+ "privacy": "protected",
10636
+ "inheritedFrom": {
10637
+ "name": "DiscordMediaLifecycle",
10638
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
10639
+ }
10640
+ },
10641
+ {
10642
+ "kind": "method",
10643
+ "name": "handleClickMuteIcon",
10644
+ "privacy": "protected",
10645
+ "inheritedFrom": {
10646
+ "name": "DiscordMediaLifecycle",
10647
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
10648
+ }
10649
+ },
10650
+ {
10651
+ "kind": "method",
10652
+ "name": "handleSeekSliderInput",
10653
+ "privacy": "protected",
10654
+ "parameters": [
10655
+ {
10656
+ "name": "event",
10657
+ "type": {
10658
+ "text": "Event"
10659
+ }
10660
+ }
10661
+ ],
10662
+ "inheritedFrom": {
10663
+ "name": "DiscordMediaLifecycle",
10664
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
10665
+ }
10666
+ },
10667
+ {
10668
+ "kind": "field",
10669
+ "name": "handleSeekSliderChange",
10670
+ "privacy": "protected",
10671
+ "inheritedFrom": {
10672
+ "name": "DiscordMediaLifecycle",
10673
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
10674
+ }
10675
+ },
10676
+ {
10677
+ "kind": "method",
10678
+ "name": "handleVolumeSliderInput",
10679
+ "privacy": "protected",
10680
+ "parameters": [
10681
+ {
10682
+ "name": "event",
10683
+ "type": {
10684
+ "text": "Event"
10685
+ }
10686
+ }
10687
+ ],
10688
+ "inheritedFrom": {
10689
+ "name": "DiscordMediaLifecycle",
10690
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
10691
+ }
10692
+ },
10693
+ {
10694
+ "kind": "method",
10695
+ "name": "handleVolumeVerticalFocus",
10696
+ "privacy": "protected",
10697
+ "inheritedFrom": {
10698
+ "name": "DiscordMediaLifecycle",
10699
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
10700
+ }
10701
+ },
10702
+ {
10703
+ "kind": "method",
10704
+ "name": "handleVolumeVerticalBlur",
10705
+ "privacy": "protected",
10706
+ "inheritedFrom": {
10707
+ "name": "DiscordMediaLifecycle",
10708
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
10709
+ }
10710
+ },
10711
+ {
10712
+ "kind": "method",
10713
+ "name": "handleVolumeControlKeyboard",
10714
+ "privacy": "protected",
10715
+ "parameters": [
10716
+ {
10717
+ "name": "event",
10718
+ "type": {
10719
+ "text": "KeyboardEvent"
10720
+ }
10721
+ }
10722
+ ],
10723
+ "inheritedFrom": {
10724
+ "name": "DiscordMediaLifecycle",
10725
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
10726
+ }
10727
+ },
10728
+ {
10729
+ "kind": "method",
10730
+ "name": "adjustVolume",
10731
+ "privacy": "protected",
10732
+ "parameters": [
10733
+ {
10734
+ "name": "change",
10735
+ "type": {
10736
+ "text": "number"
10737
+ }
10738
+ },
10739
+ {
10740
+ "name": "event",
10741
+ "type": {
10742
+ "text": "KeyboardEvent"
10743
+ }
10744
+ }
10745
+ ],
10746
+ "inheritedFrom": {
10747
+ "name": "DiscordMediaLifecycle",
10748
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
10749
+ }
10750
+ },
10121
10751
  {
10122
- "name": "nested",
10123
- "type": {
10124
- "text": "boolean"
10125
- },
10126
- "default": "false",
10127
- "description": "Whether this is a nested list or not, this will change the style of the list-style.\r\n\r\nThe library will try to guess this automatically based on the component tree, but\r\nyou can also set this manually.",
10128
- "fieldName": "nested"
10752
+ "kind": "field",
10753
+ "name": "mediaMetadataLoaded",
10754
+ "privacy": "protected",
10755
+ "inheritedFrom": {
10756
+ "name": "DiscordMediaLifecycle",
10757
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
10758
+ }
10129
10759
  }
10130
10760
  ],
10131
- "superclass": {
10132
- "name": "LitElement",
10133
- "package": "lit"
10134
- },
10135
- "tagName": "discord-unordered-list",
10136
- "customElement": true
10137
- }
10138
- ],
10139
- "exports": [
10140
- {
10141
- "kind": "js",
10142
- "name": "DiscordUnorderedList",
10143
- "declaration": {
10144
- "name": "DiscordUnorderedList",
10145
- "module": "src/components/discord-unordered-list/DiscordUnorderedList.ts"
10146
- }
10147
- },
10148
- {
10149
- "kind": "custom-element-definition",
10150
- "name": "discord-unordered-list",
10151
- "declaration": {
10152
- "name": "DiscordUnorderedList",
10153
- "module": "src/components/discord-unordered-list/DiscordUnorderedList.ts"
10154
- }
10155
- }
10156
- ]
10157
- },
10158
- {
10159
- "kind": "javascript-module",
10160
- "path": "src/components/discord-verified-author-tag/DiscordVerifiedAuthorTag.ts",
10161
- "declarations": [
10162
- {
10163
- "kind": "class",
10164
- "description": "",
10165
- "name": "DiscordVerifiedAuthorTag",
10166
- "members": [
10761
+ "attributes": [
10167
10762
  {
10168
- "kind": "field",
10169
- "name": "verified",
10763
+ "name": "href",
10170
10764
  "type": {
10171
- "text": "boolean"
10765
+ "text": "string"
10172
10766
  },
10173
- "privacy": "public",
10174
- "default": "false",
10175
- "description": "Whether this bot is verified by Discord. Only works if `bot` is `true`",
10176
- "attribute": "verified"
10767
+ "description": "The URL to vidoe file",
10768
+ "fieldName": "href"
10177
10769
  },
10178
10770
  {
10179
- "kind": "field",
10180
- "name": "compactMode",
10771
+ "name": "poster",
10181
10772
  "type": {
10182
- "text": "boolean"
10773
+ "text": "string"
10183
10774
  },
10184
- "privacy": "public",
10185
- "default": "false",
10186
- "description": "Whether to reverse the order of the author info for compact mode.",
10187
- "attribute": "compact-mode",
10188
- "reflects": true
10189
- }
10190
- ],
10191
- "attributes": [
10775
+ "description": "A poster of the video, this is a static image of the video that is used as thumbnail when not yet having played the video",
10776
+ "fieldName": "poster"
10777
+ },
10192
10778
  {
10193
- "name": "verified",
10779
+ "name": "light-theme",
10194
10780
  "type": {
10195
10781
  "text": "boolean"
10196
10782
  },
10197
10783
  "default": "false",
10198
- "description": "Whether this bot is verified by Discord. Only works if `bot` is `true`",
10199
- "fieldName": "verified"
10784
+ "fieldName": "lightTheme"
10200
10785
  },
10201
10786
  {
10202
- "name": "compact-mode",
10787
+ "name": "is-in-media-full-screen-previewer",
10203
10788
  "type": {
10204
10789
  "text": "boolean"
10205
10790
  },
10206
10791
  "default": "false",
10207
- "description": "Whether to reverse the order of the author info for compact mode.",
10208
- "fieldName": "compactMode"
10792
+ "fieldName": "isInMediaFullScreenPreviewer"
10209
10793
  }
10210
10794
  ],
10211
10795
  "superclass": {
10212
- "name": "LitElement",
10213
- "package": "lit"
10796
+ "name": "DiscordMediaLifecycle",
10797
+ "module": "/src/components/_private/DiscordMediaLifecycle.js"
10214
10798
  },
10215
- "tagName": "discord-verified-author-tag",
10799
+ "tagName": "discord-video-attachment",
10216
10800
  "customElement": true
10217
10801
  }
10218
10802
  ],
10219
10803
  "exports": [
10220
10804
  {
10221
10805
  "kind": "js",
10222
- "name": "DiscordVerifiedAuthorTag",
10806
+ "name": "DiscordVideoAttachment",
10223
10807
  "declaration": {
10224
- "name": "DiscordVerifiedAuthorTag",
10225
- "module": "src/components/discord-verified-author-tag/DiscordVerifiedAuthorTag.ts"
10808
+ "name": "DiscordVideoAttachment",
10809
+ "module": "src/components/discord-video-attachment/DiscordVideoAttachment.ts"
10226
10810
  }
10227
10811
  },
10228
10812
  {
10229
10813
  "kind": "custom-element-definition",
10230
- "name": "discord-verified-author-tag",
10814
+ "name": "discord-video-attachment",
10231
10815
  "declaration": {
10232
- "name": "DiscordVerifiedAuthorTag",
10233
- "module": "src/components/discord-verified-author-tag/DiscordVerifiedAuthorTag.ts"
10816
+ "name": "DiscordVideoAttachment",
10817
+ "module": "src/components/discord-video-attachment/DiscordVideoAttachment.ts"
10234
10818
  }
10235
10819
  }
10236
10820
  ]
10237
10821
  },
10238
10822
  {
10239
10823
  "kind": "javascript-module",
10240
- "path": "src/components/discord-video-attachment/DiscordVideoAttachment.ts",
10824
+ "path": "src/components/discord-voice-message/DiscordVoiceMessage.ts",
10241
10825
  "declarations": [
10242
10826
  {
10243
10827
  "kind": "class",
10244
10828
  "description": "",
10245
- "name": "DiscordVideoAttachment",
10829
+ "name": "DiscordVoiceMessage",
10246
10830
  "members": [
10247
10831
  {
10248
10832
  "kind": "field",
10249
- "name": "href",
10833
+ "name": "mediaAttachmentHorizontal",
10250
10834
  "type": {
10251
- "text": "string"
10835
+ "text": "HTMLDivElement | null"
10252
10836
  },
10253
10837
  "privacy": "public",
10254
- "description": "The URL to vidoe file",
10255
- "attribute": "href"
10838
+ "readonly": true
10256
10839
  },
10257
10840
  {
10258
10841
  "kind": "field",
10259
- "name": "poster",
10842
+ "name": "audioAttachmentWrapperAudio",
10260
10843
  "type": {
10261
- "text": "string"
10844
+ "text": "HTMLDivElement | null"
10262
10845
  },
10263
10846
  "privacy": "public",
10264
- "description": "A poster of the video, this is a static image of the video that is used as thumbnail when not yet having played the video",
10265
- "attribute": "poster"
10847
+ "readonly": true
10266
10848
  },
10267
10849
  {
10268
10850
  "kind": "field",
10269
- "name": "lightTheme",
10851
+ "name": "duration",
10270
10852
  "type": {
10271
- "text": "boolean"
10853
+ "text": "number | undefined"
10272
10854
  },
10273
10855
  "privacy": "public",
10274
- "default": "false",
10275
- "attribute": "light-theme",
10856
+ "attribute": "duration",
10276
10857
  "reflects": true
10277
10858
  },
10278
10859
  {
10279
- "kind": "field",
10280
- "name": "playPausePopAnimationContainerRef",
10281
- "type": {
10282
- "text": "Ref<HTMLDivElement>"
10283
- },
10284
- "privacy": "private"
10860
+ "kind": "method",
10861
+ "name": "getDuration",
10862
+ "privacy": "public"
10863
+ },
10864
+ {
10865
+ "kind": "method",
10866
+ "name": "patchWidthAndDuration",
10867
+ "privacy": "private",
10868
+ "parameters": [
10869
+ {
10870
+ "name": "duration",
10871
+ "optional": true,
10872
+ "type": {
10873
+ "text": "number"
10874
+ }
10875
+ }
10876
+ ]
10285
10877
  },
10286
10878
  {
10287
10879
  "kind": "field",
10288
- "name": "isInMediaFullScreenPreviewer",
10880
+ "name": "speeds",
10289
10881
  "type": {
10290
- "text": "boolean"
10882
+ "text": "array"
10291
10883
  },
10292
10884
  "privacy": "public",
10293
- "default": "false",
10294
- "attribute": "is-in-media-full-screen-previewer",
10295
- "reflects": true
10885
+ "default": "[0.75, 1, 1.5, 2]"
10296
10886
  },
10297
10887
  {
10298
10888
  "kind": "field",
10299
- "name": "fullScreenContainerRef",
10889
+ "name": "speed",
10300
10890
  "type": {
10301
- "text": "Ref<HTMLDivElement>"
10891
+ "text": "number"
10302
10892
  },
10303
- "privacy": "private"
10893
+ "privacy": "public",
10894
+ "default": "1",
10895
+ "attribute": "speed",
10896
+ "reflects": true
10304
10897
  },
10305
10898
  {
10306
10899
  "kind": "method",
10307
- "name": "handleFullScreenClicked",
10308
- "privacy": "private"
10309
- },
10310
- {
10311
- "kind": "field",
10312
- "name": "isFullScreen",
10313
- "type": {
10314
- "text": "boolean"
10315
- },
10316
- "privacy": "private",
10317
- "default": "false"
10900
+ "name": "getNextSpeed",
10901
+ "privacy": "public"
10318
10902
  },
10319
10903
  {
10320
10904
  "kind": "field",
10321
- "name": "showControlsInFullScreen",
10322
- "type": {
10323
- "text": "boolean"
10324
- },
10905
+ "name": "nextSpeed",
10325
10906
  "privacy": "private",
10326
- "default": "false"
10907
+ "readonly": true
10327
10908
  },
10328
10909
  {
10329
- "kind": "field",
10330
- "name": "__mouseMoveInFullScreenTimeout",
10331
- "type": {
10332
- "text": "number | undefined"
10333
- },
10910
+ "kind": "method",
10911
+ "name": "getCurrentWaveColor",
10334
10912
  "privacy": "private"
10335
10913
  },
10336
10914
  {
10337
10915
  "kind": "method",
10338
- "name": "handleFullScreenChange",
10916
+ "name": "patchWaveColors",
10339
10917
  "privacy": "private"
10340
10918
  },
10341
10919
  {
10342
- "kind": "method",
10343
- "name": "handleMouseMoveInFullScreen",
10344
- "privacy": "private"
10920
+ "kind": "field",
10921
+ "name": "peaks",
10922
+ "type": {
10923
+ "text": "string | undefined"
10924
+ },
10925
+ "privacy": "public",
10926
+ "attribute": "peaks"
10345
10927
  },
10346
10928
  {
10347
- "kind": "method",
10348
- "name": "handleHasStartedPlayingOrHasPaused",
10349
- "privacy": "private"
10929
+ "kind": "field",
10930
+ "name": "href",
10931
+ "type": {
10932
+ "text": "string"
10933
+ },
10934
+ "privacy": "public",
10935
+ "description": "The URL to audio file",
10936
+ "attribute": "href"
10350
10937
  },
10351
10938
  {
10352
10939
  "kind": "field",
10353
- "name": "isClickedPlayOverlay",
10940
+ "name": "lightTheme",
10354
10941
  "type": {
10355
10942
  "text": "boolean"
10356
10943
  },
10357
- "privacy": "private",
10358
- "default": "false"
10359
- },
10360
- {
10361
- "kind": "method",
10362
- "name": "handleClickPlayOverlay",
10363
- "privacy": "private"
10364
- },
10365
- {
10366
- "kind": "method",
10367
- "name": "handleClickPlayPauseIcon",
10368
- "privacy": "protected",
10369
- "inheritedFrom": {
10370
- "name": "DiscordMediaLifecycle",
10371
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
10372
- }
10944
+ "privacy": "public",
10945
+ "default": "false",
10946
+ "attribute": "light-theme",
10947
+ "reflects": true
10373
10948
  },
10374
10949
  {
10375
10950
  "kind": "field",
@@ -10629,6 +11204,15 @@
10629
11204
  "module": "src/components/_private/DiscordMediaLifecycle.ts"
10630
11205
  }
10631
11206
  },
11207
+ {
11208
+ "kind": "method",
11209
+ "name": "handleClickPlayPauseIcon",
11210
+ "privacy": "protected",
11211
+ "inheritedFrom": {
11212
+ "name": "DiscordMediaLifecycle",
11213
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
11214
+ }
11215
+ },
10632
11216
  {
10633
11217
  "kind": "field",
10634
11218
  "name": "handleSpaceToPlayPause",
@@ -10760,203 +11344,93 @@
10760
11344
  ],
10761
11345
  "attributes": [
10762
11346
  {
10763
- "name": "href",
11347
+ "name": "duration",
10764
11348
  "type": {
10765
- "text": "string"
11349
+ "text": "number | undefined"
10766
11350
  },
10767
- "description": "The URL to vidoe file",
10768
- "fieldName": "href"
11351
+ "fieldName": "duration"
10769
11352
  },
10770
11353
  {
10771
- "name": "poster",
11354
+ "name": "speed",
10772
11355
  "type": {
10773
- "text": "string"
11356
+ "text": "number"
10774
11357
  },
10775
- "description": "A poster of the video, this is a static image of the video that is used as thumbnail when not yet having played the video",
10776
- "fieldName": "poster"
11358
+ "default": "1",
11359
+ "fieldName": "speed"
10777
11360
  },
10778
11361
  {
10779
- "name": "light-theme",
11362
+ "name": "peaks",
10780
11363
  "type": {
10781
- "text": "boolean"
11364
+ "text": "string | undefined"
10782
11365
  },
10783
- "default": "false",
10784
- "fieldName": "lightTheme"
11366
+ "fieldName": "peaks"
10785
11367
  },
10786
11368
  {
10787
- "name": "is-in-media-full-screen-previewer",
11369
+ "name": "href",
11370
+ "type": {
11371
+ "text": "string"
11372
+ },
11373
+ "description": "The URL to audio file",
11374
+ "fieldName": "href"
11375
+ },
11376
+ {
11377
+ "name": "light-theme",
10788
11378
  "type": {
10789
11379
  "text": "boolean"
10790
11380
  },
10791
11381
  "default": "false",
10792
- "fieldName": "isInMediaFullScreenPreviewer"
11382
+ "fieldName": "lightTheme"
10793
11383
  }
10794
11384
  ],
10795
11385
  "superclass": {
10796
11386
  "name": "DiscordMediaLifecycle",
10797
11387
  "module": "/src/components/_private/DiscordMediaLifecycle.js"
10798
11388
  },
10799
- "tagName": "discord-video-attachment",
11389
+ "tagName": "discord-voice-message",
10800
11390
  "customElement": true
10801
11391
  }
10802
11392
  ],
10803
11393
  "exports": [
10804
11394
  {
10805
11395
  "kind": "js",
10806
- "name": "DiscordVideoAttachment",
11396
+ "name": "DiscordVoiceMessage",
10807
11397
  "declaration": {
10808
- "name": "DiscordVideoAttachment",
10809
- "module": "src/components/discord-video-attachment/DiscordVideoAttachment.ts"
11398
+ "name": "DiscordVoiceMessage",
11399
+ "module": "src/components/discord-voice-message/DiscordVoiceMessage.ts"
10810
11400
  }
10811
11401
  },
10812
11402
  {
10813
11403
  "kind": "custom-element-definition",
10814
- "name": "discord-video-attachment",
11404
+ "name": "discord-voice-message",
10815
11405
  "declaration": {
10816
- "name": "DiscordVideoAttachment",
10817
- "module": "src/components/discord-video-attachment/DiscordVideoAttachment.ts"
11406
+ "name": "DiscordVoiceMessage",
11407
+ "module": "src/components/discord-voice-message/DiscordVoiceMessage.ts"
10818
11408
  }
10819
11409
  }
10820
11410
  ]
10821
11411
  },
10822
11412
  {
10823
11413
  "kind": "javascript-module",
10824
- "path": "src/components/discord-voice-message/DiscordVoiceMessage.ts",
11414
+ "path": "src/components/_private/DiscordMediaAttachmentStyles.ts",
11415
+ "declarations": [],
11416
+ "exports": []
11417
+ },
11418
+ {
11419
+ "kind": "javascript-module",
11420
+ "path": "src/components/_private/DiscordMediaLifecycle.ts",
10825
11421
  "declarations": [
10826
11422
  {
10827
11423
  "kind": "class",
10828
11424
  "description": "",
10829
- "name": "DiscordVoiceMessage",
11425
+ "name": "DiscordMediaLifecycle",
10830
11426
  "members": [
10831
- {
10832
- "kind": "field",
10833
- "name": "mediaAttachmentHorizontal",
10834
- "type": {
10835
- "text": "HTMLDivElement | null"
10836
- },
10837
- "privacy": "public",
10838
- "readonly": true
10839
- },
10840
- {
10841
- "kind": "field",
10842
- "name": "audioAttachmentWrapperAudio",
10843
- "type": {
10844
- "text": "HTMLDivElement | null"
10845
- },
10846
- "privacy": "public",
10847
- "readonly": true
10848
- },
10849
- {
10850
- "kind": "field",
10851
- "name": "duration",
10852
- "type": {
10853
- "text": "number | undefined"
10854
- },
10855
- "privacy": "public",
10856
- "attribute": "duration",
10857
- "reflects": true
10858
- },
10859
- {
10860
- "kind": "method",
10861
- "name": "getDuration",
10862
- "privacy": "public"
10863
- },
10864
- {
10865
- "kind": "method",
10866
- "name": "patchWidthAndDuration",
10867
- "privacy": "private",
10868
- "parameters": [
10869
- {
10870
- "name": "duration",
10871
- "optional": true,
10872
- "type": {
10873
- "text": "number"
10874
- }
10875
- }
10876
- ]
10877
- },
10878
- {
10879
- "kind": "field",
10880
- "name": "speeds",
10881
- "type": {
10882
- "text": "array"
10883
- },
10884
- "privacy": "public",
10885
- "default": "[0.75, 1, 1.5, 2]"
10886
- },
10887
- {
10888
- "kind": "field",
10889
- "name": "speed",
10890
- "type": {
10891
- "text": "number"
10892
- },
10893
- "privacy": "public",
10894
- "default": "1",
10895
- "attribute": "speed",
10896
- "reflects": true
10897
- },
10898
- {
10899
- "kind": "method",
10900
- "name": "getNextSpeed",
10901
- "privacy": "public"
10902
- },
10903
- {
10904
- "kind": "field",
10905
- "name": "nextSpeed",
10906
- "privacy": "private",
10907
- "readonly": true
10908
- },
10909
- {
10910
- "kind": "method",
10911
- "name": "getCurrentWaveColor",
10912
- "privacy": "private"
10913
- },
10914
- {
10915
- "kind": "method",
10916
- "name": "patchWaveColors",
10917
- "privacy": "private"
10918
- },
10919
- {
10920
- "kind": "field",
10921
- "name": "peaks",
10922
- "type": {
10923
- "text": "string | undefined"
10924
- },
10925
- "privacy": "public",
10926
- "attribute": "peaks"
10927
- },
10928
- {
10929
- "kind": "field",
10930
- "name": "href",
10931
- "type": {
10932
- "text": "string"
10933
- },
10934
- "privacy": "public",
10935
- "description": "The URL to audio file",
10936
- "attribute": "href"
10937
- },
10938
- {
10939
- "kind": "field",
10940
- "name": "lightTheme",
10941
- "type": {
10942
- "text": "boolean"
10943
- },
10944
- "privacy": "public",
10945
- "default": "false",
10946
- "attribute": "light-theme",
10947
- "reflects": true
10948
- },
10949
11427
  {
10950
11428
  "kind": "field",
10951
11429
  "name": "mediaComponentRef",
10952
11430
  "type": {
10953
11431
  "text": "Ref<HTMLAudioElement | HTMLVideoElement>"
10954
11432
  },
10955
- "privacy": "protected",
10956
- "inheritedFrom": {
10957
- "name": "DiscordMediaLifecycle",
10958
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
10959
- }
11433
+ "privacy": "protected"
10960
11434
  },
10961
11435
  {
10962
11436
  "kind": "field",
@@ -10964,11 +11438,7 @@
10964
11438
  "type": {
10965
11439
  "text": "Ref<HTMLInputElement>"
10966
11440
  },
10967
- "privacy": "protected",
10968
- "inheritedFrom": {
10969
- "name": "DiscordMediaLifecycle",
10970
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
10971
- }
11441
+ "privacy": "protected"
10972
11442
  },
10973
11443
  {
10974
11444
  "kind": "field",
@@ -10976,11 +11446,7 @@
10976
11446
  "type": {
10977
11447
  "text": "Ref<HTMLDivElement>"
10978
11448
  },
10979
- "privacy": "protected",
10980
- "inheritedFrom": {
10981
- "name": "DiscordMediaLifecycle",
10982
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
10983
- }
11449
+ "privacy": "protected"
10984
11450
  },
10985
11451
  {
10986
11452
  "kind": "field",
@@ -10988,11 +11454,7 @@
10988
11454
  "type": {
10989
11455
  "text": "Ref<HTMLInputElement>"
10990
11456
  },
10991
- "privacy": "protected",
10992
- "inheritedFrom": {
10993
- "name": "DiscordMediaLifecycle",
10994
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
10995
- }
11457
+ "privacy": "protected"
10996
11458
  },
10997
11459
  {
10998
11460
  "kind": "field",
@@ -11001,11 +11463,7 @@
11001
11463
  "text": "string"
11002
11464
  },
11003
11465
  "privacy": "protected",
11004
- "default": "'0:00'",
11005
- "inheritedFrom": {
11006
- "name": "DiscordMediaLifecycle",
11007
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
11008
- }
11466
+ "default": "'0:00'"
11009
11467
  },
11010
11468
  {
11011
11469
  "kind": "field",
@@ -11014,11 +11472,7 @@
11014
11472
  "text": "string"
11015
11473
  },
11016
11474
  "privacy": "protected",
11017
- "default": "'0:00'",
11018
- "inheritedFrom": {
11019
- "name": "DiscordMediaLifecycle",
11020
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
11021
- }
11475
+ "default": "'0:00'"
11022
11476
  },
11023
11477
  {
11024
11478
  "kind": "field",
@@ -11027,11 +11481,7 @@
11027
11481
  "text": "string"
11028
11482
  },
11029
11483
  "privacy": "protected",
11030
- "default": "''",
11031
- "inheritedFrom": {
11032
- "name": "DiscordMediaLifecycle",
11033
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
11034
- }
11484
+ "default": "''"
11035
11485
  },
11036
11486
  {
11037
11487
  "kind": "field",
@@ -11040,11 +11490,7 @@
11040
11490
  "text": "boolean"
11041
11491
  },
11042
11492
  "privacy": "protected",
11043
- "default": "false",
11044
- "inheritedFrom": {
11045
- "name": "DiscordMediaLifecycle",
11046
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
11047
- }
11493
+ "default": "false"
11048
11494
  },
11049
11495
  {
11050
11496
  "kind": "field",
@@ -11053,11 +11499,7 @@
11053
11499
  "text": "number | null"
11054
11500
  },
11055
11501
  "privacy": "private",
11056
- "default": "null",
11057
- "inheritedFrom": {
11058
- "name": "DiscordMediaLifecycle",
11059
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
11060
- }
11502
+ "default": "null"
11061
11503
  },
11062
11504
  {
11063
11505
  "kind": "field",
@@ -11066,11 +11508,7 @@
11066
11508
  "text": "boolean"
11067
11509
  },
11068
11510
  "privacy": "protected",
11069
- "default": "false",
11070
- "inheritedFrom": {
11071
- "name": "DiscordMediaLifecycle",
11072
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
11073
- }
11511
+ "default": "false"
11074
11512
  },
11075
11513
  {
11076
11514
  "kind": "field",
@@ -11080,11 +11518,7 @@
11080
11518
  },
11081
11519
  "privacy": "protected",
11082
11520
  "default": "1",
11083
- "description": "Volume is a fractional value between 0 and 1",
11084
- "inheritedFrom": {
11085
- "name": "DiscordMediaLifecycle",
11086
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
11087
- }
11521
+ "description": "Volume is a fractional value between 0 and 1"
11088
11522
  },
11089
11523
  {
11090
11524
  "kind": "field",
@@ -11093,11 +11527,7 @@
11093
11527
  "text": "boolean"
11094
11528
  },
11095
11529
  "privacy": "protected",
11096
- "default": "false",
11097
- "inheritedFrom": {
11098
- "name": "DiscordMediaLifecycle",
11099
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
11100
- }
11530
+ "default": "false"
11101
11531
  },
11102
11532
  {
11103
11533
  "kind": "field",
@@ -11106,11 +11536,7 @@
11106
11536
  "text": "boolean"
11107
11537
  },
11108
11538
  "privacy": "private",
11109
- "default": "false",
11110
- "inheritedFrom": {
11111
- "name": "DiscordMediaLifecycle",
11112
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
11113
- }
11539
+ "default": "false"
11114
11540
  },
11115
11541
  {
11116
11542
  "kind": "method",
@@ -11123,20 +11549,12 @@
11123
11549
  "text": "number"
11124
11550
  }
11125
11551
  }
11126
- ],
11127
- "inheritedFrom": {
11128
- "name": "DiscordMediaLifecycle",
11129
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
11130
- }
11552
+ ]
11131
11553
  },
11132
11554
  {
11133
11555
  "kind": "method",
11134
11556
  "name": "displayMediaDuration",
11135
- "privacy": "protected",
11136
- "inheritedFrom": {
11137
- "name": "DiscordMediaLifecycle",
11138
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
11139
- }
11557
+ "privacy": "protected"
11140
11558
  },
11141
11559
  {
11142
11560
  "kind": "method",
@@ -11149,29 +11567,17 @@
11149
11567
  "text": "number"
11150
11568
  }
11151
11569
  }
11152
- ],
11153
- "inheritedFrom": {
11154
- "name": "DiscordMediaLifecycle",
11155
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
11156
- }
11570
+ ]
11157
11571
  },
11158
11572
  {
11159
11573
  "kind": "method",
11160
11574
  "name": "setSliderMax",
11161
- "privacy": "protected",
11162
- "inheritedFrom": {
11163
- "name": "DiscordMediaLifecycle",
11164
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
11165
- }
11575
+ "privacy": "protected"
11166
11576
  },
11167
11577
  {
11168
11578
  "kind": "method",
11169
11579
  "name": "displayBufferedAmount",
11170
- "privacy": "protected",
11171
- "inheritedFrom": {
11172
- "name": "DiscordMediaLifecycle",
11173
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
11174
- }
11580
+ "privacy": "protected"
11175
11581
  },
11176
11582
  {
11177
11583
  "kind": "field",
@@ -11180,56 +11586,32 @@
11180
11586
  "text": "WaveSurfer | null | undefined"
11181
11587
  },
11182
11588
  "privacy": "protected",
11183
- "default": "null",
11184
- "inheritedFrom": {
11185
- "name": "DiscordMediaLifecycle",
11186
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
11187
- }
11589
+ "default": "null"
11188
11590
  },
11189
11591
  {
11190
11592
  "kind": "field",
11191
11593
  "name": "whilePlaying",
11192
- "privacy": "protected",
11193
- "inheritedFrom": {
11194
- "name": "DiscordMediaLifecycle",
11195
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
11196
- }
11594
+ "privacy": "protected"
11197
11595
  },
11198
11596
  {
11199
11597
  "kind": "method",
11200
11598
  "name": "handleEnded",
11201
- "privacy": "protected",
11202
- "inheritedFrom": {
11203
- "name": "DiscordMediaLifecycle",
11204
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
11205
- }
11599
+ "privacy": "protected"
11206
11600
  },
11207
11601
  {
11208
11602
  "kind": "method",
11209
11603
  "name": "handleClickPlayPauseIcon",
11210
- "privacy": "protected",
11211
- "inheritedFrom": {
11212
- "name": "DiscordMediaLifecycle",
11213
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
11214
- }
11604
+ "privacy": "protected"
11215
11605
  },
11216
11606
  {
11217
11607
  "kind": "field",
11218
11608
  "name": "handleSpaceToPlayPause",
11219
- "privacy": "protected",
11220
- "inheritedFrom": {
11221
- "name": "DiscordMediaLifecycle",
11222
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
11223
- }
11609
+ "privacy": "protected"
11224
11610
  },
11225
11611
  {
11226
11612
  "kind": "method",
11227
11613
  "name": "handleClickMuteIcon",
11228
- "privacy": "protected",
11229
- "inheritedFrom": {
11230
- "name": "DiscordMediaLifecycle",
11231
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
11232
- }
11614
+ "privacy": "protected"
11233
11615
  },
11234
11616
  {
11235
11617
  "kind": "method",
@@ -11242,20 +11624,12 @@
11242
11624
  "text": "Event"
11243
11625
  }
11244
11626
  }
11245
- ],
11246
- "inheritedFrom": {
11247
- "name": "DiscordMediaLifecycle",
11248
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
11249
- }
11627
+ ]
11250
11628
  },
11251
11629
  {
11252
11630
  "kind": "field",
11253
11631
  "name": "handleSeekSliderChange",
11254
- "privacy": "protected",
11255
- "inheritedFrom": {
11256
- "name": "DiscordMediaLifecycle",
11257
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
11258
- }
11632
+ "privacy": "protected"
11259
11633
  },
11260
11634
  {
11261
11635
  "kind": "method",
@@ -11268,29 +11642,17 @@
11268
11642
  "text": "Event"
11269
11643
  }
11270
11644
  }
11271
- ],
11272
- "inheritedFrom": {
11273
- "name": "DiscordMediaLifecycle",
11274
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
11275
- }
11645
+ ]
11276
11646
  },
11277
11647
  {
11278
11648
  "kind": "method",
11279
11649
  "name": "handleVolumeVerticalFocus",
11280
- "privacy": "protected",
11281
- "inheritedFrom": {
11282
- "name": "DiscordMediaLifecycle",
11283
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
11284
- }
11650
+ "privacy": "protected"
11285
11651
  },
11286
11652
  {
11287
11653
  "kind": "method",
11288
11654
  "name": "handleVolumeVerticalBlur",
11289
- "privacy": "protected",
11290
- "inheritedFrom": {
11291
- "name": "DiscordMediaLifecycle",
11292
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
11293
- }
11655
+ "privacy": "protected"
11294
11656
  },
11295
11657
  {
11296
11658
  "kind": "method",
@@ -11303,11 +11665,7 @@
11303
11665
  "text": "KeyboardEvent"
11304
11666
  }
11305
11667
  }
11306
- ],
11307
- "inheritedFrom": {
11308
- "name": "DiscordMediaLifecycle",
11309
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
11310
- }
11668
+ ]
11311
11669
  },
11312
11670
  {
11313
11671
  "kind": "method",
@@ -11326,85 +11684,90 @@
11326
11684
  "text": "KeyboardEvent"
11327
11685
  }
11328
11686
  }
11329
- ],
11330
- "inheritedFrom": {
11331
- "name": "DiscordMediaLifecycle",
11332
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
11333
- }
11687
+ ]
11334
11688
  },
11335
11689
  {
11336
11690
  "kind": "field",
11337
11691
  "name": "mediaMetadataLoaded",
11338
- "privacy": "protected",
11339
- "inheritedFrom": {
11340
- "name": "DiscordMediaLifecycle",
11341
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
11342
- }
11343
- }
11344
- ],
11345
- "attributes": [
11346
- {
11347
- "name": "duration",
11348
- "type": {
11349
- "text": "number | undefined"
11350
- },
11351
- "fieldName": "duration"
11352
- },
11353
- {
11354
- "name": "speed",
11355
- "type": {
11356
- "text": "number"
11357
- },
11358
- "default": "1",
11359
- "fieldName": "speed"
11360
- },
11361
- {
11362
- "name": "peaks",
11363
- "type": {
11364
- "text": "string | undefined"
11365
- },
11366
- "fieldName": "peaks"
11367
- },
11368
- {
11369
- "name": "href",
11370
- "type": {
11371
- "text": "string"
11372
- },
11373
- "description": "The URL to audio file",
11374
- "fieldName": "href"
11375
- },
11376
- {
11377
- "name": "light-theme",
11378
- "type": {
11379
- "text": "boolean"
11380
- },
11381
- "default": "false",
11382
- "fieldName": "lightTheme"
11692
+ "privacy": "protected"
11383
11693
  }
11384
11694
  ],
11385
11695
  "superclass": {
11386
- "name": "DiscordMediaLifecycle",
11387
- "module": "/src/components/_private/DiscordMediaLifecycle.js"
11696
+ "name": "LitElement",
11697
+ "package": "lit"
11388
11698
  },
11389
- "tagName": "discord-voice-message",
11390
11699
  "customElement": true
11391
11700
  }
11392
11701
  ],
11393
11702
  "exports": [
11394
11703
  {
11395
11704
  "kind": "js",
11396
- "name": "DiscordVoiceMessage",
11705
+ "name": "DiscordMediaLifecycle",
11397
11706
  "declaration": {
11398
- "name": "DiscordVoiceMessage",
11399
- "module": "src/components/discord-voice-message/DiscordVoiceMessage.ts"
11707
+ "name": "DiscordMediaLifecycle",
11708
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
11400
11709
  }
11401
- },
11710
+ }
11711
+ ]
11712
+ },
11713
+ {
11714
+ "kind": "javascript-module",
11715
+ "path": "src/components/_private/DiscordPlaybackControlStyles.ts",
11716
+ "declarations": [
11402
11717
  {
11403
- "kind": "custom-element-definition",
11404
- "name": "discord-voice-message",
11718
+ "kind": "variable",
11719
+ "name": "DiscordPlaybackControlStyles",
11720
+ "default": "css` .discord-media-attachment-horizontal { width: 100%; display: flex; align-self: stretch; } .discord-media-attachment-media-bar-interaction { position: relative; flex: 1 1 auto; align-self: stretch; display: flex; align-items: center; cursor: pointer; margin: 0 7px; } .discord-media-attachment-playback-control { position: relative; flex: 1 1 auto; height: 6px; border-radius: 3px; background-color: hsl(210 calc(1 * 9.3%) 78.8% / 0.3); } :host([light-theme]) { .discord-media-attachment-controls { background-color: hsl(0 calc(1 * 0%) 0% /0.4); } } .discord-media-attachment-controls.no-background { background-color: transparent !important; } .discord-media-attachment-playback-control:hover { box-shadow: 0 1px 1px hsl(0 calc(1 * 0%) 0% / 0.3); } .discord-media-attachment-playback-control::before { background-color: hsl(210 calc(1 * 9.3%) 78.8% / 0.3); left: -3px; border-radius: 3px 0 0 3px; content: ''; position: absolute; top: 0; height: 100%; width: 3px; z-index: 1; } input[type='range'].discord-media-attachment-playback-control { -webkit-appearance: none; -moz-appearance: none; appearance: none; } input[type='range'].discord-media-attachment-playback-control::-webkit-slider-runnable-track { width: 2.47264%; height: 100%; cursor: pointer; opacity: 1; border-radius: 3px; background: linear-gradient(to right, hsla(0, 0%, 100%, 0.25) var(--buffered-width), transparent var(--buffered-width)) hsl(240 calc(1 * 4.762%) 79.412% / 0.3); } input[type='range'].discord-media-attachment-playback-control::-moz-range-track { width: 2.47264%; height: 100%; cursor: pointer; opacity: 1; border-radius: 3px; background: linear-gradient(to right, hsla(0, 0%, 100%, 0.25) var(--buffered-width), transparent var(--buffered-width)) hsl(240 calc(1 * 4.762%) 79.412% / 0.3); } input[type='range'].discord-media-attachment-playback-control::before { position: absolute; content: ''; inset: 0; width: 100%; height: 100%; border-radius: 3px; z-index: 3; background: linear-gradient( to right, hsl(234.935 calc(1 * 85.556%) 64.706% /1) var(--seek-before-width), transparent var(--seek-before-width) ); cursor: pointer; } input[type='range'].discord-media-attachment-playback-control::-webkit-slider-thumb { position: relative; cursor: pointer; border-radius: 100%; width: 8px; height: 8px; line-height: 8px; text-align: center; font-weight: 600; font-size: 12px; color: hsl(0 calc(1 * 0%) 97.6% / 1); opacity: 1; transition: opacity 0.2s ease-out, scale 0.2s ease-out; pointer-events: none; -webkit-appearance: none; box-sizing: content-box; background-color: hsl(234.935 calc(1 * 85.556%) 64.706% /1); z-index: 4; margin: -1px 0 0 0; } input[type='range'].discord-media-attachment-playback-control::-moz-range-thumb { position: relative; cursor: pointer; border-radius: 100%; width: 9px; height: 9px; line-height: 9px; text-align: center; font-weight: 600; font-size: 12px; color: hsl(0 calc(1 * 0%) 97.6% / 1); opacity: 1; transition: opacity 0.2s ease-out, scale 0.2s ease-out; pointer-events: none; -moz-appearance: none; box-sizing: content-box; background-color: hsl(234.935 calc(1 * 85.556%) 64.706% /1); z-index: 4; margin: -1px 0 0 0; } input[type='range'].discord-media-attachment-playback-control:hover::-webkit-slider-thumb { scale: 1.2; filter: brightness(85%); } input[type='range'].discord-media-attachment-playback-control:hover::-moz-range-thumb { scale: 1.2; filter: brightness(85%); } input[type='range'].discord-media-attachment-playback-control::-moz-range-progress { background-color: transparent; } input[type='range'].discord-media-attachment-playback-control::-moz-focus-outer { border: 0; } `"
11721
+ }
11722
+ ],
11723
+ "exports": [
11724
+ {
11725
+ "kind": "js",
11726
+ "name": "DiscordPlaybackControlStyles",
11405
11727
  "declaration": {
11406
- "name": "DiscordVoiceMessage",
11407
- "module": "src/components/discord-voice-message/DiscordVoiceMessage.ts"
11728
+ "name": "DiscordPlaybackControlStyles",
11729
+ "module": "src/components/_private/DiscordPlaybackControlStyles.ts"
11730
+ }
11731
+ }
11732
+ ]
11733
+ },
11734
+ {
11735
+ "kind": "javascript-module",
11736
+ "path": "src/components/_private/DiscordVolumeControlStyles.ts",
11737
+ "declarations": [
11738
+ {
11739
+ "kind": "variable",
11740
+ "name": "DiscordVolumeControlStyles",
11741
+ "default": "css` .discord-media-attachment-flex { display: flex; } .discord-media-attachment-flex-container { justify-content: flex-end; align-items: center; flex-direction: column; display: flex; position: relative; } .discord-volume-container { border-radius: 50%; &:hover, :has(:focus-visible) { .discord-media-attachment-button-slider { opacity: 1; pointer-events: all; } } } .discord-media-attachment-button-slider { --slider-width: 98px; --slider-height: 16px; position: absolute; padding-bottom: 4px; bottom: 32px; opacity: 0; pointer-events: none; width: var(--slider-height); height: var(--slider-width); -webkit-app-region: no-drag; .discord-media-attachment-volume-vertical { padding: 3px; border-radius: 8px; overflow: hidden; background-color: #141417; display: flex; align-items: center; width: var(--slider-width); height: var(--slider-height); box-sizing: border-box; transform-origin: top right; transform: rotate(-90deg) translateY(calc(var(--slider-width) * -1)); input[type='range'] { -webkit-appearance: none; -moz-appearance: none; appearance: none; border-radius: 8px; background: hsl(240 calc(1 * 4.762%) 79.412% / 0.3); border-radius: 3px; overflow: hidden; &::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; border-radius: 50%; width: 6px; height: 6px; background-color: hsl(234.935 calc(1 * 85.556%) 64.706%); box-shadow: -407px 0 0 404px hsl(234.935 calc(1 * 85.556%) 64.706%); } &::-moz-range-thumb { -webkit-appearance: none; appearance: none; border-radius: 50%; width: 6px; height: 6px; background-color: hsl(234.935 calc(1 * 85.556%) 64.706%); box-shadow: -407px 0 0 404px hsl(234.935 calc(1 * 85.556%) 64.706%); } } } } .discord-voice-message { .discord-media-attachment-button-slider { padding-bottom: 0px; } } :host([light-theme]) { .discord-media-attachment-volume-vertical { background-color: #515151; } } .discord-media-attachment-button { cursor: pointer; line-height: 0; width: auto; background: transparent; color: currentColor; border: 0; padding: 0; margin: 0; position: relative; display: flex; justify-content: center; align-items: center; box-sizing: border-box; border-radius: 3px; font-size: 14px; font-weight: 500; -webkit-user-select: none; -moz-user-select: none; user-select: none; } .discord-volume-container { button { border-radius: 50%; } } .discord-media-attachment-button-content { --custom-button-link-underline-offset: 1px; --button--underline-color: transparent; --custom-button-link-underline-width: 1px; --custom-button-link-underline-stop: calc(var(--custom-button-link-underline-width) + var(--custom-button-link-underline-offset)); background-image: linear-gradient( to top, transparent, transparent var(--custom-button-link-underline-offset), var(--button--underline-color) var(--custom-button-link-underline-offset), var(--button--underline-color) var(--custom-button-link-underline-stop), transparent var(--custom-button-link-underline-stop) ); } .discord-media-attachment-button-control-icon { display: block; width: 24px; height: 24px; padding: 4px; cursor: pointer; flex: 0 0 auto; opacity: 0.6; } .discord-media-attachment-volume-slider { position: relative; height: 6px; background-color: hsl(210 calc(1 * 9.3%) 78.8% / 0.3); width: 88px; } `"
11742
+ }
11743
+ ],
11744
+ "exports": [
11745
+ {
11746
+ "kind": "js",
11747
+ "name": "DiscordVolumeControlStyles",
11748
+ "declaration": {
11749
+ "name": "DiscordVolumeControlStyles",
11750
+ "module": "src/components/_private/DiscordVolumeControlStyles.ts"
11751
+ }
11752
+ }
11753
+ ]
11754
+ },
11755
+ {
11756
+ "kind": "javascript-module",
11757
+ "path": "src/components/_private/mediaGalleryFullScreenContext.ts",
11758
+ "declarations": [
11759
+ {
11760
+ "kind": "variable",
11761
+ "name": "isInMediaFullScreenPreviewer"
11762
+ }
11763
+ ],
11764
+ "exports": [
11765
+ {
11766
+ "kind": "js",
11767
+ "name": "isInMediaFullScreenPreviewer",
11768
+ "declaration": {
11769
+ "name": "isInMediaFullScreenPreviewer",
11770
+ "module": "src/components/_private/mediaGalleryFullScreenContext.ts"
11408
11771
  }
11409
11772
  }
11410
11773
  ]
@@ -12462,260 +12825,7 @@
12462
12825
  "declarations": [
12463
12826
  {
12464
12827
  "kind": "function",
12465
- "name": "SystemAlert",
12466
- "parameters": [
12467
- {
12468
- "name": "props",
12469
- "default": "{}",
12470
- "type": {
12471
- "text": "Record<string, unknown>"
12472
- }
12473
- }
12474
- ]
12475
- }
12476
- ],
12477
- "exports": [
12478
- {
12479
- "kind": "js",
12480
- "name": "default",
12481
- "declaration": {
12482
- "name": "SystemAlert",
12483
- "module": "src/components/svgs/SystemAlert.ts"
12484
- }
12485
- }
12486
- ]
12487
- },
12488
- {
12489
- "kind": "javascript-module",
12490
- "path": "src/components/svgs/SystemError.ts",
12491
- "declarations": [
12492
- {
12493
- "kind": "function",
12494
- "name": "SystemError",
12495
- "parameters": [
12496
- {
12497
- "name": "props",
12498
- "default": "{}",
12499
- "type": {
12500
- "text": "Record<string, unknown>"
12501
- }
12502
- }
12503
- ]
12504
- }
12505
- ],
12506
- "exports": [
12507
- {
12508
- "kind": "js",
12509
- "name": "default",
12510
- "declaration": {
12511
- "name": "SystemError",
12512
- "module": "src/components/svgs/SystemError.ts"
12513
- }
12514
- }
12515
- ]
12516
- },
12517
- {
12518
- "kind": "javascript-module",
12519
- "path": "src/components/svgs/Thread.ts",
12520
- "declarations": [
12521
- {
12522
- "kind": "function",
12523
- "name": "Thread",
12524
- "parameters": [
12525
- {
12526
- "name": "props",
12527
- "default": "{}",
12528
- "type": {
12529
- "text": "Record<string, unknown>"
12530
- }
12531
- }
12532
- ]
12533
- }
12534
- ],
12535
- "exports": [
12536
- {
12537
- "kind": "js",
12538
- "name": "default",
12539
- "declaration": {
12540
- "name": "Thread",
12541
- "module": "src/components/svgs/Thread.ts"
12542
- }
12543
- }
12544
- ]
12545
- },
12546
- {
12547
- "kind": "javascript-module",
12548
- "path": "src/components/svgs/UserJoin.ts",
12549
- "declarations": [
12550
- {
12551
- "kind": "function",
12552
- "name": "UserJoin",
12553
- "parameters": [
12554
- {
12555
- "name": "props",
12556
- "default": "{}",
12557
- "type": {
12558
- "text": "Record<string, unknown>"
12559
- }
12560
- }
12561
- ]
12562
- }
12563
- ],
12564
- "exports": [
12565
- {
12566
- "kind": "js",
12567
- "name": "default",
12568
- "declaration": {
12569
- "name": "UserJoin",
12570
- "module": "src/components/svgs/UserJoin.ts"
12571
- }
12572
- }
12573
- ]
12574
- },
12575
- {
12576
- "kind": "javascript-module",
12577
- "path": "src/components/svgs/UserLeave.ts",
12578
- "declarations": [
12579
- {
12580
- "kind": "function",
12581
- "name": "UserLeave",
12582
- "parameters": [
12583
- {
12584
- "name": "props",
12585
- "default": "{}",
12586
- "type": {
12587
- "text": "Record<string, unknown>"
12588
- }
12589
- }
12590
- ]
12591
- }
12592
- ],
12593
- "exports": [
12594
- {
12595
- "kind": "js",
12596
- "name": "default",
12597
- "declaration": {
12598
- "name": "UserLeave",
12599
- "module": "src/components/svgs/UserLeave.ts"
12600
- }
12601
- }
12602
- ]
12603
- },
12604
- {
12605
- "kind": "javascript-module",
12606
- "path": "src/components/svgs/VerifiedBadgeOverlay.ts",
12607
- "declarations": [
12608
- {
12609
- "kind": "function",
12610
- "name": "VerifiedBadgeOverlay",
12611
- "parameters": [
12612
- {
12613
- "name": "props",
12614
- "default": "{}",
12615
- "type": {
12616
- "text": "Record<string, unknown>"
12617
- }
12618
- }
12619
- ]
12620
- }
12621
- ],
12622
- "exports": [
12623
- {
12624
- "kind": "js",
12625
- "name": "default",
12626
- "declaration": {
12627
- "name": "VerifiedBadgeOverlay",
12628
- "module": "src/components/svgs/VerifiedBadgeOverlay.ts"
12629
- }
12630
- }
12631
- ]
12632
- },
12633
- {
12634
- "kind": "javascript-module",
12635
- "path": "src/components/svgs/VerifiedTick.ts",
12636
- "declarations": [
12637
- {
12638
- "kind": "function",
12639
- "name": "VerifiedTick",
12640
- "parameters": [
12641
- {
12642
- "name": "props",
12643
- "default": "{}",
12644
- "type": {
12645
- "text": "Record<string, unknown>"
12646
- }
12647
- }
12648
- ]
12649
- }
12650
- ],
12651
- "exports": [
12652
- {
12653
- "kind": "js",
12654
- "name": "default",
12655
- "declaration": {
12656
- "name": "VerifiedTick",
12657
- "module": "src/components/svgs/VerifiedTick.ts"
12658
- }
12659
- }
12660
- ]
12661
- },
12662
- {
12663
- "kind": "javascript-module",
12664
- "path": "src/components/svgs/VideoFullScreenIcon.ts",
12665
- "declarations": [
12666
- {
12667
- "kind": "function",
12668
- "name": "VideoFullScreenIcon",
12669
- "parameters": [
12670
- {
12671
- "name": "props",
12672
- "default": "{}",
12673
- "type": {
12674
- "text": "Record<string, unknown>"
12675
- }
12676
- }
12677
- ]
12678
- },
12679
- {
12680
- "kind": "function",
12681
- "name": "VideoExitFullScreenIcon",
12682
- "parameters": [
12683
- {
12684
- "name": "props",
12685
- "default": "{}",
12686
- "type": {
12687
- "text": "Record<string, unknown>"
12688
- }
12689
- }
12690
- ]
12691
- }
12692
- ],
12693
- "exports": [
12694
- {
12695
- "kind": "js",
12696
- "name": "default",
12697
- "declaration": {
12698
- "name": "VideoFullScreenIcon",
12699
- "module": "src/components/svgs/VideoFullScreenIcon.ts"
12700
- }
12701
- },
12702
- {
12703
- "kind": "js",
12704
- "name": "VideoExitFullScreenIcon",
12705
- "declaration": {
12706
- "name": "VideoExitFullScreenIcon",
12707
- "module": "src/components/svgs/VideoFullScreenIcon.ts"
12708
- }
12709
- }
12710
- ]
12711
- },
12712
- {
12713
- "kind": "javascript-module",
12714
- "path": "src/components/svgs/VideoPausePopIcon.ts",
12715
- "declarations": [
12716
- {
12717
- "kind": "function",
12718
- "name": "VideoPausePopIcon",
12828
+ "name": "SystemAlert",
12719
12829
  "parameters": [
12720
12830
  {
12721
12831
  "name": "props",
@@ -12732,19 +12842,19 @@
12732
12842
  "kind": "js",
12733
12843
  "name": "default",
12734
12844
  "declaration": {
12735
- "name": "VideoPausePopIcon",
12736
- "module": "src/components/svgs/VideoPausePopIcon.ts"
12845
+ "name": "SystemAlert",
12846
+ "module": "src/components/svgs/SystemAlert.ts"
12737
12847
  }
12738
12848
  }
12739
12849
  ]
12740
12850
  },
12741
12851
  {
12742
12852
  "kind": "javascript-module",
12743
- "path": "src/components/svgs/VideoPlayPopIcon.ts",
12853
+ "path": "src/components/svgs/SystemError.ts",
12744
12854
  "declarations": [
12745
12855
  {
12746
12856
  "kind": "function",
12747
- "name": "VideoPlayPopIcon",
12857
+ "name": "SystemError",
12748
12858
  "parameters": [
12749
12859
  {
12750
12860
  "name": "props",
@@ -12761,19 +12871,19 @@
12761
12871
  "kind": "js",
12762
12872
  "name": "default",
12763
12873
  "declaration": {
12764
- "name": "VideoPlayPopIcon",
12765
- "module": "src/components/svgs/VideoPlayPopIcon.ts"
12874
+ "name": "SystemError",
12875
+ "module": "src/components/svgs/SystemError.ts"
12766
12876
  }
12767
12877
  }
12768
12878
  ]
12769
12879
  },
12770
12880
  {
12771
12881
  "kind": "javascript-module",
12772
- "path": "src/components/svgs/VoiceChannel.ts",
12882
+ "path": "src/components/svgs/Thread.ts",
12773
12883
  "declarations": [
12774
12884
  {
12775
12885
  "kind": "function",
12776
- "name": "VoiceChannel",
12886
+ "name": "Thread",
12777
12887
  "parameters": [
12778
12888
  {
12779
12889
  "name": "props",
@@ -12790,371 +12900,261 @@
12790
12900
  "kind": "js",
12791
12901
  "name": "default",
12792
12902
  "declaration": {
12793
- "name": "VoiceChannel",
12794
- "module": "src/components/svgs/VoiceChannel.ts"
12903
+ "name": "Thread",
12904
+ "module": "src/components/svgs/Thread.ts"
12795
12905
  }
12796
12906
  }
12797
12907
  ]
12798
12908
  },
12799
12909
  {
12800
12910
  "kind": "javascript-module",
12801
- "path": "src/components/_private/DiscordMediaAttachmentStyles.ts",
12802
- "declarations": [],
12803
- "exports": []
12804
- },
12805
- {
12806
- "kind": "javascript-module",
12807
- "path": "src/components/_private/DiscordMediaLifecycle.ts",
12911
+ "path": "src/components/svgs/UserJoin.ts",
12808
12912
  "declarations": [
12809
12913
  {
12810
- "kind": "class",
12811
- "description": "",
12812
- "name": "DiscordMediaLifecycle",
12813
- "members": [
12814
- {
12815
- "kind": "field",
12816
- "name": "mediaComponentRef",
12817
- "type": {
12818
- "text": "Ref<HTMLAudioElement | HTMLVideoElement>"
12819
- },
12820
- "privacy": "protected"
12821
- },
12822
- {
12823
- "kind": "field",
12824
- "name": "seekSliderRef",
12825
- "type": {
12826
- "text": "Ref<HTMLInputElement>"
12827
- },
12828
- "privacy": "protected"
12829
- },
12830
- {
12831
- "kind": "field",
12832
- "name": "volumeControlRef",
12833
- "type": {
12834
- "text": "Ref<HTMLDivElement>"
12835
- },
12836
- "privacy": "protected"
12837
- },
12838
- {
12839
- "kind": "field",
12840
- "name": "volumeControlInputRef",
12841
- "type": {
12842
- "text": "Ref<HTMLInputElement>"
12843
- },
12844
- "privacy": "protected"
12845
- },
12846
- {
12847
- "kind": "field",
12848
- "name": "currentPlaybackPosition",
12849
- "type": {
12850
- "text": "string"
12851
- },
12852
- "privacy": "protected",
12853
- "default": "'0:00'"
12854
- },
12855
- {
12856
- "kind": "field",
12857
- "name": "leftPlaybackPosition",
12858
- "type": {
12859
- "text": "string"
12860
- },
12861
- "privacy": "protected",
12862
- "default": "'0:00'"
12863
- },
12864
- {
12865
- "kind": "field",
12866
- "name": "totalMediaDuration",
12867
- "type": {
12868
- "text": "string"
12869
- },
12870
- "privacy": "protected",
12871
- "default": "''"
12872
- },
12873
- {
12874
- "kind": "field",
12875
- "name": "isPlaying",
12876
- "type": {
12877
- "text": "boolean"
12878
- },
12879
- "privacy": "protected",
12880
- "default": "false"
12881
- },
12882
- {
12883
- "kind": "field",
12884
- "name": "raf",
12885
- "type": {
12886
- "text": "number | null"
12887
- },
12888
- "privacy": "private",
12889
- "default": "null"
12890
- },
12891
- {
12892
- "kind": "field",
12893
- "name": "isMuted",
12894
- "type": {
12895
- "text": "boolean"
12896
- },
12897
- "privacy": "protected",
12898
- "default": "false"
12899
- },
12900
- {
12901
- "kind": "field",
12902
- "name": "currentVolume",
12903
- "type": {
12904
- "text": "number"
12905
- },
12906
- "privacy": "protected",
12907
- "default": "1",
12908
- "description": "Volume is a fractional value between 0 and 1"
12909
- },
12910
- {
12911
- "kind": "field",
12912
- "name": "hasEnded",
12913
- "type": {
12914
- "text": "boolean"
12915
- },
12916
- "privacy": "protected",
12917
- "default": "false"
12918
- },
12919
- {
12920
- "kind": "field",
12921
- "name": "hasRunUpdate",
12922
- "type": {
12923
- "text": "boolean"
12924
- },
12925
- "privacy": "private",
12926
- "default": "false"
12927
- },
12928
- {
12929
- "kind": "method",
12930
- "name": "calculateTime",
12931
- "privacy": "protected",
12932
- "parameters": [
12933
- {
12934
- "name": "secs",
12935
- "type": {
12936
- "text": "number"
12937
- }
12938
- }
12939
- ]
12940
- },
12941
- {
12942
- "kind": "method",
12943
- "name": "displayMediaDuration",
12944
- "privacy": "protected"
12945
- },
12946
- {
12947
- "kind": "method",
12948
- "name": "displayLeftPlaybackPosition",
12949
- "privacy": "protected",
12950
- "parameters": [
12951
- {
12952
- "name": "bufferedAmount",
12953
- "type": {
12954
- "text": "number"
12955
- }
12956
- }
12957
- ]
12958
- },
12959
- {
12960
- "kind": "method",
12961
- "name": "setSliderMax",
12962
- "privacy": "protected"
12963
- },
12964
- {
12965
- "kind": "method",
12966
- "name": "displayBufferedAmount",
12967
- "privacy": "protected"
12968
- },
12969
- {
12970
- "kind": "field",
12971
- "name": "wavesurfer",
12972
- "type": {
12973
- "text": "WaveSurfer | null | undefined"
12974
- },
12975
- "privacy": "protected",
12976
- "default": "null"
12977
- },
12978
- {
12979
- "kind": "field",
12980
- "name": "whilePlaying",
12981
- "privacy": "protected"
12982
- },
12983
- {
12984
- "kind": "method",
12985
- "name": "handleEnded",
12986
- "privacy": "protected"
12987
- },
12988
- {
12989
- "kind": "method",
12990
- "name": "handleClickPlayPauseIcon",
12991
- "privacy": "protected"
12992
- },
12993
- {
12994
- "kind": "field",
12995
- "name": "handleSpaceToPlayPause",
12996
- "privacy": "protected"
12997
- },
12998
- {
12999
- "kind": "method",
13000
- "name": "handleClickMuteIcon",
13001
- "privacy": "protected"
13002
- },
13003
- {
13004
- "kind": "method",
13005
- "name": "handleSeekSliderInput",
13006
- "privacy": "protected",
13007
- "parameters": [
13008
- {
13009
- "name": "event",
13010
- "type": {
13011
- "text": "Event"
13012
- }
13013
- }
13014
- ]
13015
- },
13016
- {
13017
- "kind": "field",
13018
- "name": "handleSeekSliderChange",
13019
- "privacy": "protected"
13020
- },
12914
+ "kind": "function",
12915
+ "name": "UserJoin",
12916
+ "parameters": [
13021
12917
  {
13022
- "kind": "method",
13023
- "name": "handleVolumeSliderInput",
13024
- "privacy": "protected",
13025
- "parameters": [
13026
- {
13027
- "name": "event",
13028
- "type": {
13029
- "text": "Event"
13030
- }
13031
- }
13032
- ]
13033
- },
12918
+ "name": "props",
12919
+ "default": "{}",
12920
+ "type": {
12921
+ "text": "Record<string, unknown>"
12922
+ }
12923
+ }
12924
+ ]
12925
+ }
12926
+ ],
12927
+ "exports": [
12928
+ {
12929
+ "kind": "js",
12930
+ "name": "default",
12931
+ "declaration": {
12932
+ "name": "UserJoin",
12933
+ "module": "src/components/svgs/UserJoin.ts"
12934
+ }
12935
+ }
12936
+ ]
12937
+ },
12938
+ {
12939
+ "kind": "javascript-module",
12940
+ "path": "src/components/svgs/UserLeave.ts",
12941
+ "declarations": [
12942
+ {
12943
+ "kind": "function",
12944
+ "name": "UserLeave",
12945
+ "parameters": [
13034
12946
  {
13035
- "kind": "method",
13036
- "name": "handleVolumeVerticalFocus",
13037
- "privacy": "protected"
13038
- },
12947
+ "name": "props",
12948
+ "default": "{}",
12949
+ "type": {
12950
+ "text": "Record<string, unknown>"
12951
+ }
12952
+ }
12953
+ ]
12954
+ }
12955
+ ],
12956
+ "exports": [
12957
+ {
12958
+ "kind": "js",
12959
+ "name": "default",
12960
+ "declaration": {
12961
+ "name": "UserLeave",
12962
+ "module": "src/components/svgs/UserLeave.ts"
12963
+ }
12964
+ }
12965
+ ]
12966
+ },
12967
+ {
12968
+ "kind": "javascript-module",
12969
+ "path": "src/components/svgs/VerifiedBadgeOverlay.ts",
12970
+ "declarations": [
12971
+ {
12972
+ "kind": "function",
12973
+ "name": "VerifiedBadgeOverlay",
12974
+ "parameters": [
13039
12975
  {
13040
- "kind": "method",
13041
- "name": "handleVolumeVerticalBlur",
13042
- "privacy": "protected"
13043
- },
12976
+ "name": "props",
12977
+ "default": "{}",
12978
+ "type": {
12979
+ "text": "Record<string, unknown>"
12980
+ }
12981
+ }
12982
+ ]
12983
+ }
12984
+ ],
12985
+ "exports": [
12986
+ {
12987
+ "kind": "js",
12988
+ "name": "default",
12989
+ "declaration": {
12990
+ "name": "VerifiedBadgeOverlay",
12991
+ "module": "src/components/svgs/VerifiedBadgeOverlay.ts"
12992
+ }
12993
+ }
12994
+ ]
12995
+ },
12996
+ {
12997
+ "kind": "javascript-module",
12998
+ "path": "src/components/svgs/VerifiedTick.ts",
12999
+ "declarations": [
13000
+ {
13001
+ "kind": "function",
13002
+ "name": "VerifiedTick",
13003
+ "parameters": [
13044
13004
  {
13045
- "kind": "method",
13046
- "name": "handleVolumeControlKeyboard",
13047
- "privacy": "protected",
13048
- "parameters": [
13049
- {
13050
- "name": "event",
13051
- "type": {
13052
- "text": "KeyboardEvent"
13053
- }
13054
- }
13055
- ]
13056
- },
13005
+ "name": "props",
13006
+ "default": "{}",
13007
+ "type": {
13008
+ "text": "Record<string, unknown>"
13009
+ }
13010
+ }
13011
+ ]
13012
+ }
13013
+ ],
13014
+ "exports": [
13015
+ {
13016
+ "kind": "js",
13017
+ "name": "default",
13018
+ "declaration": {
13019
+ "name": "VerifiedTick",
13020
+ "module": "src/components/svgs/VerifiedTick.ts"
13021
+ }
13022
+ }
13023
+ ]
13024
+ },
13025
+ {
13026
+ "kind": "javascript-module",
13027
+ "path": "src/components/svgs/VideoFullScreenIcon.ts",
13028
+ "declarations": [
13029
+ {
13030
+ "kind": "function",
13031
+ "name": "VideoFullScreenIcon",
13032
+ "parameters": [
13057
13033
  {
13058
- "kind": "method",
13059
- "name": "adjustVolume",
13060
- "privacy": "protected",
13061
- "parameters": [
13062
- {
13063
- "name": "change",
13064
- "type": {
13065
- "text": "number"
13066
- }
13067
- },
13068
- {
13069
- "name": "event",
13070
- "type": {
13071
- "text": "KeyboardEvent"
13072
- }
13073
- }
13074
- ]
13075
- },
13034
+ "name": "props",
13035
+ "default": "{}",
13036
+ "type": {
13037
+ "text": "Record<string, unknown>"
13038
+ }
13039
+ }
13040
+ ]
13041
+ },
13042
+ {
13043
+ "kind": "function",
13044
+ "name": "VideoExitFullScreenIcon",
13045
+ "parameters": [
13076
13046
  {
13077
- "kind": "field",
13078
- "name": "mediaMetadataLoaded",
13079
- "privacy": "protected"
13047
+ "name": "props",
13048
+ "default": "{}",
13049
+ "type": {
13050
+ "text": "Record<string, unknown>"
13051
+ }
13080
13052
  }
13081
- ],
13082
- "superclass": {
13083
- "name": "LitElement",
13084
- "package": "lit"
13085
- },
13086
- "customElement": true
13053
+ ]
13087
13054
  }
13088
13055
  ],
13089
13056
  "exports": [
13090
13057
  {
13091
13058
  "kind": "js",
13092
- "name": "DiscordMediaLifecycle",
13059
+ "name": "default",
13093
13060
  "declaration": {
13094
- "name": "DiscordMediaLifecycle",
13095
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
13061
+ "name": "VideoFullScreenIcon",
13062
+ "module": "src/components/svgs/VideoFullScreenIcon.ts"
13063
+ }
13064
+ },
13065
+ {
13066
+ "kind": "js",
13067
+ "name": "VideoExitFullScreenIcon",
13068
+ "declaration": {
13069
+ "name": "VideoExitFullScreenIcon",
13070
+ "module": "src/components/svgs/VideoFullScreenIcon.ts"
13096
13071
  }
13097
13072
  }
13098
13073
  ]
13099
13074
  },
13100
13075
  {
13101
13076
  "kind": "javascript-module",
13102
- "path": "src/components/_private/DiscordPlaybackControlStyles.ts",
13077
+ "path": "src/components/svgs/VideoPausePopIcon.ts",
13103
13078
  "declarations": [
13104
13079
  {
13105
- "kind": "variable",
13106
- "name": "DiscordPlaybackControlStyles",
13107
- "default": "css` .discord-media-attachment-horizontal { width: 100%; display: flex; align-self: stretch; } .discord-media-attachment-media-bar-interaction { position: relative; flex: 1 1 auto; align-self: stretch; display: flex; align-items: center; cursor: pointer; margin: 0 7px; } .discord-media-attachment-playback-control { position: relative; flex: 1 1 auto; height: 6px; border-radius: 3px; background-color: hsl(210 calc(1 * 9.3%) 78.8% / 0.3); } :host([light-theme]) { .discord-media-attachment-controls { background-color: hsl(0 calc(1 * 0%) 0% /0.4); } } .discord-media-attachment-controls.no-background { background-color: transparent !important; } .discord-media-attachment-playback-control:hover { box-shadow: 0 1px 1px hsl(0 calc(1 * 0%) 0% / 0.3); } .discord-media-attachment-playback-control::before { background-color: hsl(210 calc(1 * 9.3%) 78.8% / 0.3); left: -3px; border-radius: 3px 0 0 3px; content: ''; position: absolute; top: 0; height: 100%; width: 3px; z-index: 1; } input[type='range'].discord-media-attachment-playback-control { -webkit-appearance: none; -moz-appearance: none; appearance: none; } input[type='range'].discord-media-attachment-playback-control::-webkit-slider-runnable-track { width: 2.47264%; height: 100%; cursor: pointer; opacity: 1; border-radius: 3px; background: linear-gradient(to right, hsla(0, 0%, 100%, 0.25) var(--buffered-width), transparent var(--buffered-width)) hsl(240 calc(1 * 4.762%) 79.412% / 0.3); } input[type='range'].discord-media-attachment-playback-control::-moz-range-track { width: 2.47264%; height: 100%; cursor: pointer; opacity: 1; border-radius: 3px; background: linear-gradient(to right, hsla(0, 0%, 100%, 0.25) var(--buffered-width), transparent var(--buffered-width)) hsl(240 calc(1 * 4.762%) 79.412% / 0.3); } input[type='range'].discord-media-attachment-playback-control::before { position: absolute; content: ''; inset: 0; width: 100%; height: 100%; border-radius: 3px; z-index: 3; background: linear-gradient( to right, hsl(234.935 calc(1 * 85.556%) 64.706% /1) var(--seek-before-width), transparent var(--seek-before-width) ); cursor: pointer; } input[type='range'].discord-media-attachment-playback-control::-webkit-slider-thumb { position: relative; cursor: pointer; border-radius: 100%; width: 8px; height: 8px; line-height: 8px; text-align: center; font-weight: 600; font-size: 12px; color: hsl(0 calc(1 * 0%) 97.6% / 1); opacity: 1; transition: opacity 0.2s ease-out, scale 0.2s ease-out; pointer-events: none; -webkit-appearance: none; box-sizing: content-box; background-color: hsl(234.935 calc(1 * 85.556%) 64.706% /1); z-index: 4; margin: -1px 0 0 0; } input[type='range'].discord-media-attachment-playback-control::-moz-range-thumb { position: relative; cursor: pointer; border-radius: 100%; width: 9px; height: 9px; line-height: 9px; text-align: center; font-weight: 600; font-size: 12px; color: hsl(0 calc(1 * 0%) 97.6% / 1); opacity: 1; transition: opacity 0.2s ease-out, scale 0.2s ease-out; pointer-events: none; -moz-appearance: none; box-sizing: content-box; background-color: hsl(234.935 calc(1 * 85.556%) 64.706% /1); z-index: 4; margin: -1px 0 0 0; } input[type='range'].discord-media-attachment-playback-control:hover::-webkit-slider-thumb { scale: 1.2; filter: brightness(85%); } input[type='range'].discord-media-attachment-playback-control:hover::-moz-range-thumb { scale: 1.2; filter: brightness(85%); } input[type='range'].discord-media-attachment-playback-control::-moz-range-progress { background-color: transparent; } input[type='range'].discord-media-attachment-playback-control::-moz-focus-outer { border: 0; } `"
13080
+ "kind": "function",
13081
+ "name": "VideoPausePopIcon",
13082
+ "parameters": [
13083
+ {
13084
+ "name": "props",
13085
+ "default": "{}",
13086
+ "type": {
13087
+ "text": "Record<string, unknown>"
13088
+ }
13089
+ }
13090
+ ]
13108
13091
  }
13109
13092
  ],
13110
13093
  "exports": [
13111
13094
  {
13112
13095
  "kind": "js",
13113
- "name": "DiscordPlaybackControlStyles",
13096
+ "name": "default",
13114
13097
  "declaration": {
13115
- "name": "DiscordPlaybackControlStyles",
13116
- "module": "src/components/_private/DiscordPlaybackControlStyles.ts"
13098
+ "name": "VideoPausePopIcon",
13099
+ "module": "src/components/svgs/VideoPausePopIcon.ts"
13117
13100
  }
13118
13101
  }
13119
13102
  ]
13120
13103
  },
13121
13104
  {
13122
13105
  "kind": "javascript-module",
13123
- "path": "src/components/_private/DiscordVolumeControlStyles.ts",
13106
+ "path": "src/components/svgs/VideoPlayPopIcon.ts",
13124
13107
  "declarations": [
13125
13108
  {
13126
- "kind": "variable",
13127
- "name": "DiscordVolumeControlStyles",
13128
- "default": "css` .discord-media-attachment-flex { display: flex; } .discord-media-attachment-flex-container { justify-content: flex-end; align-items: center; flex-direction: column; display: flex; position: relative; } .discord-volume-container { border-radius: 50%; &:hover, :has(:focus-visible) { .discord-media-attachment-button-slider { opacity: 1; pointer-events: all; } } } .discord-media-attachment-button-slider { --slider-width: 98px; --slider-height: 16px; position: absolute; padding-bottom: 4px; bottom: 32px; opacity: 0; pointer-events: none; width: var(--slider-height); height: var(--slider-width); -webkit-app-region: no-drag; .discord-media-attachment-volume-vertical { padding: 3px; border-radius: 8px; overflow: hidden; background-color: #141417; display: flex; align-items: center; width: var(--slider-width); height: var(--slider-height); box-sizing: border-box; transform-origin: top right; transform: rotate(-90deg) translateY(calc(var(--slider-width) * -1)); input[type='range'] { -webkit-appearance: none; -moz-appearance: none; appearance: none; border-radius: 8px; background: hsl(240 calc(1 * 4.762%) 79.412% / 0.3); border-radius: 3px; overflow: hidden; &::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; border-radius: 50%; width: 6px; height: 6px; background-color: hsl(234.935 calc(1 * 85.556%) 64.706%); box-shadow: -407px 0 0 404px hsl(234.935 calc(1 * 85.556%) 64.706%); } &::-moz-range-thumb { -webkit-appearance: none; appearance: none; border-radius: 50%; width: 6px; height: 6px; background-color: hsl(234.935 calc(1 * 85.556%) 64.706%); box-shadow: -407px 0 0 404px hsl(234.935 calc(1 * 85.556%) 64.706%); } } } } .discord-voice-message { .discord-media-attachment-button-slider { padding-bottom: 0px; } } :host([light-theme]) { .discord-media-attachment-volume-vertical { background-color: #515151; } } .discord-media-attachment-button { cursor: pointer; line-height: 0; width: auto; background: transparent; color: currentColor; border: 0; padding: 0; margin: 0; position: relative; display: flex; justify-content: center; align-items: center; box-sizing: border-box; border-radius: 3px; font-size: 14px; font-weight: 500; -webkit-user-select: none; -moz-user-select: none; user-select: none; } .discord-volume-container { button { border-radius: 50%; } } .discord-media-attachment-button-content { --custom-button-link-underline-offset: 1px; --button--underline-color: transparent; --custom-button-link-underline-width: 1px; --custom-button-link-underline-stop: calc(var(--custom-button-link-underline-width) + var(--custom-button-link-underline-offset)); background-image: linear-gradient( to top, transparent, transparent var(--custom-button-link-underline-offset), var(--button--underline-color) var(--custom-button-link-underline-offset), var(--button--underline-color) var(--custom-button-link-underline-stop), transparent var(--custom-button-link-underline-stop) ); } .discord-media-attachment-button-control-icon { display: block; width: 24px; height: 24px; padding: 4px; cursor: pointer; flex: 0 0 auto; opacity: 0.6; } .discord-media-attachment-volume-slider { position: relative; height: 6px; background-color: hsl(210 calc(1 * 9.3%) 78.8% / 0.3); width: 88px; } `"
13109
+ "kind": "function",
13110
+ "name": "VideoPlayPopIcon",
13111
+ "parameters": [
13112
+ {
13113
+ "name": "props",
13114
+ "default": "{}",
13115
+ "type": {
13116
+ "text": "Record<string, unknown>"
13117
+ }
13118
+ }
13119
+ ]
13129
13120
  }
13130
13121
  ],
13131
13122
  "exports": [
13132
13123
  {
13133
13124
  "kind": "js",
13134
- "name": "DiscordVolumeControlStyles",
13125
+ "name": "default",
13135
13126
  "declaration": {
13136
- "name": "DiscordVolumeControlStyles",
13137
- "module": "src/components/_private/DiscordVolumeControlStyles.ts"
13127
+ "name": "VideoPlayPopIcon",
13128
+ "module": "src/components/svgs/VideoPlayPopIcon.ts"
13138
13129
  }
13139
13130
  }
13140
13131
  ]
13141
13132
  },
13142
13133
  {
13143
13134
  "kind": "javascript-module",
13144
- "path": "src/components/_private/mediaGalleryFullScreenContext.ts",
13135
+ "path": "src/components/svgs/VoiceChannel.ts",
13145
13136
  "declarations": [
13146
13137
  {
13147
- "kind": "variable",
13148
- "name": "isInMediaFullScreenPreviewer"
13138
+ "kind": "function",
13139
+ "name": "VoiceChannel",
13140
+ "parameters": [
13141
+ {
13142
+ "name": "props",
13143
+ "default": "{}",
13144
+ "type": {
13145
+ "text": "Record<string, unknown>"
13146
+ }
13147
+ }
13148
+ ]
13149
13149
  }
13150
13150
  ],
13151
13151
  "exports": [
13152
13152
  {
13153
13153
  "kind": "js",
13154
- "name": "isInMediaFullScreenPreviewer",
13154
+ "name": "default",
13155
13155
  "declaration": {
13156
- "name": "isInMediaFullScreenPreviewer",
13157
- "module": "src/components/_private/mediaGalleryFullScreenContext.ts"
13156
+ "name": "VoiceChannel",
13157
+ "module": "src/components/svgs/VoiceChannel.ts"
13158
13158
  }
13159
13159
  }
13160
13160
  ]