@penwin/discord-components-core 4.3.8 → 4.3.9-dev-32917005672.0

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 (207) hide show
  1. package/CHANGELOG.md +826 -826
  2. package/LICENSE.md +20 -0
  3. package/README.md +673 -673
  4. package/custom-elements.json +1803 -1708
  5. package/dist/bundle/index.mjs +1898 -1981
  6. package/dist/bundle/index.mjs.map +1 -1
  7. package/dist/bundle/styles/base.css +1 -2
  8. package/dist/components/_private/BaseDiscordSelectMenuOption.js +72 -72
  9. package/dist/components/_private/DiscordMediaAttachmentStyles.js +114 -114
  10. package/dist/components/_private/DiscordPlaybackControlStyles.js +153 -153
  11. package/dist/components/_private/DiscordVolumeControlStyles.js +158 -158
  12. package/dist/components/_private/DiscordWhiteSpace.js +4 -4
  13. package/dist/components/discord-action-row/DiscordActionRow.js +6 -6
  14. package/dist/components/discord-attachments/DiscordAttachments.js +18 -18
  15. package/dist/components/discord-audio-attachment/DiscordAudioAttachment.js +202 -202
  16. package/dist/components/discord-author-info/DiscordAuthorInfo.d.ts.map +1 -1
  17. package/dist/components/discord-author-info/DiscordAuthorInfo.js +156 -156
  18. package/dist/components/discord-author-info/DiscordAuthorInfo.js.map +1 -1
  19. package/dist/components/discord-bold/DiscordBold.js +4 -4
  20. package/dist/components/discord-button/DiscordButton.d.ts.map +1 -1
  21. package/dist/components/discord-button/DiscordButton.js +131 -128
  22. package/dist/components/discord-button/DiscordButton.js.map +1 -1
  23. package/dist/components/discord-channel-select-menu-option/DiscordChannelSelectMenuOption.js +131 -131
  24. package/dist/components/discord-code/DiscordCode.js +64 -64
  25. package/dist/components/discord-code-block/DiscordCodeBlock.js +2 -2
  26. package/dist/components/discord-command/DiscordCommand.js +109 -109
  27. package/dist/components/discord-components-column/DiscordComponentsColumn.js +18 -18
  28. package/dist/components/discord-container/DiscordContainer.js +47 -47
  29. package/dist/components/discord-custom-emoji/DiscordCustomEmoji.js +36 -36
  30. package/dist/components/discord-embed/DiscordEmbed.d.ts.map +1 -1
  31. package/dist/components/discord-embed/DiscordEmbed.js +285 -285
  32. package/dist/components/discord-embed/DiscordEmbed.js.map +1 -1
  33. package/dist/components/discord-embed-description/DiscordEmbedDescription.js +25 -25
  34. package/dist/components/discord-embed-field/DiscordEmbedField.js +40 -40
  35. package/dist/components/discord-embed-fields/DiscordEmbedFields.js +19 -19
  36. package/dist/components/discord-embed-footer/DiscordEmbedFooter.js +36 -36
  37. package/dist/components/discord-file-attachment/DiscordFileAttachment.js +191 -191
  38. package/dist/components/discord-forwarded-message/DiscordForwardedMessage.js +126 -126
  39. package/dist/components/discord-header/DiscordHeader.js +27 -27
  40. package/dist/components/discord-image-attachment/DiscordImageAttachment.js +38 -38
  41. package/dist/components/discord-input-text/DiscordInputText.js +284 -284
  42. package/dist/components/discord-invite/DiscordInvite.js +225 -225
  43. package/dist/components/discord-italic/DiscordItalic.js +4 -4
  44. package/dist/components/discord-link/DiscordLink.js +19 -19
  45. package/dist/components/discord-list-item/DiscordListItem.d.ts.map +1 -1
  46. package/dist/components/discord-list-item/DiscordListItem.js +8 -5
  47. package/dist/components/discord-list-item/DiscordListItem.js.map +1 -1
  48. package/dist/components/discord-media-fullscreen-previewer/DiscordMediaFullscreenPreviewer.js +463 -463
  49. package/dist/components/discord-media-gallery/DiscordMediaGallery.js +219 -219
  50. package/dist/components/discord-media-gallery-item/DiscordMediaGalleryItem.d.ts.map +1 -1
  51. package/dist/components/discord-media-gallery-item/DiscordMediaGalleryItem.js +102 -99
  52. package/dist/components/discord-media-gallery-item/DiscordMediaGalleryItem.js.map +1 -1
  53. package/dist/components/discord-media-spoileable-cover/DiscordMediaSpoileableCover.js +65 -65
  54. package/dist/components/discord-mention/DiscordMention.js +66 -66
  55. package/dist/components/discord-message/DiscordMessage.d.ts.map +1 -1
  56. package/dist/components/discord-message/DiscordMessage.js +338 -335
  57. package/dist/components/discord-message/DiscordMessage.js.map +1 -1
  58. package/dist/components/discord-messages/DiscordMessages.js +77 -77
  59. package/dist/components/discord-modal/DiscordModal.js +465 -465
  60. package/dist/components/discord-ordered-list/DiscordOrderedList.d.ts.map +1 -1
  61. package/dist/components/discord-ordered-list/DiscordOrderedList.js +20 -14
  62. package/dist/components/discord-ordered-list/DiscordOrderedList.js.map +1 -1
  63. package/dist/components/discord-poll/DiscordPoll.js +157 -157
  64. package/dist/components/discord-poll-answer/DiscordPollAnswer.js +227 -227
  65. package/dist/components/discord-pre/DiscordPre.js +18 -18
  66. package/dist/components/discord-quote/DiscordQuote.js +31 -31
  67. package/dist/components/discord-reaction/DiscordReaction.js +73 -73
  68. package/dist/components/discord-reactions/DiscordReactions.js +9 -9
  69. package/dist/components/discord-reply/DiscordReply.d.ts.map +1 -1
  70. package/dist/components/discord-reply/DiscordReply.js +246 -246
  71. package/dist/components/discord-reply/DiscordReply.js.map +1 -1
  72. package/dist/components/discord-role-select-menu-option/DiscordRoleSelectMenuOption.js +75 -75
  73. package/dist/components/discord-section/DiscordSection.js +6 -6
  74. package/dist/components/discord-section-components/DiscordSectionComponents.js +14 -14
  75. package/dist/components/discord-select-menu-portal/DiscordSelectMenuPortal.js +30 -30
  76. package/dist/components/discord-separator/DiscordSeparator.js +9 -9
  77. package/dist/components/discord-spoiler/DiscordSpoiler.js +31 -31
  78. package/dist/components/discord-string-select-menu/DiscordStringSelectMenu.js +192 -192
  79. package/dist/components/discord-string-select-menu-option/DiscordStringSelectMenuOption.js +45 -45
  80. package/dist/components/discord-subscript/DiscordSubscript.js +15 -15
  81. package/dist/components/discord-system-message/DiscordSystemMessage.d.ts.map +1 -1
  82. package/dist/components/discord-system-message/DiscordSystemMessage.js +134 -131
  83. package/dist/components/discord-system-message/DiscordSystemMessage.js.map +1 -1
  84. package/dist/components/discord-tenor-video/DiscordTenorVideo.js +76 -76
  85. package/dist/components/discord-text-display/DiscordTextDisplay.js +10 -10
  86. package/dist/components/discord-text-file-attachment-previewer/DiscordTextFileAttachmentPreviewer.js +55 -55
  87. package/dist/components/discord-thread/DiscordThread.js +81 -81
  88. package/dist/components/discord-thread-message/DiscordThreadMessage.js +90 -90
  89. package/dist/components/discord-thumbnail/DiscordThumbnail.js +20 -20
  90. package/dist/components/discord-time/DiscordTime.js +7 -7
  91. package/dist/components/discord-transcript-header/DiscordTranscriptHeader.js +51 -51
  92. package/dist/components/discord-unordered-list/DiscordUnorderedList.d.ts.map +1 -1
  93. package/dist/components/discord-unordered-list/DiscordUnorderedList.js +18 -15
  94. package/dist/components/discord-unordered-list/DiscordUnorderedList.js.map +1 -1
  95. package/dist/components/discord-user-select-menu-option/DiscordUserSelectMenuOption.js +58 -58
  96. package/dist/components/discord-verified-author-tag/DiscordVerifiedAuthorTag.js +36 -36
  97. package/dist/components/discord-video-attachment/DiscordVideoAttachment.js +494 -494
  98. package/dist/components/discord-voice-message/DiscordVoiceMessage.js +255 -255
  99. package/dist/components/svgs/AttachmentDownloadButton.js +67 -67
  100. package/dist/components/svgs/AttachmentReply.js +5 -5
  101. package/dist/components/svgs/Boost.js +3 -3
  102. package/dist/components/svgs/ChannelForum.js +19 -19
  103. package/dist/components/svgs/ChannelIcon.js +17 -17
  104. package/dist/components/svgs/ChannelThread.js +15 -15
  105. package/dist/components/svgs/ChannelsAndRoles.js +23 -23
  106. package/dist/components/svgs/CommandIcon.js +4 -4
  107. package/dist/components/svgs/CommandIconName.js +5 -5
  108. package/dist/components/svgs/CommandReply.js +9 -9
  109. package/dist/components/svgs/CustomizeCommunity.js +17 -17
  110. package/dist/components/svgs/DMCall.js +6 -6
  111. package/dist/components/svgs/DMEdit.js +8 -8
  112. package/dist/components/svgs/DMMissedCall.js +8 -8
  113. package/dist/components/svgs/Ephemeral.js +21 -21
  114. package/dist/components/svgs/ExpandMore.js +4 -4
  115. package/dist/components/svgs/FileAttachment.js +10 -10
  116. package/dist/components/svgs/GuildBadge.js +8 -8
  117. package/dist/components/svgs/LaunchIcon.js +9 -9
  118. package/dist/components/svgs/LockedVoiceChannel.js +17 -17
  119. package/dist/components/svgs/MediaPauseIcon.js +2 -2
  120. package/dist/components/svgs/MediaPlayIcon.js +2 -2
  121. package/dist/components/svgs/MediaRestartIcon.js +2 -2
  122. package/dist/components/svgs/MediaVolumeAbove50PercentIcon.js +3 -3
  123. package/dist/components/svgs/MediaVolumeBelow50PercentIcon.js +2 -2
  124. package/dist/components/svgs/MediaVolumeMutedIcon.js +2 -2
  125. package/dist/components/svgs/MessageIcon.js +3 -3
  126. package/dist/components/svgs/ModalClose.js +4 -4
  127. package/dist/components/svgs/ModalWarning.js +5 -5
  128. package/dist/components/svgs/PartnerBadgeOverlay.js +11 -11
  129. package/dist/components/svgs/Pin.js +5 -5
  130. package/dist/components/svgs/PremiumIcon.js +6 -6
  131. package/dist/components/svgs/ReplyIcon.js +5 -5
  132. package/dist/components/svgs/ServerGuide.js +17 -17
  133. package/dist/components/svgs/ServerUpgrade.js +7 -7
  134. package/dist/components/svgs/SystemAlert.js +7 -7
  135. package/dist/components/svgs/SystemError.js +6 -6
  136. package/dist/components/svgs/Thread.js +9 -9
  137. package/dist/components/svgs/UserJoin.js +5 -5
  138. package/dist/components/svgs/UserLeave.js +5 -5
  139. package/dist/components/svgs/VerifiedBadgeOverlay.js +4 -4
  140. package/dist/components/svgs/VerifiedTick.js +13 -13
  141. package/dist/components/svgs/VideoFullScreenIcon.js +8 -8
  142. package/dist/components/svgs/VideoPausePopIcon.js +2 -2
  143. package/dist/components/svgs/VideoPlayPopIcon.js +2 -2
  144. package/dist/components/svgs/VoiceChannel.js +19 -19
  145. package/dist/components/svgs/clan-icons/Crystal.js +27 -27
  146. package/dist/components/svgs/clan-icons/Diamond.js +35 -35
  147. package/dist/components/svgs/clan-icons/Explosion.js +30 -30
  148. package/dist/components/svgs/clan-icons/Flame.js +23 -23
  149. package/dist/components/svgs/clan-icons/Flower.js +18 -18
  150. package/dist/components/svgs/clan-icons/Heart.js +19 -19
  151. package/dist/components/svgs/clan-icons/Key.js +32 -32
  152. package/dist/components/svgs/clan-icons/Leaf.js +23 -23
  153. package/dist/components/svgs/clan-icons/Lightning.js +25 -25
  154. package/dist/components/svgs/clan-icons/Magic.js +34 -34
  155. package/dist/components/svgs/clan-icons/Moon.js +21 -21
  156. package/dist/components/svgs/clan-icons/Mushroom.js +33 -33
  157. package/dist/components/svgs/clan-icons/Mythical.js +32 -32
  158. package/dist/components/svgs/clan-icons/Ornament.js +48 -48
  159. package/dist/components/svgs/clan-icons/Plasma.js +23 -23
  160. package/dist/components/svgs/clan-icons/Rock.js +20 -20
  161. package/dist/components/svgs/clan-icons/Shell.js +29 -29
  162. package/dist/components/svgs/clan-icons/Skull.js +28 -28
  163. package/dist/components/svgs/clan-icons/Sun.js +36 -36
  164. package/dist/components/svgs/clan-icons/Sword.js +27 -27
  165. package/dist/components/svgs/clan-icons/Water.js +20 -20
  166. package/dist/config.d.ts +1 -1
  167. package/dist/config.d.ts.map +1 -1
  168. package/dist/config.js +9 -3
  169. package/dist/config.js.map +1 -1
  170. package/dist/hydrate/index.d.ts +40 -0
  171. package/dist/hydrate/index.d.ts.map +1 -0
  172. package/dist/hydrate/index.js +48 -0
  173. package/dist/hydrate/index.js.map +1 -0
  174. package/package.json +222 -219
  175. package/dist/bundle/styles/base.css.map +0 -1
  176. package/dist/components/discord-container copy/DiscordContainer.d.ts +0 -22
  177. package/dist/components/discord-container copy/DiscordContainer.d.ts.map +0 -1
  178. package/dist/components/discord-container copy/DiscordContainer.js +0 -159
  179. package/dist/components/discord-container copy/DiscordContainer.js.map +0 -1
  180. package/dist/components/discord-media-fullscreen-previewer/context.d.ts +0 -10
  181. package/dist/components/discord-media-fullscreen-previewer/context.d.ts.map +0 -1
  182. package/dist/components/discord-media-fullscreen-previewer/context.js +0 -3
  183. package/dist/components/discord-media-fullscreen-previewer/context.js.map +0 -1
  184. package/dist/components/discord-media-gallery-tem/DiscordMediaGalleryItem.d.ts +0 -26
  185. package/dist/components/discord-media-gallery-tem/DiscordMediaGalleryItem.d.ts.map +0 -1
  186. package/dist/components/discord-media-gallery-tem/DiscordMediaGalleryItem.js +0 -183
  187. package/dist/components/discord-media-gallery-tem/DiscordMediaGalleryItem.js.map +0 -1
  188. package/dist/components/discord-section/DiscordContainer.d.ts +0 -22
  189. package/dist/components/discord-section/DiscordContainer.d.ts.map +0 -1
  190. package/dist/components/discord-section/DiscordContainer.js +0 -159
  191. package/dist/components/discord-section/DiscordContainer.js.map +0 -1
  192. package/dist/components/discord-section copy/DiscordSection.d.ts +0 -15
  193. package/dist/components/discord-section copy/DiscordSection.d.ts.map +0 -1
  194. package/dist/components/discord-section copy/DiscordSection.js +0 -77
  195. package/dist/components/discord-section copy/DiscordSection.js.map +0 -1
  196. package/dist/components/discord-section-components/DiscordSection.d.ts +0 -15
  197. package/dist/components/discord-section-components/DiscordSection.d.ts.map +0 -1
  198. package/dist/components/discord-section-components/DiscordSection.js +0 -77
  199. package/dist/components/discord-section-components/DiscordSection.js.map +0 -1
  200. package/dist/components/discord-text-display/DiscordSection.d.ts +0 -15
  201. package/dist/components/discord-text-display/DiscordSection.d.ts.map +0 -1
  202. package/dist/components/discord-text-display/DiscordSection.js +0 -79
  203. package/dist/components/discord-text-display/DiscordSection.js.map +0 -1
  204. package/dist/components/discord-text-file-attachment-preview/DiscordTextFileAttachmentPreviewer.d.ts +0 -71
  205. package/dist/components/discord-text-file-attachment-preview/DiscordTextFileAttachmentPreviewer.d.ts.map +0 -1
  206. package/dist/components/discord-text-file-attachment-preview/DiscordTextFileAttachmentPreviewer.js +0 -238
  207. package/dist/components/discord-text-file-attachment-preview/DiscordTextFileAttachmentPreviewer.js.map +0 -1
@@ -27,23 +27,6 @@
27
27
  }
28
28
  }
29
29
  },
30
- {
31
- "kind": "function",
32
- "name": "setConfig",
33
- "return": {
34
- "type": {
35
- "text": "void"
36
- }
37
- },
38
- "parameters": [
39
- {
40
- "name": "partialConfig",
41
- "type": {
42
- "text": "Partial<DiscordMessageOptions>"
43
- }
44
- }
45
- ]
46
- },
47
30
  {
48
31
  "kind": "variable",
49
32
  "name": "defaultDiscordAvatars",
@@ -66,6 +49,23 @@
66
49
  "text": "{ [key: string]: Profile }"
67
50
  }
68
51
  },
52
+ {
53
+ "kind": "function",
54
+ "name": "setConfig",
55
+ "return": {
56
+ "type": {
57
+ "text": "void"
58
+ }
59
+ },
60
+ "parameters": [
61
+ {
62
+ "name": "partialConfig",
63
+ "type": {
64
+ "text": "Partial<DiscordMessageOptions>"
65
+ }
66
+ }
67
+ ]
68
+ },
69
69
  {
70
70
  "kind": "variable",
71
71
  "name": "defaultTheme",
@@ -102,14 +102,6 @@
102
102
  "module": "src/config.ts"
103
103
  }
104
104
  },
105
- {
106
- "kind": "js",
107
- "name": "setConfig",
108
- "declaration": {
109
- "name": "setConfig",
110
- "module": "src/config.ts"
111
- }
112
- },
113
105
  {
114
106
  "kind": "js",
115
107
  "name": "defaultDiscordAvatars",
@@ -134,6 +126,14 @@
134
126
  "module": "src/config.ts"
135
127
  }
136
128
  },
129
+ {
130
+ "kind": "js",
131
+ "name": "setConfig",
132
+ "declaration": {
133
+ "name": "setConfig",
134
+ "module": "src/config.ts"
135
+ }
136
+ },
137
137
  {
138
138
  "kind": "js",
139
139
  "name": "defaultTheme",
@@ -192,7 +192,7 @@
192
192
  "description": "An alpha value to apply. (optional) ('0.5', '0.25')"
193
193
  }
194
194
  ],
195
- "description": "Turns an old-fashioned css hex color value into a rgb color value.\r\n\r\nIf you specify an alpha value, you'll get a rgba() value instead.",
195
+ "description": "Turns an old-fashioned css hex color value into a rgb color value.\n\nIf you specify an alpha value, you'll get a rgba() value instead.",
196
196
  "return": {
197
197
  "type": {
198
198
  "text": ""
@@ -805,7 +805,7 @@
805
805
  "name": "*",
806
806
  "declaration": {
807
807
  "name": "*",
808
- "package": "./types.js"
808
+ "module": "src/types.js"
809
809
  }
810
810
  },
811
811
  {
@@ -1067,183 +1067,274 @@
1067
1067
  },
1068
1068
  {
1069
1069
  "kind": "javascript-module",
1070
- "path": "src/components/discord-action-row/DiscordActionRow.ts",
1070
+ "path": "src/hydrate/index.ts",
1071
1071
  "declarations": [
1072
1072
  {
1073
- "kind": "class",
1074
- "description": "",
1075
- "name": "DiscordActionRow",
1076
- "members": [],
1077
- "superclass": {
1078
- "name": "LitElement",
1079
- "package": "lit"
1073
+ "kind": "function",
1074
+ "name": "renderToString",
1075
+ "return": {
1076
+ "type": {
1077
+ "text": ""
1078
+ }
1080
1079
  },
1081
- "tagName": "discord-action-row",
1082
- "customElement": true
1080
+ "parameters": [
1081
+ {
1082
+ "name": "value",
1083
+ "type": {
1084
+ "text": "Parameters<typeof render>[0]"
1085
+ },
1086
+ "description": "The Lit `TemplateResult` (or renderable) to render."
1087
+ }
1088
+ ],
1089
+ "description": "Render a Lit template to an HTML string with declarative shadow DOM."
1090
+ },
1091
+ {
1092
+ "kind": "function",
1093
+ "name": "renderMarkup",
1094
+ "return": {
1095
+ "type": {
1096
+ "text": ""
1097
+ }
1098
+ },
1099
+ "parameters": [
1100
+ {
1101
+ "name": "markup",
1102
+ "type": {
1103
+ "text": "string"
1104
+ },
1105
+ "description": "The HTML string to expand."
1106
+ }
1107
+ ],
1108
+ "description": "Render a server-rendered HTML string (custom-element markup, e.g. from React SSR) to HTML with\ndeclarative shadow DOM. Lit SSR expands every registered custom element found in the markup, so\nthe transcript displays correctly without any client JavaScript."
1083
1109
  }
1084
1110
  ],
1085
1111
  "exports": [
1086
1112
  {
1087
1113
  "kind": "js",
1088
- "name": "DiscordActionRow",
1114
+ "name": "html",
1089
1115
  "declaration": {
1090
- "name": "DiscordActionRow",
1091
- "module": "src/components/discord-action-row/DiscordActionRow.ts"
1116
+ "name": "html",
1117
+ "package": "lit"
1092
1118
  }
1093
1119
  },
1094
1120
  {
1095
- "kind": "custom-element-definition",
1096
- "name": "discord-action-row",
1121
+ "kind": "js",
1122
+ "name": "render",
1097
1123
  "declaration": {
1098
- "name": "DiscordActionRow",
1099
- "module": "src/components/discord-action-row/DiscordActionRow.ts"
1124
+ "name": "render",
1125
+ "package": "@lit-labs/ssr"
1100
1126
  }
1101
- }
1102
- ]
1103
- },
1104
- {
1105
- "kind": "javascript-module",
1106
- "path": "src/components/discord-attachments/DiscordAttachments.ts",
1107
- "declarations": [
1127
+ },
1108
1128
  {
1109
- "kind": "class",
1110
- "description": "",
1111
- "name": "DiscordAttachments",
1112
- "members": [],
1113
- "superclass": {
1114
- "name": "LitElement",
1115
- "package": "lit"
1116
- },
1117
- "tagName": "discord-attachments",
1118
- "customElement": true
1119
- }
1120
- ],
1121
- "exports": [
1129
+ "kind": "js",
1130
+ "name": "collectResult",
1131
+ "declaration": {
1132
+ "name": "collectResult",
1133
+ "package": "@lit-labs/ssr/lib/render-result.js"
1134
+ }
1135
+ },
1122
1136
  {
1123
1137
  "kind": "js",
1124
- "name": "DiscordAttachments",
1138
+ "name": "setConfig",
1125
1139
  "declaration": {
1126
- "name": "DiscordAttachments",
1127
- "module": "src/components/discord-attachments/DiscordAttachments.ts"
1140
+ "name": "setConfig",
1141
+ "module": "../config.js"
1128
1142
  }
1129
1143
  },
1130
1144
  {
1131
- "kind": "custom-element-definition",
1132
- "name": "discord-attachments",
1145
+ "kind": "js",
1146
+ "name": "renderToString",
1133
1147
  "declaration": {
1134
- "name": "DiscordAttachments",
1135
- "module": "src/components/discord-attachments/DiscordAttachments.ts"
1148
+ "name": "renderToString",
1149
+ "module": "src/hydrate/index.ts"
1150
+ }
1151
+ },
1152
+ {
1153
+ "kind": "js",
1154
+ "name": "renderMarkup",
1155
+ "declaration": {
1156
+ "name": "renderMarkup",
1157
+ "module": "src/hydrate/index.ts"
1136
1158
  }
1137
1159
  }
1138
1160
  ]
1139
1161
  },
1140
1162
  {
1141
1163
  "kind": "javascript-module",
1142
- "path": "src/components/discord-audio-attachment/DiscordAudioAttachment.ts",
1164
+ "path": "src/components/_private/BaseDiscordSelectMenuOption.ts",
1143
1165
  "declarations": [
1144
1166
  {
1145
1167
  "kind": "class",
1146
1168
  "description": "",
1147
- "name": "DiscordAudioAttachment",
1169
+ "name": "BaseDiscordSelectMenuOption",
1148
1170
  "members": [
1149
1171
  {
1150
1172
  "kind": "field",
1151
- "name": "href",
1173
+ "name": "lightTheme",
1152
1174
  "type": {
1153
- "text": "string"
1175
+ "text": "boolean"
1154
1176
  },
1155
1177
  "privacy": "public",
1156
- "description": "The URL to audio file",
1157
- "attribute": "href"
1178
+ "default": "false",
1179
+ "attribute": "light-theme",
1180
+ "reflects": true
1158
1181
  },
1159
1182
  {
1160
1183
  "kind": "field",
1161
- "name": "name",
1184
+ "name": "selected",
1162
1185
  "type": {
1163
- "text": "string | undefined"
1186
+ "text": "boolean"
1164
1187
  },
1165
1188
  "privacy": "public",
1166
- "description": "The name of the audio file",
1167
- "attribute": "name"
1189
+ "default": "false",
1190
+ "attribute": "selected",
1191
+ "reflects": true
1168
1192
  },
1169
1193
  {
1170
1194
  "kind": "field",
1171
- "name": "bytes",
1172
- "type": {
1173
- "text": "number"
1174
- },
1195
+ "name": "baseStyles",
1175
1196
  "privacy": "public",
1176
- "description": "The size of the audio file in bytes",
1177
- "attribute": "bytes"
1197
+ "static": true,
1198
+ "default": "css` label { display: flex; align-items: center; max-width: 400px; padding: 12px 8px 8px 12px; gap: 10px; font-size: small; cursor: pointer; } :host { user-select: none; } label:hover, :host([selected]) label { background-color: rgba(255, 255, 255, 0.1); } :host([light-theme]) { background-color: #f2f3f5 !important; border-color: #d9d9d9 !important; color: #2e3338; span { color: #434c4f; } } :host([light-theme]) label:hover, :host([selected][light-theme]) label { background-color: rgba(204, 204, 204, 2) !important; } .selected-tick { width: 20px; height: 20px; border-radius: 50%; background-color: #5865f2; color: #fff; display: flex; align-items: center; justify-content: center; svg { width: 32px; height: 32px; } } .flex-container { flex: 1; display: flex; align-items: center; gap: 4px; justify-content: space-between; } :host([slot='default']) { pointer-events: none; background-color: transparent !important; border-color: transparent !important; label { padding-left: 4px !important; } } :host(:not([visible])) { display: none; } `"
1178
1199
  },
1179
1200
  {
1180
- "kind": "field",
1181
- "name": "bytesUnit",
1182
- "type": {
1183
- "text": "string"
1184
- },
1185
- "privacy": "public",
1186
- "description": "The unit of the audio file in a human-readable format",
1187
- "attribute": "bytes-unit"
1201
+ "kind": "method",
1202
+ "name": "renderSelectedContainer",
1203
+ "privacy": "protected",
1204
+ "parameters": [
1205
+ {
1206
+ "name": "content",
1207
+ "type": {
1208
+ "text": "TemplateResult"
1209
+ }
1210
+ }
1211
+ ]
1188
1212
  },
1189
1213
  {
1190
1214
  "kind": "field",
1191
- "name": "lightTheme",
1215
+ "name": "visible",
1192
1216
  "type": {
1193
1217
  "text": "boolean"
1194
1218
  },
1195
1219
  "privacy": "public",
1196
- "default": "false",
1197
- "attribute": "light-theme",
1220
+ "default": "true",
1221
+ "attribute": "visible",
1198
1222
  "reflects": true
1199
1223
  },
1200
1224
  {
1201
- "kind": "field",
1202
- "name": "mediaComponentRef",
1203
- "type": {
1204
- "text": "Ref<HTMLAudioElement | HTMLVideoElement>"
1225
+ "kind": "method",
1226
+ "name": "filter",
1227
+ "privacy": "public",
1228
+ "return": {
1229
+ "type": {
1230
+ "text": "boolean"
1231
+ }
1205
1232
  },
1206
- "privacy": "protected",
1207
- "inheritedFrom": {
1208
- "name": "DiscordMediaLifecycle",
1209
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1210
- }
1233
+ "parameters": [
1234
+ {
1235
+ "name": "searchValue",
1236
+ "type": {
1237
+ "text": "Lowercase<string>"
1238
+ }
1239
+ }
1240
+ ]
1211
1241
  },
1212
1242
  {
1213
- "kind": "field",
1214
- "name": "seekSliderRef",
1243
+ "kind": "method",
1244
+ "name": "selectOption",
1245
+ "privacy": "public"
1246
+ }
1247
+ ],
1248
+ "attributes": [
1249
+ {
1250
+ "name": "light-theme",
1215
1251
  "type": {
1216
- "text": "Ref<HTMLInputElement>"
1252
+ "text": "boolean"
1217
1253
  },
1218
- "privacy": "protected",
1219
- "inheritedFrom": {
1220
- "name": "DiscordMediaLifecycle",
1221
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1222
- }
1254
+ "default": "false",
1255
+ "fieldName": "lightTheme"
1223
1256
  },
1224
1257
  {
1225
- "kind": "field",
1226
- "name": "volumeControlRef",
1258
+ "name": "selected",
1227
1259
  "type": {
1228
- "text": "Ref<HTMLDivElement>"
1260
+ "text": "boolean"
1229
1261
  },
1230
- "privacy": "protected",
1231
- "inheritedFrom": {
1232
- "name": "DiscordMediaLifecycle",
1233
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1234
- }
1262
+ "default": "false",
1263
+ "fieldName": "selected"
1235
1264
  },
1236
1265
  {
1237
- "kind": "field",
1238
- "name": "volumeControlInputRef",
1266
+ "name": "visible",
1239
1267
  "type": {
1240
- "text": "Ref<HTMLInputElement>"
1268
+ "text": "boolean"
1241
1269
  },
1242
- "privacy": "protected",
1243
- "inheritedFrom": {
1244
- "name": "DiscordMediaLifecycle",
1245
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1246
- }
1270
+ "default": "true",
1271
+ "fieldName": "visible"
1272
+ }
1273
+ ],
1274
+ "superclass": {
1275
+ "name": "LitElement",
1276
+ "package": "lit"
1277
+ },
1278
+ "customElement": true
1279
+ }
1280
+ ],
1281
+ "exports": [
1282
+ {
1283
+ "kind": "js",
1284
+ "name": "BaseDiscordSelectMenuOption",
1285
+ "declaration": {
1286
+ "name": "BaseDiscordSelectMenuOption",
1287
+ "module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
1288
+ }
1289
+ }
1290
+ ]
1291
+ },
1292
+ {
1293
+ "kind": "javascript-module",
1294
+ "path": "src/components/_private/DiscordMediaAttachmentStyles.ts",
1295
+ "declarations": [],
1296
+ "exports": []
1297
+ },
1298
+ {
1299
+ "kind": "javascript-module",
1300
+ "path": "src/components/_private/DiscordMediaLifecycle.ts",
1301
+ "declarations": [
1302
+ {
1303
+ "kind": "class",
1304
+ "description": "",
1305
+ "name": "DiscordMediaLifecycle",
1306
+ "members": [
1307
+ {
1308
+ "kind": "field",
1309
+ "name": "mediaComponentRef",
1310
+ "type": {
1311
+ "text": "Ref<HTMLAudioElement | HTMLVideoElement>"
1312
+ },
1313
+ "privacy": "protected"
1314
+ },
1315
+ {
1316
+ "kind": "field",
1317
+ "name": "seekSliderRef",
1318
+ "type": {
1319
+ "text": "Ref<HTMLInputElement>"
1320
+ },
1321
+ "privacy": "protected"
1322
+ },
1323
+ {
1324
+ "kind": "field",
1325
+ "name": "volumeControlRef",
1326
+ "type": {
1327
+ "text": "Ref<HTMLDivElement>"
1328
+ },
1329
+ "privacy": "protected"
1330
+ },
1331
+ {
1332
+ "kind": "field",
1333
+ "name": "volumeControlInputRef",
1334
+ "type": {
1335
+ "text": "Ref<HTMLInputElement>"
1336
+ },
1337
+ "privacy": "protected"
1247
1338
  },
1248
1339
  {
1249
1340
  "kind": "field",
@@ -1252,11 +1343,7 @@
1252
1343
  "text": "string"
1253
1344
  },
1254
1345
  "privacy": "protected",
1255
- "default": "'0:00'",
1256
- "inheritedFrom": {
1257
- "name": "DiscordMediaLifecycle",
1258
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1259
- }
1346
+ "default": "'0:00'"
1260
1347
  },
1261
1348
  {
1262
1349
  "kind": "field",
@@ -1265,11 +1352,7 @@
1265
1352
  "text": "string"
1266
1353
  },
1267
1354
  "privacy": "protected",
1268
- "default": "'0:00'",
1269
- "inheritedFrom": {
1270
- "name": "DiscordMediaLifecycle",
1271
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1272
- }
1355
+ "default": "'0:00'"
1273
1356
  },
1274
1357
  {
1275
1358
  "kind": "field",
@@ -1278,11 +1361,7 @@
1278
1361
  "text": "string"
1279
1362
  },
1280
1363
  "privacy": "protected",
1281
- "default": "''",
1282
- "inheritedFrom": {
1283
- "name": "DiscordMediaLifecycle",
1284
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1285
- }
1364
+ "default": "''"
1286
1365
  },
1287
1366
  {
1288
1367
  "kind": "field",
@@ -1291,11 +1370,7 @@
1291
1370
  "text": "boolean"
1292
1371
  },
1293
1372
  "privacy": "protected",
1294
- "default": "false",
1295
- "inheritedFrom": {
1296
- "name": "DiscordMediaLifecycle",
1297
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1298
- }
1373
+ "default": "false"
1299
1374
  },
1300
1375
  {
1301
1376
  "kind": "field",
@@ -1304,11 +1379,7 @@
1304
1379
  "text": "number | null"
1305
1380
  },
1306
1381
  "privacy": "private",
1307
- "default": "null",
1308
- "inheritedFrom": {
1309
- "name": "DiscordMediaLifecycle",
1310
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1311
- }
1382
+ "default": "null"
1312
1383
  },
1313
1384
  {
1314
1385
  "kind": "field",
@@ -1317,11 +1388,7 @@
1317
1388
  "text": "boolean"
1318
1389
  },
1319
1390
  "privacy": "protected",
1320
- "default": "false",
1321
- "inheritedFrom": {
1322
- "name": "DiscordMediaLifecycle",
1323
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1324
- }
1391
+ "default": "false"
1325
1392
  },
1326
1393
  {
1327
1394
  "kind": "field",
@@ -1331,11 +1398,7 @@
1331
1398
  },
1332
1399
  "privacy": "protected",
1333
1400
  "default": "1",
1334
- "description": "Volume is a fractional value between 0 and 1",
1335
- "inheritedFrom": {
1336
- "name": "DiscordMediaLifecycle",
1337
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1338
- }
1401
+ "description": "Volume is a fractional value between 0 and 1"
1339
1402
  },
1340
1403
  {
1341
1404
  "kind": "field",
@@ -1344,11 +1407,7 @@
1344
1407
  "text": "boolean"
1345
1408
  },
1346
1409
  "privacy": "protected",
1347
- "default": "false",
1348
- "inheritedFrom": {
1349
- "name": "DiscordMediaLifecycle",
1350
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1351
- }
1410
+ "default": "false"
1352
1411
  },
1353
1412
  {
1354
1413
  "kind": "field",
@@ -1357,11 +1416,7 @@
1357
1416
  "text": "boolean"
1358
1417
  },
1359
1418
  "privacy": "private",
1360
- "default": "false",
1361
- "inheritedFrom": {
1362
- "name": "DiscordMediaLifecycle",
1363
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1364
- }
1419
+ "default": "false"
1365
1420
  },
1366
1421
  {
1367
1422
  "kind": "method",
@@ -1374,20 +1429,12 @@
1374
1429
  "text": "number"
1375
1430
  }
1376
1431
  }
1377
- ],
1378
- "inheritedFrom": {
1379
- "name": "DiscordMediaLifecycle",
1380
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1381
- }
1432
+ ]
1382
1433
  },
1383
1434
  {
1384
1435
  "kind": "method",
1385
1436
  "name": "displayMediaDuration",
1386
- "privacy": "protected",
1387
- "inheritedFrom": {
1388
- "name": "DiscordMediaLifecycle",
1389
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1390
- }
1437
+ "privacy": "protected"
1391
1438
  },
1392
1439
  {
1393
1440
  "kind": "method",
@@ -1400,29 +1447,17 @@
1400
1447
  "text": "number"
1401
1448
  }
1402
1449
  }
1403
- ],
1404
- "inheritedFrom": {
1405
- "name": "DiscordMediaLifecycle",
1406
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1407
- }
1450
+ ]
1408
1451
  },
1409
1452
  {
1410
1453
  "kind": "method",
1411
1454
  "name": "setSliderMax",
1412
- "privacy": "protected",
1413
- "inheritedFrom": {
1414
- "name": "DiscordMediaLifecycle",
1415
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1416
- }
1455
+ "privacy": "protected"
1417
1456
  },
1418
1457
  {
1419
1458
  "kind": "method",
1420
1459
  "name": "displayBufferedAmount",
1421
- "privacy": "protected",
1422
- "inheritedFrom": {
1423
- "name": "DiscordMediaLifecycle",
1424
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1425
- }
1460
+ "privacy": "protected"
1426
1461
  },
1427
1462
  {
1428
1463
  "kind": "field",
@@ -1431,56 +1466,32 @@
1431
1466
  "text": "WaveSurfer | null | undefined"
1432
1467
  },
1433
1468
  "privacy": "protected",
1434
- "default": "null",
1435
- "inheritedFrom": {
1436
- "name": "DiscordMediaLifecycle",
1437
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1438
- }
1469
+ "default": "null"
1439
1470
  },
1440
1471
  {
1441
1472
  "kind": "field",
1442
1473
  "name": "whilePlaying",
1443
- "privacy": "protected",
1444
- "inheritedFrom": {
1445
- "name": "DiscordMediaLifecycle",
1446
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1447
- }
1474
+ "privacy": "protected"
1448
1475
  },
1449
1476
  {
1450
1477
  "kind": "method",
1451
1478
  "name": "handleEnded",
1452
- "privacy": "protected",
1453
- "inheritedFrom": {
1454
- "name": "DiscordMediaLifecycle",
1455
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1456
- }
1479
+ "privacy": "protected"
1457
1480
  },
1458
1481
  {
1459
1482
  "kind": "method",
1460
1483
  "name": "handleClickPlayPauseIcon",
1461
- "privacy": "protected",
1462
- "inheritedFrom": {
1463
- "name": "DiscordMediaLifecycle",
1464
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1465
- }
1484
+ "privacy": "protected"
1466
1485
  },
1467
1486
  {
1468
1487
  "kind": "field",
1469
1488
  "name": "handleSpaceToPlayPause",
1470
- "privacy": "protected",
1471
- "inheritedFrom": {
1472
- "name": "DiscordMediaLifecycle",
1473
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1474
- }
1489
+ "privacy": "protected"
1475
1490
  },
1476
1491
  {
1477
1492
  "kind": "method",
1478
1493
  "name": "handleClickMuteIcon",
1479
- "privacy": "protected",
1480
- "inheritedFrom": {
1481
- "name": "DiscordMediaLifecycle",
1482
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1483
- }
1494
+ "privacy": "protected"
1484
1495
  },
1485
1496
  {
1486
1497
  "kind": "method",
@@ -1493,20 +1504,12 @@
1493
1504
  "text": "Event"
1494
1505
  }
1495
1506
  }
1496
- ],
1497
- "inheritedFrom": {
1498
- "name": "DiscordMediaLifecycle",
1499
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1500
- }
1507
+ ]
1501
1508
  },
1502
1509
  {
1503
1510
  "kind": "field",
1504
1511
  "name": "handleSeekSliderChange",
1505
- "privacy": "protected",
1506
- "inheritedFrom": {
1507
- "name": "DiscordMediaLifecycle",
1508
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1509
- }
1512
+ "privacy": "protected"
1510
1513
  },
1511
1514
  {
1512
1515
  "kind": "method",
@@ -1519,29 +1522,17 @@
1519
1522
  "text": "Event"
1520
1523
  }
1521
1524
  }
1522
- ],
1523
- "inheritedFrom": {
1524
- "name": "DiscordMediaLifecycle",
1525
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1526
- }
1525
+ ]
1527
1526
  },
1528
1527
  {
1529
1528
  "kind": "method",
1530
1529
  "name": "handleVolumeVerticalFocus",
1531
- "privacy": "protected",
1532
- "inheritedFrom": {
1533
- "name": "DiscordMediaLifecycle",
1534
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1535
- }
1530
+ "privacy": "protected"
1536
1531
  },
1537
1532
  {
1538
1533
  "kind": "method",
1539
1534
  "name": "handleVolumeVerticalBlur",
1540
- "privacy": "protected",
1541
- "inheritedFrom": {
1542
- "name": "DiscordMediaLifecycle",
1543
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1544
- }
1535
+ "privacy": "protected"
1545
1536
  },
1546
1537
  {
1547
1538
  "kind": "method",
@@ -1554,11 +1545,7 @@
1554
1545
  "text": "KeyboardEvent"
1555
1546
  }
1556
1547
  }
1557
- ],
1558
- "inheritedFrom": {
1559
- "name": "DiscordMediaLifecycle",
1560
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1561
- }
1548
+ ]
1562
1549
  },
1563
1550
  {
1564
1551
  "kind": "method",
@@ -1577,679 +1564,1315 @@
1577
1564
  "text": "KeyboardEvent"
1578
1565
  }
1579
1566
  }
1580
- ],
1581
- "inheritedFrom": {
1582
- "name": "DiscordMediaLifecycle",
1583
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1584
- }
1567
+ ]
1585
1568
  },
1586
1569
  {
1587
1570
  "kind": "field",
1588
1571
  "name": "mediaMetadataLoaded",
1589
- "privacy": "protected",
1590
- "inheritedFrom": {
1591
- "name": "DiscordMediaLifecycle",
1592
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
1593
- }
1594
- }
1595
- ],
1596
- "attributes": [
1597
- {
1598
- "name": "href",
1599
- "type": {
1600
- "text": "string"
1601
- },
1602
- "description": "The URL to audio file",
1603
- "fieldName": "href"
1604
- },
1605
- {
1606
- "name": "name",
1607
- "type": {
1608
- "text": "string | undefined"
1609
- },
1610
- "description": "The name of the audio file",
1611
- "fieldName": "name"
1612
- },
1613
- {
1614
- "name": "bytes",
1615
- "type": {
1616
- "text": "number"
1617
- },
1618
- "description": "The size of the audio file in bytes",
1619
- "fieldName": "bytes"
1620
- },
1621
- {
1622
- "name": "bytes-unit",
1623
- "type": {
1624
- "text": "string"
1625
- },
1626
- "description": "The unit of the audio file in a human-readable format",
1627
- "fieldName": "bytesUnit"
1628
- },
1629
- {
1630
- "name": "light-theme",
1631
- "type": {
1632
- "text": "boolean"
1633
- },
1634
- "default": "false",
1635
- "fieldName": "lightTheme"
1572
+ "privacy": "protected"
1636
1573
  }
1637
1574
  ],
1638
1575
  "superclass": {
1576
+ "name": "LitElement",
1577
+ "package": "lit"
1578
+ },
1579
+ "customElement": true
1580
+ }
1581
+ ],
1582
+ "exports": [
1583
+ {
1584
+ "kind": "js",
1585
+ "name": "DiscordMediaLifecycle",
1586
+ "declaration": {
1639
1587
  "name": "DiscordMediaLifecycle",
1640
- "module": "/src/components/_private/DiscordMediaLifecycle.js"
1588
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
1589
+ }
1590
+ }
1591
+ ]
1592
+ },
1593
+ {
1594
+ "kind": "javascript-module",
1595
+ "path": "src/components/_private/DiscordPlaybackControlStyles.ts",
1596
+ "declarations": [
1597
+ {
1598
+ "kind": "variable",
1599
+ "name": "DiscordPlaybackControlStyles",
1600
+ "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; } `"
1601
+ }
1602
+ ],
1603
+ "exports": [
1604
+ {
1605
+ "kind": "js",
1606
+ "name": "DiscordPlaybackControlStyles",
1607
+ "declaration": {
1608
+ "name": "DiscordPlaybackControlStyles",
1609
+ "module": "src/components/_private/DiscordPlaybackControlStyles.ts"
1610
+ }
1611
+ }
1612
+ ]
1613
+ },
1614
+ {
1615
+ "kind": "javascript-module",
1616
+ "path": "src/components/_private/DiscordVolumeControlStyles.ts",
1617
+ "declarations": [
1618
+ {
1619
+ "kind": "variable",
1620
+ "name": "DiscordVolumeControlStyles",
1621
+ "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; } `"
1622
+ }
1623
+ ],
1624
+ "exports": [
1625
+ {
1626
+ "kind": "js",
1627
+ "name": "DiscordVolumeControlStyles",
1628
+ "declaration": {
1629
+ "name": "DiscordVolumeControlStyles",
1630
+ "module": "src/components/_private/DiscordVolumeControlStyles.ts"
1631
+ }
1632
+ }
1633
+ ]
1634
+ },
1635
+ {
1636
+ "kind": "javascript-module",
1637
+ "path": "src/components/_private/DiscordWhiteSpace.ts",
1638
+ "declarations": [
1639
+ {
1640
+ "kind": "class",
1641
+ "description": "",
1642
+ "name": "DiscordCode",
1643
+ "members": [],
1644
+ "superclass": {
1645
+ "name": "LitElement",
1646
+ "package": "lit"
1641
1647
  },
1642
- "tagName": "discord-audio-attachment",
1648
+ "tagName": "discord-white-space",
1643
1649
  "customElement": true
1644
1650
  }
1645
1651
  ],
1646
1652
  "exports": [
1647
1653
  {
1648
1654
  "kind": "js",
1649
- "name": "DiscordAudioAttachment",
1655
+ "name": "DiscordCode",
1650
1656
  "declaration": {
1651
- "name": "DiscordAudioAttachment",
1652
- "module": "src/components/discord-audio-attachment/DiscordAudioAttachment.ts"
1657
+ "name": "DiscordCode",
1658
+ "module": "src/components/_private/DiscordWhiteSpace.ts"
1653
1659
  }
1654
1660
  },
1655
1661
  {
1656
1662
  "kind": "custom-element-definition",
1657
- "name": "discord-audio-attachment",
1663
+ "name": "discord-white-space",
1658
1664
  "declaration": {
1659
- "name": "DiscordAudioAttachment",
1660
- "module": "src/components/discord-audio-attachment/DiscordAudioAttachment.ts"
1665
+ "name": "DiscordCode",
1666
+ "module": "src/components/_private/DiscordWhiteSpace.ts"
1661
1667
  }
1662
1668
  }
1663
1669
  ]
1664
1670
  },
1665
1671
  {
1666
1672
  "kind": "javascript-module",
1667
- "path": "src/components/discord-bold/DiscordBold.ts",
1673
+ "path": "src/components/_private/mediaGalleryFullScreenContext.ts",
1674
+ "declarations": [
1675
+ {
1676
+ "kind": "variable",
1677
+ "name": "isInMediaFullScreenPreviewer"
1678
+ }
1679
+ ],
1680
+ "exports": [
1681
+ {
1682
+ "kind": "js",
1683
+ "name": "isInMediaFullScreenPreviewer",
1684
+ "declaration": {
1685
+ "name": "isInMediaFullScreenPreviewer",
1686
+ "module": "src/components/_private/mediaGalleryFullScreenContext.ts"
1687
+ }
1688
+ }
1689
+ ]
1690
+ },
1691
+ {
1692
+ "kind": "javascript-module",
1693
+ "path": "src/components/discord-action-row/DiscordActionRow.ts",
1668
1694
  "declarations": [
1669
1695
  {
1670
1696
  "kind": "class",
1671
1697
  "description": "",
1672
- "name": "DiscordBold",
1698
+ "name": "DiscordActionRow",
1673
1699
  "members": [],
1674
1700
  "superclass": {
1675
1701
  "name": "LitElement",
1676
1702
  "package": "lit"
1677
1703
  },
1678
- "tagName": "discord-bold",
1704
+ "tagName": "discord-action-row",
1679
1705
  "customElement": true
1680
1706
  }
1681
1707
  ],
1682
1708
  "exports": [
1683
1709
  {
1684
1710
  "kind": "js",
1685
- "name": "DiscordBold",
1711
+ "name": "DiscordActionRow",
1686
1712
  "declaration": {
1687
- "name": "DiscordBold",
1688
- "module": "src/components/discord-bold/DiscordBold.ts"
1713
+ "name": "DiscordActionRow",
1714
+ "module": "src/components/discord-action-row/DiscordActionRow.ts"
1689
1715
  }
1690
1716
  },
1691
1717
  {
1692
1718
  "kind": "custom-element-definition",
1693
- "name": "discord-bold",
1719
+ "name": "discord-action-row",
1694
1720
  "declaration": {
1695
- "name": "DiscordBold",
1696
- "module": "src/components/discord-bold/DiscordBold.ts"
1721
+ "name": "DiscordActionRow",
1722
+ "module": "src/components/discord-action-row/DiscordActionRow.ts"
1697
1723
  }
1698
1724
  }
1699
1725
  ]
1700
1726
  },
1701
1727
  {
1702
1728
  "kind": "javascript-module",
1703
- "path": "src/components/discord-author-info/DiscordAuthorInfo.ts",
1729
+ "path": "src/components/discord-attachments/DiscordAttachments.ts",
1704
1730
  "declarations": [
1705
1731
  {
1706
1732
  "kind": "class",
1707
1733
  "description": "",
1708
- "name": "DiscordAuthorInfo",
1734
+ "name": "DiscordAttachments",
1735
+ "members": [],
1736
+ "superclass": {
1737
+ "name": "LitElement",
1738
+ "package": "lit"
1739
+ },
1740
+ "tagName": "discord-attachments",
1741
+ "customElement": true
1742
+ }
1743
+ ],
1744
+ "exports": [
1745
+ {
1746
+ "kind": "js",
1747
+ "name": "DiscordAttachments",
1748
+ "declaration": {
1749
+ "name": "DiscordAttachments",
1750
+ "module": "src/components/discord-attachments/DiscordAttachments.ts"
1751
+ }
1752
+ },
1753
+ {
1754
+ "kind": "custom-element-definition",
1755
+ "name": "discord-attachments",
1756
+ "declaration": {
1757
+ "name": "DiscordAttachments",
1758
+ "module": "src/components/discord-attachments/DiscordAttachments.ts"
1759
+ }
1760
+ }
1761
+ ]
1762
+ },
1763
+ {
1764
+ "kind": "javascript-module",
1765
+ "path": "src/components/discord-audio-attachment/DiscordAudioAttachment.ts",
1766
+ "declarations": [
1767
+ {
1768
+ "kind": "class",
1769
+ "description": "",
1770
+ "name": "DiscordAudioAttachment",
1709
1771
  "members": [
1710
1772
  {
1711
1773
  "kind": "field",
1712
- "name": "author",
1774
+ "name": "href",
1713
1775
  "type": {
1714
- "text": "string | undefined"
1776
+ "text": "string"
1715
1777
  },
1716
1778
  "privacy": "public",
1717
- "default": "undefined",
1718
- "description": "The name of the author",
1719
- "attribute": "author"
1779
+ "description": "The URL to audio file",
1780
+ "attribute": "href"
1720
1781
  },
1721
1782
  {
1722
1783
  "kind": "field",
1723
- "name": "bot",
1784
+ "name": "name",
1724
1785
  "type": {
1725
- "text": "boolean"
1786
+ "text": "string | undefined"
1726
1787
  },
1727
1788
  "privacy": "public",
1728
- "default": "false",
1729
- "description": "Whether this author is a bot. Only works if `server` and `officialApp` is `false` or `undefined`.",
1730
- "attribute": "bot"
1789
+ "description": "The name of the audio file",
1790
+ "attribute": "name"
1731
1791
  },
1732
1792
  {
1733
1793
  "kind": "field",
1734
- "name": "server",
1794
+ "name": "bytes",
1735
1795
  "type": {
1736
- "text": "boolean"
1796
+ "text": "number"
1737
1797
  },
1738
1798
  "privacy": "public",
1739
- "default": "false",
1740
- "description": "Whether this author is a `server` crosspost webhook. Only works if `bot` and `officialApp` is `false` or `undefined`.",
1741
- "attribute": "server"
1799
+ "description": "The size of the audio file in bytes",
1800
+ "attribute": "bytes"
1742
1801
  },
1743
1802
  {
1744
1803
  "kind": "field",
1745
- "name": "officialApp",
1804
+ "name": "bytesUnit",
1746
1805
  "type": {
1747
- "text": "boolean"
1806
+ "text": "string"
1748
1807
  },
1749
1808
  "privacy": "public",
1750
- "default": "false",
1751
- "description": "Whether this author is a `official app` crosspost webhook. Only works if `bot` and `server` is `false` or `undefined`.",
1752
- "attribute": "official-app"
1809
+ "description": "The unit of the audio file in a human-readable format",
1810
+ "attribute": "bytes-unit"
1753
1811
  },
1754
1812
  {
1755
1813
  "kind": "field",
1756
- "name": "op",
1814
+ "name": "lightTheme",
1757
1815
  "type": {
1758
1816
  "text": "boolean"
1759
1817
  },
1760
1818
  "privacy": "public",
1761
1819
  "default": "false",
1762
- "description": "Whether this author is the original poster.",
1763
- "attribute": "op"
1820
+ "attribute": "light-theme",
1821
+ "reflects": true
1764
1822
  },
1765
1823
  {
1766
1824
  "kind": "field",
1767
- "name": "roleColor",
1825
+ "name": "mediaComponentRef",
1768
1826
  "type": {
1769
- "text": "string | undefined"
1827
+ "text": "Ref<HTMLAudioElement | HTMLVideoElement>"
1770
1828
  },
1771
- "privacy": "public",
1772
- "default": "undefined",
1773
- "description": "The colour of the author, which comes from their highest role",
1774
- "attribute": "role-color"
1829
+ "privacy": "protected",
1830
+ "inheritedFrom": {
1831
+ "name": "DiscordMediaLifecycle",
1832
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
1833
+ }
1775
1834
  },
1776
1835
  {
1777
1836
  "kind": "field",
1778
- "name": "roleIcon",
1837
+ "name": "seekSliderRef",
1779
1838
  "type": {
1780
- "text": "string | undefined"
1839
+ "text": "Ref<HTMLInputElement>"
1781
1840
  },
1782
- "privacy": "public",
1783
- "default": "undefined",
1784
- "description": "The role icon of the author, which comes from their highest role",
1785
- "attribute": "role-icon"
1841
+ "privacy": "protected",
1842
+ "inheritedFrom": {
1843
+ "name": "DiscordMediaLifecycle",
1844
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
1845
+ }
1786
1846
  },
1787
1847
  {
1788
1848
  "kind": "field",
1789
- "name": "roleName",
1849
+ "name": "volumeControlRef",
1790
1850
  "type": {
1791
- "text": "string | undefined"
1851
+ "text": "Ref<HTMLDivElement>"
1792
1852
  },
1793
- "privacy": "public",
1794
- "default": "undefined",
1795
- "description": "The role name of the author, which comes from their highest role",
1796
- "attribute": "role-name"
1853
+ "privacy": "protected",
1854
+ "inheritedFrom": {
1855
+ "name": "DiscordMediaLifecycle",
1856
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
1857
+ }
1797
1858
  },
1798
1859
  {
1799
1860
  "kind": "field",
1800
- "name": "clanIcon",
1861
+ "name": "volumeControlInputRef",
1801
1862
  "type": {
1802
- "text": "string | undefined"
1863
+ "text": "Ref<HTMLInputElement>"
1803
1864
  },
1804
- "privacy": "public",
1805
- "default": "undefined",
1806
- "description": "The clan icon of the author, which comes from the enabled clan tag",
1807
- "attribute": "clan-icon"
1865
+ "privacy": "protected",
1866
+ "inheritedFrom": {
1867
+ "name": "DiscordMediaLifecycle",
1868
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
1869
+ }
1808
1870
  },
1809
1871
  {
1810
1872
  "kind": "field",
1811
- "name": "clanTag",
1873
+ "name": "currentPlaybackPosition",
1812
1874
  "type": {
1813
- "text": "string | undefined"
1875
+ "text": "string"
1814
1876
  },
1815
- "privacy": "public",
1816
- "default": "undefined",
1817
- "description": "The clan name of the author, which comes from the enabled clan tag",
1818
- "attribute": "clan-tag"
1877
+ "privacy": "protected",
1878
+ "default": "'0:00'",
1879
+ "inheritedFrom": {
1880
+ "name": "DiscordMediaLifecycle",
1881
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
1882
+ }
1819
1883
  },
1820
1884
  {
1821
1885
  "kind": "field",
1822
- "name": "verified",
1886
+ "name": "leftPlaybackPosition",
1823
1887
  "type": {
1824
- "text": "boolean"
1888
+ "text": "string"
1825
1889
  },
1826
- "privacy": "public",
1827
- "default": "false",
1828
- "description": "Whether this bot is verified by Discord. Only works if `bot` is `true`",
1829
- "attribute": "verified"
1890
+ "privacy": "protected",
1891
+ "default": "'0:00'",
1892
+ "inheritedFrom": {
1893
+ "name": "DiscordMediaLifecycle",
1894
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
1895
+ }
1830
1896
  },
1831
1897
  {
1832
1898
  "kind": "field",
1833
- "name": "compactMode",
1899
+ "name": "totalMediaDuration",
1834
1900
  "type": {
1835
- "text": "boolean"
1901
+ "text": "string"
1836
1902
  },
1837
- "privacy": "public",
1838
- "default": "false",
1839
- "description": "Whether to reverse the order of the author info for compact mode.",
1840
- "attribute": "compact-mode",
1841
- "reflects": true
1903
+ "privacy": "protected",
1904
+ "default": "''",
1905
+ "inheritedFrom": {
1906
+ "name": "DiscordMediaLifecycle",
1907
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
1908
+ }
1842
1909
  },
1843
1910
  {
1844
1911
  "kind": "field",
1845
- "name": "lightTheme",
1912
+ "name": "isPlaying",
1846
1913
  "type": {
1847
1914
  "text": "boolean"
1848
1915
  },
1849
- "privacy": "public",
1916
+ "privacy": "protected",
1850
1917
  "default": "false",
1851
- "attribute": "light-theme",
1852
- "reflects": true
1853
- }
1854
- ],
1855
- "attributes": [
1918
+ "inheritedFrom": {
1919
+ "name": "DiscordMediaLifecycle",
1920
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
1921
+ }
1922
+ },
1856
1923
  {
1857
- "name": "author",
1924
+ "kind": "field",
1925
+ "name": "raf",
1858
1926
  "type": {
1859
- "text": "string | undefined"
1927
+ "text": "number | null"
1860
1928
  },
1861
- "default": "undefined",
1862
- "description": "The name of the author",
1863
- "fieldName": "author"
1929
+ "privacy": "private",
1930
+ "default": "null",
1931
+ "inheritedFrom": {
1932
+ "name": "DiscordMediaLifecycle",
1933
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
1934
+ }
1864
1935
  },
1865
1936
  {
1866
- "name": "bot",
1937
+ "kind": "field",
1938
+ "name": "isMuted",
1867
1939
  "type": {
1868
1940
  "text": "boolean"
1869
1941
  },
1942
+ "privacy": "protected",
1870
1943
  "default": "false",
1871
- "description": "Whether this author is a bot. Only works if `server` and `officialApp` is `false` or `undefined`.",
1872
- "fieldName": "bot"
1944
+ "inheritedFrom": {
1945
+ "name": "DiscordMediaLifecycle",
1946
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
1947
+ }
1873
1948
  },
1874
1949
  {
1875
- "name": "server",
1950
+ "kind": "field",
1951
+ "name": "currentVolume",
1876
1952
  "type": {
1877
- "text": "boolean"
1953
+ "text": "number"
1878
1954
  },
1879
- "default": "false",
1880
- "description": "Whether this author is a `server` crosspost webhook. Only works if `bot` and `officialApp` is `false` or `undefined`.",
1881
- "fieldName": "server"
1955
+ "privacy": "protected",
1956
+ "default": "1",
1957
+ "description": "Volume is a fractional value between 0 and 1",
1958
+ "inheritedFrom": {
1959
+ "name": "DiscordMediaLifecycle",
1960
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
1961
+ }
1882
1962
  },
1883
1963
  {
1884
- "name": "official-app",
1964
+ "kind": "field",
1965
+ "name": "hasEnded",
1885
1966
  "type": {
1886
1967
  "text": "boolean"
1887
1968
  },
1969
+ "privacy": "protected",
1888
1970
  "default": "false",
1889
- "description": "Whether this author is a `official app` crosspost webhook. Only works if `bot` and `server` is `false` or `undefined`.",
1890
- "fieldName": "officialApp"
1971
+ "inheritedFrom": {
1972
+ "name": "DiscordMediaLifecycle",
1973
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
1974
+ }
1891
1975
  },
1892
1976
  {
1893
- "name": "op",
1977
+ "kind": "field",
1978
+ "name": "hasRunUpdate",
1894
1979
  "type": {
1895
1980
  "text": "boolean"
1896
1981
  },
1982
+ "privacy": "private",
1897
1983
  "default": "false",
1898
- "description": "Whether this author is the original poster.",
1899
- "fieldName": "op"
1984
+ "inheritedFrom": {
1985
+ "name": "DiscordMediaLifecycle",
1986
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
1987
+ }
1900
1988
  },
1901
1989
  {
1902
- "name": "role-color",
1903
- "type": {
1904
- "text": "string | undefined"
1905
- },
1906
- "default": "undefined",
1907
- "description": "The colour of the author, which comes from their highest role",
1908
- "fieldName": "roleColor"
1990
+ "kind": "method",
1991
+ "name": "calculateTime",
1992
+ "privacy": "protected",
1993
+ "parameters": [
1994
+ {
1995
+ "name": "secs",
1996
+ "type": {
1997
+ "text": "number"
1998
+ }
1999
+ }
2000
+ ],
2001
+ "inheritedFrom": {
2002
+ "name": "DiscordMediaLifecycle",
2003
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
2004
+ }
1909
2005
  },
1910
2006
  {
1911
- "name": "role-icon",
1912
- "type": {
1913
- "text": "string | undefined"
1914
- },
1915
- "default": "undefined",
1916
- "description": "The role icon of the author, which comes from their highest role",
1917
- "fieldName": "roleIcon"
2007
+ "kind": "method",
2008
+ "name": "displayMediaDuration",
2009
+ "privacy": "protected",
2010
+ "inheritedFrom": {
2011
+ "name": "DiscordMediaLifecycle",
2012
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
2013
+ }
1918
2014
  },
1919
2015
  {
1920
- "name": "role-name",
1921
- "type": {
1922
- "text": "string | undefined"
1923
- },
1924
- "default": "undefined",
1925
- "description": "The role name of the author, which comes from their highest role",
1926
- "fieldName": "roleName"
2016
+ "kind": "method",
2017
+ "name": "displayLeftPlaybackPosition",
2018
+ "privacy": "protected",
2019
+ "parameters": [
2020
+ {
2021
+ "name": "bufferedAmount",
2022
+ "type": {
2023
+ "text": "number"
2024
+ }
2025
+ }
2026
+ ],
2027
+ "inheritedFrom": {
2028
+ "name": "DiscordMediaLifecycle",
2029
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
2030
+ }
1927
2031
  },
1928
2032
  {
1929
- "name": "clan-icon",
1930
- "type": {
1931
- "text": "string | undefined"
1932
- },
1933
- "default": "undefined",
1934
- "description": "The clan icon of the author, which comes from the enabled clan tag",
1935
- "fieldName": "clanIcon"
2033
+ "kind": "method",
2034
+ "name": "setSliderMax",
2035
+ "privacy": "protected",
2036
+ "inheritedFrom": {
2037
+ "name": "DiscordMediaLifecycle",
2038
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
2039
+ }
1936
2040
  },
1937
2041
  {
1938
- "name": "clan-tag",
1939
- "type": {
1940
- "text": "string | undefined"
1941
- },
1942
- "default": "undefined",
1943
- "description": "The clan name of the author, which comes from the enabled clan tag",
1944
- "fieldName": "clanTag"
2042
+ "kind": "method",
2043
+ "name": "displayBufferedAmount",
2044
+ "privacy": "protected",
2045
+ "inheritedFrom": {
2046
+ "name": "DiscordMediaLifecycle",
2047
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
2048
+ }
1945
2049
  },
1946
2050
  {
1947
- "name": "verified",
2051
+ "kind": "field",
2052
+ "name": "wavesurfer",
1948
2053
  "type": {
1949
- "text": "boolean"
2054
+ "text": "WaveSurfer | null | undefined"
1950
2055
  },
1951
- "default": "false",
1952
- "description": "Whether this bot is verified by Discord. Only works if `bot` is `true`",
1953
- "fieldName": "verified"
2056
+ "privacy": "protected",
2057
+ "default": "null",
2058
+ "inheritedFrom": {
2059
+ "name": "DiscordMediaLifecycle",
2060
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
2061
+ }
1954
2062
  },
1955
2063
  {
1956
- "name": "compact-mode",
1957
- "type": {
1958
- "text": "boolean"
1959
- },
1960
- "default": "false",
1961
- "description": "Whether to reverse the order of the author info for compact mode.",
1962
- "fieldName": "compactMode"
2064
+ "kind": "field",
2065
+ "name": "whilePlaying",
2066
+ "privacy": "protected",
2067
+ "inheritedFrom": {
2068
+ "name": "DiscordMediaLifecycle",
2069
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
2070
+ }
1963
2071
  },
1964
2072
  {
1965
- "name": "light-theme",
1966
- "type": {
1967
- "text": "boolean"
2073
+ "kind": "method",
2074
+ "name": "handleEnded",
2075
+ "privacy": "protected",
2076
+ "inheritedFrom": {
2077
+ "name": "DiscordMediaLifecycle",
2078
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
2079
+ }
2080
+ },
2081
+ {
2082
+ "kind": "method",
2083
+ "name": "handleClickPlayPauseIcon",
2084
+ "privacy": "protected",
2085
+ "inheritedFrom": {
2086
+ "name": "DiscordMediaLifecycle",
2087
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
2088
+ }
2089
+ },
2090
+ {
2091
+ "kind": "field",
2092
+ "name": "handleSpaceToPlayPause",
2093
+ "privacy": "protected",
2094
+ "inheritedFrom": {
2095
+ "name": "DiscordMediaLifecycle",
2096
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
2097
+ }
2098
+ },
2099
+ {
2100
+ "kind": "method",
2101
+ "name": "handleClickMuteIcon",
2102
+ "privacy": "protected",
2103
+ "inheritedFrom": {
2104
+ "name": "DiscordMediaLifecycle",
2105
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
2106
+ }
2107
+ },
2108
+ {
2109
+ "kind": "method",
2110
+ "name": "handleSeekSliderInput",
2111
+ "privacy": "protected",
2112
+ "parameters": [
2113
+ {
2114
+ "name": "event",
2115
+ "type": {
2116
+ "text": "Event"
2117
+ }
2118
+ }
2119
+ ],
2120
+ "inheritedFrom": {
2121
+ "name": "DiscordMediaLifecycle",
2122
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
2123
+ }
2124
+ },
2125
+ {
2126
+ "kind": "field",
2127
+ "name": "handleSeekSliderChange",
2128
+ "privacy": "protected",
2129
+ "inheritedFrom": {
2130
+ "name": "DiscordMediaLifecycle",
2131
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
2132
+ }
2133
+ },
2134
+ {
2135
+ "kind": "method",
2136
+ "name": "handleVolumeSliderInput",
2137
+ "privacy": "protected",
2138
+ "parameters": [
2139
+ {
2140
+ "name": "event",
2141
+ "type": {
2142
+ "text": "Event"
2143
+ }
2144
+ }
2145
+ ],
2146
+ "inheritedFrom": {
2147
+ "name": "DiscordMediaLifecycle",
2148
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
2149
+ }
2150
+ },
2151
+ {
2152
+ "kind": "method",
2153
+ "name": "handleVolumeVerticalFocus",
2154
+ "privacy": "protected",
2155
+ "inheritedFrom": {
2156
+ "name": "DiscordMediaLifecycle",
2157
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
2158
+ }
2159
+ },
2160
+ {
2161
+ "kind": "method",
2162
+ "name": "handleVolumeVerticalBlur",
2163
+ "privacy": "protected",
2164
+ "inheritedFrom": {
2165
+ "name": "DiscordMediaLifecycle",
2166
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
2167
+ }
2168
+ },
2169
+ {
2170
+ "kind": "method",
2171
+ "name": "handleVolumeControlKeyboard",
2172
+ "privacy": "protected",
2173
+ "parameters": [
2174
+ {
2175
+ "name": "event",
2176
+ "type": {
2177
+ "text": "KeyboardEvent"
2178
+ }
2179
+ }
2180
+ ],
2181
+ "inheritedFrom": {
2182
+ "name": "DiscordMediaLifecycle",
2183
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
2184
+ }
2185
+ },
2186
+ {
2187
+ "kind": "method",
2188
+ "name": "adjustVolume",
2189
+ "privacy": "protected",
2190
+ "parameters": [
2191
+ {
2192
+ "name": "change",
2193
+ "type": {
2194
+ "text": "number"
2195
+ }
2196
+ },
2197
+ {
2198
+ "name": "event",
2199
+ "type": {
2200
+ "text": "KeyboardEvent"
2201
+ }
2202
+ }
2203
+ ],
2204
+ "inheritedFrom": {
2205
+ "name": "DiscordMediaLifecycle",
2206
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
2207
+ }
2208
+ },
2209
+ {
2210
+ "kind": "field",
2211
+ "name": "mediaMetadataLoaded",
2212
+ "privacy": "protected",
2213
+ "inheritedFrom": {
2214
+ "name": "DiscordMediaLifecycle",
2215
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
2216
+ }
2217
+ }
2218
+ ],
2219
+ "attributes": [
2220
+ {
2221
+ "name": "href",
2222
+ "type": {
2223
+ "text": "string"
2224
+ },
2225
+ "description": "The URL to audio file",
2226
+ "fieldName": "href"
2227
+ },
2228
+ {
2229
+ "name": "name",
2230
+ "type": {
2231
+ "text": "string | undefined"
2232
+ },
2233
+ "description": "The name of the audio file",
2234
+ "fieldName": "name"
2235
+ },
2236
+ {
2237
+ "name": "bytes",
2238
+ "type": {
2239
+ "text": "number"
2240
+ },
2241
+ "description": "The size of the audio file in bytes",
2242
+ "fieldName": "bytes"
2243
+ },
2244
+ {
2245
+ "name": "bytes-unit",
2246
+ "type": {
2247
+ "text": "string"
2248
+ },
2249
+ "description": "The unit of the audio file in a human-readable format",
2250
+ "fieldName": "bytesUnit"
2251
+ },
2252
+ {
2253
+ "name": "light-theme",
2254
+ "type": {
2255
+ "text": "boolean"
1968
2256
  },
1969
2257
  "default": "false",
1970
2258
  "fieldName": "lightTheme"
1971
2259
  }
1972
2260
  ],
1973
2261
  "superclass": {
1974
- "name": "LitElement",
1975
- "package": "lit"
2262
+ "name": "DiscordMediaLifecycle",
2263
+ "module": "/src/components/_private/DiscordMediaLifecycle.js"
1976
2264
  },
1977
- "tagName": "discord-author-info",
2265
+ "tagName": "discord-audio-attachment",
1978
2266
  "customElement": true
1979
2267
  }
1980
2268
  ],
1981
2269
  "exports": [
1982
2270
  {
1983
2271
  "kind": "js",
1984
- "name": "DiscordAuthorInfo",
2272
+ "name": "DiscordAudioAttachment",
1985
2273
  "declaration": {
1986
- "name": "DiscordAuthorInfo",
1987
- "module": "src/components/discord-author-info/DiscordAuthorInfo.ts"
2274
+ "name": "DiscordAudioAttachment",
2275
+ "module": "src/components/discord-audio-attachment/DiscordAudioAttachment.ts"
1988
2276
  }
1989
2277
  },
1990
2278
  {
1991
2279
  "kind": "custom-element-definition",
1992
- "name": "discord-author-info",
2280
+ "name": "discord-audio-attachment",
1993
2281
  "declaration": {
1994
- "name": "DiscordAuthorInfo",
1995
- "module": "src/components/discord-author-info/DiscordAuthorInfo.ts"
2282
+ "name": "DiscordAudioAttachment",
2283
+ "module": "src/components/discord-audio-attachment/DiscordAudioAttachment.ts"
1996
2284
  }
1997
2285
  }
1998
2286
  ]
1999
2287
  },
2000
2288
  {
2001
2289
  "kind": "javascript-module",
2002
- "path": "src/components/discord-button/DiscordButton.ts",
2290
+ "path": "src/components/discord-author-info/DiscordAuthorInfo.ts",
2003
2291
  "declarations": [
2004
2292
  {
2005
2293
  "kind": "class",
2006
2294
  "description": "",
2007
- "name": "DiscordButton",
2295
+ "name": "DiscordAuthorInfo",
2008
2296
  "members": [
2009
2297
  {
2010
2298
  "kind": "field",
2011
- "name": "emoji",
2299
+ "name": "author",
2012
2300
  "type": {
2013
- "text": "string"
2301
+ "text": "string | undefined"
2014
2302
  },
2015
2303
  "privacy": "public",
2016
- "description": "The emoji URL to use in the button.",
2017
- "attribute": "emoji",
2018
- "reflects": true
2304
+ "default": "undefined",
2305
+ "description": "The name of the author",
2306
+ "attribute": "author"
2019
2307
  },
2020
2308
  {
2021
2309
  "kind": "field",
2022
- "name": "emojiName",
2310
+ "name": "bot",
2023
2311
  "type": {
2024
- "text": "string"
2312
+ "text": "boolean"
2025
2313
  },
2026
2314
  "privacy": "public",
2027
- "default": "'emoji'",
2028
- "description": "The name of the emoji used in the button.",
2029
- "attribute": "emoji-name",
2030
- "reflects": true
2315
+ "default": "false",
2316
+ "description": "Whether this author is a bot. Only works if `server` and `officialApp` is `false` or `undefined`.",
2317
+ "attribute": "bot"
2031
2318
  },
2032
2319
  {
2033
2320
  "kind": "field",
2034
- "name": "url",
2321
+ "name": "server",
2035
2322
  "type": {
2036
- "text": "string"
2323
+ "text": "boolean"
2037
2324
  },
2038
2325
  "privacy": "public",
2039
- "description": "The URL for the button. Setting this will force the button type to be `secondary`.",
2040
- "attribute": "url",
2041
- "reflects": true
2326
+ "default": "false",
2327
+ "description": "Whether this author is a `server` crosspost webhook. Only works if `bot` and `officialApp` is `false` or `undefined`.",
2328
+ "attribute": "server"
2042
2329
  },
2043
2330
  {
2044
2331
  "kind": "field",
2045
- "name": "disabled",
2332
+ "name": "officialApp",
2046
2333
  "type": {
2047
2334
  "text": "boolean"
2048
2335
  },
2049
2336
  "privacy": "public",
2050
2337
  "default": "false",
2051
- "description": "Whether to show the button as disabled.",
2052
- "attribute": "disabled",
2053
- "reflects": true
2338
+ "description": "Whether this author is a `official app` crosspost webhook. Only works if `bot` and `server` is `false` or `undefined`.",
2339
+ "attribute": "official-app"
2054
2340
  },
2055
2341
  {
2056
2342
  "kind": "field",
2057
- "name": "type",
2343
+ "name": "op",
2058
2344
  "type": {
2059
- "text": "'destructive' | 'premium' | 'primary' | 'secondary' | 'success'"
2345
+ "text": "boolean"
2060
2346
  },
2061
2347
  "privacy": "public",
2062
- "default": "'secondary'",
2063
- "description": "The type of button this is, this will change the color of the button.\r\nValid values: `primary`, `secondary`, `success`, `destructive`.",
2064
- "attribute": "type",
2065
- "reflects": true
2348
+ "default": "false",
2349
+ "description": "Whether this author is the original poster.",
2350
+ "attribute": "op"
2066
2351
  },
2067
2352
  {
2068
2353
  "kind": "field",
2069
- "name": "modalId",
2354
+ "name": "roleColor",
2070
2355
  "type": {
2071
- "text": "string"
2356
+ "text": "string | undefined"
2072
2357
  },
2073
2358
  "privacy": "public",
2074
- "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.",
2075
- "attribute": "modal-id",
2076
- "reflects": true
2359
+ "default": "undefined",
2360
+ "description": "The colour of the author, which comes from their highest role",
2361
+ "attribute": "role-color"
2077
2362
  },
2078
2363
  {
2079
2364
  "kind": "field",
2080
- "name": "small",
2365
+ "name": "roleIcon",
2081
2366
  "type": {
2082
- "text": "boolean"
2367
+ "text": "string | undefined"
2083
2368
  },
2084
2369
  "privacy": "public",
2085
- "default": "false",
2086
- "attribute": "small",
2087
- "reflects": true
2370
+ "default": "undefined",
2371
+ "description": "The role icon of the author, which comes from their highest role",
2372
+ "attribute": "role-icon"
2088
2373
  },
2089
2374
  {
2090
2375
  "kind": "field",
2091
- "name": "validButtonTypes",
2092
- "privacy": "private",
2093
- "readonly": true,
2094
- "default": "new Set(['primary', 'secondary', 'success', 'destructive', 'premium'])"
2376
+ "name": "roleName",
2377
+ "type": {
2378
+ "text": "string | undefined"
2379
+ },
2380
+ "privacy": "public",
2381
+ "default": "undefined",
2382
+ "description": "The role name of the author, which comes from their highest role",
2383
+ "attribute": "role-name"
2095
2384
  },
2096
2385
  {
2097
2386
  "kind": "field",
2098
- "name": "isInContainer",
2387
+ "name": "clanIcon",
2099
2388
  "type": {
2100
- "text": "boolean"
2389
+ "text": "string | undefined"
2101
2390
  },
2102
2391
  "privacy": "public",
2103
- "default": "false"
2392
+ "default": "undefined",
2393
+ "description": "The clan icon of the author, which comes from the enabled clan tag",
2394
+ "attribute": "clan-icon"
2104
2395
  },
2105
2396
  {
2106
2397
  "kind": "field",
2107
- "name": "isInForwardedMessage",
2398
+ "name": "clanTag",
2108
2399
  "type": {
2109
- "text": "boolean"
2400
+ "text": "string | undefined"
2110
2401
  },
2111
2402
  "privacy": "public",
2112
- "default": "false"
2403
+ "default": "undefined",
2404
+ "description": "The clan name of the author, which comes from the enabled clan tag",
2405
+ "attribute": "clan-tag"
2113
2406
  },
2114
2407
  {
2115
- "kind": "method",
2116
- "name": "checkType",
2117
- "privacy": "public"
2408
+ "kind": "field",
2409
+ "name": "verified",
2410
+ "type": {
2411
+ "text": "boolean"
2412
+ },
2413
+ "privacy": "public",
2414
+ "default": "false",
2415
+ "description": "Whether this bot is verified by Discord. Only works if `bot` is `true`",
2416
+ "attribute": "verified"
2118
2417
  },
2119
2418
  {
2120
- "kind": "method",
2121
- "name": "checkParentElement",
2122
- "privacy": "public"
2419
+ "kind": "field",
2420
+ "name": "compactMode",
2421
+ "type": {
2422
+ "text": "boolean"
2423
+ },
2424
+ "privacy": "public",
2425
+ "default": "false",
2426
+ "description": "Whether to reverse the order of the author info for compact mode.",
2427
+ "attribute": "compact-mode",
2428
+ "reflects": true
2123
2429
  },
2124
2430
  {
2125
- "kind": "method",
2126
- "name": "handleButtonClick",
2127
- "privacy": "protected"
2431
+ "kind": "field",
2432
+ "name": "lightTheme",
2433
+ "type": {
2434
+ "text": "boolean"
2435
+ },
2436
+ "privacy": "public",
2437
+ "default": "false",
2438
+ "attribute": "light-theme",
2439
+ "reflects": true
2128
2440
  }
2129
2441
  ],
2130
2442
  "attributes": [
2131
2443
  {
2132
- "name": "emoji",
2444
+ "name": "author",
2133
2445
  "type": {
2134
- "text": "string"
2446
+ "text": "string | undefined"
2135
2447
  },
2136
- "description": "The emoji URL to use in the button.",
2137
- "fieldName": "emoji"
2448
+ "default": "undefined",
2449
+ "description": "The name of the author",
2450
+ "fieldName": "author"
2138
2451
  },
2139
2452
  {
2140
- "name": "emoji-name",
2453
+ "name": "bot",
2141
2454
  "type": {
2142
- "text": "string"
2455
+ "text": "boolean"
2143
2456
  },
2144
- "default": "'emoji'",
2145
- "description": "The name of the emoji used in the button.",
2146
- "fieldName": "emojiName"
2457
+ "default": "false",
2458
+ "description": "Whether this author is a bot. Only works if `server` and `officialApp` is `false` or `undefined`.",
2459
+ "fieldName": "bot"
2147
2460
  },
2148
2461
  {
2149
- "name": "url",
2462
+ "name": "server",
2150
2463
  "type": {
2151
- "text": "string"
2464
+ "text": "boolean"
2152
2465
  },
2153
- "description": "The URL for the button. Setting this will force the button type to be `secondary`.",
2154
- "fieldName": "url"
2466
+ "default": "false",
2467
+ "description": "Whether this author is a `server` crosspost webhook. Only works if `bot` and `officialApp` is `false` or `undefined`.",
2468
+ "fieldName": "server"
2155
2469
  },
2156
2470
  {
2157
- "name": "disabled",
2471
+ "name": "official-app",
2158
2472
  "type": {
2159
2473
  "text": "boolean"
2160
2474
  },
2161
2475
  "default": "false",
2162
- "description": "Whether to show the button as disabled.",
2163
- "fieldName": "disabled"
2476
+ "description": "Whether this author is a `official app` crosspost webhook. Only works if `bot` and `server` is `false` or `undefined`.",
2477
+ "fieldName": "officialApp"
2164
2478
  },
2165
2479
  {
2166
- "name": "type",
2480
+ "name": "op",
2167
2481
  "type": {
2168
- "text": "'destructive' | 'premium' | 'primary' | 'secondary' | 'success'"
2482
+ "text": "boolean"
2169
2483
  },
2170
- "default": "'secondary'",
2171
- "description": "The type of button this is, this will change the color of the button.\r\nValid values: `primary`, `secondary`, `success`, `destructive`.",
2172
- "fieldName": "type"
2484
+ "default": "false",
2485
+ "description": "Whether this author is the original poster.",
2486
+ "fieldName": "op"
2173
2487
  },
2174
2488
  {
2175
- "name": "modal-id",
2489
+ "name": "role-color",
2176
2490
  "type": {
2177
- "text": "string"
2491
+ "text": "string | undefined"
2178
2492
  },
2179
- "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.",
2180
- "fieldName": "modalId"
2493
+ "default": "undefined",
2494
+ "description": "The colour of the author, which comes from their highest role",
2495
+ "fieldName": "roleColor"
2181
2496
  },
2182
2497
  {
2183
- "name": "small",
2498
+ "name": "role-icon",
2499
+ "type": {
2500
+ "text": "string | undefined"
2501
+ },
2502
+ "default": "undefined",
2503
+ "description": "The role icon of the author, which comes from their highest role",
2504
+ "fieldName": "roleIcon"
2505
+ },
2506
+ {
2507
+ "name": "role-name",
2508
+ "type": {
2509
+ "text": "string | undefined"
2510
+ },
2511
+ "default": "undefined",
2512
+ "description": "The role name of the author, which comes from their highest role",
2513
+ "fieldName": "roleName"
2514
+ },
2515
+ {
2516
+ "name": "clan-icon",
2517
+ "type": {
2518
+ "text": "string | undefined"
2519
+ },
2520
+ "default": "undefined",
2521
+ "description": "The clan icon of the author, which comes from the enabled clan tag",
2522
+ "fieldName": "clanIcon"
2523
+ },
2524
+ {
2525
+ "name": "clan-tag",
2526
+ "type": {
2527
+ "text": "string | undefined"
2528
+ },
2529
+ "default": "undefined",
2530
+ "description": "The clan name of the author, which comes from the enabled clan tag",
2531
+ "fieldName": "clanTag"
2532
+ },
2533
+ {
2534
+ "name": "verified",
2184
2535
  "type": {
2185
2536
  "text": "boolean"
2186
2537
  },
2187
2538
  "default": "false",
2188
- "fieldName": "small"
2539
+ "description": "Whether this bot is verified by Discord. Only works if `bot` is `true`",
2540
+ "fieldName": "verified"
2541
+ },
2542
+ {
2543
+ "name": "compact-mode",
2544
+ "type": {
2545
+ "text": "boolean"
2546
+ },
2547
+ "default": "false",
2548
+ "description": "Whether to reverse the order of the author info for compact mode.",
2549
+ "fieldName": "compactMode"
2550
+ },
2551
+ {
2552
+ "name": "light-theme",
2553
+ "type": {
2554
+ "text": "boolean"
2555
+ },
2556
+ "default": "false",
2557
+ "fieldName": "lightTheme"
2189
2558
  }
2190
2559
  ],
2191
2560
  "superclass": {
2192
2561
  "name": "LitElement",
2193
2562
  "package": "lit"
2194
2563
  },
2195
- "tagName": "discord-button",
2564
+ "tagName": "discord-author-info",
2196
2565
  "customElement": true
2197
2566
  }
2198
2567
  ],
2199
2568
  "exports": [
2200
2569
  {
2201
2570
  "kind": "js",
2202
- "name": "DiscordButton",
2571
+ "name": "DiscordAuthorInfo",
2203
2572
  "declaration": {
2204
- "name": "DiscordButton",
2205
- "module": "src/components/discord-button/DiscordButton.ts"
2573
+ "name": "DiscordAuthorInfo",
2574
+ "module": "src/components/discord-author-info/DiscordAuthorInfo.ts"
2206
2575
  }
2207
2576
  },
2208
2577
  {
2209
2578
  "kind": "custom-element-definition",
2210
- "name": "discord-button",
2579
+ "name": "discord-author-info",
2211
2580
  "declaration": {
2212
- "name": "DiscordButton",
2213
- "module": "src/components/discord-button/DiscordButton.ts"
2581
+ "name": "DiscordAuthorInfo",
2582
+ "module": "src/components/discord-author-info/DiscordAuthorInfo.ts"
2214
2583
  }
2215
2584
  }
2216
2585
  ]
2217
2586
  },
2218
2587
  {
2219
2588
  "kind": "javascript-module",
2220
- "path": "src/components/discord-channel-select-menu-option/DiscordChannelSelectMenuOption.ts",
2589
+ "path": "src/components/discord-bold/DiscordBold.ts",
2221
2590
  "declarations": [
2222
2591
  {
2223
- "kind": "variable",
2224
- "name": "channelIcon",
2225
- "type": {
2226
- "text": "Record<number | string, { normal: TemplateResult; private?: TemplateResult }>"
2592
+ "kind": "class",
2593
+ "description": "",
2594
+ "name": "DiscordBold",
2595
+ "members": [],
2596
+ "superclass": {
2597
+ "name": "LitElement",
2598
+ "package": "lit"
2227
2599
  },
2228
- "default": "{ '0': { // Guild Text normal: html` <svg aria-hidden=\"true\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"> <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10.99 3.16A1 1 0 1 0 9 2.84L8.15 8H4a1 1 0 0 0 0 2h3.82l-.67 4H3a1 1 0 1 0 0 2h3.82l-.8 4.84a1 1 0 0 0 1.97.32L8.85 16h4.97l-.8 4.84a1 1 0 0 0 1.97.32l.86-5.16H20a1 1 0 1 0 0-2h-3.82l.67-4H21a1 1 0 1 0 0-2h-3.82l.8-4.84a1 1 0 1 0-1.97-.32L15.15 8h-4.97l.8-4.84ZM14.15 14l.67-4H9.85l-.67 4h4.97Z\" clip-rule=\"evenodd\" class=\"\" ></path> </svg> `, private: html` <svg aria-hidden=\"true\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"> <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M16 4h.5v-.5a2.5 2.5 0 0 1 5 0V4h.5a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1Zm4-.5V4h-2v-.5a1 1 0 1 1 2 0Z\" clip-rule=\"evenodd\" class=\"\" ></path> <path fill=\"currentColor\" d=\"M12.5 8c.28 0 .5.22.5.5V9c0 .1 0 .2.02.31.03.34-.21.69-.56.69H9.85l-.67 4h4.97l.28-1.68c.06-.34.44-.52.77-.43a3 3 0 0 0 .8.11c.27 0 .47.24.43.5l-.25 1.5H20a1 1 0 1 1 0 2h-4.15l-.86 5.16a1 1 0 0 1-1.98-.32l.8-4.84H8.86l-.86 5.16A1 1 0 0 1 6 20.84L6.82 16H3a1 1 0 1 1 0-2h4.15l.67-4H4a1 1 0 1 1 0-2h4.15l.86-5.16a1 1 0 1 1 1.98.32L10.19 8h2.31Z\" class=\"\" ></path> </svg> ` }, '2': { // Guild Voice normal: html`<svg aria-hidden=\"true\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"> <path fill=\"currentColor\" d=\"M12 3a1 1 0 0 0-1-1h-.06a1 1 0 0 0-.74.32L5.92 7H3a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h2.92l4.28 4.68a1 1 0 0 0 .74.32H11a1 1 0 0 0 1-1V3ZM15.1 20.75c-.58.14-1.1-.33-1.1-.92v-.03c0-.5.37-.92.85-1.05a7 7 0 0 0 0-13.5A1.11 1.11 0 0 1 14 4.2v-.03c0-.6.52-1.06 1.1-.92a9 9 0 0 1 0 17.5Z\" class=\"\" ></path> <path fill=\"currentColor\" d=\"M15.16 16.51c-.57.28-1.16-.2-1.16-.83v-.14c0-.43.28-.8.63-1.02a3 3 0 0 0 0-5.04c-.35-.23-.63-.6-.63-1.02v-.14c0-.63.59-1.1 1.16-.83a5 5 0 0 1 0 9.02Z\" class=\"\" ></path> </svg>`, private: html` <svg aria-hidden=\"true\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"> <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M16 4h.5v-.5a2.5 2.5 0 0 1 5 0V4h.5a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1Zm4-.5V4h-2v-.5a1 1 0 1 1 2 0Z\" clip-rule=\"evenodd\" class=\"\" ></path> <path fill=\"currentColor\" d=\"M11 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1h-.06a1 1 0 0 1-.74-.32L5.92 17H3a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1h2.92l4.28-4.68a1 1 0 0 1 .74-.32H11ZM20.5 12c-.28 0-.5.22-.52.5a7 7 0 0 1-5.13 6.25c-.48.13-.85.55-.85 1.05v.03c0 .6.52 1.06 1.1.92a9 9 0 0 0 6.89-8.25.48.48 0 0 0-.49-.5h-1ZM16.5 12c-.28 0-.5.23-.54.5a3 3 0 0 1-1.33 2.02c-.35.23-.63.6-.63 1.02v.14c0 .63.59 1.1 1.16.83a5 5 0 0 0 2.82-4.01c.02-.28-.2-.5-.48-.5h-1Z\" class=\"\" ></path> </svg> ` }, '4': { // Guild Category normal: html`<svg aria-hidden=\"true\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"> <path fill=\"currentColor\" d=\"M2 5a3 3 0 0 1 3-3h3.93a2 2 0 0 1 1.66.9L12 5h7a3 3 0 0 1 3 3v11a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V5Z\" class=\"\" ></path> </svg>` }, '5': { // Guild Announcement normal: html` <svg aria-hidden=\"true\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"> <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M19.56 2a3 3 0 0 0-2.46 1.28 3.85 3.85 0 0 1-1.86 1.42l-8.9 3.18a.5.5 0 0 0-.34.47v10.09a3 3 0 0 0 2.27 2.9l.62.16c1.57.4 3.15-.56 3.55-2.12a.92.92 0 0 1 1.23-.63l2.36.94c.42.27.79.62 1.07 1.03A3 3 0 0 0 19.56 22h.94c.83 0 1.5-.67 1.5-1.5v-17c0-.83-.67-1.5-1.5-1.5h-.94Zm-8.53 15.8L8 16.7v1.73a1 1 0 0 0 .76.97l.62.15c.5.13 1-.17 1.12-.67.1-.41.29-.78.53-1.1Z\" clip-rule=\"evenodd\" class=\"\" ></path> <path fill=\"currentColor\" d=\"M2 10c0-1.1.9-2 2-2h.5c.28 0 .5.22.5.5v7a.5.5 0 0 1-.5.5H4a2 2 0 0 1-2-2v-4Z\" class=\"\"></path> </svg> ` }, '15': { // Guild Forum normal: html`<svg aria-hidden=\"true\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"> <path fill=\"currentColor\" d=\"M18.91 12.98a5.45 5.45 0 0 1 2.18 6.2c-.1.33-.09.68.1.96l.83 1.32a1 1 0 0 1-.84 1.54h-5.5A5.6 5.6 0 0 1 10 17.5a5.6 5.6 0 0 1 5.68-5.5c1.2 0 2.32.36 3.23.98Z\" class=\"\" ></path> <path fill=\"currentColor\" d=\"M19.24 10.86c.32.16.72-.02.74-.38L20 10c0-4.42-4.03-8-9-8s-9 3.58-9 8c0 1.5.47 2.91 1.28 4.11.14.21.12.49-.06.67l-1.51 1.51A1 1 0 0 0 2.4 18h5.1a.5.5 0 0 0 .49-.5c0-4.2 3.5-7.5 7.68-7.5 1.28 0 2.5.3 3.56.86Z\" class=\"\" ></path> </svg>` }, '16': { // Guild Media normal: html`<svg aria-hidden=\"true\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" width=\"24\" height=\"24\" viewBox=\"0 0 64 64\"> <path fill=\"currentColor\" d=\"M56 50.6667V13.3333C56 10.4 53.6 8 50.6667 8H13.3333C10.4 8 8 10.4 8 13.3333V50.6667C8 53.6 10.4 56 13.3333 56H50.6667C53.6 56 56 53.6 56 50.6667ZM22.6667 36L29.3333 44.0267L38.6667 32L50.6667 48H13.3333L22.6667 36Z\" /> </svg>` } }"
2600
+ "tagName": "discord-bold",
2601
+ "customElement": true
2602
+ }
2603
+ ],
2604
+ "exports": [
2605
+ {
2606
+ "kind": "js",
2607
+ "name": "DiscordBold",
2608
+ "declaration": {
2609
+ "name": "DiscordBold",
2610
+ "module": "src/components/discord-bold/DiscordBold.ts"
2611
+ }
2229
2612
  },
2613
+ {
2614
+ "kind": "custom-element-definition",
2615
+ "name": "discord-bold",
2616
+ "declaration": {
2617
+ "name": "DiscordBold",
2618
+ "module": "src/components/discord-bold/DiscordBold.ts"
2619
+ }
2620
+ }
2621
+ ]
2622
+ },
2623
+ {
2624
+ "kind": "javascript-module",
2625
+ "path": "src/components/discord-button/DiscordButton.ts",
2626
+ "declarations": [
2230
2627
  {
2231
2628
  "kind": "class",
2232
2629
  "description": "",
2233
- "name": "DiscordChannelSelectMenuOption",
2630
+ "name": "DiscordButton",
2234
2631
  "members": [
2235
2632
  {
2236
2633
  "kind": "field",
2237
- "name": "identifier",
2634
+ "name": "emoji",
2238
2635
  "type": {
2239
2636
  "text": "string"
2240
2637
  },
2241
2638
  "privacy": "public",
2242
- "attribute": "identifier",
2639
+ "description": "The emoji URL to use in the button.",
2640
+ "attribute": "emoji",
2243
2641
  "reflects": true
2244
2642
  },
2245
2643
  {
2246
2644
  "kind": "field",
2247
- "name": "name",
2645
+ "name": "emojiName",
2248
2646
  "type": {
2249
2647
  "text": "string"
2250
2648
  },
2251
2649
  "privacy": "public",
2252
- "attribute": "name",
2650
+ "default": "'emoji'",
2651
+ "description": "The name of the emoji used in the button.",
2652
+ "attribute": "emoji-name",
2653
+ "reflects": true
2654
+ },
2655
+ {
2656
+ "kind": "field",
2657
+ "name": "url",
2658
+ "type": {
2659
+ "text": "string"
2660
+ },
2661
+ "privacy": "public",
2662
+ "description": "The URL for the button. Setting this will force the button type to be `secondary`.",
2663
+ "attribute": "url",
2664
+ "reflects": true
2665
+ },
2666
+ {
2667
+ "kind": "field",
2668
+ "name": "disabled",
2669
+ "type": {
2670
+ "text": "boolean"
2671
+ },
2672
+ "privacy": "public",
2673
+ "default": "false",
2674
+ "description": "Whether to show the button as disabled.",
2675
+ "attribute": "disabled",
2676
+ "reflects": true
2677
+ },
2678
+ {
2679
+ "kind": "field",
2680
+ "name": "type",
2681
+ "type": {
2682
+ "text": "'destructive' | 'premium' | 'primary' | 'secondary' | 'success'"
2683
+ },
2684
+ "privacy": "public",
2685
+ "default": "'secondary'",
2686
+ "description": "The type of button this is, this will change the color of the button.\nValid values: `primary`, `secondary`, `success`, `destructive`.",
2687
+ "attribute": "type",
2688
+ "reflects": true
2689
+ },
2690
+ {
2691
+ "kind": "field",
2692
+ "name": "modalId",
2693
+ "type": {
2694
+ "text": "string"
2695
+ },
2696
+ "privacy": "public",
2697
+ "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.",
2698
+ "attribute": "modal-id",
2699
+ "reflects": true
2700
+ },
2701
+ {
2702
+ "kind": "field",
2703
+ "name": "small",
2704
+ "type": {
2705
+ "text": "boolean"
2706
+ },
2707
+ "privacy": "public",
2708
+ "default": "false",
2709
+ "attribute": "small",
2710
+ "reflects": true
2711
+ },
2712
+ {
2713
+ "kind": "field",
2714
+ "name": "validButtonTypes",
2715
+ "privacy": "private",
2716
+ "readonly": true,
2717
+ "default": "new Set(['primary', 'secondary', 'success', 'destructive', 'premium'])"
2718
+ },
2719
+ {
2720
+ "kind": "field",
2721
+ "name": "isInContainer",
2722
+ "type": {
2723
+ "text": "boolean"
2724
+ },
2725
+ "privacy": "public",
2726
+ "default": "false"
2727
+ },
2728
+ {
2729
+ "kind": "field",
2730
+ "name": "isInForwardedMessage",
2731
+ "type": {
2732
+ "text": "boolean"
2733
+ },
2734
+ "privacy": "public",
2735
+ "default": "false"
2736
+ },
2737
+ {
2738
+ "kind": "method",
2739
+ "name": "checkType",
2740
+ "privacy": "public"
2741
+ },
2742
+ {
2743
+ "kind": "method",
2744
+ "name": "checkParentElement",
2745
+ "privacy": "public"
2746
+ },
2747
+ {
2748
+ "kind": "method",
2749
+ "name": "handleButtonClick",
2750
+ "privacy": "protected"
2751
+ }
2752
+ ],
2753
+ "attributes": [
2754
+ {
2755
+ "name": "emoji",
2756
+ "type": {
2757
+ "text": "string"
2758
+ },
2759
+ "description": "The emoji URL to use in the button.",
2760
+ "fieldName": "emoji"
2761
+ },
2762
+ {
2763
+ "name": "emoji-name",
2764
+ "type": {
2765
+ "text": "string"
2766
+ },
2767
+ "default": "'emoji'",
2768
+ "description": "The name of the emoji used in the button.",
2769
+ "fieldName": "emojiName"
2770
+ },
2771
+ {
2772
+ "name": "url",
2773
+ "type": {
2774
+ "text": "string"
2775
+ },
2776
+ "description": "The URL for the button. Setting this will force the button type to be `secondary`.",
2777
+ "fieldName": "url"
2778
+ },
2779
+ {
2780
+ "name": "disabled",
2781
+ "type": {
2782
+ "text": "boolean"
2783
+ },
2784
+ "default": "false",
2785
+ "description": "Whether to show the button as disabled.",
2786
+ "fieldName": "disabled"
2787
+ },
2788
+ {
2789
+ "name": "type",
2790
+ "type": {
2791
+ "text": "'destructive' | 'premium' | 'primary' | 'secondary' | 'success'"
2792
+ },
2793
+ "default": "'secondary'",
2794
+ "description": "The type of button this is, this will change the color of the button.\nValid values: `primary`, `secondary`, `success`, `destructive`.",
2795
+ "fieldName": "type"
2796
+ },
2797
+ {
2798
+ "name": "modal-id",
2799
+ "type": {
2800
+ "text": "string"
2801
+ },
2802
+ "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.",
2803
+ "fieldName": "modalId"
2804
+ },
2805
+ {
2806
+ "name": "small",
2807
+ "type": {
2808
+ "text": "boolean"
2809
+ },
2810
+ "default": "false",
2811
+ "fieldName": "small"
2812
+ }
2813
+ ],
2814
+ "superclass": {
2815
+ "name": "LitElement",
2816
+ "package": "lit"
2817
+ },
2818
+ "tagName": "discord-button",
2819
+ "customElement": true
2820
+ }
2821
+ ],
2822
+ "exports": [
2823
+ {
2824
+ "kind": "js",
2825
+ "name": "DiscordButton",
2826
+ "declaration": {
2827
+ "name": "DiscordButton",
2828
+ "module": "src/components/discord-button/DiscordButton.ts"
2829
+ }
2830
+ },
2831
+ {
2832
+ "kind": "custom-element-definition",
2833
+ "name": "discord-button",
2834
+ "declaration": {
2835
+ "name": "DiscordButton",
2836
+ "module": "src/components/discord-button/DiscordButton.ts"
2837
+ }
2838
+ }
2839
+ ]
2840
+ },
2841
+ {
2842
+ "kind": "javascript-module",
2843
+ "path": "src/components/discord-channel-select-menu-option/DiscordChannelSelectMenuOption.ts",
2844
+ "declarations": [
2845
+ {
2846
+ "kind": "variable",
2847
+ "name": "channelIcon",
2848
+ "type": {
2849
+ "text": "Record<number | string, { normal: TemplateResult; private?: TemplateResult }>"
2850
+ },
2851
+ "default": "{ '0': { // Guild Text normal: html` <svg aria-hidden=\"true\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"> <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10.99 3.16A1 1 0 1 0 9 2.84L8.15 8H4a1 1 0 0 0 0 2h3.82l-.67 4H3a1 1 0 1 0 0 2h3.82l-.8 4.84a1 1 0 0 0 1.97.32L8.85 16h4.97l-.8 4.84a1 1 0 0 0 1.97.32l.86-5.16H20a1 1 0 1 0 0-2h-3.82l.67-4H21a1 1 0 1 0 0-2h-3.82l.8-4.84a1 1 0 1 0-1.97-.32L15.15 8h-4.97l.8-4.84ZM14.15 14l.67-4H9.85l-.67 4h4.97Z\" clip-rule=\"evenodd\" class=\"\" ></path> </svg> `, private: html` <svg aria-hidden=\"true\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"> <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M16 4h.5v-.5a2.5 2.5 0 0 1 5 0V4h.5a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1Zm4-.5V4h-2v-.5a1 1 0 1 1 2 0Z\" clip-rule=\"evenodd\" class=\"\" ></path> <path fill=\"currentColor\" d=\"M12.5 8c.28 0 .5.22.5.5V9c0 .1 0 .2.02.31.03.34-.21.69-.56.69H9.85l-.67 4h4.97l.28-1.68c.06-.34.44-.52.77-.43a3 3 0 0 0 .8.11c.27 0 .47.24.43.5l-.25 1.5H20a1 1 0 1 1 0 2h-4.15l-.86 5.16a1 1 0 0 1-1.98-.32l.8-4.84H8.86l-.86 5.16A1 1 0 0 1 6 20.84L6.82 16H3a1 1 0 1 1 0-2h4.15l.67-4H4a1 1 0 1 1 0-2h4.15l.86-5.16a1 1 0 1 1 1.98.32L10.19 8h2.31Z\" class=\"\" ></path> </svg> ` }, '2': { // Guild Voice normal: html`<svg aria-hidden=\"true\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"> <path fill=\"currentColor\" d=\"M12 3a1 1 0 0 0-1-1h-.06a1 1 0 0 0-.74.32L5.92 7H3a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h2.92l4.28 4.68a1 1 0 0 0 .74.32H11a1 1 0 0 0 1-1V3ZM15.1 20.75c-.58.14-1.1-.33-1.1-.92v-.03c0-.5.37-.92.85-1.05a7 7 0 0 0 0-13.5A1.11 1.11 0 0 1 14 4.2v-.03c0-.6.52-1.06 1.1-.92a9 9 0 0 1 0 17.5Z\" class=\"\" ></path> <path fill=\"currentColor\" d=\"M15.16 16.51c-.57.28-1.16-.2-1.16-.83v-.14c0-.43.28-.8.63-1.02a3 3 0 0 0 0-5.04c-.35-.23-.63-.6-.63-1.02v-.14c0-.63.59-1.1 1.16-.83a5 5 0 0 1 0 9.02Z\" class=\"\" ></path> </svg>`, private: html` <svg aria-hidden=\"true\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"> <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M16 4h.5v-.5a2.5 2.5 0 0 1 5 0V4h.5a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1Zm4-.5V4h-2v-.5a1 1 0 1 1 2 0Z\" clip-rule=\"evenodd\" class=\"\" ></path> <path fill=\"currentColor\" d=\"M11 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1h-.06a1 1 0 0 1-.74-.32L5.92 17H3a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1h2.92l4.28-4.68a1 1 0 0 1 .74-.32H11ZM20.5 12c-.28 0-.5.22-.52.5a7 7 0 0 1-5.13 6.25c-.48.13-.85.55-.85 1.05v.03c0 .6.52 1.06 1.1.92a9 9 0 0 0 6.89-8.25.48.48 0 0 0-.49-.5h-1ZM16.5 12c-.28 0-.5.23-.54.5a3 3 0 0 1-1.33 2.02c-.35.23-.63.6-.63 1.02v.14c0 .63.59 1.1 1.16.83a5 5 0 0 0 2.82-4.01c.02-.28-.2-.5-.48-.5h-1Z\" class=\"\" ></path> </svg> ` }, '4': { // Guild Category normal: html`<svg aria-hidden=\"true\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"> <path fill=\"currentColor\" d=\"M2 5a3 3 0 0 1 3-3h3.93a2 2 0 0 1 1.66.9L12 5h7a3 3 0 0 1 3 3v11a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V5Z\" class=\"\" ></path> </svg>` }, '5': { // Guild Announcement normal: html` <svg aria-hidden=\"true\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"> <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M19.56 2a3 3 0 0 0-2.46 1.28 3.85 3.85 0 0 1-1.86 1.42l-8.9 3.18a.5.5 0 0 0-.34.47v10.09a3 3 0 0 0 2.27 2.9l.62.16c1.57.4 3.15-.56 3.55-2.12a.92.92 0 0 1 1.23-.63l2.36.94c.42.27.79.62 1.07 1.03A3 3 0 0 0 19.56 22h.94c.83 0 1.5-.67 1.5-1.5v-17c0-.83-.67-1.5-1.5-1.5h-.94Zm-8.53 15.8L8 16.7v1.73a1 1 0 0 0 .76.97l.62.15c.5.13 1-.17 1.12-.67.1-.41.29-.78.53-1.1Z\" clip-rule=\"evenodd\" class=\"\" ></path> <path fill=\"currentColor\" d=\"M2 10c0-1.1.9-2 2-2h.5c.28 0 .5.22.5.5v7a.5.5 0 0 1-.5.5H4a2 2 0 0 1-2-2v-4Z\" class=\"\"></path> </svg> ` }, '15': { // Guild Forum normal: html`<svg aria-hidden=\"true\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"> <path fill=\"currentColor\" d=\"M18.91 12.98a5.45 5.45 0 0 1 2.18 6.2c-.1.33-.09.68.1.96l.83 1.32a1 1 0 0 1-.84 1.54h-5.5A5.6 5.6 0 0 1 10 17.5a5.6 5.6 0 0 1 5.68-5.5c1.2 0 2.32.36 3.23.98Z\" class=\"\" ></path> <path fill=\"currentColor\" d=\"M19.24 10.86c.32.16.72-.02.74-.38L20 10c0-4.42-4.03-8-9-8s-9 3.58-9 8c0 1.5.47 2.91 1.28 4.11.14.21.12.49-.06.67l-1.51 1.51A1 1 0 0 0 2.4 18h5.1a.5.5 0 0 0 .49-.5c0-4.2 3.5-7.5 7.68-7.5 1.28 0 2.5.3 3.56.86Z\" class=\"\" ></path> </svg>` }, '16': { // Guild Media normal: html`<svg aria-hidden=\"true\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" width=\"24\" height=\"24\" viewBox=\"0 0 64 64\"> <path fill=\"currentColor\" d=\"M56 50.6667V13.3333C56 10.4 53.6 8 50.6667 8H13.3333C10.4 8 8 10.4 8 13.3333V50.6667C8 53.6 10.4 56 13.3333 56H50.6667C53.6 56 56 53.6 56 50.6667ZM22.6667 36L29.3333 44.0267L38.6667 32L50.6667 48H13.3333L22.6667 36Z\" /> </svg>` } }"
2852
+ },
2853
+ {
2854
+ "kind": "class",
2855
+ "description": "",
2856
+ "name": "DiscordChannelSelectMenuOption",
2857
+ "members": [
2858
+ {
2859
+ "kind": "field",
2860
+ "name": "identifier",
2861
+ "type": {
2862
+ "text": "string"
2863
+ },
2864
+ "privacy": "public",
2865
+ "attribute": "identifier",
2866
+ "reflects": true
2867
+ },
2868
+ {
2869
+ "kind": "field",
2870
+ "name": "name",
2871
+ "type": {
2872
+ "text": "string"
2873
+ },
2874
+ "privacy": "public",
2875
+ "attribute": "name",
2253
2876
  "reflects": true
2254
2877
  },
2255
2878
  {
@@ -2557,7 +3180,7 @@
2557
3180
  "name": "LitElement",
2558
3181
  "package": "lit"
2559
3182
  },
2560
- "tagName": "discord-code",
3183
+ "tagName": "discord-white-space",
2561
3184
  "customElement": true
2562
3185
  }
2563
3186
  ],
@@ -2719,7 +3342,7 @@
2719
3342
  "text": "string"
2720
3343
  },
2721
3344
  "privacy": "public",
2722
- "description": "The message author's primary role color.\r\nCan be any [CSS color value](https://www.w3schools.com/cssref/css_colors_legal.asp).",
3345
+ "description": "The message author's primary role color.\nCan be any [CSS color value](https://www.w3schools.com/cssref/css_colors_legal.asp).",
2723
3346
  "attribute": "role-color"
2724
3347
  },
2725
3348
  {
@@ -2956,7 +3579,7 @@
2956
3579
  "type": {
2957
3580
  "text": "string"
2958
3581
  },
2959
- "description": "The message author's primary role color.\r\nCan be any [CSS color value](https://www.w3schools.com/cssref/css_colors_legal.asp).",
3582
+ "description": "The message author's primary role color.\nCan be any [CSS color value](https://www.w3schools.com/cssref/css_colors_legal.asp).",
2960
3583
  "fieldName": "roleColor"
2961
3584
  },
2962
3585
  {
@@ -3222,7 +3845,7 @@
3222
3845
  "text": "string"
3223
3846
  },
3224
3847
  "privacy": "public",
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).",
3848
+ "description": "The color to use for the container's left border.\nCan be any [CSS color value](https://www.w3schools.com/cssref/css_colors_legal.asp).",
3226
3849
  "attribute": "accent-color",
3227
3850
  "reflects": true
3228
3851
  },
@@ -3264,7 +3887,7 @@
3264
3887
  "type": {
3265
3888
  "text": "string"
3266
3889
  },
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).",
3890
+ "description": "The color to use for the container's left border.\nCan be any [CSS color value](https://www.w3schools.com/cssref/css_colors_legal.asp).",
3268
3891
  "fieldName": "accentColor"
3269
3892
  },
3270
3893
  {
@@ -3356,7 +3979,7 @@
3356
3979
  },
3357
3980
  "privacy": "public",
3358
3981
  "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."
3982
+ "description": "A map of emoji names and their data DiscordCustomEmoji.name| name.\n\nThis should be keyed as `{ key: { emojiData } }` wherein `key`\nshould occur in the DiscordCustomEmoji.name| name.\n\nBy default this component will use the global emojis from\ngetGlobalEmojiUrl, however on SSR frameworks like Nuxt 3 global config doesn't\nwork so we provide this as an alternative method."
3360
3983
  },
3361
3984
  {
3362
3985
  "kind": "field",
@@ -3365,7 +3988,7 @@
3365
3988
  "text": "boolean"
3366
3989
  },
3367
3990
  "privacy": "public",
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.",
3991
+ "description": "Determines whether or not the emoji is used in an embed, or a message.\nIf it is used in an embed, the sizing is adjusted accordingly.",
3369
3992
  "attribute": "embed-emoji"
3370
3993
  },
3371
3994
  {
@@ -3375,7 +3998,7 @@
3375
3998
  "text": "boolean"
3376
3999
  },
3377
4000
  "privacy": "public",
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.",
4001
+ "description": "Determines whether or not the emoji is of \"jumbo size\",\nThis means it is larger and is what Discord uses when the message exclusively has emojis,\nup to a maximum of 30 emojis.",
3379
4002
  "attribute": "jumbo"
3380
4003
  }
3381
4004
  ],
@@ -3401,7 +4024,7 @@
3401
4024
  "type": {
3402
4025
  "text": "boolean"
3403
4026
  },
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.",
4027
+ "description": "Determines whether or not the emoji is used in an embed, or a message.\nIf it is used in an embed, the sizing is adjusted accordingly.",
3405
4028
  "fieldName": "embedEmoji"
3406
4029
  },
3407
4030
  {
@@ -3409,7 +4032,7 @@
3409
4032
  "type": {
3410
4033
  "text": "boolean"
3411
4034
  },
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.",
4035
+ "description": "Determines whether or not the emoji is of \"jumbo size\",\nThis means it is larger and is what Discord uses when the message exclusively has emojis,\nup to a maximum of 30 emojis.",
3413
4036
  "fieldName": "jumbo"
3414
4037
  }
3415
4038
  ],
@@ -3456,7 +4079,7 @@
3456
4079
  "text": "string"
3457
4080
  },
3458
4081
  "privacy": "public",
3459
- "description": "The color to use for the embed's left border.\r\nCan be any [CSS color value](https://www.w3schools.com/cssref/css_colors_legal.asp).",
4082
+ "description": "The color to use for the embed's left border.\nCan be any [CSS color value](https://www.w3schools.com/cssref/css_colors_legal.asp).",
3460
4083
  "attribute": "color"
3461
4084
  },
3462
4085
  {
@@ -3507,7 +4130,7 @@
3507
4130
  },
3508
4131
  "privacy": "public",
3509
4132
  "default": "{}",
3510
- "description": "An emoji that is prefixed to DiscordEmbed.embedTitle| embedTitle.\r\n\r\nThis should be keyed as `{ key: { emojiData } }` wherein `key`\r\nshould occur in the DiscordEmbed.embedTitle| embedTitle.\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."
4133
+ "description": "An emoji that is prefixed to DiscordEmbed.embedTitle| embedTitle.\n\nThis should be keyed as `{ key: { emojiData } }` wherein `key`\nshould occur in the DiscordEmbed.embedTitle| embedTitle.\n\nBy default this component will use the global emojis from\ngetGlobalEmojiUrl, however on SSR frameworks like Nuxt 3 global config doesn't\nwork so we provide this as an alternative method."
3511
4134
  },
3512
4135
  {
3513
4136
  "kind": "field",
@@ -3614,7 +4237,7 @@
3614
4237
  "type": {
3615
4238
  "text": "string"
3616
4239
  },
3617
- "description": "The color to use for the embed's left border.\r\nCan be any [CSS color value](https://www.w3schools.com/cssref/css_colors_legal.asp).",
4240
+ "description": "The color to use for the embed's left border.\nCan be any [CSS color value](https://www.w3schools.com/cssref/css_colors_legal.asp).",
3618
4241
  "fieldName": "color"
3619
4242
  },
3620
4243
  {
@@ -3810,7 +4433,7 @@
3810
4433
  },
3811
4434
  "privacy": "public",
3812
4435
  "default": "{}",
3813
- "description": "An emoji that is prefixed to DiscordEmbedField.fieldTitle| fieldTitle.\r\n\r\nThis should be keyed as `{ key: { emojiData } }` wherein `key`\r\nshould occur in the DiscordEmbedField.fieldTitle| fieldTitle.\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."
4436
+ "description": "An emoji that is prefixed to DiscordEmbedField.fieldTitle| fieldTitle.\n\nThis should be keyed as `{ key: { emojiData } }` wherein `key`\nshould occur in the DiscordEmbedField.fieldTitle| fieldTitle.\n\nBy default this component will use the global emojis from\ngetGlobalEmojiUrl, however on SSR frameworks like Nuxt 3 global config doesn't\nwork so we provide this as an alternative method."
3814
4437
  },
3815
4438
  {
3816
4439
  "kind": "field",
@@ -3938,41 +4561,77 @@
3938
4561
  },
3939
4562
  {
3940
4563
  "kind": "javascript-module",
3941
- "path": "src/components/discord-embed-footer/DiscordEmbedFooter.ts",
4564
+ "path": "src/components/discord-embed-fields/DiscordEmbedFields.ts",
3942
4565
  "declarations": [
3943
4566
  {
3944
4567
  "kind": "class",
3945
4568
  "description": "",
3946
- "name": "DiscordEmbedFooter",
3947
- "members": [
3948
- {
3949
- "kind": "field",
3950
- "name": "footerImage",
3951
- "type": {
3952
- "text": "string"
3953
- },
3954
- "privacy": "public",
3955
- "description": "The image to use next to the footer text.",
3956
- "attribute": "footer-image"
3957
- },
3958
- {
3959
- "kind": "field",
3960
- "name": "footerImageAlt",
3961
- "type": {
3962
- "text": "string"
3963
- },
3964
- "privacy": "public",
3965
- "description": "The alt attribute to use for the DiscordEmbedFooter.footerImage",
3966
- "attribute": "footer-image-alt"
3967
- },
3968
- {
3969
- "kind": "field",
3970
- "name": "timestamp",
3971
- "type": {
3972
- "text": "DiscordTimestamp"
3973
- },
3974
- "privacy": "public",
3975
- "description": "The timestamp to use for the message date. When supplying a string, the format must be `01/31/2000`.",
4569
+ "name": "DiscordEmbedFields",
4570
+ "members": [],
4571
+ "superclass": {
4572
+ "name": "LitElement",
4573
+ "package": "lit"
4574
+ },
4575
+ "tagName": "discord-embed-fields",
4576
+ "customElement": true
4577
+ }
4578
+ ],
4579
+ "exports": [
4580
+ {
4581
+ "kind": "js",
4582
+ "name": "DiscordEmbedFields",
4583
+ "declaration": {
4584
+ "name": "DiscordEmbedFields",
4585
+ "module": "src/components/discord-embed-fields/DiscordEmbedFields.ts"
4586
+ }
4587
+ },
4588
+ {
4589
+ "kind": "custom-element-definition",
4590
+ "name": "discord-embed-fields",
4591
+ "declaration": {
4592
+ "name": "DiscordEmbedFields",
4593
+ "module": "src/components/discord-embed-fields/DiscordEmbedFields.ts"
4594
+ }
4595
+ }
4596
+ ]
4597
+ },
4598
+ {
4599
+ "kind": "javascript-module",
4600
+ "path": "src/components/discord-embed-footer/DiscordEmbedFooter.ts",
4601
+ "declarations": [
4602
+ {
4603
+ "kind": "class",
4604
+ "description": "",
4605
+ "name": "DiscordEmbedFooter",
4606
+ "members": [
4607
+ {
4608
+ "kind": "field",
4609
+ "name": "footerImage",
4610
+ "type": {
4611
+ "text": "string"
4612
+ },
4613
+ "privacy": "public",
4614
+ "description": "The image to use next to the footer text.",
4615
+ "attribute": "footer-image"
4616
+ },
4617
+ {
4618
+ "kind": "field",
4619
+ "name": "footerImageAlt",
4620
+ "type": {
4621
+ "text": "string"
4622
+ },
4623
+ "privacy": "public",
4624
+ "description": "The alt attribute to use for the DiscordEmbedFooter.footerImage",
4625
+ "attribute": "footer-image-alt"
4626
+ },
4627
+ {
4628
+ "kind": "field",
4629
+ "name": "timestamp",
4630
+ "type": {
4631
+ "text": "DiscordTimestamp"
4632
+ },
4633
+ "privacy": "public",
4634
+ "description": "The timestamp to use for the message date. When supplying a string, the format must be `01/31/2000`.",
3976
4635
  "attribute": "timestamp",
3977
4636
  "reflects": true
3978
4637
  },
@@ -4068,42 +4727,6 @@
4068
4727
  }
4069
4728
  ]
4070
4729
  },
4071
- {
4072
- "kind": "javascript-module",
4073
- "path": "src/components/discord-embed-fields/DiscordEmbedFields.ts",
4074
- "declarations": [
4075
- {
4076
- "kind": "class",
4077
- "description": "",
4078
- "name": "DiscordEmbedFields",
4079
- "members": [],
4080
- "superclass": {
4081
- "name": "LitElement",
4082
- "package": "lit"
4083
- },
4084
- "tagName": "discord-embed-fields",
4085
- "customElement": true
4086
- }
4087
- ],
4088
- "exports": [
4089
- {
4090
- "kind": "js",
4091
- "name": "DiscordEmbedFields",
4092
- "declaration": {
4093
- "name": "DiscordEmbedFields",
4094
- "module": "src/components/discord-embed-fields/DiscordEmbedFields.ts"
4095
- }
4096
- },
4097
- {
4098
- "kind": "custom-element-definition",
4099
- "name": "discord-embed-fields",
4100
- "declaration": {
4101
- "name": "DiscordEmbedFields",
4102
- "module": "src/components/discord-embed-fields/DiscordEmbedFields.ts"
4103
- }
4104
- }
4105
- ]
4106
- },
4107
4730
  {
4108
4731
  "kind": "javascript-module",
4109
4732
  "path": "src/components/discord-file-attachment/DiscordFileAttachment.ts",
@@ -4160,7 +4783,7 @@
4160
4783
  "text": "string"
4161
4784
  },
4162
4785
  "privacy": "public",
4163
- "description": "The `<a>` tag https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#rel | `rel`,\r\nthis is passed to `<discord-link>`",
4786
+ "description": "The `<a>` tag https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#rel | `rel`,\nthis is passed to `<discord-link>`",
4164
4787
  "attribute": "rel"
4165
4788
  },
4166
4789
  {
@@ -4170,7 +4793,7 @@
4170
4793
  "text": "'_blank' | '_parent' | '_self' | '_top'"
4171
4794
  },
4172
4795
  "privacy": "public",
4173
- "description": "The `<a>` tag https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#target | `target`,\r\nthis is passed to `<discord-link>`",
4796
+ "description": "The `<a>` tag https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#target | `target`,\nthis is passed to `<discord-link>`",
4174
4797
  "attribute": "target"
4175
4798
  },
4176
4799
  {
@@ -4180,7 +4803,7 @@
4180
4803
  "text": "string"
4181
4804
  },
4182
4805
  "privacy": "public",
4183
- "description": "The `<a>` tag https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#type | `type`,\r\nthis is passed to `<discord-link>`",
4806
+ "description": "The `<a>` tag https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#type | `type`,\nthis is passed to `<discord-link>`",
4184
4807
  "attribute": "type"
4185
4808
  },
4186
4809
  {
@@ -4244,7 +4867,7 @@
4244
4867
  "type": {
4245
4868
  "text": "string"
4246
4869
  },
4247
- "description": "The `<a>` tag https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#rel | `rel`,\r\nthis is passed to `<discord-link>`",
4870
+ "description": "The `<a>` tag https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#rel | `rel`,\nthis is passed to `<discord-link>`",
4248
4871
  "fieldName": "rel"
4249
4872
  },
4250
4873
  {
@@ -4252,7 +4875,7 @@
4252
4875
  "type": {
4253
4876
  "text": "'_blank' | '_parent' | '_self' | '_top'"
4254
4877
  },
4255
- "description": "The `<a>` tag https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#target | `target`,\r\nthis is passed to `<discord-link>`",
4878
+ "description": "The `<a>` tag https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#target | `target`,\nthis is passed to `<discord-link>`",
4256
4879
  "fieldName": "target"
4257
4880
  },
4258
4881
  {
@@ -4260,7 +4883,7 @@
4260
4883
  "type": {
4261
4884
  "text": "string"
4262
4885
  },
4263
- "description": "The `<a>` tag https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#type | `type`,\r\nthis is passed to `<discord-link>`",
4886
+ "description": "The `<a>` tag https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#type | `type`,\nthis is passed to `<discord-link>`",
4264
4887
  "fieldName": "type"
4265
4888
  },
4266
4889
  {
@@ -4490,7 +5113,7 @@
4490
5113
  },
4491
5114
  "privacy": "public",
4492
5115
  "default": "1",
4493
- "description": "The header level, this should be a number between 1 and 3 (inclusive).\r\nIf a number outside of this range is provided, an error is thrown.",
5116
+ "description": "The header level, this should be a number between 1 and 3 (inclusive).\nIf a number outside of this range is provided, an error is thrown.",
4494
5117
  "attribute": "level",
4495
5118
  "reflects": true
4496
5119
  },
@@ -4517,7 +5140,7 @@
4517
5140
  "text": "1 | 2 | 3"
4518
5141
  },
4519
5142
  "default": "1",
4520
- "description": "The header level, this should be a number between 1 and 3 (inclusive).\r\nIf a number outside of this range is provided, an error is thrown.",
5143
+ "description": "The header level, this should be a number between 1 and 3 (inclusive).\nIf a number outside of this range is provided, an error is thrown.",
4521
5144
  "fieldName": "level"
4522
5145
  }
4523
5146
  ],
@@ -4610,7 +5233,7 @@
4610
5233
  },
4611
5234
  "privacy": "public",
4612
5235
  "default": "false",
4613
- "description": "Indicates that you intend to use a custom image element,\r\nuseful if you want to use something like\r\nhttps://nextjs.org/docs/pages/api-reference/components/image | `next/image`\r\n\r\nOnce this property is set, use the child element (default slot) to insert\r\nthe code for the desired image component",
5236
+ "description": "Indicates that you intend to use a custom image element,\nuseful if you want to use something like\nhttps://nextjs.org/docs/pages/api-reference/components/image | `next/image`\n\nOnce this property is set, use the child element (default slot) to insert\nthe code for the desired image component",
4614
5237
  "attribute": "custom-image-element"
4615
5238
  },
4616
5239
  {
@@ -4681,7 +5304,7 @@
4681
5304
  "text": "boolean"
4682
5305
  },
4683
5306
  "default": "false",
4684
- "description": "Indicates that you intend to use a custom image element,\r\nuseful if you want to use something like\r\nhttps://nextjs.org/docs/pages/api-reference/components/image | `next/image`\r\n\r\nOnce this property is set, use the child element (default slot) to insert\r\nthe code for the desired image component",
5307
+ "description": "Indicates that you intend to use a custom image element,\nuseful if you want to use something like\nhttps://nextjs.org/docs/pages/api-reference/components/image | `next/image`\n\nOnce this property is set, use the child element (default slot) to insert\nthe code for the desired image component",
4685
5308
  "fieldName": "customImageElement"
4686
5309
  },
4687
5310
  {
@@ -5089,7 +5712,7 @@
5089
5712
  },
5090
5713
  "privacy": "public",
5091
5714
  "default": "false",
5092
- "description": "Whether the server is verified.\r\nOnly works if `partnered` is `false` or `undefined`.",
5715
+ "description": "Whether the server is verified.\nOnly works if `partnered` is `false` or `undefined`.",
5093
5716
  "attribute": "verified"
5094
5717
  },
5095
5718
  {
@@ -5100,7 +5723,7 @@
5100
5723
  },
5101
5724
  "privacy": "public",
5102
5725
  "default": "false",
5103
- "description": "Whether the server is partnered.\r\nOnly works if `verified` is `false` or `undefined`.",
5726
+ "description": "Whether the server is partnered.\nOnly works if `verified` is `false` or `undefined`.",
5104
5727
  "attribute": "partnered"
5105
5728
  },
5106
5729
  {
@@ -5184,7 +5807,7 @@
5184
5807
  "text": "boolean"
5185
5808
  },
5186
5809
  "default": "false",
5187
- "description": "Whether the server is verified.\r\nOnly works if `partnered` is `false` or `undefined`.",
5810
+ "description": "Whether the server is verified.\nOnly works if `partnered` is `false` or `undefined`.",
5188
5811
  "fieldName": "verified"
5189
5812
  },
5190
5813
  {
@@ -5193,7 +5816,7 @@
5193
5816
  "text": "boolean"
5194
5817
  },
5195
5818
  "default": "false",
5196
- "description": "Whether the server is partnered.\r\nOnly works if `verified` is `false` or `undefined`.",
5819
+ "description": "Whether the server is partnered.\nOnly works if `verified` is `false` or `undefined`.",
5197
5820
  "fieldName": "partnered"
5198
5821
  },
5199
5822
  {
@@ -6136,7 +6759,8 @@
6136
6759
  "type": {
6137
6760
  "text": "DiscordMediaGalleryItem[]"
6138
6761
  },
6139
- "privacy": "public"
6762
+ "privacy": "public",
6763
+ "default": "[]"
6140
6764
  },
6141
6765
  {
6142
6766
  "kind": "method",
@@ -6355,11 +6979,11 @@
6355
6979
  "kind": "field",
6356
6980
  "name": "type",
6357
6981
  "type": {
6358
- "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'"
6982
+ "text": "| 'channel'\n\t\t| 'channels-and-roles'\n\t\t| 'customize-community'\n\t\t| 'forum'\n\t\t| 'locked'\n\t\t| 'role'\n\t\t| 'server-guide'\n\t\t| 'slash'\n\t\t| 'thread'\n\t\t| 'user'\n\t\t| 'voice'"
6359
6983
  },
6360
6984
  "privacy": "public",
6361
6985
  "default": "'user'",
6362
- "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'`",
6986
+ "description": "The type of mention this should be. This will prepend the proper prefix character.\nValid values:\n- `'user'`\n- `'channel'`\n- `'role'`\n- `'voice'`\n- `'locked'`\n- `'thread'`\n- `'forum'`\n- `'slash'`\n- `'server-guide'`\n- `'channels-and-roles'`\n- `'customize-community'`",
6363
6987
  "attribute": "type",
6364
6988
  "reflects": true
6365
6989
  },
@@ -6408,10 +7032,10 @@
6408
7032
  {
6409
7033
  "name": "type",
6410
7034
  "type": {
6411
- "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'"
7035
+ "text": "| 'channel'\n\t\t| 'channels-and-roles'\n\t\t| 'customize-community'\n\t\t| 'forum'\n\t\t| 'locked'\n\t\t| 'role'\n\t\t| 'server-guide'\n\t\t| 'slash'\n\t\t| 'thread'\n\t\t| 'user'\n\t\t| 'voice'"
6412
7036
  },
6413
7037
  "default": "'user'",
6414
- "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'`",
7038
+ "description": "The type of mention this should be. This will prepend the proper prefix character.\nValid values:\n- `'user'`\n- `'channel'`\n- `'role'`\n- `'voice'`\n- `'locked'`\n- `'thread'`\n- `'forum'`\n- `'slash'`\n- `'server-guide'`\n- `'channels-and-roles'`\n- `'customize-community'`",
6415
7039
  "fieldName": "type"
6416
7040
  },
6417
7041
  {
@@ -6791,7 +7415,7 @@
6791
7415
  },
6792
7416
  "privacy": "public",
6793
7417
  "default": "false",
6794
- "description": "Whether the message author is a bot or not.\r\nOnly works if `server` and `officialApp` is `false` or `undefined`.",
7418
+ "description": "Whether the message author is a bot or not.\nOnly works if `server` and `officialApp` is `false` or `undefined`.",
6795
7419
  "attribute": "bot"
6796
7420
  },
6797
7421
  {
@@ -6802,7 +7426,7 @@
6802
7426
  },
6803
7427
  "privacy": "public",
6804
7428
  "default": "false",
6805
- "description": "Whether the message author is a server crosspost webhook or not.\r\nOnly works if `bot` and `officialApp` is `false` or `undefined`.",
7429
+ "description": "Whether the message author is a server crosspost webhook or not.\nOnly works if `bot` and `officialApp` is `false` or `undefined`.",
6806
7430
  "attribute": "server"
6807
7431
  },
6808
7432
  {
@@ -6813,7 +7437,7 @@
6813
7437
  },
6814
7438
  "privacy": "public",
6815
7439
  "default": "false",
6816
- "description": "Whether the message author is official app.\r\nOnly works if `bot` and `server` is `falns`",
7440
+ "description": "Whether the message author is official app.\nOnly works if `bot` and `server` is `falns`",
6817
7441
  "attribute": "official-app"
6818
7442
  },
6819
7443
  {
@@ -6824,7 +7448,7 @@
6824
7448
  },
6825
7449
  "privacy": "public",
6826
7450
  "default": "false",
6827
- "description": "Whether the bot is verified or not.\r\nOnly works if `bot` is `true`",
7451
+ "description": "Whether the bot is verified or not.\nOnly works if `bot` is `true`",
6828
7452
  "attribute": "verified"
6829
7453
  },
6830
7454
  {
@@ -6945,7 +7569,7 @@
6945
7569
  },
6946
7570
  "privacy": "public",
6947
7571
  "default": "new Date()",
6948
- "description": "The timestamp to use for the message date.\r\n\r\nif DiscordMessage.messageBodyOnly is `true`, this will be shown in the gutter before the message on hover.",
7572
+ "description": "The timestamp to use for the message date.\n\nif DiscordMessage.messageBodyOnly is `true`, this will be shown in the gutter before the message on hover.",
6949
7573
  "attribute": "timestamp"
6950
7574
  },
6951
7575
  {
@@ -7107,7 +7731,7 @@
7107
7731
  "text": "boolean"
7108
7732
  },
7109
7733
  "default": "false",
7110
- "description": "Whether the message author is a bot or not.\r\nOnly works if `server` and `officialApp` is `false` or `undefined`.",
7734
+ "description": "Whether the message author is a bot or not.\nOnly works if `server` and `officialApp` is `false` or `undefined`.",
7111
7735
  "fieldName": "bot"
7112
7736
  },
7113
7737
  {
@@ -7116,7 +7740,7 @@
7116
7740
  "text": "boolean"
7117
7741
  },
7118
7742
  "default": "false",
7119
- "description": "Whether the message author is a server crosspost webhook or not.\r\nOnly works if `bot` and `officialApp` is `false` or `undefined`.",
7743
+ "description": "Whether the message author is a server crosspost webhook or not.\nOnly works if `bot` and `officialApp` is `false` or `undefined`.",
7120
7744
  "fieldName": "server"
7121
7745
  },
7122
7746
  {
@@ -7125,7 +7749,7 @@
7125
7749
  "text": "boolean"
7126
7750
  },
7127
7751
  "default": "false",
7128
- "description": "Whether the message author is official app.\r\nOnly works if `bot` and `server` is `falns`",
7752
+ "description": "Whether the message author is official app.\nOnly works if `bot` and `server` is `falns`",
7129
7753
  "fieldName": "officialApp"
7130
7754
  },
7131
7755
  {
@@ -7134,7 +7758,7 @@
7134
7758
  "text": "boolean"
7135
7759
  },
7136
7760
  "default": "false",
7137
- "description": "Whether the bot is verified or not.\r\nOnly works if `bot` is `true`",
7761
+ "description": "Whether the bot is verified or not.\nOnly works if `bot` is `true`",
7138
7762
  "fieldName": "verified"
7139
7763
  },
7140
7764
  {
@@ -7231,7 +7855,7 @@
7231
7855
  "text": "DiscordTimestamp"
7232
7856
  },
7233
7857
  "default": "new Date()",
7234
- "description": "The timestamp to use for the message date.\r\n\r\nif DiscordMessage.messageBodyOnly is `true`, this will be shown in the gutter before the message on hover.",
7858
+ "description": "The timestamp to use for the message date.\n\nif DiscordMessage.messageBodyOnly is `true`, this will be shown in the gutter before the message on hover.",
7235
7859
  "fieldName": "timestamp"
7236
7860
  },
7237
7861
  {
@@ -7406,7 +8030,7 @@
7406
8030
  "text": "'forum' | 'locked' | 'text' | 'thread' | 'voice'"
7407
8031
  },
7408
8032
  "privacy": "public",
7409
- "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`.",
8033
+ "description": "The type of channel this should be, this will be displayed above the message and only applies if DiscordMessages.channelName is set.\nValid values are: `text`, `forum`, `locked`, `thread`, and `voice`.",
7410
8034
  "attribute": "channel-type",
7411
8035
  "reflects": true
7412
8036
  },
@@ -7455,7 +8079,7 @@
7455
8079
  "type": {
7456
8080
  "text": "'forum' | 'locked' | 'text' | 'thread' | 'voice'"
7457
8081
  },
7458
- "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`.",
8082
+ "description": "The type of channel this should be, this will be displayed above the message and only applies if DiscordMessages.channelName is set.\nValid values are: `text`, `forum`, `locked`, `thread`, and `voice`.",
7459
8083
  "fieldName": "channelType"
7460
8084
  },
7461
8085
  {
@@ -7764,7 +8388,7 @@
7764
8388
  },
7765
8389
  "privacy": "public",
7766
8390
  "default": "1",
7767
- "description": "The starting number for the ordered list.\r\n\r\nYou can set this to start the list at a specific number",
8391
+ "description": "The starting number for the ordered list.\n\nYou can set this to start the list at a specific number",
7768
8392
  "attribute": "start",
7769
8393
  "reflects": true
7770
8394
  },
@@ -7790,7 +8414,7 @@
7790
8414
  "text": "number"
7791
8415
  },
7792
8416
  "default": "1",
7793
- "description": "The starting number for the ordered list.\r\n\r\nYou can set this to start the list at a specific number",
8417
+ "description": "The starting number for the ordered list.\n\nYou can set this to start the list at a specific number",
7794
8418
  "fieldName": "start"
7795
8419
  }
7796
8420
  ],
@@ -8661,7 +9285,7 @@
8661
9285
  },
8662
9286
  "privacy": "public",
8663
9287
  "default": "false",
8664
- "description": "Whether the message author is a bot or not.\r\nOnly works if `server` and `officialApp` is `false` or `undefined`.",
9288
+ "description": "Whether the message author is a bot or not.\nOnly works if `server` and `officialApp` is `false` or `undefined`.",
8665
9289
  "attribute": "bot"
8666
9290
  },
8667
9291
  {
@@ -8672,7 +9296,7 @@
8672
9296
  },
8673
9297
  "privacy": "public",
8674
9298
  "default": "false",
8675
- "description": "Whether the message author is a server crosspost webhook or not.\r\nOnly works if `bot` and `officialApp` is `false` or `undefined`.",
9299
+ "description": "Whether the message author is a server crosspost webhook or not.\nOnly works if `bot` and `officialApp` is `false` or `undefined`.",
8676
9300
  "attribute": "server"
8677
9301
  },
8678
9302
  {
@@ -8683,7 +9307,7 @@
8683
9307
  },
8684
9308
  "privacy": "public",
8685
9309
  "default": "false",
8686
- "description": "Whether the message author is a server crosspost webhook or not.\r\nOnly works if `bot` and `server` is `false` or `undefined`.",
9310
+ "description": "Whether the message author is a server crosspost webhook or not.\nOnly works if `bot` and `server` is `false` or `undefined`.",
8687
9311
  "attribute": "official-app"
8688
9312
  },
8689
9313
  {
@@ -8705,7 +9329,7 @@
8705
9329
  },
8706
9330
  "privacy": "public",
8707
9331
  "default": "false",
8708
- "description": "Whether the bot is verified or not.\r\nOnly works if `bot` is `true`",
9332
+ "description": "Whether the bot is verified or not.\nOnly works if `bot` is `true`",
8709
9333
  "attribute": "verified"
8710
9334
  },
8711
9335
  {
@@ -8790,7 +9414,7 @@
8790
9414
  },
8791
9415
  "privacy": "public",
8792
9416
  "default": "false",
8793
- "description": "Whether this reply is a deleted message.\r\nWhen set to true, any content inside the tags is ignored as no `slot` is rendered.\r\nThe message will always be `\"Original message was deleted\"`.\r\nFurthermore, the following properties are ignored:\r\n\r\n- DiscordReply.profile| profile\r\n- DiscordReply.author| author\r\n- DiscordReply.avatar| avatar\r\n- DiscordReply.bot| bot\r\n- DiscordReply.server| server\r\n- DiscordReply.op| op\r\n- DiscordReply.verified| verified\r\n- DiscordReply.edited| edited\r\n- DiscordReply.roleColor| roleColor\r\n- DiscordReply.command| command\r\n- DiscordReply.attachment| attachment\r\n- DiscordReply.mentions| mentions\r\n- DiscordReply.clanIcon| clanIcon\r\n- DiscordReply.clanTag| clanTag",
9417
+ "description": "Whether this reply is a deleted message.\nWhen set to true, any content inside the tags is ignored as no `slot` is rendered.\nThe message will always be `\"Original message was deleted\"`.\nFurthermore, the following properties are ignored:\n\n- DiscordReply.profile| profile\n- DiscordReply.author| author\n- DiscordReply.avatar| avatar\n- DiscordReply.bot| bot\n- DiscordReply.server| server\n- DiscordReply.op| op\n- DiscordReply.verified| verified\n- DiscordReply.edited| edited\n- DiscordReply.roleColor| roleColor\n- DiscordReply.command| command\n- DiscordReply.attachment| attachment\n- DiscordReply.mentions| mentions\n- DiscordReply.clanIcon| clanIcon\n- DiscordReply.clanTag| clanTag",
8794
9418
  "attribute": "deleted",
8795
9419
  "reflects": true
8796
9420
  },
@@ -8868,7 +9492,7 @@
8868
9492
  "text": "boolean"
8869
9493
  },
8870
9494
  "default": "false",
8871
- "description": "Whether the message author is a bot or not.\r\nOnly works if `server` and `officialApp` is `false` or `undefined`.",
9495
+ "description": "Whether the message author is a bot or not.\nOnly works if `server` and `officialApp` is `false` or `undefined`.",
8872
9496
  "fieldName": "bot"
8873
9497
  },
8874
9498
  {
@@ -8877,7 +9501,7 @@
8877
9501
  "text": "boolean"
8878
9502
  },
8879
9503
  "default": "false",
8880
- "description": "Whether the message author is a server crosspost webhook or not.\r\nOnly works if `bot` and `officialApp` is `false` or `undefined`.",
9504
+ "description": "Whether the message author is a server crosspost webhook or not.\nOnly works if `bot` and `officialApp` is `false` or `undefined`.",
8881
9505
  "fieldName": "server"
8882
9506
  },
8883
9507
  {
@@ -8886,7 +9510,7 @@
8886
9510
  "text": "boolean"
8887
9511
  },
8888
9512
  "default": "false",
8889
- "description": "Whether the message author is a server crosspost webhook or not.\r\nOnly works if `bot` and `server` is `false` or `undefined`.",
9513
+ "description": "Whether the message author is a server crosspost webhook or not.\nOnly works if `bot` and `server` is `false` or `undefined`.",
8890
9514
  "fieldName": "officialApp"
8891
9515
  },
8892
9516
  {
@@ -8904,7 +9528,7 @@
8904
9528
  "text": "boolean"
8905
9529
  },
8906
9530
  "default": "false",
8907
- "description": "Whether the bot is verified or not.\r\nOnly works if `bot` is `true`",
9531
+ "description": "Whether the bot is verified or not.\nOnly works if `bot` is `true`",
8908
9532
  "fieldName": "verified"
8909
9533
  },
8910
9534
  {
@@ -8973,7 +9597,7 @@
8973
9597
  "text": "boolean"
8974
9598
  },
8975
9599
  "default": "false",
8976
- "description": "Whether this reply is a deleted message.\r\nWhen set to true, any content inside the tags is ignored as no `slot` is rendered.\r\nThe message will always be `\"Original message was deleted\"`.\r\nFurthermore, the following properties are ignored:\r\n\r\n- DiscordReply.profile| profile\r\n- DiscordReply.author| author\r\n- DiscordReply.avatar| avatar\r\n- DiscordReply.bot| bot\r\n- DiscordReply.server| server\r\n- DiscordReply.op| op\r\n- DiscordReply.verified| verified\r\n- DiscordReply.edited| edited\r\n- DiscordReply.roleColor| roleColor\r\n- DiscordReply.command| command\r\n- DiscordReply.attachment| attachment\r\n- DiscordReply.mentions| mentions\r\n- DiscordReply.clanIcon| clanIcon\r\n- DiscordReply.clanTag| clanTag",
9600
+ "description": "Whether this reply is a deleted message.\nWhen set to true, any content inside the tags is ignored as no `slot` is rendered.\nThe message will always be `\"Original message was deleted\"`.\nFurthermore, the following properties are ignored:\n\n- DiscordReply.profile| profile\n- DiscordReply.author| author\n- DiscordReply.avatar| avatar\n- DiscordReply.bot| bot\n- DiscordReply.server| server\n- DiscordReply.op| op\n- DiscordReply.verified| verified\n- DiscordReply.edited| edited\n- DiscordReply.roleColor| roleColor\n- DiscordReply.command| command\n- DiscordReply.attachment| attachment\n- DiscordReply.mentions| mentions\n- DiscordReply.clanIcon| clanIcon\n- DiscordReply.clanTag| clanTag",
8977
9601
  "fieldName": "deleted"
8978
9602
  },
8979
9603
  {
@@ -10272,7 +10896,7 @@
10272
10896
  },
10273
10897
  "privacy": "public",
10274
10898
  "default": "'join'",
10275
- "description": "The type of system message this is, this will change the icon shown.\r\nValid values: `join`, `leave`, `call`, `missed-call`, `boost`, `edit`, `thread`, `pin`, `alert`, `upgrade` and `error`.",
10899
+ "description": "The type of system message this is, this will change the icon shown.\nValid values: `join`, `leave`, `call`, `missed-call`, `boost`, `edit`, `thread`, `pin`, `alert`, `upgrade` and `error`.",
10276
10900
  "attribute": "type",
10277
10901
  "reflects": true
10278
10902
  },
@@ -10332,7 +10956,7 @@
10332
10956
  "text": "'alert' | 'boost' | 'call' | 'edit' | 'error' | 'join' | 'leave' | 'missed-call' | 'pin' | 'thread' | 'upgrade'"
10333
10957
  },
10334
10958
  "default": "'join'",
10335
- "description": "The type of system message this is, this will change the icon shown.\r\nValid values: `join`, `leave`, `call`, `missed-call`, `boost`, `edit`, `thread`, `pin`, `alert`, `upgrade` and `error`.",
10959
+ "description": "The type of system message this is, this will change the icon shown.\nValid values: `join`, `leave`, `call`, `missed-call`, `boost`, `edit`, `thread`, `pin`, `alert`, `upgrade` and `error`.",
10336
10960
  "fieldName": "type"
10337
10961
  },
10338
10962
  {
@@ -10901,105 +11525,6 @@
10901
11525
  }
10902
11526
  ]
10903
11527
  },
10904
- {
10905
- "kind": "javascript-module",
10906
- "path": "src/components/discord-thumbnail/DiscordThumbnail.ts",
10907
- "declarations": [
10908
- {
10909
- "kind": "class",
10910
- "description": "",
10911
- "name": "DiscordThumbnail",
10912
- "members": [
10913
- {
10914
- "kind": "field",
10915
- "name": "media",
10916
- "type": {
10917
- "text": "string"
10918
- },
10919
- "privacy": "public",
10920
- "attribute": "media"
10921
- },
10922
- {
10923
- "kind": "field",
10924
- "name": "description",
10925
- "type": {
10926
- "text": "string"
10927
- },
10928
- "privacy": "public",
10929
- "attribute": "description"
10930
- },
10931
- {
10932
- "kind": "field",
10933
- "name": "spoiler",
10934
- "type": {
10935
- "text": "boolean"
10936
- },
10937
- "privacy": "public",
10938
- "default": "false",
10939
- "attribute": "spoiler",
10940
- "reflects": true
10941
- },
10942
- {
10943
- "kind": "field",
10944
- "name": "isOpen",
10945
- "type": {
10946
- "text": "boolean"
10947
- },
10948
- "privacy": "private",
10949
- "default": "false"
10950
- }
10951
- ],
10952
- "attributes": [
10953
- {
10954
- "name": "media",
10955
- "type": {
10956
- "text": "string"
10957
- },
10958
- "fieldName": "media"
10959
- },
10960
- {
10961
- "name": "description",
10962
- "type": {
10963
- "text": "string"
10964
- },
10965
- "fieldName": "description"
10966
- },
10967
- {
10968
- "name": "spoiler",
10969
- "type": {
10970
- "text": "boolean"
10971
- },
10972
- "default": "false",
10973
- "fieldName": "spoiler"
10974
- }
10975
- ],
10976
- "superclass": {
10977
- "name": "LitElement",
10978
- "package": "lit"
10979
- },
10980
- "tagName": "discord-thumbnail",
10981
- "customElement": true
10982
- }
10983
- ],
10984
- "exports": [
10985
- {
10986
- "kind": "js",
10987
- "name": "DiscordThumbnail",
10988
- "declaration": {
10989
- "name": "DiscordThumbnail",
10990
- "module": "src/components/discord-thumbnail/DiscordThumbnail.ts"
10991
- }
10992
- },
10993
- {
10994
- "kind": "custom-element-definition",
10995
- "name": "discord-thumbnail",
10996
- "declaration": {
10997
- "name": "DiscordThumbnail",
10998
- "module": "src/components/discord-thumbnail/DiscordThumbnail.ts"
10999
- }
11000
- }
11001
- ]
11002
- },
11003
11528
  {
11004
11529
  "kind": "javascript-module",
11005
11530
  "path": "src/components/discord-thread-message/DiscordThreadMessage.ts",
@@ -11048,7 +11573,7 @@
11048
11573
  },
11049
11574
  "privacy": "public",
11050
11575
  "default": "false",
11051
- "description": "Whether the message author is a bot or not.\r\nOnly works if `server` is `false` or `undefined`.",
11576
+ "description": "Whether the message author is a bot or not.\nOnly works if `server` is `false` or `undefined`.",
11052
11577
  "attribute": "bot"
11053
11578
  },
11054
11579
  {
@@ -11059,7 +11584,7 @@
11059
11584
  },
11060
11585
  "privacy": "public",
11061
11586
  "default": "false",
11062
- "description": "Whether the message author is a server crosspost webhook or not.\r\nOnly works if `bot` is `false` or `undefined`.",
11587
+ "description": "Whether the message author is a server crosspost webhook or not.\nOnly works if `bot` is `false` or `undefined`.",
11063
11588
  "attribute": "server"
11064
11589
  },
11065
11590
  {
@@ -11070,7 +11595,7 @@
11070
11595
  },
11071
11596
  "privacy": "public",
11072
11597
  "default": "false",
11073
- "description": "Whether the bot is verified or not.\r\nOnly works if `bot` is `true`",
11598
+ "description": "Whether the bot is verified or not.\nOnly works if `bot` is `true`",
11074
11599
  "attribute": "verified"
11075
11600
  },
11076
11601
  {
@@ -11167,7 +11692,7 @@
11167
11692
  "text": "boolean"
11168
11693
  },
11169
11694
  "default": "false",
11170
- "description": "Whether the message author is a bot or not.\r\nOnly works if `server` is `false` or `undefined`.",
11695
+ "description": "Whether the message author is a bot or not.\nOnly works if `server` is `false` or `undefined`.",
11171
11696
  "fieldName": "bot"
11172
11697
  },
11173
11698
  {
@@ -11176,7 +11701,7 @@
11176
11701
  "text": "boolean"
11177
11702
  },
11178
11703
  "default": "false",
11179
- "description": "Whether the message author is a server crosspost webhook or not.\r\nOnly works if `bot` is `false` or `undefined`.",
11704
+ "description": "Whether the message author is a server crosspost webhook or not.\nOnly works if `bot` is `false` or `undefined`.",
11180
11705
  "fieldName": "server"
11181
11706
  },
11182
11707
  {
@@ -11185,7 +11710,7 @@
11185
11710
  "text": "boolean"
11186
11711
  },
11187
11712
  "default": "false",
11188
- "description": "Whether the bot is verified or not.\r\nOnly works if `bot` is `true`",
11713
+ "description": "Whether the bot is verified or not.\nOnly works if `bot` is `true`",
11189
11714
  "fieldName": "verified"
11190
11715
  },
11191
11716
  {
@@ -11252,64 +11777,163 @@
11252
11777
  },
11253
11778
  {
11254
11779
  "kind": "javascript-module",
11255
- "path": "src/components/discord-time/DiscordTime.ts",
11780
+ "path": "src/components/discord-thumbnail/DiscordThumbnail.ts",
11256
11781
  "declarations": [
11257
11782
  {
11258
11783
  "kind": "class",
11259
11784
  "description": "",
11260
- "name": "DiscordTime",
11785
+ "name": "DiscordThumbnail",
11261
11786
  "members": [
11262
11787
  {
11263
11788
  "kind": "field",
11264
- "name": "timestamp",
11789
+ "name": "media",
11265
11790
  "type": {
11266
- "text": "number"
11791
+ "text": "string"
11267
11792
  },
11268
11793
  "privacy": "public",
11269
- "attribute": "timestamp",
11270
- "reflects": true
11794
+ "attribute": "media"
11271
11795
  },
11272
11796
  {
11273
11797
  "kind": "field",
11274
- "name": "baseNow",
11798
+ "name": "description",
11275
11799
  "type": {
11276
- "text": "number | undefined"
11800
+ "text": "string"
11277
11801
  },
11278
11802
  "privacy": "public",
11279
- "attribute": "baseNow",
11280
- "reflects": true
11803
+ "attribute": "description"
11281
11804
  },
11282
11805
  {
11283
11806
  "kind": "field",
11284
- "name": "format",
11807
+ "name": "spoiler",
11285
11808
  "type": {
11286
- "text": "keyof typeof DATE_TYPE_FORMATS"
11809
+ "text": "boolean"
11287
11810
  },
11288
11811
  "privacy": "public",
11289
- "default": "'t'",
11290
- "attribute": "format",
11812
+ "default": "false",
11813
+ "attribute": "spoiler",
11291
11814
  "reflects": true
11292
11815
  },
11293
11816
  {
11294
11817
  "kind": "field",
11295
- "name": "timeout",
11818
+ "name": "isOpen",
11296
11819
  "type": {
11297
- "text": "number | undefined"
11820
+ "text": "boolean"
11298
11821
  },
11299
- "privacy": "private"
11822
+ "privacy": "private",
11823
+ "default": "false"
11824
+ }
11825
+ ],
11826
+ "attributes": [
11827
+ {
11828
+ "name": "media",
11829
+ "type": {
11830
+ "text": "string"
11831
+ },
11832
+ "fieldName": "media"
11300
11833
  },
11301
11834
  {
11302
- "kind": "field",
11303
- "name": "resultTime",
11835
+ "name": "description",
11304
11836
  "type": {
11305
- "text": "string | undefined"
11837
+ "text": "string"
11306
11838
  },
11307
- "privacy": "private"
11839
+ "fieldName": "description"
11308
11840
  },
11309
11841
  {
11310
- "kind": "method",
11311
- "name": "parseTime",
11312
- "privacy": "private",
11842
+ "name": "spoiler",
11843
+ "type": {
11844
+ "text": "boolean"
11845
+ },
11846
+ "default": "false",
11847
+ "fieldName": "spoiler"
11848
+ }
11849
+ ],
11850
+ "superclass": {
11851
+ "name": "LitElement",
11852
+ "package": "lit"
11853
+ },
11854
+ "tagName": "discord-thumbnail",
11855
+ "customElement": true
11856
+ }
11857
+ ],
11858
+ "exports": [
11859
+ {
11860
+ "kind": "js",
11861
+ "name": "DiscordThumbnail",
11862
+ "declaration": {
11863
+ "name": "DiscordThumbnail",
11864
+ "module": "src/components/discord-thumbnail/DiscordThumbnail.ts"
11865
+ }
11866
+ },
11867
+ {
11868
+ "kind": "custom-element-definition",
11869
+ "name": "discord-thumbnail",
11870
+ "declaration": {
11871
+ "name": "DiscordThumbnail",
11872
+ "module": "src/components/discord-thumbnail/DiscordThumbnail.ts"
11873
+ }
11874
+ }
11875
+ ]
11876
+ },
11877
+ {
11878
+ "kind": "javascript-module",
11879
+ "path": "src/components/discord-time/DiscordTime.ts",
11880
+ "declarations": [
11881
+ {
11882
+ "kind": "class",
11883
+ "description": "",
11884
+ "name": "DiscordTime",
11885
+ "members": [
11886
+ {
11887
+ "kind": "field",
11888
+ "name": "timestamp",
11889
+ "type": {
11890
+ "text": "number"
11891
+ },
11892
+ "privacy": "public",
11893
+ "attribute": "timestamp",
11894
+ "reflects": true
11895
+ },
11896
+ {
11897
+ "kind": "field",
11898
+ "name": "baseNow",
11899
+ "type": {
11900
+ "text": "number | undefined"
11901
+ },
11902
+ "privacy": "public",
11903
+ "attribute": "baseNow",
11904
+ "reflects": true
11905
+ },
11906
+ {
11907
+ "kind": "field",
11908
+ "name": "format",
11909
+ "type": {
11910
+ "text": "keyof typeof DATE_TYPE_FORMATS"
11911
+ },
11912
+ "privacy": "public",
11913
+ "default": "'t'",
11914
+ "attribute": "format",
11915
+ "reflects": true
11916
+ },
11917
+ {
11918
+ "kind": "field",
11919
+ "name": "timeout",
11920
+ "type": {
11921
+ "text": "number | undefined"
11922
+ },
11923
+ "privacy": "private"
11924
+ },
11925
+ {
11926
+ "kind": "field",
11927
+ "name": "resultTime",
11928
+ "type": {
11929
+ "text": "string | undefined"
11930
+ },
11931
+ "privacy": "private"
11932
+ },
11933
+ {
11934
+ "kind": "method",
11935
+ "name": "parseTime",
11936
+ "privacy": "private",
11313
11937
  "description": "Generates a string for the time."
11314
11938
  },
11315
11939
  {
@@ -11536,7 +12160,7 @@
11536
12160
  },
11537
12161
  "privacy": "public",
11538
12162
  "default": "false",
11539
- "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.",
12163
+ "description": "Whether this is a nested list or not, this will change the style of the list-style.\n\nThe library will try to guess this automatically based on the component tree, but\nyou can also set this manually.",
11540
12164
  "attribute": "nested",
11541
12165
  "reflects": true
11542
12166
  },
@@ -11553,7 +12177,7 @@
11553
12177
  "text": "boolean"
11554
12178
  },
11555
12179
  "default": "false",
11556
- "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.",
12180
+ "description": "Whether this is a nested list or not, this will change the style of the list-style.\n\nThe library will try to guess this automatically based on the component tree, but\nyou can also set this manually.",
11557
12181
  "fieldName": "nested"
11558
12182
  }
11559
12183
  ],
@@ -13426,11 +14050,11 @@
13426
14050
  },
13427
14051
  {
13428
14052
  "kind": "javascript-module",
13429
- "path": "src/components/svgs/ChannelsAndRoles.ts",
14053
+ "path": "src/components/svgs/ChannelThread.ts",
13430
14054
  "declarations": [
13431
14055
  {
13432
14056
  "kind": "function",
13433
- "name": "ChannelsAndRoles",
14057
+ "name": "ChannelThread",
13434
14058
  "parameters": [
13435
14059
  {
13436
14060
  "name": "props",
@@ -13447,19 +14071,19 @@
13447
14071
  "kind": "js",
13448
14072
  "name": "default",
13449
14073
  "declaration": {
13450
- "name": "ChannelsAndRoles",
13451
- "module": "src/components/svgs/ChannelsAndRoles.ts"
14074
+ "name": "ChannelThread",
14075
+ "module": "src/components/svgs/ChannelThread.ts"
13452
14076
  }
13453
14077
  }
13454
14078
  ]
13455
14079
  },
13456
14080
  {
13457
14081
  "kind": "javascript-module",
13458
- "path": "src/components/svgs/ChannelThread.ts",
14082
+ "path": "src/components/svgs/ChannelsAndRoles.ts",
13459
14083
  "declarations": [
13460
14084
  {
13461
14085
  "kind": "function",
13462
- "name": "ChannelThread",
14086
+ "name": "ChannelsAndRoles",
13463
14087
  "parameters": [
13464
14088
  {
13465
14089
  "name": "props",
@@ -13476,8 +14100,8 @@
13476
14100
  "kind": "js",
13477
14101
  "name": "default",
13478
14102
  "declaration": {
13479
- "name": "ChannelThread",
13480
- "module": "src/components/svgs/ChannelThread.ts"
14103
+ "name": "ChannelsAndRoles",
14104
+ "module": "src/components/svgs/ChannelsAndRoles.ts"
13481
14105
  }
13482
14106
  }
13483
14107
  ]
@@ -14457,717 +15081,64 @@
14457
15081
  ],
14458
15082
  "exports": [
14459
15083
  {
14460
- "kind": "js",
14461
- "name": "default",
14462
- "declaration": {
14463
- "name": "VerifiedBadgeOverlay",
14464
- "module": "src/components/svgs/VerifiedBadgeOverlay.ts"
14465
- }
14466
- }
14467
- ]
14468
- },
14469
- {
14470
- "kind": "javascript-module",
14471
- "path": "src/components/svgs/VerifiedTick.ts",
14472
- "declarations": [
14473
- {
14474
- "kind": "function",
14475
- "name": "VerifiedTick",
14476
- "parameters": [
14477
- {
14478
- "name": "props",
14479
- "default": "{}",
14480
- "type": {
14481
- "text": "Record<string, unknown>"
14482
- }
14483
- }
14484
- ]
14485
- }
14486
- ],
14487
- "exports": [
14488
- {
14489
- "kind": "js",
14490
- "name": "default",
14491
- "declaration": {
14492
- "name": "VerifiedTick",
14493
- "module": "src/components/svgs/VerifiedTick.ts"
14494
- }
14495
- }
14496
- ]
14497
- },
14498
- {
14499
- "kind": "javascript-module",
14500
- "path": "src/components/svgs/VideoFullScreenIcon.ts",
14501
- "declarations": [
14502
- {
14503
- "kind": "function",
14504
- "name": "VideoFullScreenIcon",
14505
- "parameters": [
14506
- {
14507
- "name": "props",
14508
- "default": "{}",
14509
- "type": {
14510
- "text": "Record<string, unknown>"
14511
- }
14512
- }
14513
- ]
14514
- },
14515
- {
14516
- "kind": "function",
14517
- "name": "VideoExitFullScreenIcon",
14518
- "parameters": [
14519
- {
14520
- "name": "props",
14521
- "default": "{}",
14522
- "type": {
14523
- "text": "Record<string, unknown>"
14524
- }
14525
- }
14526
- ]
14527
- }
14528
- ],
14529
- "exports": [
14530
- {
14531
- "kind": "js",
14532
- "name": "default",
14533
- "declaration": {
14534
- "name": "VideoFullScreenIcon",
14535
- "module": "src/components/svgs/VideoFullScreenIcon.ts"
14536
- }
14537
- },
14538
- {
14539
- "kind": "js",
14540
- "name": "VideoExitFullScreenIcon",
14541
- "declaration": {
14542
- "name": "VideoExitFullScreenIcon",
14543
- "module": "src/components/svgs/VideoFullScreenIcon.ts"
14544
- }
14545
- }
14546
- ]
14547
- },
14548
- {
14549
- "kind": "javascript-module",
14550
- "path": "src/components/svgs/VideoPausePopIcon.ts",
14551
- "declarations": [
14552
- {
14553
- "kind": "function",
14554
- "name": "VideoPausePopIcon",
14555
- "parameters": [
14556
- {
14557
- "name": "props",
14558
- "default": "{}",
14559
- "type": {
14560
- "text": "Record<string, unknown>"
14561
- }
14562
- }
14563
- ]
14564
- }
14565
- ],
14566
- "exports": [
14567
- {
14568
- "kind": "js",
14569
- "name": "default",
14570
- "declaration": {
14571
- "name": "VideoPausePopIcon",
14572
- "module": "src/components/svgs/VideoPausePopIcon.ts"
14573
- }
14574
- }
14575
- ]
14576
- },
14577
- {
14578
- "kind": "javascript-module",
14579
- "path": "src/components/svgs/VideoPlayPopIcon.ts",
14580
- "declarations": [
14581
- {
14582
- "kind": "function",
14583
- "name": "VideoPlayPopIcon",
14584
- "parameters": [
14585
- {
14586
- "name": "props",
14587
- "default": "{}",
14588
- "type": {
14589
- "text": "Record<string, unknown>"
14590
- }
14591
- }
14592
- ]
14593
- }
14594
- ],
14595
- "exports": [
14596
- {
14597
- "kind": "js",
14598
- "name": "default",
14599
- "declaration": {
14600
- "name": "VideoPlayPopIcon",
14601
- "module": "src/components/svgs/VideoPlayPopIcon.ts"
14602
- }
14603
- }
14604
- ]
14605
- },
14606
- {
14607
- "kind": "javascript-module",
14608
- "path": "src/components/svgs/VoiceChannel.ts",
14609
- "declarations": [
14610
- {
14611
- "kind": "function",
14612
- "name": "VoiceChannel",
14613
- "parameters": [
14614
- {
14615
- "name": "props",
14616
- "default": "{}",
14617
- "type": {
14618
- "text": "Record<string, unknown>"
14619
- }
14620
- }
14621
- ]
14622
- }
14623
- ],
14624
- "exports": [
14625
- {
14626
- "kind": "js",
14627
- "name": "default",
14628
- "declaration": {
14629
- "name": "VoiceChannel",
14630
- "module": "src/components/svgs/VoiceChannel.ts"
14631
- }
14632
- }
14633
- ]
14634
- },
14635
- {
14636
- "kind": "javascript-module",
14637
- "path": "src/components/_private/BaseDiscordSelectMenuOption.ts",
14638
- "declarations": [
14639
- {
14640
- "kind": "class",
14641
- "description": "",
14642
- "name": "BaseDiscordSelectMenuOption",
14643
- "members": [
14644
- {
14645
- "kind": "field",
14646
- "name": "lightTheme",
14647
- "type": {
14648
- "text": "boolean"
14649
- },
14650
- "privacy": "public",
14651
- "default": "false",
14652
- "attribute": "light-theme",
14653
- "reflects": true
14654
- },
14655
- {
14656
- "kind": "field",
14657
- "name": "selected",
14658
- "type": {
14659
- "text": "boolean"
14660
- },
14661
- "privacy": "public",
14662
- "default": "false",
14663
- "attribute": "selected",
14664
- "reflects": true
14665
- },
14666
- {
14667
- "kind": "field",
14668
- "name": "baseStyles",
14669
- "privacy": "public",
14670
- "static": true,
14671
- "default": "css` label { display: flex; align-items: center; max-width: 400px; padding: 12px 8px 8px 12px; gap: 10px; font-size: small; cursor: pointer; } :host { user-select: none; } label:hover, :host([selected]) label { background-color: rgba(255, 255, 255, 0.1); } :host([light-theme]) { background-color: #f2f3f5 !important; border-color: #d9d9d9 !important; color: #2e3338; span { color: #434c4f; } } :host([light-theme]) label:hover, :host([selected][light-theme]) label { background-color: rgba(204, 204, 204, 2) !important; } .selected-tick { width: 20px; height: 20px; border-radius: 50%; background-color: #5865f2; color: #fff; display: flex; align-items: center; justify-content: center; svg { width: 32px; height: 32px; } } .flex-container { flex: 1; display: flex; align-items: center; gap: 4px; justify-content: space-between; } :host([slot='default']) { pointer-events: none; background-color: transparent !important; border-color: transparent !important; label { padding-left: 4px !important; } } :host(:not([visible])) { display: none; } `"
14672
- },
14673
- {
14674
- "kind": "method",
14675
- "name": "renderSelectedContainer",
14676
- "privacy": "protected",
14677
- "parameters": [
14678
- {
14679
- "name": "content",
14680
- "type": {
14681
- "text": "TemplateResult"
14682
- }
14683
- }
14684
- ]
14685
- },
14686
- {
14687
- "kind": "field",
14688
- "name": "visible",
14689
- "type": {
14690
- "text": "boolean"
14691
- },
14692
- "privacy": "public",
14693
- "default": "true",
14694
- "attribute": "visible",
14695
- "reflects": true
14696
- },
14697
- {
14698
- "kind": "method",
14699
- "name": "filter",
14700
- "privacy": "public",
14701
- "return": {
14702
- "type": {
14703
- "text": "boolean"
14704
- }
14705
- },
14706
- "parameters": [
14707
- {
14708
- "name": "searchValue",
14709
- "type": {
14710
- "text": "Lowercase<string>"
14711
- }
14712
- }
14713
- ]
14714
- },
14715
- {
14716
- "kind": "method",
14717
- "name": "selectOption",
14718
- "privacy": "public"
14719
- }
14720
- ],
14721
- "attributes": [
14722
- {
14723
- "name": "light-theme",
14724
- "type": {
14725
- "text": "boolean"
14726
- },
14727
- "default": "false",
14728
- "fieldName": "lightTheme"
14729
- },
14730
- {
14731
- "name": "selected",
14732
- "type": {
14733
- "text": "boolean"
14734
- },
14735
- "default": "false",
14736
- "fieldName": "selected"
14737
- },
14738
- {
14739
- "name": "visible",
14740
- "type": {
14741
- "text": "boolean"
14742
- },
14743
- "default": "true",
14744
- "fieldName": "visible"
14745
- }
14746
- ],
14747
- "superclass": {
14748
- "name": "LitElement",
14749
- "package": "lit"
14750
- },
14751
- "customElement": true
14752
- }
14753
- ],
14754
- "exports": [
14755
- {
14756
- "kind": "js",
14757
- "name": "BaseDiscordSelectMenuOption",
14758
- "declaration": {
14759
- "name": "BaseDiscordSelectMenuOption",
14760
- "module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
14761
- }
14762
- }
14763
- ]
14764
- },
14765
- {
14766
- "kind": "javascript-module",
14767
- "path": "src/components/_private/DiscordMediaAttachmentStyles.ts",
14768
- "declarations": [],
14769
- "exports": []
14770
- },
14771
- {
14772
- "kind": "javascript-module",
14773
- "path": "src/components/_private/DiscordMediaLifecycle.ts",
14774
- "declarations": [
14775
- {
14776
- "kind": "class",
14777
- "description": "",
14778
- "name": "DiscordMediaLifecycle",
14779
- "members": [
14780
- {
14781
- "kind": "field",
14782
- "name": "mediaComponentRef",
14783
- "type": {
14784
- "text": "Ref<HTMLAudioElement | HTMLVideoElement>"
14785
- },
14786
- "privacy": "protected"
14787
- },
14788
- {
14789
- "kind": "field",
14790
- "name": "seekSliderRef",
14791
- "type": {
14792
- "text": "Ref<HTMLInputElement>"
14793
- },
14794
- "privacy": "protected"
14795
- },
14796
- {
14797
- "kind": "field",
14798
- "name": "volumeControlRef",
14799
- "type": {
14800
- "text": "Ref<HTMLDivElement>"
14801
- },
14802
- "privacy": "protected"
14803
- },
14804
- {
14805
- "kind": "field",
14806
- "name": "volumeControlInputRef",
14807
- "type": {
14808
- "text": "Ref<HTMLInputElement>"
14809
- },
14810
- "privacy": "protected"
14811
- },
14812
- {
14813
- "kind": "field",
14814
- "name": "currentPlaybackPosition",
14815
- "type": {
14816
- "text": "string"
14817
- },
14818
- "privacy": "protected",
14819
- "default": "'0:00'"
14820
- },
14821
- {
14822
- "kind": "field",
14823
- "name": "leftPlaybackPosition",
14824
- "type": {
14825
- "text": "string"
14826
- },
14827
- "privacy": "protected",
14828
- "default": "'0:00'"
14829
- },
14830
- {
14831
- "kind": "field",
14832
- "name": "totalMediaDuration",
14833
- "type": {
14834
- "text": "string"
14835
- },
14836
- "privacy": "protected",
14837
- "default": "''"
14838
- },
14839
- {
14840
- "kind": "field",
14841
- "name": "isPlaying",
14842
- "type": {
14843
- "text": "boolean"
14844
- },
14845
- "privacy": "protected",
14846
- "default": "false"
14847
- },
14848
- {
14849
- "kind": "field",
14850
- "name": "raf",
14851
- "type": {
14852
- "text": "number | null"
14853
- },
14854
- "privacy": "private",
14855
- "default": "null"
14856
- },
14857
- {
14858
- "kind": "field",
14859
- "name": "isMuted",
14860
- "type": {
14861
- "text": "boolean"
14862
- },
14863
- "privacy": "protected",
14864
- "default": "false"
14865
- },
14866
- {
14867
- "kind": "field",
14868
- "name": "currentVolume",
14869
- "type": {
14870
- "text": "number"
14871
- },
14872
- "privacy": "protected",
14873
- "default": "1",
14874
- "description": "Volume is a fractional value between 0 and 1"
14875
- },
14876
- {
14877
- "kind": "field",
14878
- "name": "hasEnded",
14879
- "type": {
14880
- "text": "boolean"
14881
- },
14882
- "privacy": "protected",
14883
- "default": "false"
14884
- },
14885
- {
14886
- "kind": "field",
14887
- "name": "hasRunUpdate",
14888
- "type": {
14889
- "text": "boolean"
14890
- },
14891
- "privacy": "private",
14892
- "default": "false"
14893
- },
14894
- {
14895
- "kind": "method",
14896
- "name": "calculateTime",
14897
- "privacy": "protected",
14898
- "parameters": [
14899
- {
14900
- "name": "secs",
14901
- "type": {
14902
- "text": "number"
14903
- }
14904
- }
14905
- ]
14906
- },
14907
- {
14908
- "kind": "method",
14909
- "name": "displayMediaDuration",
14910
- "privacy": "protected"
14911
- },
14912
- {
14913
- "kind": "method",
14914
- "name": "displayLeftPlaybackPosition",
14915
- "privacy": "protected",
14916
- "parameters": [
14917
- {
14918
- "name": "bufferedAmount",
14919
- "type": {
14920
- "text": "number"
14921
- }
14922
- }
14923
- ]
14924
- },
14925
- {
14926
- "kind": "method",
14927
- "name": "setSliderMax",
14928
- "privacy": "protected"
14929
- },
14930
- {
14931
- "kind": "method",
14932
- "name": "displayBufferedAmount",
14933
- "privacy": "protected"
14934
- },
14935
- {
14936
- "kind": "field",
14937
- "name": "wavesurfer",
14938
- "type": {
14939
- "text": "WaveSurfer | null | undefined"
14940
- },
14941
- "privacy": "protected",
14942
- "default": "null"
14943
- },
14944
- {
14945
- "kind": "field",
14946
- "name": "whilePlaying",
14947
- "privacy": "protected"
14948
- },
14949
- {
14950
- "kind": "method",
14951
- "name": "handleEnded",
14952
- "privacy": "protected"
14953
- },
14954
- {
14955
- "kind": "method",
14956
- "name": "handleClickPlayPauseIcon",
14957
- "privacy": "protected"
14958
- },
14959
- {
14960
- "kind": "field",
14961
- "name": "handleSpaceToPlayPause",
14962
- "privacy": "protected"
14963
- },
14964
- {
14965
- "kind": "method",
14966
- "name": "handleClickMuteIcon",
14967
- "privacy": "protected"
14968
- },
14969
- {
14970
- "kind": "method",
14971
- "name": "handleSeekSliderInput",
14972
- "privacy": "protected",
14973
- "parameters": [
14974
- {
14975
- "name": "event",
14976
- "type": {
14977
- "text": "Event"
14978
- }
14979
- }
14980
- ]
14981
- },
14982
- {
14983
- "kind": "field",
14984
- "name": "handleSeekSliderChange",
14985
- "privacy": "protected"
14986
- },
14987
- {
14988
- "kind": "method",
14989
- "name": "handleVolumeSliderInput",
14990
- "privacy": "protected",
14991
- "parameters": [
14992
- {
14993
- "name": "event",
14994
- "type": {
14995
- "text": "Event"
14996
- }
14997
- }
14998
- ]
14999
- },
15000
- {
15001
- "kind": "method",
15002
- "name": "handleVolumeVerticalFocus",
15003
- "privacy": "protected"
15004
- },
15005
- {
15006
- "kind": "method",
15007
- "name": "handleVolumeVerticalBlur",
15008
- "privacy": "protected"
15009
- },
15010
- {
15011
- "kind": "method",
15012
- "name": "handleVolumeControlKeyboard",
15013
- "privacy": "protected",
15014
- "parameters": [
15015
- {
15016
- "name": "event",
15017
- "type": {
15018
- "text": "KeyboardEvent"
15019
- }
15020
- }
15021
- ]
15022
- },
15023
- {
15024
- "kind": "method",
15025
- "name": "adjustVolume",
15026
- "privacy": "protected",
15027
- "parameters": [
15028
- {
15029
- "name": "change",
15030
- "type": {
15031
- "text": "number"
15032
- }
15033
- },
15034
- {
15035
- "name": "event",
15036
- "type": {
15037
- "text": "KeyboardEvent"
15038
- }
15039
- }
15040
- ]
15041
- },
15042
- {
15043
- "kind": "field",
15044
- "name": "mediaMetadataLoaded",
15045
- "privacy": "protected"
15046
- }
15047
- ],
15048
- "superclass": {
15049
- "name": "LitElement",
15050
- "package": "lit"
15051
- },
15052
- "customElement": true
15053
- }
15054
- ],
15055
- "exports": [
15056
- {
15057
- "kind": "js",
15058
- "name": "DiscordMediaLifecycle",
15059
- "declaration": {
15060
- "name": "DiscordMediaLifecycle",
15061
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
15062
- }
15063
- }
15064
- ]
15065
- },
15066
- {
15067
- "kind": "javascript-module",
15068
- "path": "src/components/_private/DiscordPlaybackControlStyles.ts",
15069
- "declarations": [
15070
- {
15071
- "kind": "variable",
15072
- "name": "DiscordPlaybackControlStyles",
15073
- "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; } `"
15074
- }
15075
- ],
15076
- "exports": [
15077
- {
15078
- "kind": "js",
15079
- "name": "DiscordPlaybackControlStyles",
15080
- "declaration": {
15081
- "name": "DiscordPlaybackControlStyles",
15082
- "module": "src/components/_private/DiscordPlaybackControlStyles.ts"
15083
- }
15084
- }
15085
- ]
15086
- },
15087
- {
15088
- "kind": "javascript-module",
15089
- "path": "src/components/_private/DiscordVolumeControlStyles.ts",
15090
- "declarations": [
15091
- {
15092
- "kind": "variable",
15093
- "name": "DiscordVolumeControlStyles",
15094
- "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; } `"
15095
- }
15096
- ],
15097
- "exports": [
15098
- {
15099
- "kind": "js",
15100
- "name": "DiscordVolumeControlStyles",
15101
- "declaration": {
15102
- "name": "DiscordVolumeControlStyles",
15103
- "module": "src/components/_private/DiscordVolumeControlStyles.ts"
15104
- }
15105
- }
15106
- ]
15107
- },
15108
- {
15109
- "kind": "javascript-module",
15110
- "path": "src/components/_private/DiscordWhiteSpace.ts",
15111
- "declarations": [
15112
- {
15113
- "kind": "class",
15114
- "description": "",
15115
- "name": "DiscordCode",
15116
- "members": [],
15117
- "superclass": {
15118
- "name": "LitElement",
15119
- "package": "lit"
15120
- },
15121
- "tagName": "discord-code",
15122
- "customElement": true
15123
- }
15124
- ],
15125
- "exports": [
15126
- {
15127
- "kind": "js",
15128
- "name": "DiscordCode",
15129
- "declaration": {
15130
- "name": "DiscordCode",
15131
- "module": "src/components/_private/DiscordWhiteSpace.ts"
15132
- }
15133
- },
15134
- {
15135
- "kind": "custom-element-definition",
15136
- "name": "discord-white-space",
15084
+ "kind": "js",
15085
+ "name": "default",
15137
15086
  "declaration": {
15138
- "name": "DiscordCode",
15139
- "module": "src/components/_private/DiscordWhiteSpace.ts"
15087
+ "name": "VerifiedBadgeOverlay",
15088
+ "module": "src/components/svgs/VerifiedBadgeOverlay.ts"
15140
15089
  }
15141
15090
  }
15142
15091
  ]
15143
15092
  },
15144
15093
  {
15145
15094
  "kind": "javascript-module",
15146
- "path": "src/components/_private/mediaGalleryFullScreenContext.ts",
15095
+ "path": "src/components/svgs/VerifiedTick.ts",
15147
15096
  "declarations": [
15148
15097
  {
15149
- "kind": "variable",
15150
- "name": "isInMediaFullScreenPreviewer"
15098
+ "kind": "function",
15099
+ "name": "VerifiedTick",
15100
+ "parameters": [
15101
+ {
15102
+ "name": "props",
15103
+ "default": "{}",
15104
+ "type": {
15105
+ "text": "Record<string, unknown>"
15106
+ }
15107
+ }
15108
+ ]
15151
15109
  }
15152
15110
  ],
15153
15111
  "exports": [
15154
15112
  {
15155
15113
  "kind": "js",
15156
- "name": "isInMediaFullScreenPreviewer",
15114
+ "name": "default",
15157
15115
  "declaration": {
15158
- "name": "isInMediaFullScreenPreviewer",
15159
- "module": "src/components/_private/mediaGalleryFullScreenContext.ts"
15116
+ "name": "VerifiedTick",
15117
+ "module": "src/components/svgs/VerifiedTick.ts"
15160
15118
  }
15161
15119
  }
15162
15120
  ]
15163
15121
  },
15164
15122
  {
15165
15123
  "kind": "javascript-module",
15166
- "path": "src/components/svgs/clan-icons/Crystal.ts",
15124
+ "path": "src/components/svgs/VideoFullScreenIcon.ts",
15167
15125
  "declarations": [
15168
15126
  {
15169
15127
  "kind": "function",
15170
- "name": "Crystal",
15128
+ "name": "VideoFullScreenIcon",
15129
+ "parameters": [
15130
+ {
15131
+ "name": "props",
15132
+ "default": "{}",
15133
+ "type": {
15134
+ "text": "Record<string, unknown>"
15135
+ }
15136
+ }
15137
+ ]
15138
+ },
15139
+ {
15140
+ "kind": "function",
15141
+ "name": "VideoExitFullScreenIcon",
15171
15142
  "parameters": [
15172
15143
  {
15173
15144
  "name": "props",
@@ -15184,19 +15155,27 @@
15184
15155
  "kind": "js",
15185
15156
  "name": "default",
15186
15157
  "declaration": {
15187
- "name": "Crystal",
15188
- "module": "src/components/svgs/clan-icons/Crystal.ts"
15158
+ "name": "VideoFullScreenIcon",
15159
+ "module": "src/components/svgs/VideoFullScreenIcon.ts"
15160
+ }
15161
+ },
15162
+ {
15163
+ "kind": "js",
15164
+ "name": "VideoExitFullScreenIcon",
15165
+ "declaration": {
15166
+ "name": "VideoExitFullScreenIcon",
15167
+ "module": "src/components/svgs/VideoFullScreenIcon.ts"
15189
15168
  }
15190
15169
  }
15191
15170
  ]
15192
15171
  },
15193
15172
  {
15194
15173
  "kind": "javascript-module",
15195
- "path": "src/components/svgs/clan-icons/Diamond.ts",
15174
+ "path": "src/components/svgs/VideoPausePopIcon.ts",
15196
15175
  "declarations": [
15197
15176
  {
15198
15177
  "kind": "function",
15199
- "name": "Diamond",
15178
+ "name": "VideoPausePopIcon",
15200
15179
  "parameters": [
15201
15180
  {
15202
15181
  "name": "props",
@@ -15213,19 +15192,19 @@
15213
15192
  "kind": "js",
15214
15193
  "name": "default",
15215
15194
  "declaration": {
15216
- "name": "Diamond",
15217
- "module": "src/components/svgs/clan-icons/Diamond.ts"
15195
+ "name": "VideoPausePopIcon",
15196
+ "module": "src/components/svgs/VideoPausePopIcon.ts"
15218
15197
  }
15219
15198
  }
15220
15199
  ]
15221
15200
  },
15222
15201
  {
15223
15202
  "kind": "javascript-module",
15224
- "path": "src/components/svgs/clan-icons/Explosion.ts",
15203
+ "path": "src/components/svgs/VideoPlayPopIcon.ts",
15225
15204
  "declarations": [
15226
15205
  {
15227
15206
  "kind": "function",
15228
- "name": "Explosion",
15207
+ "name": "VideoPlayPopIcon",
15229
15208
  "parameters": [
15230
15209
  {
15231
15210
  "name": "props",
@@ -15242,19 +15221,19 @@
15242
15221
  "kind": "js",
15243
15222
  "name": "default",
15244
15223
  "declaration": {
15245
- "name": "Explosion",
15246
- "module": "src/components/svgs/clan-icons/Explosion.ts"
15224
+ "name": "VideoPlayPopIcon",
15225
+ "module": "src/components/svgs/VideoPlayPopIcon.ts"
15247
15226
  }
15248
15227
  }
15249
15228
  ]
15250
15229
  },
15251
15230
  {
15252
15231
  "kind": "javascript-module",
15253
- "path": "src/components/svgs/clan-icons/Flame.ts",
15232
+ "path": "src/components/svgs/VoiceChannel.ts",
15254
15233
  "declarations": [
15255
15234
  {
15256
15235
  "kind": "function",
15257
- "name": "Flame",
15236
+ "name": "VoiceChannel",
15258
15237
  "parameters": [
15259
15238
  {
15260
15239
  "name": "props",
@@ -15271,19 +15250,19 @@
15271
15250
  "kind": "js",
15272
15251
  "name": "default",
15273
15252
  "declaration": {
15274
- "name": "Flame",
15275
- "module": "src/components/svgs/clan-icons/Flame.ts"
15253
+ "name": "VoiceChannel",
15254
+ "module": "src/components/svgs/VoiceChannel.ts"
15276
15255
  }
15277
15256
  }
15278
15257
  ]
15279
15258
  },
15280
15259
  {
15281
15260
  "kind": "javascript-module",
15282
- "path": "src/components/svgs/clan-icons/Flower.ts",
15261
+ "path": "src/components/svgs/clan-icons/Crystal.ts",
15283
15262
  "declarations": [
15284
15263
  {
15285
15264
  "kind": "function",
15286
- "name": "Flower",
15265
+ "name": "Crystal",
15287
15266
  "parameters": [
15288
15267
  {
15289
15268
  "name": "props",
@@ -15300,19 +15279,19 @@
15300
15279
  "kind": "js",
15301
15280
  "name": "default",
15302
15281
  "declaration": {
15303
- "name": "Flower",
15304
- "module": "src/components/svgs/clan-icons/Flower.ts"
15282
+ "name": "Crystal",
15283
+ "module": "src/components/svgs/clan-icons/Crystal.ts"
15305
15284
  }
15306
15285
  }
15307
15286
  ]
15308
15287
  },
15309
15288
  {
15310
15289
  "kind": "javascript-module",
15311
- "path": "src/components/svgs/clan-icons/Heart.ts",
15290
+ "path": "src/components/svgs/clan-icons/Diamond.ts",
15312
15291
  "declarations": [
15313
15292
  {
15314
15293
  "kind": "function",
15315
- "name": "Heart",
15294
+ "name": "Diamond",
15316
15295
  "parameters": [
15317
15296
  {
15318
15297
  "name": "props",
@@ -15329,183 +15308,124 @@
15329
15308
  "kind": "js",
15330
15309
  "name": "default",
15331
15310
  "declaration": {
15332
- "name": "Heart",
15333
- "module": "src/components/svgs/clan-icons/Heart.ts"
15311
+ "name": "Diamond",
15312
+ "module": "src/components/svgs/clan-icons/Diamond.ts"
15334
15313
  }
15335
15314
  }
15336
15315
  ]
15337
15316
  },
15338
15317
  {
15339
15318
  "kind": "javascript-module",
15340
- "path": "src/components/svgs/clan-icons/index.ts",
15341
- "declarations": [],
15342
- "exports": [
15343
- {
15344
- "kind": "js",
15345
- "name": "Crystal",
15346
- "declaration": {
15347
- "name": "default",
15348
- "module": "./Crystal.js"
15349
- }
15350
- },
15351
- {
15352
- "kind": "js",
15353
- "name": "Diamond",
15354
- "declaration": {
15355
- "name": "default",
15356
- "module": "./Diamond.js"
15357
- }
15358
- },
15319
+ "path": "src/components/svgs/clan-icons/Explosion.ts",
15320
+ "declarations": [
15359
15321
  {
15360
- "kind": "js",
15322
+ "kind": "function",
15361
15323
  "name": "Explosion",
15362
- "declaration": {
15363
- "name": "default",
15364
- "module": "./Explosion.js"
15365
- }
15366
- },
15367
- {
15368
- "kind": "js",
15369
- "name": "Flame",
15370
- "declaration": {
15371
- "name": "default",
15372
- "module": "./Flame.js"
15373
- }
15374
- },
15375
- {
15376
- "kind": "js",
15377
- "name": "Flower",
15378
- "declaration": {
15379
- "name": "default",
15380
- "module": "./Flower.js"
15381
- }
15382
- },
15383
- {
15384
- "kind": "js",
15385
- "name": "Heart",
15386
- "declaration": {
15387
- "name": "default",
15388
- "module": "./Heart.js"
15389
- }
15390
- },
15391
- {
15392
- "kind": "js",
15393
- "name": "Key",
15394
- "declaration": {
15395
- "name": "default",
15396
- "module": "./Key.js"
15397
- }
15398
- },
15399
- {
15400
- "kind": "js",
15401
- "name": "Leaf",
15402
- "declaration": {
15403
- "name": "default",
15404
- "module": "./Leaf.js"
15405
- }
15406
- },
15407
- {
15408
- "kind": "js",
15409
- "name": "Lightning",
15410
- "declaration": {
15411
- "name": "default",
15412
- "module": "./Lightning.js"
15413
- }
15414
- },
15415
- {
15416
- "kind": "js",
15417
- "name": "Magic",
15418
- "declaration": {
15419
- "name": "default",
15420
- "module": "./Magic.js"
15421
- }
15422
- },
15423
- {
15424
- "kind": "js",
15425
- "name": "Moon",
15426
- "declaration": {
15427
- "name": "default",
15428
- "module": "./Moon.js"
15429
- }
15430
- },
15431
- {
15432
- "kind": "js",
15433
- "name": "Mushroom",
15434
- "declaration": {
15435
- "name": "default",
15436
- "module": "./Mushroom.js"
15437
- }
15438
- },
15439
- {
15440
- "kind": "js",
15441
- "name": "Mythical",
15442
- "declaration": {
15443
- "name": "default",
15444
- "module": "./Mythical.js"
15445
- }
15446
- },
15447
- {
15448
- "kind": "js",
15449
- "name": "Ornament",
15450
- "declaration": {
15451
- "name": "default",
15452
- "module": "./Ornament.js"
15453
- }
15454
- },
15324
+ "parameters": [
15325
+ {
15326
+ "name": "props",
15327
+ "default": "{}",
15328
+ "type": {
15329
+ "text": "Record<string, unknown>"
15330
+ }
15331
+ }
15332
+ ]
15333
+ }
15334
+ ],
15335
+ "exports": [
15455
15336
  {
15456
15337
  "kind": "js",
15457
- "name": "Plasma",
15338
+ "name": "default",
15458
15339
  "declaration": {
15459
- "name": "default",
15460
- "module": "./Plasma.js"
15340
+ "name": "Explosion",
15341
+ "module": "src/components/svgs/clan-icons/Explosion.ts"
15461
15342
  }
15462
- },
15343
+ }
15344
+ ]
15345
+ },
15346
+ {
15347
+ "kind": "javascript-module",
15348
+ "path": "src/components/svgs/clan-icons/Flame.ts",
15349
+ "declarations": [
15463
15350
  {
15464
- "kind": "js",
15465
- "name": "Rock",
15466
- "declaration": {
15467
- "name": "default",
15468
- "module": "./Rock.js"
15469
- }
15470
- },
15351
+ "kind": "function",
15352
+ "name": "Flame",
15353
+ "parameters": [
15354
+ {
15355
+ "name": "props",
15356
+ "default": "{}",
15357
+ "type": {
15358
+ "text": "Record<string, unknown>"
15359
+ }
15360
+ }
15361
+ ]
15362
+ }
15363
+ ],
15364
+ "exports": [
15471
15365
  {
15472
15366
  "kind": "js",
15473
- "name": "Shell",
15367
+ "name": "default",
15474
15368
  "declaration": {
15475
- "name": "default",
15476
- "module": "./Shell.js"
15369
+ "name": "Flame",
15370
+ "module": "src/components/svgs/clan-icons/Flame.ts"
15477
15371
  }
15478
- },
15372
+ }
15373
+ ]
15374
+ },
15375
+ {
15376
+ "kind": "javascript-module",
15377
+ "path": "src/components/svgs/clan-icons/Flower.ts",
15378
+ "declarations": [
15479
15379
  {
15480
- "kind": "js",
15481
- "name": "Skull",
15482
- "declaration": {
15483
- "name": "default",
15484
- "module": "./Skull.js"
15485
- }
15486
- },
15380
+ "kind": "function",
15381
+ "name": "Flower",
15382
+ "parameters": [
15383
+ {
15384
+ "name": "props",
15385
+ "default": "{}",
15386
+ "type": {
15387
+ "text": "Record<string, unknown>"
15388
+ }
15389
+ }
15390
+ ]
15391
+ }
15392
+ ],
15393
+ "exports": [
15487
15394
  {
15488
15395
  "kind": "js",
15489
- "name": "Sun",
15396
+ "name": "default",
15490
15397
  "declaration": {
15491
- "name": "default",
15492
- "module": "./Sun.js"
15398
+ "name": "Flower",
15399
+ "module": "src/components/svgs/clan-icons/Flower.ts"
15493
15400
  }
15494
- },
15401
+ }
15402
+ ]
15403
+ },
15404
+ {
15405
+ "kind": "javascript-module",
15406
+ "path": "src/components/svgs/clan-icons/Heart.ts",
15407
+ "declarations": [
15495
15408
  {
15496
- "kind": "js",
15497
- "name": "Sword",
15498
- "declaration": {
15499
- "name": "default",
15500
- "module": "./Sword.js"
15501
- }
15502
- },
15409
+ "kind": "function",
15410
+ "name": "Heart",
15411
+ "parameters": [
15412
+ {
15413
+ "name": "props",
15414
+ "default": "{}",
15415
+ "type": {
15416
+ "text": "Record<string, unknown>"
15417
+ }
15418
+ }
15419
+ ]
15420
+ }
15421
+ ],
15422
+ "exports": [
15503
15423
  {
15504
15424
  "kind": "js",
15505
- "name": "Water",
15425
+ "name": "default",
15506
15426
  "declaration": {
15507
- "name": "default",
15508
- "module": "./Water.js"
15427
+ "name": "Heart",
15428
+ "module": "src/components/svgs/clan-icons/Heart.ts"
15509
15429
  }
15510
15430
  }
15511
15431
  ]
@@ -15944,6 +15864,181 @@
15944
15864
  }
15945
15865
  }
15946
15866
  ]
15867
+ },
15868
+ {
15869
+ "kind": "javascript-module",
15870
+ "path": "src/components/svgs/clan-icons/index.ts",
15871
+ "declarations": [],
15872
+ "exports": [
15873
+ {
15874
+ "kind": "js",
15875
+ "name": "Crystal",
15876
+ "declaration": {
15877
+ "name": "default",
15878
+ "module": "./Crystal.js"
15879
+ }
15880
+ },
15881
+ {
15882
+ "kind": "js",
15883
+ "name": "Diamond",
15884
+ "declaration": {
15885
+ "name": "default",
15886
+ "module": "./Diamond.js"
15887
+ }
15888
+ },
15889
+ {
15890
+ "kind": "js",
15891
+ "name": "Explosion",
15892
+ "declaration": {
15893
+ "name": "default",
15894
+ "module": "./Explosion.js"
15895
+ }
15896
+ },
15897
+ {
15898
+ "kind": "js",
15899
+ "name": "Flame",
15900
+ "declaration": {
15901
+ "name": "default",
15902
+ "module": "./Flame.js"
15903
+ }
15904
+ },
15905
+ {
15906
+ "kind": "js",
15907
+ "name": "Flower",
15908
+ "declaration": {
15909
+ "name": "default",
15910
+ "module": "./Flower.js"
15911
+ }
15912
+ },
15913
+ {
15914
+ "kind": "js",
15915
+ "name": "Heart",
15916
+ "declaration": {
15917
+ "name": "default",
15918
+ "module": "./Heart.js"
15919
+ }
15920
+ },
15921
+ {
15922
+ "kind": "js",
15923
+ "name": "Key",
15924
+ "declaration": {
15925
+ "name": "default",
15926
+ "module": "./Key.js"
15927
+ }
15928
+ },
15929
+ {
15930
+ "kind": "js",
15931
+ "name": "Leaf",
15932
+ "declaration": {
15933
+ "name": "default",
15934
+ "module": "./Leaf.js"
15935
+ }
15936
+ },
15937
+ {
15938
+ "kind": "js",
15939
+ "name": "Lightning",
15940
+ "declaration": {
15941
+ "name": "default",
15942
+ "module": "./Lightning.js"
15943
+ }
15944
+ },
15945
+ {
15946
+ "kind": "js",
15947
+ "name": "Magic",
15948
+ "declaration": {
15949
+ "name": "default",
15950
+ "module": "./Magic.js"
15951
+ }
15952
+ },
15953
+ {
15954
+ "kind": "js",
15955
+ "name": "Moon",
15956
+ "declaration": {
15957
+ "name": "default",
15958
+ "module": "./Moon.js"
15959
+ }
15960
+ },
15961
+ {
15962
+ "kind": "js",
15963
+ "name": "Mushroom",
15964
+ "declaration": {
15965
+ "name": "default",
15966
+ "module": "./Mushroom.js"
15967
+ }
15968
+ },
15969
+ {
15970
+ "kind": "js",
15971
+ "name": "Mythical",
15972
+ "declaration": {
15973
+ "name": "default",
15974
+ "module": "./Mythical.js"
15975
+ }
15976
+ },
15977
+ {
15978
+ "kind": "js",
15979
+ "name": "Ornament",
15980
+ "declaration": {
15981
+ "name": "default",
15982
+ "module": "./Ornament.js"
15983
+ }
15984
+ },
15985
+ {
15986
+ "kind": "js",
15987
+ "name": "Plasma",
15988
+ "declaration": {
15989
+ "name": "default",
15990
+ "module": "./Plasma.js"
15991
+ }
15992
+ },
15993
+ {
15994
+ "kind": "js",
15995
+ "name": "Rock",
15996
+ "declaration": {
15997
+ "name": "default",
15998
+ "module": "./Rock.js"
15999
+ }
16000
+ },
16001
+ {
16002
+ "kind": "js",
16003
+ "name": "Shell",
16004
+ "declaration": {
16005
+ "name": "default",
16006
+ "module": "./Shell.js"
16007
+ }
16008
+ },
16009
+ {
16010
+ "kind": "js",
16011
+ "name": "Skull",
16012
+ "declaration": {
16013
+ "name": "default",
16014
+ "module": "./Skull.js"
16015
+ }
16016
+ },
16017
+ {
16018
+ "kind": "js",
16019
+ "name": "Sun",
16020
+ "declaration": {
16021
+ "name": "default",
16022
+ "module": "./Sun.js"
16023
+ }
16024
+ },
16025
+ {
16026
+ "kind": "js",
16027
+ "name": "Sword",
16028
+ "declaration": {
16029
+ "name": "default",
16030
+ "module": "./Sword.js"
16031
+ }
16032
+ },
16033
+ {
16034
+ "kind": "js",
16035
+ "name": "Water",
16036
+ "declaration": {
16037
+ "name": "default",
16038
+ "module": "./Water.js"
16039
+ }
16040
+ }
16041
+ ]
15947
16042
  }
15948
16043
  ]
15949
16044
  }