@penwin/discord-components-core 4.3.0 → 4.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/custom-elements.json +839 -820
  2. package/dist/bundle/index.mjs +183 -173
  3. package/dist/bundle/index.mjs.map +1 -1
  4. package/dist/components/discord-channel-select-menu-option/DiscordChannelSelectMenuOption.d.ts.map +1 -1
  5. package/dist/components/discord-channel-select-menu-option/DiscordChannelSelectMenuOption.js +2 -1
  6. package/dist/components/discord-channel-select-menu-option/DiscordChannelSelectMenuOption.js.map +1 -1
  7. package/dist/components/discord-forwarded-message/DiscordForwardedMessage.d.ts +1 -0
  8. package/dist/components/discord-forwarded-message/DiscordForwardedMessage.d.ts.map +1 -1
  9. package/dist/components/discord-forwarded-message/DiscordForwardedMessage.js +7 -2
  10. package/dist/components/discord-forwarded-message/DiscordForwardedMessage.js.map +1 -1
  11. package/dist/components/discord-media-gallery-item/DiscordMediaGalleryItem.d.ts.map +1 -1
  12. package/dist/components/discord-media-gallery-item/DiscordMediaGalleryItem.js +1 -0
  13. package/dist/components/discord-media-gallery-item/DiscordMediaGalleryItem.js.map +1 -1
  14. package/dist/components/discord-select-menu-portal/DiscordSelectMenuPortal.d.ts +1 -0
  15. package/dist/components/discord-select-menu-portal/DiscordSelectMenuPortal.d.ts.map +1 -1
  16. package/dist/components/discord-select-menu-portal/DiscordSelectMenuPortal.js +13 -7
  17. package/dist/components/discord-select-menu-portal/DiscordSelectMenuPortal.js.map +1 -1
  18. package/dist/components/discord-string-select-menu/DiscordStringSelectMenu.d.ts.map +1 -1
  19. package/dist/components/discord-string-select-menu/DiscordStringSelectMenu.js +6 -2
  20. package/dist/components/discord-string-select-menu/DiscordStringSelectMenu.js.map +1 -1
  21. package/dist/index.d.ts +3 -3
  22. package/dist/index.d.ts.map +1 -1
  23. package/dist/index.js +1 -0
  24. package/dist/index.js.map +1 -1
  25. package/package.json +1 -1
@@ -3204,238 +3204,238 @@
3204
3204
  },
3205
3205
  {
3206
3206
  "kind": "javascript-module",
3207
- "path": "src/components/discord-custom-emoji/DiscordCustomEmoji.ts",
3207
+ "path": "src/components/discord-container/DiscordContainer.ts",
3208
3208
  "declarations": [
3209
+ {
3210
+ "kind": "variable",
3211
+ "name": "discordContainerContext"
3212
+ },
3209
3213
  {
3210
3214
  "kind": "class",
3211
3215
  "description": "",
3212
- "name": "DiscordCustomEmoji",
3216
+ "name": "DiscordContainer",
3213
3217
  "members": [
3214
3218
  {
3215
3219
  "kind": "field",
3216
- "name": "name",
3217
- "type": {
3218
- "text": "string"
3219
- },
3220
- "privacy": "public",
3221
- "description": "The name of the emoji",
3222
- "attribute": "name"
3223
- },
3224
- {
3225
- "kind": "field",
3226
- "name": "url",
3220
+ "name": "accentColor",
3227
3221
  "type": {
3228
3222
  "text": "string"
3229
3223
  },
3230
3224
  "privacy": "public",
3231
- "description": "The emoji URL to use in the message.",
3232
- "attribute": "url"
3225
+ "description": "The color to use for the container's left border.\r\nCan be any [CSS color value](https://www.w3schools.com/cssref/css_colors_legal.asp).",
3226
+ "attribute": "accent-color",
3227
+ "reflects": true
3233
3228
  },
3234
3229
  {
3235
3230
  "kind": "field",
3236
- "name": "customEmojisMap",
3231
+ "name": "isInContainer",
3237
3232
  "type": {
3238
- "text": "{ [key: string]: Emoji }"
3233
+ "text": "boolean"
3239
3234
  },
3240
3235
  "privacy": "public",
3241
- "default": "{}",
3242
- "description": "A map of emoji names and their data DiscordCustomEmoji.name| name.\r\n\r\nThis should be keyed as `{ key: { emojiData } }` wherein `key`\r\nshould occur in the DiscordCustomEmoji.name| name.\r\n\r\nBy default this component will use the global emojis from\r\ngetGlobalEmojiUrl, however on SSR frameworks like Nuxt 3 global config doesn't\r\nwork so we provide this as an alternative method."
3236
+ "default": "true"
3243
3237
  },
3244
3238
  {
3245
3239
  "kind": "field",
3246
- "name": "embedEmoji",
3240
+ "name": "lightTheme",
3247
3241
  "type": {
3248
3242
  "text": "boolean"
3249
3243
  },
3250
3244
  "privacy": "public",
3251
- "description": "Determines whether or not the emoji is used in an embed, or a message.\r\nIf it is used in an embed, the sizing is adjusted accordingly.",
3252
- "attribute": "embed-emoji"
3245
+ "default": "false",
3246
+ "attribute": "light-theme",
3247
+ "reflects": true
3253
3248
  },
3254
3249
  {
3255
3250
  "kind": "field",
3256
- "name": "jumbo",
3251
+ "name": "spoiler",
3257
3252
  "type": {
3258
3253
  "text": "boolean"
3259
3254
  },
3260
3255
  "privacy": "public",
3261
- "description": "Determines whether or not the emoji is of \"jumbo size\",\r\nThis means it is larger and is what Discord uses when the message exclusively has emojis,\r\nup to a maximum of 30 emojis.",
3262
- "attribute": "jumbo"
3256
+ "default": "false",
3257
+ "attribute": "spoiler",
3258
+ "reflects": true
3263
3259
  }
3264
3260
  ],
3265
3261
  "attributes": [
3266
3262
  {
3267
- "name": "name",
3268
- "type": {
3269
- "text": "string"
3270
- },
3271
- "description": "The name of the emoji",
3272
- "fieldName": "name"
3273
- },
3274
- {
3275
- "name": "url",
3263
+ "name": "accent-color",
3276
3264
  "type": {
3277
3265
  "text": "string"
3278
3266
  },
3279
- "description": "The emoji URL to use in the message.",
3280
- "fieldName": "url"
3267
+ "description": "The color to use for the container's left border.\r\nCan be any [CSS color value](https://www.w3schools.com/cssref/css_colors_legal.asp).",
3268
+ "fieldName": "accentColor"
3281
3269
  },
3282
3270
  {
3283
- "name": "embed-emoji",
3271
+ "name": "light-theme",
3284
3272
  "type": {
3285
3273
  "text": "boolean"
3286
3274
  },
3287
- "description": "Determines whether or not the emoji is used in an embed, or a message.\r\nIf it is used in an embed, the sizing is adjusted accordingly.",
3288
- "fieldName": "embedEmoji"
3275
+ "default": "false",
3276
+ "fieldName": "lightTheme"
3289
3277
  },
3290
3278
  {
3291
- "name": "jumbo",
3279
+ "name": "spoiler",
3292
3280
  "type": {
3293
3281
  "text": "boolean"
3294
3282
  },
3295
- "description": "Determines whether or not the emoji is of \"jumbo size\",\r\nThis means it is larger and is what Discord uses when the message exclusively has emojis,\r\nup to a maximum of 30 emojis.",
3296
- "fieldName": "jumbo"
3283
+ "default": "false",
3284
+ "fieldName": "spoiler"
3297
3285
  }
3298
3286
  ],
3299
3287
  "superclass": {
3300
3288
  "name": "LitElement",
3301
3289
  "package": "lit"
3302
3290
  },
3303
- "tagName": "discord-custom-emoji",
3291
+ "tagName": "discord-container",
3304
3292
  "customElement": true
3305
3293
  }
3306
3294
  ],
3307
3295
  "exports": [
3308
3296
  {
3309
3297
  "kind": "js",
3310
- "name": "DiscordCustomEmoji",
3298
+ "name": "discordContainerContext",
3311
3299
  "declaration": {
3312
- "name": "DiscordCustomEmoji",
3313
- "module": "src/components/discord-custom-emoji/DiscordCustomEmoji.ts"
3300
+ "name": "discordContainerContext",
3301
+ "module": "src/components/discord-container/DiscordContainer.ts"
3302
+ }
3303
+ },
3304
+ {
3305
+ "kind": "js",
3306
+ "name": "DiscordContainer",
3307
+ "declaration": {
3308
+ "name": "DiscordContainer",
3309
+ "module": "src/components/discord-container/DiscordContainer.ts"
3314
3310
  }
3315
3311
  },
3316
3312
  {
3317
3313
  "kind": "custom-element-definition",
3318
- "name": "discord-custom-emoji",
3314
+ "name": "discord-container",
3319
3315
  "declaration": {
3320
- "name": "DiscordCustomEmoji",
3321
- "module": "src/components/discord-custom-emoji/DiscordCustomEmoji.ts"
3316
+ "name": "DiscordContainer",
3317
+ "module": "src/components/discord-container/DiscordContainer.ts"
3322
3318
  }
3323
3319
  }
3324
3320
  ]
3325
3321
  },
3326
3322
  {
3327
3323
  "kind": "javascript-module",
3328
- "path": "src/components/discord-container/DiscordContainer.ts",
3324
+ "path": "src/components/discord-custom-emoji/DiscordCustomEmoji.ts",
3329
3325
  "declarations": [
3330
- {
3331
- "kind": "variable",
3332
- "name": "discordContainerContext"
3333
- },
3334
3326
  {
3335
3327
  "kind": "class",
3336
3328
  "description": "",
3337
- "name": "DiscordContainer",
3329
+ "name": "DiscordCustomEmoji",
3338
3330
  "members": [
3339
3331
  {
3340
3332
  "kind": "field",
3341
- "name": "accentColor",
3333
+ "name": "name",
3342
3334
  "type": {
3343
3335
  "text": "string"
3344
3336
  },
3345
3337
  "privacy": "public",
3346
- "description": "The color to use for the container's left border.\r\nCan be any [CSS color value](https://www.w3schools.com/cssref/css_colors_legal.asp).",
3347
- "attribute": "accent-color",
3348
- "reflects": true
3338
+ "description": "The name of the emoji",
3339
+ "attribute": "name"
3349
3340
  },
3350
3341
  {
3351
3342
  "kind": "field",
3352
- "name": "isInContainer",
3343
+ "name": "url",
3353
3344
  "type": {
3354
- "text": "boolean"
3345
+ "text": "string"
3355
3346
  },
3356
3347
  "privacy": "public",
3357
- "default": "true"
3348
+ "description": "The emoji URL to use in the message.",
3349
+ "attribute": "url"
3358
3350
  },
3359
3351
  {
3360
3352
  "kind": "field",
3361
- "name": "lightTheme",
3353
+ "name": "customEmojisMap",
3354
+ "type": {
3355
+ "text": "{ [key: string]: Emoji }"
3356
+ },
3357
+ "privacy": "public",
3358
+ "default": "{}",
3359
+ "description": "A map of emoji names and their data DiscordCustomEmoji.name| name.\r\n\r\nThis should be keyed as `{ key: { emojiData } }` wherein `key`\r\nshould occur in the DiscordCustomEmoji.name| name.\r\n\r\nBy default this component will use the global emojis from\r\ngetGlobalEmojiUrl, however on SSR frameworks like Nuxt 3 global config doesn't\r\nwork so we provide this as an alternative method."
3360
+ },
3361
+ {
3362
+ "kind": "field",
3363
+ "name": "embedEmoji",
3362
3364
  "type": {
3363
3365
  "text": "boolean"
3364
3366
  },
3365
3367
  "privacy": "public",
3366
- "default": "false",
3367
- "attribute": "light-theme",
3368
- "reflects": true
3368
+ "description": "Determines whether or not the emoji is used in an embed, or a message.\r\nIf it is used in an embed, the sizing is adjusted accordingly.",
3369
+ "attribute": "embed-emoji"
3369
3370
  },
3370
3371
  {
3371
3372
  "kind": "field",
3372
- "name": "spoiler",
3373
+ "name": "jumbo",
3373
3374
  "type": {
3374
3375
  "text": "boolean"
3375
3376
  },
3376
3377
  "privacy": "public",
3377
- "default": "false",
3378
- "attribute": "spoiler",
3379
- "reflects": true
3378
+ "description": "Determines whether or not the emoji is of \"jumbo size\",\r\nThis means it is larger and is what Discord uses when the message exclusively has emojis,\r\nup to a maximum of 30 emojis.",
3379
+ "attribute": "jumbo"
3380
3380
  }
3381
3381
  ],
3382
3382
  "attributes": [
3383
3383
  {
3384
- "name": "accent-color",
3384
+ "name": "name",
3385
3385
  "type": {
3386
3386
  "text": "string"
3387
3387
  },
3388
- "description": "The color to use for the container's left border.\r\nCan be any [CSS color value](https://www.w3schools.com/cssref/css_colors_legal.asp).",
3389
- "fieldName": "accentColor"
3388
+ "description": "The name of the emoji",
3389
+ "fieldName": "name"
3390
3390
  },
3391
3391
  {
3392
- "name": "light-theme",
3392
+ "name": "url",
3393
+ "type": {
3394
+ "text": "string"
3395
+ },
3396
+ "description": "The emoji URL to use in the message.",
3397
+ "fieldName": "url"
3398
+ },
3399
+ {
3400
+ "name": "embed-emoji",
3393
3401
  "type": {
3394
3402
  "text": "boolean"
3395
3403
  },
3396
- "default": "false",
3397
- "fieldName": "lightTheme"
3404
+ "description": "Determines whether or not the emoji is used in an embed, or a message.\r\nIf it is used in an embed, the sizing is adjusted accordingly.",
3405
+ "fieldName": "embedEmoji"
3398
3406
  },
3399
3407
  {
3400
- "name": "spoiler",
3408
+ "name": "jumbo",
3401
3409
  "type": {
3402
3410
  "text": "boolean"
3403
3411
  },
3404
- "default": "false",
3405
- "fieldName": "spoiler"
3412
+ "description": "Determines whether or not the emoji is of \"jumbo size\",\r\nThis means it is larger and is what Discord uses when the message exclusively has emojis,\r\nup to a maximum of 30 emojis.",
3413
+ "fieldName": "jumbo"
3406
3414
  }
3407
3415
  ],
3408
3416
  "superclass": {
3409
3417
  "name": "LitElement",
3410
3418
  "package": "lit"
3411
3419
  },
3412
- "tagName": "discord-container",
3420
+ "tagName": "discord-custom-emoji",
3413
3421
  "customElement": true
3414
3422
  }
3415
3423
  ],
3416
3424
  "exports": [
3417
3425
  {
3418
3426
  "kind": "js",
3419
- "name": "discordContainerContext",
3420
- "declaration": {
3421
- "name": "discordContainerContext",
3422
- "module": "src/components/discord-container/DiscordContainer.ts"
3423
- }
3424
- },
3425
- {
3426
- "kind": "js",
3427
- "name": "DiscordContainer",
3427
+ "name": "DiscordCustomEmoji",
3428
3428
  "declaration": {
3429
- "name": "DiscordContainer",
3430
- "module": "src/components/discord-container/DiscordContainer.ts"
3429
+ "name": "DiscordCustomEmoji",
3430
+ "module": "src/components/discord-custom-emoji/DiscordCustomEmoji.ts"
3431
3431
  }
3432
3432
  },
3433
3433
  {
3434
3434
  "kind": "custom-element-definition",
3435
- "name": "discord-container",
3435
+ "name": "discord-custom-emoji",
3436
3436
  "declaration": {
3437
- "name": "DiscordContainer",
3438
- "module": "src/components/discord-container/DiscordContainer.ts"
3437
+ "name": "DiscordCustomEmoji",
3438
+ "module": "src/components/discord-custom-emoji/DiscordCustomEmoji.ts"
3439
3439
  }
3440
3440
  }
3441
3441
  ]
@@ -4351,6 +4351,17 @@
4351
4351
  "attribute": "guild-icon",
4352
4352
  "reflects": true
4353
4353
  },
4354
+ {
4355
+ "kind": "field",
4356
+ "name": "isSameGuild",
4357
+ "type": {
4358
+ "text": "boolean"
4359
+ },
4360
+ "privacy": "public",
4361
+ "default": "false",
4362
+ "attribute": "is-same-guild",
4363
+ "reflects": true
4364
+ },
4354
4365
  {
4355
4366
  "kind": "field",
4356
4367
  "name": "timestamp",
@@ -4404,6 +4415,14 @@
4404
4415
  },
4405
4416
  "fieldName": "guildIcon"
4406
4417
  },
4418
+ {
4419
+ "name": "is-same-guild",
4420
+ "type": {
4421
+ "text": "boolean"
4422
+ },
4423
+ "default": "false",
4424
+ "fieldName": "isSameGuild"
4425
+ },
4407
4426
  {
4408
4427
  "name": "timestamp",
4409
4428
  "type": {
@@ -5397,48 +5416,6 @@
5397
5416
  }
5398
5417
  ]
5399
5418
  },
5400
- {
5401
- "kind": "javascript-module",
5402
- "path": "src/components/discord-list-item/DiscordListItem.ts",
5403
- "declarations": [
5404
- {
5405
- "kind": "class",
5406
- "description": "",
5407
- "name": "DiscordListItem",
5408
- "members": [
5409
- {
5410
- "kind": "method",
5411
- "name": "checkParentElement",
5412
- "privacy": "public"
5413
- }
5414
- ],
5415
- "superclass": {
5416
- "name": "LitElement",
5417
- "package": "lit"
5418
- },
5419
- "tagName": "discord-list-item",
5420
- "customElement": true
5421
- }
5422
- ],
5423
- "exports": [
5424
- {
5425
- "kind": "js",
5426
- "name": "DiscordListItem",
5427
- "declaration": {
5428
- "name": "DiscordListItem",
5429
- "module": "src/components/discord-list-item/DiscordListItem.ts"
5430
- }
5431
- },
5432
- {
5433
- "kind": "custom-element-definition",
5434
- "name": "discord-list-item",
5435
- "declaration": {
5436
- "name": "DiscordListItem",
5437
- "module": "src/components/discord-list-item/DiscordListItem.ts"
5438
- }
5439
- }
5440
- ]
5441
- },
5442
5419
  {
5443
5420
  "kind": "javascript-module",
5444
5421
  "path": "src/components/discord-media-fullscreen-previewer/DiscordMediaFullscreenPreviewer.ts",
@@ -6206,510 +6183,149 @@
6206
6183
  },
6207
6184
  {
6208
6185
  "kind": "javascript-module",
6209
- "path": "src/components/discord-media-spoileable-cover/DiscordMediaSpoileableCover.ts",
6186
+ "path": "src/components/discord-list-item/DiscordListItem.ts",
6210
6187
  "declarations": [
6211
6188
  {
6212
6189
  "kind": "class",
6213
6190
  "description": "",
6214
- "name": "DiscordMediaSpoileableCover",
6191
+ "name": "DiscordListItem",
6215
6192
  "members": [
6216
6193
  {
6217
6194
  "kind": "method",
6218
- "name": "createWrapperStyles",
6219
- "privacy": "public",
6220
- "static": true,
6221
- "parameters": [
6222
- {
6223
- "name": "wrapper",
6224
- "type": {
6225
- "text": "':host' | (string & {})"
6226
- }
6227
- }
6228
- ]
6229
- },
6230
- {
6231
- "kind": "field",
6232
- "name": "hostStyles",
6233
- "privacy": "public",
6234
- "static": true
6235
- },
6236
- {
6237
- "kind": "field",
6238
- "name": "isRevealed",
6239
- "type": {
6240
- "text": "boolean"
6241
- },
6242
- "privacy": "public",
6243
- "default": "false",
6244
- "attribute": "is-revealed",
6245
- "reflects": true
6246
- },
6247
- {
6248
- "kind": "method",
6249
- "name": "handleReveal",
6250
- "privacy": "public",
6251
- "parameters": [
6252
- {
6253
- "name": "_event",
6254
- "type": {
6255
- "text": "MouseEvent"
6256
- }
6257
- }
6258
- ]
6259
- },
6260
- {
6261
- "kind": "method",
6262
- "name": "inject",
6263
- "privacy": "public",
6264
- "static": true,
6265
- "parameters": [
6266
- {
6267
- "name": "isSpoiler",
6268
- "default": "false"
6269
- },
6270
- {
6271
- "name": "lightTheme",
6272
- "default": "false"
6273
- }
6274
- ]
6275
- }
6276
- ],
6277
- "attributes": [
6278
- {
6279
- "name": "is-revealed",
6280
- "type": {
6281
- "text": "boolean"
6282
- },
6283
- "default": "false",
6284
- "fieldName": "isRevealed"
6285
- }
6286
- ],
6287
- "superclass": {
6288
- "name": "LitElement",
6289
- "package": "lit"
6290
- },
6291
- "tagName": "discord-media-spoileable-cover",
6292
- "customElement": true
6293
- }
6294
- ],
6295
- "exports": [
6296
- {
6297
- "kind": "js",
6298
- "name": "DiscordMediaSpoileableCover",
6299
- "declaration": {
6300
- "name": "DiscordMediaSpoileableCover",
6301
- "module": "src/components/discord-media-spoileable-cover/DiscordMediaSpoileableCover.ts"
6302
- }
6303
- },
6304
- {
6305
- "kind": "custom-element-definition",
6306
- "name": "discord-media-spoileable-cover",
6307
- "declaration": {
6308
- "name": "DiscordMediaSpoileableCover",
6309
- "module": "src/components/discord-media-spoileable-cover/DiscordMediaSpoileableCover.ts"
6310
- }
6311
- }
6312
- ]
6313
- },
6314
- {
6315
- "kind": "javascript-module",
6316
- "path": "src/components/discord-mention/DiscordMention.ts",
6317
- "declarations": [
6318
- {
6319
- "kind": "class",
6320
- "description": "",
6321
- "name": "DiscordMention",
6322
- "members": [
6323
- {
6324
- "kind": "field",
6325
- "name": "highlight",
6326
- "type": {
6327
- "text": "boolean"
6328
- },
6329
- "privacy": "public",
6330
- "default": "false",
6331
- "description": "Whether this entire message block should be highlighted (to emulate the \"logged in user\" being pinged).",
6332
- "attribute": "highlight",
6333
- "reflects": true
6334
- },
6335
- {
6336
- "kind": "field",
6337
- "name": "type",
6338
- "type": {
6339
- "text": "| 'channel'\r\n\t\t| 'channels-and-roles'\r\n\t\t| 'customize-community'\r\n\t\t| 'forum'\r\n\t\t| 'locked'\r\n\t\t| 'role'\r\n\t\t| 'server-guide'\r\n\t\t| 'slash'\r\n\t\t| 'thread'\r\n\t\t| 'user'\r\n\t\t| 'voice'"
6340
- },
6341
- "privacy": "public",
6342
- "default": "'user'",
6343
- "description": "The type of mention this should be. This will prepend the proper prefix character.\r\nValid values:\r\n- `'user'`\r\n- `'channel'`\r\n- `'role'`\r\n- `'voice'`\r\n- `'locked'`\r\n- `'thread'`\r\n- `'forum'`\r\n- `'slash'`\r\n- `'server-guide'`\r\n- `'channels-and-roles'`\r\n- `'customize-community'`",
6344
- "attribute": "type",
6345
- "reflects": true
6346
- },
6347
- {
6348
- "kind": "field",
6349
- "name": "color",
6350
- "type": {
6351
- "text": "string"
6352
- },
6353
- "privacy": "public",
6354
- "attribute": "color",
6355
- "reflects": true
6356
- },
6357
- {
6358
- "kind": "field",
6359
- "name": "setHoverColor",
6360
- "privacy": "public"
6361
- },
6362
- {
6363
- "kind": "field",
6364
- "name": "resetHoverColor",
6195
+ "name": "checkParentElement",
6365
6196
  "privacy": "public"
6366
- },
6367
- {
6368
- "kind": "field",
6369
- "name": "lightTheme",
6370
- "type": {
6371
- "text": "boolean"
6372
- },
6373
- "privacy": "public",
6374
- "default": "false",
6375
- "attribute": "light-theme",
6376
- "reflects": true
6377
- }
6378
- ],
6379
- "attributes": [
6380
- {
6381
- "name": "highlight",
6382
- "type": {
6383
- "text": "boolean"
6384
- },
6385
- "default": "false",
6386
- "description": "Whether this entire message block should be highlighted (to emulate the \"logged in user\" being pinged).",
6387
- "fieldName": "highlight"
6388
- },
6389
- {
6390
- "name": "type",
6391
- "type": {
6392
- "text": "| 'channel'\r\n\t\t| 'channels-and-roles'\r\n\t\t| 'customize-community'\r\n\t\t| 'forum'\r\n\t\t| 'locked'\r\n\t\t| 'role'\r\n\t\t| 'server-guide'\r\n\t\t| 'slash'\r\n\t\t| 'thread'\r\n\t\t| 'user'\r\n\t\t| 'voice'"
6393
- },
6394
- "default": "'user'",
6395
- "description": "The type of mention this should be. This will prepend the proper prefix character.\r\nValid values:\r\n- `'user'`\r\n- `'channel'`\r\n- `'role'`\r\n- `'voice'`\r\n- `'locked'`\r\n- `'thread'`\r\n- `'forum'`\r\n- `'slash'`\r\n- `'server-guide'`\r\n- `'channels-and-roles'`\r\n- `'customize-community'`",
6396
- "fieldName": "type"
6397
- },
6398
- {
6399
- "name": "color",
6400
- "type": {
6401
- "text": "string"
6402
- },
6403
- "fieldName": "color"
6404
- },
6405
- {
6406
- "name": "light-theme",
6407
- "type": {
6408
- "text": "boolean"
6409
- },
6410
- "default": "false",
6411
- "fieldName": "lightTheme"
6412
6197
  }
6413
6198
  ],
6414
6199
  "superclass": {
6415
6200
  "name": "LitElement",
6416
6201
  "package": "lit"
6417
6202
  },
6418
- "tagName": "discord-mention",
6203
+ "tagName": "discord-list-item",
6419
6204
  "customElement": true
6420
6205
  }
6421
6206
  ],
6422
6207
  "exports": [
6423
6208
  {
6424
6209
  "kind": "js",
6425
- "name": "DiscordMention",
6210
+ "name": "DiscordListItem",
6426
6211
  "declaration": {
6427
- "name": "DiscordMention",
6428
- "module": "src/components/discord-mention/DiscordMention.ts"
6212
+ "name": "DiscordListItem",
6213
+ "module": "src/components/discord-list-item/DiscordListItem.ts"
6429
6214
  }
6430
6215
  },
6431
6216
  {
6432
6217
  "kind": "custom-element-definition",
6433
- "name": "discord-mention",
6218
+ "name": "discord-list-item",
6434
6219
  "declaration": {
6435
- "name": "DiscordMention",
6436
- "module": "src/components/discord-mention/DiscordMention.ts"
6220
+ "name": "DiscordListItem",
6221
+ "module": "src/components/discord-list-item/DiscordListItem.ts"
6437
6222
  }
6438
6223
  }
6439
6224
  ]
6440
6225
  },
6441
6226
  {
6442
6227
  "kind": "javascript-module",
6443
- "path": "src/components/discord-mentionable-select-menu/DiscordMentionableSelectMenu.ts",
6228
+ "path": "src/components/discord-media-spoileable-cover/DiscordMediaSpoileableCover.ts",
6444
6229
  "declarations": [
6445
6230
  {
6446
6231
  "kind": "class",
6447
6232
  "description": "",
6448
- "name": "DiscordMentionableSelectMenu",
6233
+ "name": "DiscordMediaSpoileableCover",
6449
6234
  "members": [
6450
- {
6451
- "kind": "field",
6452
- "name": "withSearch",
6453
- "type": {
6454
- "text": "boolean"
6455
- },
6456
- "privacy": "public",
6457
- "default": "true",
6458
- "inheritedFrom": {
6459
- "name": "DiscordStringSelectMenu",
6460
- "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
6461
- }
6462
- },
6463
- {
6464
- "kind": "field",
6465
- "name": "disabled",
6466
- "type": {
6467
- "text": "boolean"
6468
- },
6469
- "privacy": "public",
6470
- "description": "Whether to show the `discord-string-select-menu` as disabled.",
6471
- "attribute": "disabled",
6472
- "inheritedFrom": {
6473
- "name": "DiscordStringSelectMenu",
6474
- "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
6475
- }
6476
- },
6477
- {
6478
- "kind": "field",
6479
- "name": "placeholder",
6480
- "type": {
6481
- "text": "string"
6482
- },
6483
- "privacy": "public",
6484
- "default": "'Make a selection'",
6485
- "description": "The placeholder of the select-menu",
6486
- "attribute": "placeholder",
6487
- "inheritedFrom": {
6488
- "name": "DiscordStringSelectMenu",
6489
- "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
6490
- }
6491
- },
6492
- {
6493
- "kind": "field",
6494
- "name": "lightTheme",
6495
- "type": {
6496
- "text": "boolean"
6497
- },
6498
- "privacy": "public",
6499
- "default": "false",
6500
- "attribute": "light-theme",
6501
- "reflects": true,
6502
- "inheritedFrom": {
6503
- "name": "DiscordStringSelectMenu",
6504
- "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
6505
- }
6506
- },
6507
- {
6508
- "kind": "field",
6509
- "name": "__previousSelectedNode",
6510
- "type": {
6511
- "text": "BaseDiscordSelectMenuOption | undefined"
6512
- },
6513
- "privacy": "private",
6514
- "inheritedFrom": {
6515
- "name": "DiscordStringSelectMenu",
6516
- "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
6517
- }
6518
- },
6519
6235
  {
6520
6236
  "kind": "method",
6521
- "name": "selectOption",
6237
+ "name": "createWrapperStyles",
6522
6238
  "privacy": "public",
6239
+ "static": true,
6523
6240
  "parameters": [
6524
6241
  {
6525
- "name": "selectedOption",
6526
- "optional": true,
6242
+ "name": "wrapper",
6527
6243
  "type": {
6528
- "text": "BaseDiscordSelectMenuOption"
6244
+ "text": "':host' | (string & {})"
6529
6245
  }
6530
6246
  }
6531
- ],
6532
- "inheritedFrom": {
6533
- "name": "DiscordStringSelectMenu",
6534
- "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
6535
- }
6536
- },
6537
- {
6538
- "kind": "field",
6539
- "name": "options",
6540
- "type": {
6541
- "text": "NodeListOf<BaseDiscordSelectMenuOption> | undefined"
6542
- },
6543
- "privacy": "public",
6544
- "inheritedFrom": {
6545
- "name": "DiscordStringSelectMenu",
6546
- "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
6547
- }
6247
+ ]
6548
6248
  },
6549
6249
  {
6550
6250
  "kind": "field",
6551
- "name": "currentOpenInstance",
6552
- "type": {
6553
- "text": "DiscordStringSelectMenu | undefined"
6554
- },
6251
+ "name": "hostStyles",
6555
6252
  "privacy": "public",
6556
- "static": true,
6557
- "inheritedFrom": {
6558
- "name": "DiscordStringSelectMenu",
6559
- "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
6560
- }
6561
- },
6562
- {
6563
- "kind": "field",
6564
- "name": "noResultsFound",
6565
- "type": {
6566
- "text": "boolean"
6567
- },
6568
- "privacy": "private",
6569
- "default": "false",
6570
- "inheritedFrom": {
6571
- "name": "DiscordStringSelectMenu",
6572
- "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
6573
- }
6253
+ "static": true
6574
6254
  },
6575
6255
  {
6576
6256
  "kind": "field",
6577
- "name": "isSearching",
6257
+ "name": "isRevealed",
6578
6258
  "type": {
6579
6259
  "text": "boolean"
6580
6260
  },
6581
- "privacy": "private",
6261
+ "privacy": "public",
6582
6262
  "default": "false",
6583
- "inheritedFrom": {
6584
- "name": "DiscordStringSelectMenu",
6585
- "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
6586
- }
6263
+ "attribute": "is-revealed",
6264
+ "reflects": true
6587
6265
  },
6588
6266
  {
6589
6267
  "kind": "method",
6590
- "name": "handleInput",
6268
+ "name": "handleReveal",
6591
6269
  "privacy": "public",
6592
- "parameters": [
6593
- {
6594
- "name": "input",
6595
- "type": {
6596
- "text": "string"
6597
- }
6598
- }
6599
- ],
6600
- "inheritedFrom": {
6601
- "name": "DiscordStringSelectMenu",
6602
- "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
6603
- }
6604
- },
6605
- {
6606
- "kind": "method",
6607
- "name": "doVisibleAllOptions",
6608
- "privacy": "private",
6609
- "inheritedFrom": {
6610
- "name": "DiscordStringSelectMenu",
6611
- "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
6612
- }
6613
- },
6614
- {
6615
- "kind": "field",
6616
- "name": "inputRef",
6617
- "privacy": "private",
6618
- "inheritedFrom": {
6619
- "name": "DiscordStringSelectMenu",
6620
- "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
6621
- }
6622
- },
6623
- {
6624
- "kind": "method",
6625
- "name": "handleWindowClickOutsideEvent",
6626
- "privacy": "private",
6627
- "inheritedFrom": {
6628
- "name": "DiscordStringSelectMenu",
6629
- "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
6630
- }
6270
+ "parameters": [
6271
+ {
6272
+ "name": "_event",
6273
+ "type": {
6274
+ "text": "MouseEvent"
6275
+ }
6276
+ }
6277
+ ]
6631
6278
  },
6632
6279
  {
6633
6280
  "kind": "method",
6634
- "name": "openOptions",
6635
- "privacy": "private",
6281
+ "name": "inject",
6282
+ "privacy": "public",
6283
+ "static": true,
6636
6284
  "parameters": [
6637
6285
  {
6638
- "name": "open",
6639
- "optional": true,
6640
- "type": {
6641
- "text": "boolean"
6642
- }
6286
+ "name": "isSpoiler",
6287
+ "default": "false"
6288
+ },
6289
+ {
6290
+ "name": "lightTheme",
6291
+ "default": "false"
6643
6292
  }
6644
- ],
6645
- "inheritedFrom": {
6646
- "name": "DiscordStringSelectMenu",
6647
- "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
6648
- }
6293
+ ]
6649
6294
  }
6650
6295
  ],
6651
- "superclass": {
6652
- "name": "DiscordStringSelectMenu",
6653
- "module": "/src/components/discord-string-select-menu/DiscordStringSelectMenu.js"
6654
- },
6655
- "tagName": "discord-mentionable-select-menu",
6656
- "customElement": true,
6657
6296
  "attributes": [
6658
6297
  {
6659
- "name": "disabled",
6660
- "type": {
6661
- "text": "boolean"
6662
- },
6663
- "description": "Whether to show the `discord-string-select-menu` as disabled.",
6664
- "fieldName": "disabled",
6665
- "inheritedFrom": {
6666
- "name": "DiscordStringSelectMenu",
6667
- "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
6668
- }
6669
- },
6670
- {
6671
- "name": "placeholder",
6672
- "type": {
6673
- "text": "string"
6674
- },
6675
- "default": "'Make a selection'",
6676
- "description": "The placeholder of the select-menu",
6677
- "fieldName": "placeholder",
6678
- "inheritedFrom": {
6679
- "name": "DiscordStringSelectMenu",
6680
- "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
6681
- }
6682
- },
6683
- {
6684
- "name": "light-theme",
6298
+ "name": "is-revealed",
6685
6299
  "type": {
6686
6300
  "text": "boolean"
6687
6301
  },
6688
6302
  "default": "false",
6689
- "fieldName": "lightTheme",
6690
- "inheritedFrom": {
6691
- "name": "DiscordStringSelectMenu",
6692
- "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
6693
- }
6303
+ "fieldName": "isRevealed"
6694
6304
  }
6695
- ]
6305
+ ],
6306
+ "superclass": {
6307
+ "name": "LitElement",
6308
+ "package": "lit"
6309
+ },
6310
+ "tagName": "discord-media-spoileable-cover",
6311
+ "customElement": true
6696
6312
  }
6697
6313
  ],
6698
6314
  "exports": [
6699
6315
  {
6700
6316
  "kind": "js",
6701
- "name": "DiscordMentionableSelectMenu",
6317
+ "name": "DiscordMediaSpoileableCover",
6702
6318
  "declaration": {
6703
- "name": "DiscordMentionableSelectMenu",
6704
- "module": "src/components/discord-mentionable-select-menu/DiscordMentionableSelectMenu.ts"
6319
+ "name": "DiscordMediaSpoileableCover",
6320
+ "module": "src/components/discord-media-spoileable-cover/DiscordMediaSpoileableCover.ts"
6705
6321
  }
6706
6322
  },
6707
6323
  {
6708
6324
  "kind": "custom-element-definition",
6709
- "name": "discord-mentionable-select-menu",
6325
+ "name": "discord-media-spoileable-cover",
6710
6326
  "declaration": {
6711
- "name": "DiscordMentionableSelectMenu",
6712
- "module": "src/components/discord-mentionable-select-menu/DiscordMentionableSelectMenu.ts"
6327
+ "name": "DiscordMediaSpoileableCover",
6328
+ "module": "src/components/discord-media-spoileable-cover/DiscordMediaSpoileableCover.ts"
6713
6329
  }
6714
6330
  }
6715
6331
  ]
@@ -7325,25 +6941,55 @@
7325
6941
  },
7326
6942
  {
7327
6943
  "kind": "javascript-module",
7328
- "path": "src/components/discord-messages/DiscordMessages.ts",
6944
+ "path": "src/components/discord-mentionable-select-menu/DiscordMentionableSelectMenu.ts",
7329
6945
  "declarations": [
7330
- {
7331
- "kind": "variable",
7332
- "name": "messagesLightTheme"
7333
- },
7334
- {
7335
- "kind": "variable",
7336
- "name": "messagesCompactMode"
7337
- },
7338
- {
7339
- "kind": "variable",
7340
- "name": "messagesNoBackground"
7341
- },
7342
6946
  {
7343
6947
  "kind": "class",
7344
6948
  "description": "",
7345
- "name": "DiscordMessages",
6949
+ "name": "DiscordMentionableSelectMenu",
7346
6950
  "members": [
6951
+ {
6952
+ "kind": "field",
6953
+ "name": "withSearch",
6954
+ "type": {
6955
+ "text": "boolean"
6956
+ },
6957
+ "privacy": "public",
6958
+ "default": "true",
6959
+ "inheritedFrom": {
6960
+ "name": "DiscordStringSelectMenu",
6961
+ "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
6962
+ }
6963
+ },
6964
+ {
6965
+ "kind": "field",
6966
+ "name": "disabled",
6967
+ "type": {
6968
+ "text": "boolean"
6969
+ },
6970
+ "privacy": "public",
6971
+ "description": "Whether to show the `discord-string-select-menu` as disabled.",
6972
+ "attribute": "disabled",
6973
+ "inheritedFrom": {
6974
+ "name": "DiscordStringSelectMenu",
6975
+ "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
6976
+ }
6977
+ },
6978
+ {
6979
+ "kind": "field",
6980
+ "name": "placeholder",
6981
+ "type": {
6982
+ "text": "string"
6983
+ },
6984
+ "privacy": "public",
6985
+ "default": "'Make a selection'",
6986
+ "description": "The placeholder of the select-menu",
6987
+ "attribute": "placeholder",
6988
+ "inheritedFrom": {
6989
+ "name": "DiscordStringSelectMenu",
6990
+ "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
6991
+ }
6992
+ },
7347
6993
  {
7348
6994
  "kind": "field",
7349
6995
  "name": "lightTheme",
@@ -7352,149 +6998,219 @@
7352
6998
  },
7353
6999
  "privacy": "public",
7354
7000
  "default": "false",
7355
- "description": "Whether to use light theme or not.",
7356
7001
  "attribute": "light-theme",
7357
- "reflects": true
7002
+ "reflects": true,
7003
+ "inheritedFrom": {
7004
+ "name": "DiscordStringSelectMenu",
7005
+ "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
7006
+ }
7358
7007
  },
7359
7008
  {
7360
7009
  "kind": "field",
7361
- "name": "noBackground",
7010
+ "name": "__previousSelectedNode",
7362
7011
  "type": {
7363
- "text": "boolean"
7012
+ "text": "BaseDiscordSelectMenuOption | undefined"
7013
+ },
7014
+ "privacy": "private",
7015
+ "inheritedFrom": {
7016
+ "name": "DiscordStringSelectMenu",
7017
+ "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
7018
+ }
7019
+ },
7020
+ {
7021
+ "kind": "method",
7022
+ "name": "selectOption",
7023
+ "privacy": "public",
7024
+ "parameters": [
7025
+ {
7026
+ "name": "selectedOption",
7027
+ "optional": true,
7028
+ "type": {
7029
+ "text": "BaseDiscordSelectMenuOption"
7030
+ }
7031
+ }
7032
+ ],
7033
+ "inheritedFrom": {
7034
+ "name": "DiscordStringSelectMenu",
7035
+ "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
7036
+ }
7037
+ },
7038
+ {
7039
+ "kind": "field",
7040
+ "name": "options",
7041
+ "type": {
7042
+ "text": "NodeListOf<BaseDiscordSelectMenuOption> | undefined"
7043
+ },
7044
+ "privacy": "public",
7045
+ "inheritedFrom": {
7046
+ "name": "DiscordStringSelectMenu",
7047
+ "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
7048
+ }
7049
+ },
7050
+ {
7051
+ "kind": "field",
7052
+ "name": "currentOpenInstance",
7053
+ "type": {
7054
+ "text": "DiscordStringSelectMenu | undefined"
7364
7055
  },
7365
7056
  "privacy": "public",
7057
+ "static": true,
7058
+ "inheritedFrom": {
7059
+ "name": "DiscordStringSelectMenu",
7060
+ "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
7061
+ }
7062
+ },
7063
+ {
7064
+ "kind": "field",
7065
+ "name": "noResultsFound",
7066
+ "type": {
7067
+ "text": "boolean"
7068
+ },
7069
+ "privacy": "private",
7366
7070
  "default": "false",
7367
- "description": "Whether to exclude the background or not.",
7368
- "attribute": "no-background",
7369
- "reflects": true
7071
+ "inheritedFrom": {
7072
+ "name": "DiscordStringSelectMenu",
7073
+ "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
7074
+ }
7075
+ },
7076
+ {
7077
+ "kind": "field",
7078
+ "name": "isSearching",
7079
+ "type": {
7080
+ "text": "boolean"
7081
+ },
7082
+ "privacy": "private",
7083
+ "default": "false",
7084
+ "inheritedFrom": {
7085
+ "name": "DiscordStringSelectMenu",
7086
+ "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
7087
+ }
7088
+ },
7089
+ {
7090
+ "kind": "method",
7091
+ "name": "handleInput",
7092
+ "privacy": "public",
7093
+ "parameters": [
7094
+ {
7095
+ "name": "input",
7096
+ "type": {
7097
+ "text": "string"
7098
+ }
7099
+ }
7100
+ ],
7101
+ "inheritedFrom": {
7102
+ "name": "DiscordStringSelectMenu",
7103
+ "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
7104
+ }
7105
+ },
7106
+ {
7107
+ "kind": "method",
7108
+ "name": "doVisibleAllOptions",
7109
+ "privacy": "private",
7110
+ "inheritedFrom": {
7111
+ "name": "DiscordStringSelectMenu",
7112
+ "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
7113
+ }
7370
7114
  },
7371
7115
  {
7372
7116
  "kind": "field",
7373
- "name": "compactMode",
7374
- "type": {
7375
- "text": "boolean"
7376
- },
7377
- "privacy": "public",
7378
- "default": "false",
7379
- "description": "Whether to use compact mode or not.",
7380
- "attribute": "compact-mode",
7381
- "reflects": true
7117
+ "name": "inputRef",
7118
+ "privacy": "private",
7119
+ "inheritedFrom": {
7120
+ "name": "DiscordStringSelectMenu",
7121
+ "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
7122
+ }
7382
7123
  },
7383
7124
  {
7384
- "kind": "field",
7385
- "name": "channelType",
7386
- "type": {
7387
- "text": "'forum' | 'locked' | 'text' | 'thread' | 'voice'"
7388
- },
7389
- "privacy": "public",
7390
- "description": "The type of channel this should be, this will be displayed above the message and only applies if DiscordMessages.channelName is set.\r\nValid values are: `text`, `forum`, `locked`, `thread`, and `voice`.",
7391
- "attribute": "channel-type",
7392
- "reflects": true
7125
+ "kind": "method",
7126
+ "name": "handleWindowClickOutsideEvent",
7127
+ "privacy": "private",
7128
+ "inheritedFrom": {
7129
+ "name": "DiscordStringSelectMenu",
7130
+ "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
7131
+ }
7393
7132
  },
7394
7133
  {
7395
- "kind": "field",
7396
- "name": "channelName",
7397
- "type": {
7398
- "text": "string"
7399
- },
7400
- "privacy": "public",
7401
- "description": "The name of the channel, this will be displayed above the message and only applies if DiscordMessages.channelType is set.",
7402
- "attribute": "channel-name",
7403
- "reflects": true
7134
+ "kind": "method",
7135
+ "name": "openOptions",
7136
+ "privacy": "private",
7137
+ "parameters": [
7138
+ {
7139
+ "name": "open",
7140
+ "optional": true,
7141
+ "type": {
7142
+ "text": "boolean"
7143
+ }
7144
+ }
7145
+ ],
7146
+ "inheritedFrom": {
7147
+ "name": "DiscordStringSelectMenu",
7148
+ "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
7149
+ }
7404
7150
  }
7405
7151
  ],
7152
+ "superclass": {
7153
+ "name": "DiscordStringSelectMenu",
7154
+ "module": "/src/components/discord-string-select-menu/DiscordStringSelectMenu.js"
7155
+ },
7156
+ "tagName": "discord-mentionable-select-menu",
7157
+ "customElement": true,
7406
7158
  "attributes": [
7407
7159
  {
7408
- "name": "light-theme",
7160
+ "name": "disabled",
7409
7161
  "type": {
7410
7162
  "text": "boolean"
7411
7163
  },
7412
- "default": "false",
7413
- "description": "Whether to use light theme or not.",
7414
- "fieldName": "lightTheme"
7164
+ "description": "Whether to show the `discord-string-select-menu` as disabled.",
7165
+ "fieldName": "disabled",
7166
+ "inheritedFrom": {
7167
+ "name": "DiscordStringSelectMenu",
7168
+ "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
7169
+ }
7415
7170
  },
7416
7171
  {
7417
- "name": "no-background",
7172
+ "name": "placeholder",
7418
7173
  "type": {
7419
- "text": "boolean"
7174
+ "text": "string"
7420
7175
  },
7421
- "default": "false",
7422
- "description": "Whether to exclude the background or not.",
7423
- "fieldName": "noBackground"
7176
+ "default": "'Make a selection'",
7177
+ "description": "The placeholder of the select-menu",
7178
+ "fieldName": "placeholder",
7179
+ "inheritedFrom": {
7180
+ "name": "DiscordStringSelectMenu",
7181
+ "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
7182
+ }
7424
7183
  },
7425
7184
  {
7426
- "name": "compact-mode",
7185
+ "name": "light-theme",
7427
7186
  "type": {
7428
7187
  "text": "boolean"
7429
7188
  },
7430
7189
  "default": "false",
7431
- "description": "Whether to use compact mode or not.",
7432
- "fieldName": "compactMode"
7433
- },
7434
- {
7435
- "name": "channel-type",
7436
- "type": {
7437
- "text": "'forum' | 'locked' | 'text' | 'thread' | 'voice'"
7438
- },
7439
- "description": "The type of channel this should be, this will be displayed above the message and only applies if DiscordMessages.channelName is set.\r\nValid values are: `text`, `forum`, `locked`, `thread`, and `voice`.",
7440
- "fieldName": "channelType"
7441
- },
7442
- {
7443
- "name": "channel-name",
7444
- "type": {
7445
- "text": "string"
7446
- },
7447
- "description": "The name of the channel, this will be displayed above the message and only applies if DiscordMessages.channelType is set.",
7448
- "fieldName": "channelName"
7190
+ "fieldName": "lightTheme",
7191
+ "inheritedFrom": {
7192
+ "name": "DiscordStringSelectMenu",
7193
+ "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
7194
+ }
7449
7195
  }
7450
- ],
7451
- "superclass": {
7452
- "name": "LitElement",
7453
- "package": "lit"
7454
- },
7455
- "tagName": "discord-messages",
7456
- "customElement": true
7196
+ ]
7457
7197
  }
7458
7198
  ],
7459
7199
  "exports": [
7460
7200
  {
7461
7201
  "kind": "js",
7462
- "name": "messagesLightTheme",
7463
- "declaration": {
7464
- "name": "messagesLightTheme",
7465
- "module": "src/components/discord-messages/DiscordMessages.ts"
7466
- }
7467
- },
7468
- {
7469
- "kind": "js",
7470
- "name": "messagesCompactMode",
7471
- "declaration": {
7472
- "name": "messagesCompactMode",
7473
- "module": "src/components/discord-messages/DiscordMessages.ts"
7474
- }
7475
- },
7476
- {
7477
- "kind": "js",
7478
- "name": "messagesNoBackground",
7479
- "declaration": {
7480
- "name": "messagesNoBackground",
7481
- "module": "src/components/discord-messages/DiscordMessages.ts"
7482
- }
7483
- },
7484
- {
7485
- "kind": "js",
7486
- "name": "DiscordMessages",
7202
+ "name": "DiscordMentionableSelectMenu",
7487
7203
  "declaration": {
7488
- "name": "DiscordMessages",
7489
- "module": "src/components/discord-messages/DiscordMessages.ts"
7204
+ "name": "DiscordMentionableSelectMenu",
7205
+ "module": "src/components/discord-mentionable-select-menu/DiscordMentionableSelectMenu.ts"
7490
7206
  }
7491
7207
  },
7492
7208
  {
7493
7209
  "kind": "custom-element-definition",
7494
- "name": "discord-messages",
7210
+ "name": "discord-mentionable-select-menu",
7495
7211
  "declaration": {
7496
- "name": "DiscordMessages",
7497
- "module": "src/components/discord-messages/DiscordMessages.ts"
7212
+ "name": "DiscordMentionableSelectMenu",
7213
+ "module": "src/components/discord-mentionable-select-menu/DiscordMentionableSelectMenu.ts"
7498
7214
  }
7499
7215
  }
7500
7216
  ]
@@ -7739,65 +7455,192 @@
7739
7455
  "members": [
7740
7456
  {
7741
7457
  "kind": "field",
7742
- "name": "start",
7458
+ "name": "start",
7459
+ "type": {
7460
+ "text": "number"
7461
+ },
7462
+ "privacy": "public",
7463
+ "default": "1",
7464
+ "description": "The starting number for the ordered list.\r\n\r\nYou can set this to start the list at a specific number",
7465
+ "attribute": "start",
7466
+ "reflects": true
7467
+ },
7468
+ {
7469
+ "kind": "field",
7470
+ "name": "startLength",
7471
+ "type": {
7472
+ "text": "number"
7473
+ },
7474
+ "privacy": "private",
7475
+ "default": "1"
7476
+ },
7477
+ {
7478
+ "kind": "method",
7479
+ "name": "checkChildren",
7480
+ "privacy": "public"
7481
+ }
7482
+ ],
7483
+ "attributes": [
7484
+ {
7485
+ "name": "start",
7486
+ "type": {
7487
+ "text": "number"
7488
+ },
7489
+ "default": "1",
7490
+ "description": "The starting number for the ordered list.\r\n\r\nYou can set this to start the list at a specific number",
7491
+ "fieldName": "start"
7492
+ }
7493
+ ],
7494
+ "superclass": {
7495
+ "name": "LitElement",
7496
+ "package": "lit"
7497
+ },
7498
+ "tagName": "discord-ordered-list",
7499
+ "customElement": true
7500
+ }
7501
+ ],
7502
+ "exports": [
7503
+ {
7504
+ "kind": "js",
7505
+ "name": "DiscordOrderedList",
7506
+ "declaration": {
7507
+ "name": "DiscordOrderedList",
7508
+ "module": "src/components/discord-ordered-list/DiscordOrderedList.ts"
7509
+ }
7510
+ },
7511
+ {
7512
+ "kind": "custom-element-definition",
7513
+ "name": "discord-ordered-list",
7514
+ "declaration": {
7515
+ "name": "DiscordOrderedList",
7516
+ "module": "src/components/discord-ordered-list/DiscordOrderedList.ts"
7517
+ }
7518
+ }
7519
+ ]
7520
+ },
7521
+ {
7522
+ "kind": "javascript-module",
7523
+ "path": "src/components/discord-mention/DiscordMention.ts",
7524
+ "declarations": [
7525
+ {
7526
+ "kind": "class",
7527
+ "description": "",
7528
+ "name": "DiscordMention",
7529
+ "members": [
7530
+ {
7531
+ "kind": "field",
7532
+ "name": "highlight",
7533
+ "type": {
7534
+ "text": "boolean"
7535
+ },
7536
+ "privacy": "public",
7537
+ "default": "false",
7538
+ "description": "Whether this entire message block should be highlighted (to emulate the \"logged in user\" being pinged).",
7539
+ "attribute": "highlight",
7540
+ "reflects": true
7541
+ },
7542
+ {
7543
+ "kind": "field",
7544
+ "name": "type",
7545
+ "type": {
7546
+ "text": "| 'channel'\r\n\t\t| 'channels-and-roles'\r\n\t\t| 'customize-community'\r\n\t\t| 'forum'\r\n\t\t| 'locked'\r\n\t\t| 'role'\r\n\t\t| 'server-guide'\r\n\t\t| 'slash'\r\n\t\t| 'thread'\r\n\t\t| 'user'\r\n\t\t| 'voice'"
7547
+ },
7548
+ "privacy": "public",
7549
+ "default": "'user'",
7550
+ "description": "The type of mention this should be. This will prepend the proper prefix character.\r\nValid values:\r\n- `'user'`\r\n- `'channel'`\r\n- `'role'`\r\n- `'voice'`\r\n- `'locked'`\r\n- `'thread'`\r\n- `'forum'`\r\n- `'slash'`\r\n- `'server-guide'`\r\n- `'channels-and-roles'`\r\n- `'customize-community'`",
7551
+ "attribute": "type",
7552
+ "reflects": true
7553
+ },
7554
+ {
7555
+ "kind": "field",
7556
+ "name": "color",
7743
7557
  "type": {
7744
- "text": "number"
7558
+ "text": "string"
7745
7559
  },
7746
7560
  "privacy": "public",
7747
- "default": "1",
7748
- "description": "The starting number for the ordered list.\r\n\r\nYou can set this to start the list at a specific number",
7749
- "attribute": "start",
7561
+ "attribute": "color",
7750
7562
  "reflects": true
7751
7563
  },
7752
7564
  {
7753
7565
  "kind": "field",
7754
- "name": "startLength",
7755
- "type": {
7756
- "text": "number"
7757
- },
7758
- "privacy": "private",
7759
- "default": "1"
7566
+ "name": "setHoverColor",
7567
+ "privacy": "public"
7760
7568
  },
7761
7569
  {
7762
- "kind": "method",
7763
- "name": "checkChildren",
7570
+ "kind": "field",
7571
+ "name": "resetHoverColor",
7764
7572
  "privacy": "public"
7573
+ },
7574
+ {
7575
+ "kind": "field",
7576
+ "name": "lightTheme",
7577
+ "type": {
7578
+ "text": "boolean"
7579
+ },
7580
+ "privacy": "public",
7581
+ "default": "false",
7582
+ "attribute": "light-theme",
7583
+ "reflects": true
7765
7584
  }
7766
7585
  ],
7767
7586
  "attributes": [
7768
7587
  {
7769
- "name": "start",
7588
+ "name": "highlight",
7770
7589
  "type": {
7771
- "text": "number"
7590
+ "text": "boolean"
7772
7591
  },
7773
- "default": "1",
7774
- "description": "The starting number for the ordered list.\r\n\r\nYou can set this to start the list at a specific number",
7775
- "fieldName": "start"
7592
+ "default": "false",
7593
+ "description": "Whether this entire message block should be highlighted (to emulate the \"logged in user\" being pinged).",
7594
+ "fieldName": "highlight"
7595
+ },
7596
+ {
7597
+ "name": "type",
7598
+ "type": {
7599
+ "text": "| 'channel'\r\n\t\t| 'channels-and-roles'\r\n\t\t| 'customize-community'\r\n\t\t| 'forum'\r\n\t\t| 'locked'\r\n\t\t| 'role'\r\n\t\t| 'server-guide'\r\n\t\t| 'slash'\r\n\t\t| 'thread'\r\n\t\t| 'user'\r\n\t\t| 'voice'"
7600
+ },
7601
+ "default": "'user'",
7602
+ "description": "The type of mention this should be. This will prepend the proper prefix character.\r\nValid values:\r\n- `'user'`\r\n- `'channel'`\r\n- `'role'`\r\n- `'voice'`\r\n- `'locked'`\r\n- `'thread'`\r\n- `'forum'`\r\n- `'slash'`\r\n- `'server-guide'`\r\n- `'channels-and-roles'`\r\n- `'customize-community'`",
7603
+ "fieldName": "type"
7604
+ },
7605
+ {
7606
+ "name": "color",
7607
+ "type": {
7608
+ "text": "string"
7609
+ },
7610
+ "fieldName": "color"
7611
+ },
7612
+ {
7613
+ "name": "light-theme",
7614
+ "type": {
7615
+ "text": "boolean"
7616
+ },
7617
+ "default": "false",
7618
+ "fieldName": "lightTheme"
7776
7619
  }
7777
7620
  ],
7778
7621
  "superclass": {
7779
7622
  "name": "LitElement",
7780
7623
  "package": "lit"
7781
7624
  },
7782
- "tagName": "discord-ordered-list",
7625
+ "tagName": "discord-mention",
7783
7626
  "customElement": true
7784
7627
  }
7785
7628
  ],
7786
7629
  "exports": [
7787
7630
  {
7788
7631
  "kind": "js",
7789
- "name": "DiscordOrderedList",
7632
+ "name": "DiscordMention",
7790
7633
  "declaration": {
7791
- "name": "DiscordOrderedList",
7792
- "module": "src/components/discord-ordered-list/DiscordOrderedList.ts"
7634
+ "name": "DiscordMention",
7635
+ "module": "src/components/discord-mention/DiscordMention.ts"
7793
7636
  }
7794
7637
  },
7795
7638
  {
7796
7639
  "kind": "custom-element-definition",
7797
- "name": "discord-ordered-list",
7640
+ "name": "discord-mention",
7798
7641
  "declaration": {
7799
- "name": "DiscordOrderedList",
7800
- "module": "src/components/discord-ordered-list/DiscordOrderedList.ts"
7642
+ "name": "DiscordMention",
7643
+ "module": "src/components/discord-mention/DiscordMention.ts"
7801
7644
  }
7802
7645
  }
7803
7646
  ]
@@ -8279,6 +8122,182 @@
8279
8122
  }
8280
8123
  ]
8281
8124
  },
8125
+ {
8126
+ "kind": "javascript-module",
8127
+ "path": "src/components/discord-messages/DiscordMessages.ts",
8128
+ "declarations": [
8129
+ {
8130
+ "kind": "variable",
8131
+ "name": "messagesLightTheme"
8132
+ },
8133
+ {
8134
+ "kind": "variable",
8135
+ "name": "messagesCompactMode"
8136
+ },
8137
+ {
8138
+ "kind": "variable",
8139
+ "name": "messagesNoBackground"
8140
+ },
8141
+ {
8142
+ "kind": "class",
8143
+ "description": "",
8144
+ "name": "DiscordMessages",
8145
+ "members": [
8146
+ {
8147
+ "kind": "field",
8148
+ "name": "lightTheme",
8149
+ "type": {
8150
+ "text": "boolean"
8151
+ },
8152
+ "privacy": "public",
8153
+ "default": "false",
8154
+ "description": "Whether to use light theme or not.",
8155
+ "attribute": "light-theme",
8156
+ "reflects": true
8157
+ },
8158
+ {
8159
+ "kind": "field",
8160
+ "name": "noBackground",
8161
+ "type": {
8162
+ "text": "boolean"
8163
+ },
8164
+ "privacy": "public",
8165
+ "default": "false",
8166
+ "description": "Whether to exclude the background or not.",
8167
+ "attribute": "no-background",
8168
+ "reflects": true
8169
+ },
8170
+ {
8171
+ "kind": "field",
8172
+ "name": "compactMode",
8173
+ "type": {
8174
+ "text": "boolean"
8175
+ },
8176
+ "privacy": "public",
8177
+ "default": "false",
8178
+ "description": "Whether to use compact mode or not.",
8179
+ "attribute": "compact-mode",
8180
+ "reflects": true
8181
+ },
8182
+ {
8183
+ "kind": "field",
8184
+ "name": "channelType",
8185
+ "type": {
8186
+ "text": "'forum' | 'locked' | 'text' | 'thread' | 'voice'"
8187
+ },
8188
+ "privacy": "public",
8189
+ "description": "The type of channel this should be, this will be displayed above the message and only applies if DiscordMessages.channelName is set.\r\nValid values are: `text`, `forum`, `locked`, `thread`, and `voice`.",
8190
+ "attribute": "channel-type",
8191
+ "reflects": true
8192
+ },
8193
+ {
8194
+ "kind": "field",
8195
+ "name": "channelName",
8196
+ "type": {
8197
+ "text": "string"
8198
+ },
8199
+ "privacy": "public",
8200
+ "description": "The name of the channel, this will be displayed above the message and only applies if DiscordMessages.channelType is set.",
8201
+ "attribute": "channel-name",
8202
+ "reflects": true
8203
+ }
8204
+ ],
8205
+ "attributes": [
8206
+ {
8207
+ "name": "light-theme",
8208
+ "type": {
8209
+ "text": "boolean"
8210
+ },
8211
+ "default": "false",
8212
+ "description": "Whether to use light theme or not.",
8213
+ "fieldName": "lightTheme"
8214
+ },
8215
+ {
8216
+ "name": "no-background",
8217
+ "type": {
8218
+ "text": "boolean"
8219
+ },
8220
+ "default": "false",
8221
+ "description": "Whether to exclude the background or not.",
8222
+ "fieldName": "noBackground"
8223
+ },
8224
+ {
8225
+ "name": "compact-mode",
8226
+ "type": {
8227
+ "text": "boolean"
8228
+ },
8229
+ "default": "false",
8230
+ "description": "Whether to use compact mode or not.",
8231
+ "fieldName": "compactMode"
8232
+ },
8233
+ {
8234
+ "name": "channel-type",
8235
+ "type": {
8236
+ "text": "'forum' | 'locked' | 'text' | 'thread' | 'voice'"
8237
+ },
8238
+ "description": "The type of channel this should be, this will be displayed above the message and only applies if DiscordMessages.channelName is set.\r\nValid values are: `text`, `forum`, `locked`, `thread`, and `voice`.",
8239
+ "fieldName": "channelType"
8240
+ },
8241
+ {
8242
+ "name": "channel-name",
8243
+ "type": {
8244
+ "text": "string"
8245
+ },
8246
+ "description": "The name of the channel, this will be displayed above the message and only applies if DiscordMessages.channelType is set.",
8247
+ "fieldName": "channelName"
8248
+ }
8249
+ ],
8250
+ "superclass": {
8251
+ "name": "LitElement",
8252
+ "package": "lit"
8253
+ },
8254
+ "tagName": "discord-messages",
8255
+ "customElement": true
8256
+ }
8257
+ ],
8258
+ "exports": [
8259
+ {
8260
+ "kind": "js",
8261
+ "name": "messagesLightTheme",
8262
+ "declaration": {
8263
+ "name": "messagesLightTheme",
8264
+ "module": "src/components/discord-messages/DiscordMessages.ts"
8265
+ }
8266
+ },
8267
+ {
8268
+ "kind": "js",
8269
+ "name": "messagesCompactMode",
8270
+ "declaration": {
8271
+ "name": "messagesCompactMode",
8272
+ "module": "src/components/discord-messages/DiscordMessages.ts"
8273
+ }
8274
+ },
8275
+ {
8276
+ "kind": "js",
8277
+ "name": "messagesNoBackground",
8278
+ "declaration": {
8279
+ "name": "messagesNoBackground",
8280
+ "module": "src/components/discord-messages/DiscordMessages.ts"
8281
+ }
8282
+ },
8283
+ {
8284
+ "kind": "js",
8285
+ "name": "DiscordMessages",
8286
+ "declaration": {
8287
+ "name": "DiscordMessages",
8288
+ "module": "src/components/discord-messages/DiscordMessages.ts"
8289
+ }
8290
+ },
8291
+ {
8292
+ "kind": "custom-element-definition",
8293
+ "name": "discord-messages",
8294
+ "declaration": {
8295
+ "name": "DiscordMessages",
8296
+ "module": "src/components/discord-messages/DiscordMessages.ts"
8297
+ }
8298
+ }
8299
+ ]
8300
+ },
8282
8301
  {
8283
8302
  "kind": "javascript-module",
8284
8303
  "path": "src/components/discord-pre/DiscordPre.ts",
@@ -10728,104 +10747,6 @@
10728
10747
  }
10729
10748
  ]
10730
10749
  },
10731
- {
10732
- "kind": "javascript-module",
10733
- "path": "src/components/discord-thread/DiscordThread.ts",
10734
- "declarations": [
10735
- {
10736
- "kind": "class",
10737
- "description": "",
10738
- "name": "DiscordThread",
10739
- "members": [
10740
- {
10741
- "kind": "field",
10742
- "name": "name",
10743
- "type": {
10744
- "text": "string"
10745
- },
10746
- "privacy": "public",
10747
- "default": "'Thread'",
10748
- "description": "The name of the thread.",
10749
- "attribute": "name"
10750
- },
10751
- {
10752
- "kind": "field",
10753
- "name": "cta",
10754
- "type": {
10755
- "text": "string"
10756
- },
10757
- "privacy": "public",
10758
- "default": "'See Thread'",
10759
- "description": "The the text within the call to action text. (i.e. 'See Thread' or 'x Messages')",
10760
- "attribute": "cta"
10761
- },
10762
- {
10763
- "kind": "field",
10764
- "name": "lightTheme",
10765
- "type": {
10766
- "text": "boolean"
10767
- },
10768
- "privacy": "public",
10769
- "default": "false",
10770
- "attribute": "light-theme",
10771
- "reflects": true
10772
- }
10773
- ],
10774
- "attributes": [
10775
- {
10776
- "name": "name",
10777
- "type": {
10778
- "text": "string"
10779
- },
10780
- "default": "'Thread'",
10781
- "description": "The name of the thread.",
10782
- "fieldName": "name"
10783
- },
10784
- {
10785
- "name": "cta",
10786
- "type": {
10787
- "text": "string"
10788
- },
10789
- "default": "'See Thread'",
10790
- "description": "The the text within the call to action text. (i.e. 'See Thread' or 'x Messages')",
10791
- "fieldName": "cta"
10792
- },
10793
- {
10794
- "name": "light-theme",
10795
- "type": {
10796
- "text": "boolean"
10797
- },
10798
- "default": "false",
10799
- "fieldName": "lightTheme"
10800
- }
10801
- ],
10802
- "superclass": {
10803
- "name": "LitElement",
10804
- "package": "lit"
10805
- },
10806
- "tagName": "discord-thread",
10807
- "customElement": true
10808
- }
10809
- ],
10810
- "exports": [
10811
- {
10812
- "kind": "js",
10813
- "name": "DiscordThread",
10814
- "declaration": {
10815
- "name": "DiscordThread",
10816
- "module": "src/components/discord-thread/DiscordThread.ts"
10817
- }
10818
- },
10819
- {
10820
- "kind": "custom-element-definition",
10821
- "name": "discord-thread",
10822
- "declaration": {
10823
- "name": "DiscordThread",
10824
- "module": "src/components/discord-thread/DiscordThread.ts"
10825
- }
10826
- }
10827
- ]
10828
- },
10829
10750
  {
10830
10751
  "kind": "javascript-module",
10831
10752
  "path": "src/components/discord-thread-message/DiscordThreadMessage.ts",
@@ -11078,99 +10999,98 @@
11078
10999
  },
11079
11000
  {
11080
11001
  "kind": "javascript-module",
11081
- "path": "src/components/discord-thumbnail/DiscordThumbnail.ts",
11002
+ "path": "src/components/discord-thread/DiscordThread.ts",
11082
11003
  "declarations": [
11083
11004
  {
11084
11005
  "kind": "class",
11085
11006
  "description": "",
11086
- "name": "DiscordThumbnail",
11007
+ "name": "DiscordThread",
11087
11008
  "members": [
11088
11009
  {
11089
11010
  "kind": "field",
11090
- "name": "media",
11011
+ "name": "name",
11091
11012
  "type": {
11092
11013
  "text": "string"
11093
11014
  },
11094
11015
  "privacy": "public",
11095
- "attribute": "media"
11016
+ "default": "'Thread'",
11017
+ "description": "The name of the thread.",
11018
+ "attribute": "name"
11096
11019
  },
11097
11020
  {
11098
11021
  "kind": "field",
11099
- "name": "description",
11022
+ "name": "cta",
11100
11023
  "type": {
11101
11024
  "text": "string"
11102
11025
  },
11103
11026
  "privacy": "public",
11104
- "attribute": "description"
11027
+ "default": "'See Thread'",
11028
+ "description": "The the text within the call to action text. (i.e. 'See Thread' or 'x Messages')",
11029
+ "attribute": "cta"
11105
11030
  },
11106
11031
  {
11107
11032
  "kind": "field",
11108
- "name": "spoiler",
11033
+ "name": "lightTheme",
11109
11034
  "type": {
11110
11035
  "text": "boolean"
11111
11036
  },
11112
11037
  "privacy": "public",
11113
11038
  "default": "false",
11114
- "attribute": "spoiler",
11039
+ "attribute": "light-theme",
11115
11040
  "reflects": true
11116
- },
11117
- {
11118
- "kind": "field",
11119
- "name": "isOpen",
11120
- "type": {
11121
- "text": "boolean"
11122
- },
11123
- "privacy": "private",
11124
- "default": "false"
11125
11041
  }
11126
11042
  ],
11127
11043
  "attributes": [
11128
11044
  {
11129
- "name": "media",
11045
+ "name": "name",
11130
11046
  "type": {
11131
11047
  "text": "string"
11132
11048
  },
11133
- "fieldName": "media"
11049
+ "default": "'Thread'",
11050
+ "description": "The name of the thread.",
11051
+ "fieldName": "name"
11134
11052
  },
11135
11053
  {
11136
- "name": "description",
11054
+ "name": "cta",
11137
11055
  "type": {
11138
11056
  "text": "string"
11139
11057
  },
11140
- "fieldName": "description"
11058
+ "default": "'See Thread'",
11059
+ "description": "The the text within the call to action text. (i.e. 'See Thread' or 'x Messages')",
11060
+ "fieldName": "cta"
11141
11061
  },
11142
11062
  {
11143
- "name": "spoiler",
11063
+ "name": "light-theme",
11144
11064
  "type": {
11145
11065
  "text": "boolean"
11146
11066
  },
11147
11067
  "default": "false",
11148
- "fieldName": "spoiler"
11068
+ "fieldName": "lightTheme"
11149
11069
  }
11150
11070
  ],
11151
11071
  "superclass": {
11152
11072
  "name": "LitElement",
11153
11073
  "package": "lit"
11154
11074
  },
11155
- "tagName": "discord-thumbnail",
11075
+ "tagName": "discord-thread",
11156
11076
  "customElement": true
11157
11077
  }
11158
11078
  ],
11159
11079
  "exports": [
11160
11080
  {
11161
11081
  "kind": "js",
11162
- "name": "DiscordThumbnail",
11082
+ "name": "DiscordThread",
11163
11083
  "declaration": {
11164
- "name": "DiscordThumbnail",
11165
- "module": "src/components/discord-thumbnail/DiscordThumbnail.ts"
11084
+ "name": "DiscordThread",
11085
+ "module": "src/components/discord-thread/DiscordThread.ts"
11166
11086
  }
11167
11087
  },
11168
11088
  {
11169
11089
  "kind": "custom-element-definition",
11170
- "name": "discord-thumbnail",
11090
+ "name": "discord-thread",
11171
11091
  "declaration": {
11172
- "name": "DiscordThumbnail",
11173
- "module": "src/components/discord-thumbnail/DiscordThumbnail.ts"
11092
+ "name": "DiscordThread",
11093
+ "module": "src/components/discord-thread/DiscordThread.ts"
11174
11094
  }
11175
11095
  }
11176
11096
  ]
@@ -11307,6 +11227,105 @@
11307
11227
  }
11308
11228
  ]
11309
11229
  },
11230
+ {
11231
+ "kind": "javascript-module",
11232
+ "path": "src/components/discord-thumbnail/DiscordThumbnail.ts",
11233
+ "declarations": [
11234
+ {
11235
+ "kind": "class",
11236
+ "description": "",
11237
+ "name": "DiscordThumbnail",
11238
+ "members": [
11239
+ {
11240
+ "kind": "field",
11241
+ "name": "media",
11242
+ "type": {
11243
+ "text": "string"
11244
+ },
11245
+ "privacy": "public",
11246
+ "attribute": "media"
11247
+ },
11248
+ {
11249
+ "kind": "field",
11250
+ "name": "description",
11251
+ "type": {
11252
+ "text": "string"
11253
+ },
11254
+ "privacy": "public",
11255
+ "attribute": "description"
11256
+ },
11257
+ {
11258
+ "kind": "field",
11259
+ "name": "spoiler",
11260
+ "type": {
11261
+ "text": "boolean"
11262
+ },
11263
+ "privacy": "public",
11264
+ "default": "false",
11265
+ "attribute": "spoiler",
11266
+ "reflects": true
11267
+ },
11268
+ {
11269
+ "kind": "field",
11270
+ "name": "isOpen",
11271
+ "type": {
11272
+ "text": "boolean"
11273
+ },
11274
+ "privacy": "private",
11275
+ "default": "false"
11276
+ }
11277
+ ],
11278
+ "attributes": [
11279
+ {
11280
+ "name": "media",
11281
+ "type": {
11282
+ "text": "string"
11283
+ },
11284
+ "fieldName": "media"
11285
+ },
11286
+ {
11287
+ "name": "description",
11288
+ "type": {
11289
+ "text": "string"
11290
+ },
11291
+ "fieldName": "description"
11292
+ },
11293
+ {
11294
+ "name": "spoiler",
11295
+ "type": {
11296
+ "text": "boolean"
11297
+ },
11298
+ "default": "false",
11299
+ "fieldName": "spoiler"
11300
+ }
11301
+ ],
11302
+ "superclass": {
11303
+ "name": "LitElement",
11304
+ "package": "lit"
11305
+ },
11306
+ "tagName": "discord-thumbnail",
11307
+ "customElement": true
11308
+ }
11309
+ ],
11310
+ "exports": [
11311
+ {
11312
+ "kind": "js",
11313
+ "name": "DiscordThumbnail",
11314
+ "declaration": {
11315
+ "name": "DiscordThumbnail",
11316
+ "module": "src/components/discord-thumbnail/DiscordThumbnail.ts"
11317
+ }
11318
+ },
11319
+ {
11320
+ "kind": "custom-element-definition",
11321
+ "name": "discord-thumbnail",
11322
+ "declaration": {
11323
+ "name": "DiscordThumbnail",
11324
+ "module": "src/components/discord-thumbnail/DiscordThumbnail.ts"
11325
+ }
11326
+ }
11327
+ ]
11328
+ },
11310
11329
  {
11311
11330
  "kind": "javascript-module",
11312
11331
  "path": "src/components/discord-transcript-header/DiscordTranscriptHeader.ts",