@penwin/discord-components-core 4.1.1 → 4.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -445,7 +445,7 @@
445
445
  "name": "DiscordMediaGalleryItem",
446
446
  "declaration": {
447
447
  "name": "DiscordMediaGalleryItem",
448
- "module": "./components/discord-media-gallery-tem/DiscordMediaGalleryItem.js"
448
+ "module": "./components/discord-media-gallery-item/DiscordMediaGalleryItem.js"
449
449
  }
450
450
  },
451
451
  {
@@ -637,7 +637,7 @@
637
637
  "name": "DiscordTextFileAttachmentPreviewer",
638
638
  "declaration": {
639
639
  "name": "DiscordTextFileAttachmentPreviewer",
640
- "module": "./components/discord-text-file-attachment-preview/DiscordTextFileAttachmentPreviewer.js"
640
+ "module": "./components/discord-text-file-attachment-previewer/DiscordTextFileAttachmentPreviewer.js"
641
641
  }
642
642
  },
643
643
  {
@@ -974,72 +974,72 @@
974
974
  },
975
975
  {
976
976
  "kind": "javascript-module",
977
- "path": "src/components/discord-action-row/DiscordActionRow.ts",
977
+ "path": "src/components/discord-attachments/DiscordAttachments.ts",
978
978
  "declarations": [
979
979
  {
980
980
  "kind": "class",
981
981
  "description": "",
982
- "name": "DiscordActionRow",
982
+ "name": "DiscordAttachments",
983
983
  "members": [],
984
984
  "superclass": {
985
985
  "name": "LitElement",
986
986
  "package": "lit"
987
987
  },
988
- "tagName": "discord-action-row",
988
+ "tagName": "discord-attachments",
989
989
  "customElement": true
990
990
  }
991
991
  ],
992
992
  "exports": [
993
993
  {
994
994
  "kind": "js",
995
- "name": "DiscordActionRow",
995
+ "name": "DiscordAttachments",
996
996
  "declaration": {
997
- "name": "DiscordActionRow",
998
- "module": "src/components/discord-action-row/DiscordActionRow.ts"
997
+ "name": "DiscordAttachments",
998
+ "module": "src/components/discord-attachments/DiscordAttachments.ts"
999
999
  }
1000
1000
  },
1001
1001
  {
1002
1002
  "kind": "custom-element-definition",
1003
- "name": "discord-action-row",
1003
+ "name": "discord-attachments",
1004
1004
  "declaration": {
1005
- "name": "DiscordActionRow",
1006
- "module": "src/components/discord-action-row/DiscordActionRow.ts"
1005
+ "name": "DiscordAttachments",
1006
+ "module": "src/components/discord-attachments/DiscordAttachments.ts"
1007
1007
  }
1008
1008
  }
1009
1009
  ]
1010
1010
  },
1011
1011
  {
1012
1012
  "kind": "javascript-module",
1013
- "path": "src/components/discord-attachments/DiscordAttachments.ts",
1013
+ "path": "src/components/discord-action-row/DiscordActionRow.ts",
1014
1014
  "declarations": [
1015
1015
  {
1016
1016
  "kind": "class",
1017
1017
  "description": "",
1018
- "name": "DiscordAttachments",
1018
+ "name": "DiscordActionRow",
1019
1019
  "members": [],
1020
1020
  "superclass": {
1021
1021
  "name": "LitElement",
1022
1022
  "package": "lit"
1023
1023
  },
1024
- "tagName": "discord-attachments",
1024
+ "tagName": "discord-action-row",
1025
1025
  "customElement": true
1026
1026
  }
1027
1027
  ],
1028
1028
  "exports": [
1029
1029
  {
1030
1030
  "kind": "js",
1031
- "name": "DiscordAttachments",
1031
+ "name": "DiscordActionRow",
1032
1032
  "declaration": {
1033
- "name": "DiscordAttachments",
1034
- "module": "src/components/discord-attachments/DiscordAttachments.ts"
1033
+ "name": "DiscordActionRow",
1034
+ "module": "src/components/discord-action-row/DiscordActionRow.ts"
1035
1035
  }
1036
1036
  },
1037
1037
  {
1038
1038
  "kind": "custom-element-definition",
1039
- "name": "discord-attachments",
1039
+ "name": "discord-action-row",
1040
1040
  "declaration": {
1041
- "name": "DiscordAttachments",
1042
- "module": "src/components/discord-attachments/DiscordAttachments.ts"
1041
+ "name": "DiscordActionRow",
1042
+ "module": "src/components/discord-action-row/DiscordActionRow.ts"
1043
1043
  }
1044
1044
  }
1045
1045
  ]
@@ -4884,6 +4884,178 @@
4884
4884
  }
4885
4885
  ]
4886
4886
  },
4887
+ {
4888
+ "kind": "javascript-module",
4889
+ "path": "src/components/discord-link/DiscordLink.ts",
4890
+ "declarations": [
4891
+ {
4892
+ "kind": "class",
4893
+ "description": "",
4894
+ "name": "DiscordLink",
4895
+ "members": [
4896
+ {
4897
+ "kind": "field",
4898
+ "name": "lightTheme",
4899
+ "type": {
4900
+ "text": "boolean"
4901
+ },
4902
+ "privacy": "public",
4903
+ "default": "false",
4904
+ "attribute": "light-theme",
4905
+ "reflects": true
4906
+ },
4907
+ {
4908
+ "kind": "field",
4909
+ "name": "href",
4910
+ "type": {
4911
+ "text": "string"
4912
+ },
4913
+ "privacy": "public",
4914
+ "description": "The URL to link",
4915
+ "attribute": "href"
4916
+ },
4917
+ {
4918
+ "kind": "field",
4919
+ "name": "rel",
4920
+ "type": {
4921
+ "text": "string"
4922
+ },
4923
+ "privacy": "public",
4924
+ "description": "The `<a>` tag https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#rel | `rel`",
4925
+ "attribute": "rel"
4926
+ },
4927
+ {
4928
+ "kind": "field",
4929
+ "name": "target",
4930
+ "type": {
4931
+ "text": "'_blank' | '_parent' | '_self' | '_top'"
4932
+ },
4933
+ "privacy": "public",
4934
+ "description": "The `<a>` tag https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#target | `target`",
4935
+ "attribute": "target"
4936
+ },
4937
+ {
4938
+ "kind": "field",
4939
+ "name": "type",
4940
+ "type": {
4941
+ "text": "string"
4942
+ },
4943
+ "privacy": "public",
4944
+ "description": "The `<a>` tag https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#type | `type`",
4945
+ "attribute": "type"
4946
+ }
4947
+ ],
4948
+ "attributes": [
4949
+ {
4950
+ "name": "light-theme",
4951
+ "type": {
4952
+ "text": "boolean"
4953
+ },
4954
+ "default": "false",
4955
+ "fieldName": "lightTheme"
4956
+ },
4957
+ {
4958
+ "name": "href",
4959
+ "type": {
4960
+ "text": "string"
4961
+ },
4962
+ "description": "The URL to link",
4963
+ "fieldName": "href"
4964
+ },
4965
+ {
4966
+ "name": "rel",
4967
+ "type": {
4968
+ "text": "string"
4969
+ },
4970
+ "description": "The `<a>` tag https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#rel | `rel`",
4971
+ "fieldName": "rel"
4972
+ },
4973
+ {
4974
+ "name": "target",
4975
+ "type": {
4976
+ "text": "'_blank' | '_parent' | '_self' | '_top'"
4977
+ },
4978
+ "description": "The `<a>` tag https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#target | `target`",
4979
+ "fieldName": "target"
4980
+ },
4981
+ {
4982
+ "name": "type",
4983
+ "type": {
4984
+ "text": "string"
4985
+ },
4986
+ "description": "The `<a>` tag https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#type | `type`",
4987
+ "fieldName": "type"
4988
+ }
4989
+ ],
4990
+ "superclass": {
4991
+ "name": "LitElement",
4992
+ "package": "lit"
4993
+ },
4994
+ "tagName": "discord-link",
4995
+ "customElement": true
4996
+ }
4997
+ ],
4998
+ "exports": [
4999
+ {
5000
+ "kind": "js",
5001
+ "name": "DiscordLink",
5002
+ "declaration": {
5003
+ "name": "DiscordLink",
5004
+ "module": "src/components/discord-link/DiscordLink.ts"
5005
+ }
5006
+ },
5007
+ {
5008
+ "kind": "custom-element-definition",
5009
+ "name": "discord-link",
5010
+ "declaration": {
5011
+ "name": "DiscordLink",
5012
+ "module": "src/components/discord-link/DiscordLink.ts"
5013
+ }
5014
+ }
5015
+ ]
5016
+ },
5017
+ {
5018
+ "kind": "javascript-module",
5019
+ "path": "src/components/discord-list-item/DiscordListItem.ts",
5020
+ "declarations": [
5021
+ {
5022
+ "kind": "class",
5023
+ "description": "",
5024
+ "name": "DiscordListItem",
5025
+ "members": [
5026
+ {
5027
+ "kind": "method",
5028
+ "name": "checkParentElement",
5029
+ "privacy": "public"
5030
+ }
5031
+ ],
5032
+ "superclass": {
5033
+ "name": "LitElement",
5034
+ "package": "lit"
5035
+ },
5036
+ "tagName": "discord-list-item",
5037
+ "customElement": true
5038
+ }
5039
+ ],
5040
+ "exports": [
5041
+ {
5042
+ "kind": "js",
5043
+ "name": "DiscordListItem",
5044
+ "declaration": {
5045
+ "name": "DiscordListItem",
5046
+ "module": "src/components/discord-list-item/DiscordListItem.ts"
5047
+ }
5048
+ },
5049
+ {
5050
+ "kind": "custom-element-definition",
5051
+ "name": "discord-list-item",
5052
+ "declaration": {
5053
+ "name": "DiscordListItem",
5054
+ "module": "src/components/discord-list-item/DiscordListItem.ts"
5055
+ }
5056
+ }
5057
+ ]
5058
+ },
4887
5059
  {
4888
5060
  "kind": "javascript-module",
4889
5061
  "path": "src/components/discord-media-fullscreen-previewer/DiscordMediaFullscreenPreviewer.ts",
@@ -5307,48 +5479,6 @@
5307
5479
  }
5308
5480
  ]
5309
5481
  },
5310
- {
5311
- "kind": "javascript-module",
5312
- "path": "src/components/discord-list-item/DiscordListItem.ts",
5313
- "declarations": [
5314
- {
5315
- "kind": "class",
5316
- "description": "",
5317
- "name": "DiscordListItem",
5318
- "members": [
5319
- {
5320
- "kind": "method",
5321
- "name": "checkParentElement",
5322
- "privacy": "public"
5323
- }
5324
- ],
5325
- "superclass": {
5326
- "name": "LitElement",
5327
- "package": "lit"
5328
- },
5329
- "tagName": "discord-list-item",
5330
- "customElement": true
5331
- }
5332
- ],
5333
- "exports": [
5334
- {
5335
- "kind": "js",
5336
- "name": "DiscordListItem",
5337
- "declaration": {
5338
- "name": "DiscordListItem",
5339
- "module": "src/components/discord-list-item/DiscordListItem.ts"
5340
- }
5341
- },
5342
- {
5343
- "kind": "custom-element-definition",
5344
- "name": "discord-list-item",
5345
- "declaration": {
5346
- "name": "DiscordListItem",
5347
- "module": "src/components/discord-list-item/DiscordListItem.ts"
5348
- }
5349
- }
5350
- ]
5351
- },
5352
5482
  {
5353
5483
  "kind": "javascript-module",
5354
5484
  "path": "src/components/discord-media-gallery/DiscordMediaGallery.ts",
@@ -5461,7 +5591,7 @@
5461
5591
  },
5462
5592
  {
5463
5593
  "kind": "javascript-module",
5464
- "path": "src/components/discord-media-gallery-tem/DiscordMediaGalleryItem.ts",
5594
+ "path": "src/components/discord-media-gallery-item/DiscordMediaGalleryItem.ts",
5465
5595
  "declarations": [
5466
5596
  {
5467
5597
  "kind": "class",
@@ -5615,7 +5745,7 @@
5615
5745
  "name": "DiscordMediaGalleryItem",
5616
5746
  "declaration": {
5617
5747
  "name": "DiscordMediaGalleryItem",
5618
- "module": "src/components/discord-media-gallery-tem/DiscordMediaGalleryItem.ts"
5748
+ "module": "src/components/discord-media-gallery-item/DiscordMediaGalleryItem.ts"
5619
5749
  }
5620
5750
  },
5621
5751
  {
@@ -5623,7 +5753,7 @@
5623
5753
  "name": "discord-media-gallery-item",
5624
5754
  "declaration": {
5625
5755
  "name": "DiscordMediaGalleryItem",
5626
- "module": "src/components/discord-media-gallery-tem/DiscordMediaGalleryItem.ts"
5756
+ "module": "src/components/discord-media-gallery-item/DiscordMediaGalleryItem.ts"
5627
5757
  }
5628
5758
  }
5629
5759
  ]
@@ -5737,146 +5867,16 @@
5737
5867
  },
5738
5868
  {
5739
5869
  "kind": "javascript-module",
5740
- "path": "src/components/discord-link/DiscordLink.ts",
5870
+ "path": "src/components/discord-mention/DiscordMention.ts",
5741
5871
  "declarations": [
5742
5872
  {
5743
5873
  "kind": "class",
5744
5874
  "description": "",
5745
- "name": "DiscordLink",
5875
+ "name": "DiscordMention",
5746
5876
  "members": [
5747
5877
  {
5748
5878
  "kind": "field",
5749
- "name": "lightTheme",
5750
- "type": {
5751
- "text": "boolean"
5752
- },
5753
- "privacy": "public",
5754
- "default": "false",
5755
- "attribute": "light-theme",
5756
- "reflects": true
5757
- },
5758
- {
5759
- "kind": "field",
5760
- "name": "href",
5761
- "type": {
5762
- "text": "string"
5763
- },
5764
- "privacy": "public",
5765
- "description": "The URL to link",
5766
- "attribute": "href"
5767
- },
5768
- {
5769
- "kind": "field",
5770
- "name": "rel",
5771
- "type": {
5772
- "text": "string"
5773
- },
5774
- "privacy": "public",
5775
- "description": "The `<a>` tag https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#rel | `rel`",
5776
- "attribute": "rel"
5777
- },
5778
- {
5779
- "kind": "field",
5780
- "name": "target",
5781
- "type": {
5782
- "text": "'_blank' | '_parent' | '_self' | '_top'"
5783
- },
5784
- "privacy": "public",
5785
- "description": "The `<a>` tag https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#target | `target`",
5786
- "attribute": "target"
5787
- },
5788
- {
5789
- "kind": "field",
5790
- "name": "type",
5791
- "type": {
5792
- "text": "string"
5793
- },
5794
- "privacy": "public",
5795
- "description": "The `<a>` tag https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#type | `type`",
5796
- "attribute": "type"
5797
- }
5798
- ],
5799
- "attributes": [
5800
- {
5801
- "name": "light-theme",
5802
- "type": {
5803
- "text": "boolean"
5804
- },
5805
- "default": "false",
5806
- "fieldName": "lightTheme"
5807
- },
5808
- {
5809
- "name": "href",
5810
- "type": {
5811
- "text": "string"
5812
- },
5813
- "description": "The URL to link",
5814
- "fieldName": "href"
5815
- },
5816
- {
5817
- "name": "rel",
5818
- "type": {
5819
- "text": "string"
5820
- },
5821
- "description": "The `<a>` tag https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#rel | `rel`",
5822
- "fieldName": "rel"
5823
- },
5824
- {
5825
- "name": "target",
5826
- "type": {
5827
- "text": "'_blank' | '_parent' | '_self' | '_top'"
5828
- },
5829
- "description": "The `<a>` tag https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#target | `target`",
5830
- "fieldName": "target"
5831
- },
5832
- {
5833
- "name": "type",
5834
- "type": {
5835
- "text": "string"
5836
- },
5837
- "description": "The `<a>` tag https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#type | `type`",
5838
- "fieldName": "type"
5839
- }
5840
- ],
5841
- "superclass": {
5842
- "name": "LitElement",
5843
- "package": "lit"
5844
- },
5845
- "tagName": "discord-link",
5846
- "customElement": true
5847
- }
5848
- ],
5849
- "exports": [
5850
- {
5851
- "kind": "js",
5852
- "name": "DiscordLink",
5853
- "declaration": {
5854
- "name": "DiscordLink",
5855
- "module": "src/components/discord-link/DiscordLink.ts"
5856
- }
5857
- },
5858
- {
5859
- "kind": "custom-element-definition",
5860
- "name": "discord-link",
5861
- "declaration": {
5862
- "name": "DiscordLink",
5863
- "module": "src/components/discord-link/DiscordLink.ts"
5864
- }
5865
- }
5866
- ]
5867
- },
5868
- {
5869
- "kind": "javascript-module",
5870
- "path": "src/components/discord-mention/DiscordMention.ts",
5871
- "declarations": [
5872
- {
5873
- "kind": "class",
5874
- "description": "",
5875
- "name": "DiscordMention",
5876
- "members": [
5877
- {
5878
- "kind": "field",
5879
- "name": "highlight",
5879
+ "name": "highlight",
5880
5880
  "type": {
5881
5881
  "text": "boolean"
5882
5882
  },
@@ -7047,95 +7047,121 @@
7047
7047
  },
7048
7048
  {
7049
7049
  "kind": "javascript-module",
7050
- "path": "src/components/discord-poll-answer/DiscordPollAnswer.ts",
7050
+ "path": "src/components/discord-poll/DiscordPoll.ts",
7051
7051
  "declarations": [
7052
+ {
7053
+ "kind": "variable",
7054
+ "name": "multipleAnswersPoll"
7055
+ },
7056
+ {
7057
+ "kind": "variable",
7058
+ "name": "pollEnded"
7059
+ },
7060
+ {
7061
+ "kind": "variable",
7062
+ "name": "pollVoted"
7063
+ },
7064
+ {
7065
+ "kind": "variable",
7066
+ "name": "showResults"
7067
+ },
7052
7068
  {
7053
7069
  "kind": "class",
7054
7070
  "description": "",
7055
- "name": "DiscordPollAnswer",
7071
+ "name": "DiscordPoll",
7056
7072
  "members": [
7057
7073
  {
7058
7074
  "kind": "field",
7059
- "name": "emoji",
7075
+ "name": "question",
7060
7076
  "type": {
7061
7077
  "text": "string"
7062
7078
  },
7063
7079
  "privacy": "public",
7064
- "attribute": "emoji",
7080
+ "attribute": "question",
7065
7081
  "reflects": true
7066
7082
  },
7067
7083
  {
7068
7084
  "kind": "field",
7069
- "name": "answer",
7085
+ "name": "timeEnd",
7070
7086
  "type": {
7071
7087
  "text": "string"
7072
7088
  },
7073
7089
  "privacy": "public",
7074
- "attribute": "answer",
7090
+ "default": "'24h'",
7091
+ "attribute": "time-end",
7075
7092
  "reflects": true
7076
7093
  },
7077
7094
  {
7078
7095
  "kind": "field",
7079
- "name": "votes",
7096
+ "name": "pollEnded",
7080
7097
  "type": {
7081
- "text": "number"
7098
+ "text": "boolean"
7082
7099
  },
7083
7100
  "privacy": "public",
7084
- "default": "0",
7085
- "attribute": "votes",
7101
+ "default": "false",
7102
+ "attribute": "ended",
7086
7103
  "reflects": true
7087
7104
  },
7088
7105
  {
7089
7106
  "kind": "field",
7090
- "name": "selected",
7107
+ "name": "multipleAnswers",
7091
7108
  "type": {
7092
7109
  "text": "boolean"
7093
7110
  },
7094
7111
  "privacy": "public",
7095
7112
  "default": "false",
7096
- "attribute": "selected",
7113
+ "attribute": "multiple-answers",
7097
7114
  "reflects": true
7098
7115
  },
7099
7116
  {
7100
7117
  "kind": "field",
7101
- "name": "compactMode",
7118
+ "name": "pollVoted",
7102
7119
  "type": {
7103
7120
  "text": "boolean"
7104
7121
  },
7105
7122
  "privacy": "public",
7106
7123
  "default": "false",
7107
- "description": "Whether to use compact mode or not."
7124
+ "attribute": "voted",
7125
+ "reflects": true
7108
7126
  },
7109
7127
  {
7110
7128
  "kind": "field",
7111
- "name": "multipleAnswers",
7129
+ "name": "showResults",
7112
7130
  "type": {
7113
7131
  "text": "boolean"
7114
7132
  },
7115
7133
  "privacy": "public",
7116
- "default": "false"
7134
+ "default": "false",
7135
+ "attribute": "show-results",
7136
+ "reflects": true
7117
7137
  },
7118
7138
  {
7119
7139
  "kind": "field",
7120
- "name": "pollEnded",
7140
+ "name": "compactMode",
7121
7141
  "type": {
7122
7142
  "text": "boolean"
7123
7143
  },
7124
7144
  "privacy": "public",
7125
- "default": "false"
7145
+ "default": "false",
7146
+ "description": "Whether to use compact mode or not.",
7147
+ "attribute": "compact-mode",
7148
+ "reflects": true
7126
7149
  },
7127
7150
  {
7128
7151
  "kind": "field",
7129
- "name": "pollVoted",
7152
+ "name": "lightTheme",
7130
7153
  "type": {
7131
7154
  "text": "boolean"
7132
7155
  },
7133
7156
  "privacy": "public",
7134
- "default": "false"
7157
+ "default": "false",
7158
+ "description": "Whether to use light theme or not.",
7159
+ "attribute": "light-theme",
7160
+ "reflects": true
7135
7161
  },
7136
7162
  {
7137
7163
  "kind": "field",
7138
- "name": "showResult",
7164
+ "name": "selected",
7139
7165
  "type": {
7140
7166
  "text": "boolean"
7141
7167
  },
@@ -7144,87 +7170,70 @@
7144
7170
  },
7145
7171
  {
7146
7172
  "kind": "field",
7147
- "name": "lightTheme",
7148
- "type": {
7149
- "text": "boolean"
7150
- },
7151
- "privacy": "public",
7152
- "default": "false",
7153
- "description": "Whether to use ligth theme or not.",
7154
- "attribute": "light-theme",
7155
- "reflects": true
7156
- },
7157
- {
7158
- "kind": "field",
7159
- "name": "totalVotesPoll",
7173
+ "name": "totVotes",
7160
7174
  "type": {
7161
7175
  "text": "number"
7162
7176
  },
7163
7177
  "privacy": "private",
7164
7178
  "default": "0"
7165
- },
7179
+ }
7180
+ ],
7181
+ "attributes": [
7166
7182
  {
7167
- "kind": "field",
7168
- "name": "percentageVoted",
7183
+ "name": "question",
7169
7184
  "type": {
7170
- "text": "number"
7185
+ "text": "string"
7171
7186
  },
7172
- "privacy": "private"
7187
+ "fieldName": "question"
7173
7188
  },
7174
7189
  {
7175
- "kind": "field",
7176
- "name": "arrayAnswers",
7190
+ "name": "time-end",
7177
7191
  "type": {
7178
- "text": "{ answer: string; value: number }[]"
7192
+ "text": "string"
7179
7193
  },
7180
- "privacy": "private",
7181
- "default": "[]"
7194
+ "default": "'24h'",
7195
+ "fieldName": "timeEnd"
7182
7196
  },
7183
7197
  {
7184
- "kind": "field",
7185
- "name": "winners",
7198
+ "name": "ended",
7186
7199
  "type": {
7187
- "text": "string[]"
7200
+ "text": "boolean"
7188
7201
  },
7189
- "privacy": "private",
7190
- "default": "[]"
7202
+ "default": "false",
7203
+ "fieldName": "pollEnded"
7191
7204
  },
7192
7205
  {
7193
- "kind": "method",
7194
- "name": "_onClick",
7195
- "privacy": "protected"
7196
- }
7197
- ],
7198
- "attributes": [
7199
- {
7200
- "name": "emoji",
7206
+ "name": "multiple-answers",
7201
7207
  "type": {
7202
- "text": "string"
7208
+ "text": "boolean"
7203
7209
  },
7204
- "fieldName": "emoji"
7210
+ "default": "false",
7211
+ "fieldName": "multipleAnswers"
7205
7212
  },
7206
7213
  {
7207
- "name": "answer",
7214
+ "name": "voted",
7208
7215
  "type": {
7209
- "text": "string"
7216
+ "text": "boolean"
7210
7217
  },
7211
- "fieldName": "answer"
7218
+ "default": "false",
7219
+ "fieldName": "pollVoted"
7212
7220
  },
7213
7221
  {
7214
- "name": "votes",
7222
+ "name": "show-results",
7215
7223
  "type": {
7216
- "text": "number"
7224
+ "text": "boolean"
7217
7225
  },
7218
- "default": "0",
7219
- "fieldName": "votes"
7226
+ "default": "false",
7227
+ "fieldName": "showResults"
7220
7228
  },
7221
7229
  {
7222
- "name": "selected",
7230
+ "name": "compact-mode",
7223
7231
  "type": {
7224
7232
  "text": "boolean"
7225
7233
  },
7226
7234
  "default": "false",
7227
- "fieldName": "selected"
7235
+ "description": "Whether to use compact mode or not.",
7236
+ "fieldName": "compactMode"
7228
7237
  },
7229
7238
  {
7230
7239
  "name": "light-theme",
@@ -7232,7 +7241,7 @@
7232
7241
  "text": "boolean"
7233
7242
  },
7234
7243
  "default": "false",
7235
- "description": "Whether to use ligth theme or not.",
7244
+ "description": "Whether to use light theme or not.",
7236
7245
  "fieldName": "lightTheme"
7237
7246
  }
7238
7247
  ],
@@ -7240,146 +7249,152 @@
7240
7249
  "name": "LitElement",
7241
7250
  "package": "lit"
7242
7251
  },
7243
- "tagName": "discord-poll-answer",
7252
+ "tagName": "discord-poll",
7244
7253
  "customElement": true
7245
7254
  }
7246
7255
  ],
7247
7256
  "exports": [
7248
7257
  {
7249
7258
  "kind": "js",
7250
- "name": "DiscordPollAnswer",
7259
+ "name": "multipleAnswersPoll",
7251
7260
  "declaration": {
7252
- "name": "DiscordPollAnswer",
7253
- "module": "src/components/discord-poll-answer/DiscordPollAnswer.ts"
7261
+ "name": "multipleAnswersPoll",
7262
+ "module": "src/components/discord-poll/DiscordPoll.ts"
7254
7263
  }
7255
7264
  },
7256
7265
  {
7257
- "kind": "custom-element-definition",
7258
- "name": "discord-poll-answer",
7266
+ "kind": "js",
7267
+ "name": "pollEnded",
7259
7268
  "declaration": {
7260
- "name": "DiscordPollAnswer",
7261
- "module": "src/components/discord-poll-answer/DiscordPollAnswer.ts"
7269
+ "name": "pollEnded",
7270
+ "module": "src/components/discord-poll/DiscordPoll.ts"
7262
7271
  }
7263
- }
7264
- ]
7265
- },
7266
- {
7267
- "kind": "javascript-module",
7268
- "path": "src/components/discord-poll/DiscordPoll.ts",
7269
- "declarations": [
7270
- {
7271
- "kind": "variable",
7272
- "name": "multipleAnswersPoll"
7273
7272
  },
7274
7273
  {
7275
- "kind": "variable",
7276
- "name": "pollEnded"
7274
+ "kind": "js",
7275
+ "name": "pollVoted",
7276
+ "declaration": {
7277
+ "name": "pollVoted",
7278
+ "module": "src/components/discord-poll/DiscordPoll.ts"
7279
+ }
7277
7280
  },
7278
7281
  {
7279
- "kind": "variable",
7280
- "name": "pollVoted"
7282
+ "kind": "js",
7283
+ "name": "showResults",
7284
+ "declaration": {
7285
+ "name": "showResults",
7286
+ "module": "src/components/discord-poll/DiscordPoll.ts"
7287
+ }
7281
7288
  },
7282
7289
  {
7283
- "kind": "variable",
7284
- "name": "showResults"
7290
+ "kind": "js",
7291
+ "name": "DiscordPoll",
7292
+ "declaration": {
7293
+ "name": "DiscordPoll",
7294
+ "module": "src/components/discord-poll/DiscordPoll.ts"
7295
+ }
7285
7296
  },
7297
+ {
7298
+ "kind": "custom-element-definition",
7299
+ "name": "discord-poll",
7300
+ "declaration": {
7301
+ "name": "DiscordPoll",
7302
+ "module": "src/components/discord-poll/DiscordPoll.ts"
7303
+ }
7304
+ }
7305
+ ]
7306
+ },
7307
+ {
7308
+ "kind": "javascript-module",
7309
+ "path": "src/components/discord-poll-answer/DiscordPollAnswer.ts",
7310
+ "declarations": [
7286
7311
  {
7287
7312
  "kind": "class",
7288
7313
  "description": "",
7289
- "name": "DiscordPoll",
7314
+ "name": "DiscordPollAnswer",
7290
7315
  "members": [
7291
7316
  {
7292
7317
  "kind": "field",
7293
- "name": "question",
7318
+ "name": "emoji",
7294
7319
  "type": {
7295
7320
  "text": "string"
7296
7321
  },
7297
7322
  "privacy": "public",
7298
- "attribute": "question",
7323
+ "attribute": "emoji",
7299
7324
  "reflects": true
7300
7325
  },
7301
7326
  {
7302
7327
  "kind": "field",
7303
- "name": "timeEnd",
7328
+ "name": "answer",
7304
7329
  "type": {
7305
7330
  "text": "string"
7306
7331
  },
7307
7332
  "privacy": "public",
7308
- "default": "'24h'",
7309
- "attribute": "time-end",
7333
+ "attribute": "answer",
7310
7334
  "reflects": true
7311
7335
  },
7312
7336
  {
7313
7337
  "kind": "field",
7314
- "name": "pollEnded",
7338
+ "name": "votes",
7315
7339
  "type": {
7316
- "text": "boolean"
7340
+ "text": "number"
7317
7341
  },
7318
7342
  "privacy": "public",
7319
- "default": "false",
7320
- "attribute": "ended",
7343
+ "default": "0",
7344
+ "attribute": "votes",
7321
7345
  "reflects": true
7322
7346
  },
7323
7347
  {
7324
7348
  "kind": "field",
7325
- "name": "multipleAnswers",
7349
+ "name": "selected",
7326
7350
  "type": {
7327
7351
  "text": "boolean"
7328
7352
  },
7329
7353
  "privacy": "public",
7330
7354
  "default": "false",
7331
- "attribute": "multiple-answers",
7355
+ "attribute": "selected",
7332
7356
  "reflects": true
7333
7357
  },
7334
7358
  {
7335
7359
  "kind": "field",
7336
- "name": "pollVoted",
7360
+ "name": "compactMode",
7337
7361
  "type": {
7338
7362
  "text": "boolean"
7339
7363
  },
7340
7364
  "privacy": "public",
7341
7365
  "default": "false",
7342
- "attribute": "voted",
7343
- "reflects": true
7366
+ "description": "Whether to use compact mode or not."
7344
7367
  },
7345
7368
  {
7346
7369
  "kind": "field",
7347
- "name": "showResults",
7370
+ "name": "multipleAnswers",
7348
7371
  "type": {
7349
7372
  "text": "boolean"
7350
7373
  },
7351
7374
  "privacy": "public",
7352
- "default": "false",
7353
- "attribute": "show-results",
7354
- "reflects": true
7375
+ "default": "false"
7355
7376
  },
7356
7377
  {
7357
7378
  "kind": "field",
7358
- "name": "compactMode",
7379
+ "name": "pollEnded",
7359
7380
  "type": {
7360
7381
  "text": "boolean"
7361
7382
  },
7362
7383
  "privacy": "public",
7363
- "default": "false",
7364
- "description": "Whether to use compact mode or not.",
7365
- "attribute": "compact-mode",
7366
- "reflects": true
7384
+ "default": "false"
7367
7385
  },
7368
7386
  {
7369
7387
  "kind": "field",
7370
- "name": "lightTheme",
7388
+ "name": "pollVoted",
7371
7389
  "type": {
7372
7390
  "text": "boolean"
7373
7391
  },
7374
7392
  "privacy": "public",
7375
- "default": "false",
7376
- "description": "Whether to use light theme or not.",
7377
- "attribute": "light-theme",
7378
- "reflects": true
7393
+ "default": "false"
7379
7394
  },
7380
7395
  {
7381
7396
  "kind": "field",
7382
- "name": "selected",
7397
+ "name": "showResult",
7383
7398
  "type": {
7384
7399
  "text": "boolean"
7385
7400
  },
@@ -7388,70 +7403,87 @@
7388
7403
  },
7389
7404
  {
7390
7405
  "kind": "field",
7391
- "name": "totVotes",
7406
+ "name": "lightTheme",
7407
+ "type": {
7408
+ "text": "boolean"
7409
+ },
7410
+ "privacy": "public",
7411
+ "default": "false",
7412
+ "description": "Whether to use ligth theme or not.",
7413
+ "attribute": "light-theme",
7414
+ "reflects": true
7415
+ },
7416
+ {
7417
+ "kind": "field",
7418
+ "name": "totalVotesPoll",
7392
7419
  "type": {
7393
7420
  "text": "number"
7394
7421
  },
7395
7422
  "privacy": "private",
7396
7423
  "default": "0"
7397
- }
7398
- ],
7399
- "attributes": [
7424
+ },
7400
7425
  {
7401
- "name": "question",
7426
+ "kind": "field",
7427
+ "name": "percentageVoted",
7402
7428
  "type": {
7403
- "text": "string"
7429
+ "text": "number"
7404
7430
  },
7405
- "fieldName": "question"
7431
+ "privacy": "private"
7406
7432
  },
7407
7433
  {
7408
- "name": "time-end",
7434
+ "kind": "field",
7435
+ "name": "arrayAnswers",
7409
7436
  "type": {
7410
- "text": "string"
7437
+ "text": "{ answer: string; value: number }[]"
7411
7438
  },
7412
- "default": "'24h'",
7413
- "fieldName": "timeEnd"
7439
+ "privacy": "private",
7440
+ "default": "[]"
7414
7441
  },
7415
7442
  {
7416
- "name": "ended",
7443
+ "kind": "field",
7444
+ "name": "winners",
7417
7445
  "type": {
7418
- "text": "boolean"
7446
+ "text": "string[]"
7419
7447
  },
7420
- "default": "false",
7421
- "fieldName": "pollEnded"
7448
+ "privacy": "private",
7449
+ "default": "[]"
7422
7450
  },
7423
7451
  {
7424
- "name": "multiple-answers",
7452
+ "kind": "method",
7453
+ "name": "_onClick",
7454
+ "privacy": "protected"
7455
+ }
7456
+ ],
7457
+ "attributes": [
7458
+ {
7459
+ "name": "emoji",
7425
7460
  "type": {
7426
- "text": "boolean"
7461
+ "text": "string"
7427
7462
  },
7428
- "default": "false",
7429
- "fieldName": "multipleAnswers"
7463
+ "fieldName": "emoji"
7430
7464
  },
7431
7465
  {
7432
- "name": "voted",
7466
+ "name": "answer",
7433
7467
  "type": {
7434
- "text": "boolean"
7468
+ "text": "string"
7435
7469
  },
7436
- "default": "false",
7437
- "fieldName": "pollVoted"
7470
+ "fieldName": "answer"
7438
7471
  },
7439
7472
  {
7440
- "name": "show-results",
7473
+ "name": "votes",
7441
7474
  "type": {
7442
- "text": "boolean"
7475
+ "text": "number"
7443
7476
  },
7444
- "default": "false",
7445
- "fieldName": "showResults"
7477
+ "default": "0",
7478
+ "fieldName": "votes"
7446
7479
  },
7447
7480
  {
7448
- "name": "compact-mode",
7481
+ "name": "selected",
7449
7482
  "type": {
7450
7483
  "text": "boolean"
7451
7484
  },
7452
7485
  "default": "false",
7453
- "description": "Whether to use compact mode or not.",
7454
- "fieldName": "compactMode"
7486
+ "fieldName": "selected"
7455
7487
  },
7456
7488
  {
7457
7489
  "name": "light-theme",
@@ -7459,7 +7491,7 @@
7459
7491
  "text": "boolean"
7460
7492
  },
7461
7493
  "default": "false",
7462
- "description": "Whether to use light theme or not.",
7494
+ "description": "Whether to use ligth theme or not.",
7463
7495
  "fieldName": "lightTheme"
7464
7496
  }
7465
7497
  ],
@@ -7467,65 +7499,33 @@
7467
7499
  "name": "LitElement",
7468
7500
  "package": "lit"
7469
7501
  },
7470
- "tagName": "discord-poll",
7502
+ "tagName": "discord-poll-answer",
7471
7503
  "customElement": true
7472
7504
  }
7473
7505
  ],
7474
7506
  "exports": [
7475
7507
  {
7476
7508
  "kind": "js",
7477
- "name": "multipleAnswersPoll",
7478
- "declaration": {
7479
- "name": "multipleAnswersPoll",
7480
- "module": "src/components/discord-poll/DiscordPoll.ts"
7481
- }
7482
- },
7483
- {
7484
- "kind": "js",
7485
- "name": "pollEnded",
7486
- "declaration": {
7487
- "name": "pollEnded",
7488
- "module": "src/components/discord-poll/DiscordPoll.ts"
7489
- }
7490
- },
7491
- {
7492
- "kind": "js",
7493
- "name": "pollVoted",
7509
+ "name": "DiscordPollAnswer",
7494
7510
  "declaration": {
7495
- "name": "pollVoted",
7496
- "module": "src/components/discord-poll/DiscordPoll.ts"
7511
+ "name": "DiscordPollAnswer",
7512
+ "module": "src/components/discord-poll-answer/DiscordPollAnswer.ts"
7497
7513
  }
7498
7514
  },
7499
7515
  {
7500
- "kind": "js",
7501
- "name": "showResults",
7516
+ "kind": "custom-element-definition",
7517
+ "name": "discord-poll-answer",
7502
7518
  "declaration": {
7503
- "name": "showResults",
7504
- "module": "src/components/discord-poll/DiscordPoll.ts"
7519
+ "name": "DiscordPollAnswer",
7520
+ "module": "src/components/discord-poll-answer/DiscordPollAnswer.ts"
7505
7521
  }
7506
- },
7507
- {
7508
- "kind": "js",
7509
- "name": "DiscordPoll",
7510
- "declaration": {
7511
- "name": "DiscordPoll",
7512
- "module": "src/components/discord-poll/DiscordPoll.ts"
7513
- }
7514
- },
7515
- {
7516
- "kind": "custom-element-definition",
7517
- "name": "discord-poll",
7518
- "declaration": {
7519
- "name": "DiscordPoll",
7520
- "module": "src/components/discord-poll/DiscordPoll.ts"
7521
- }
7522
- }
7523
- ]
7524
- },
7525
- {
7526
- "kind": "javascript-module",
7527
- "path": "src/components/discord-pre/DiscordPre.ts",
7528
- "declarations": [
7522
+ }
7523
+ ]
7524
+ },
7525
+ {
7526
+ "kind": "javascript-module",
7527
+ "path": "src/components/discord-pre/DiscordPre.ts",
7528
+ "declarations": [
7529
7529
  {
7530
7530
  "kind": "class",
7531
7531
  "description": "",
@@ -9099,7 +9099,7 @@
9099
9099
  },
9100
9100
  {
9101
9101
  "kind": "javascript-module",
9102
- "path": "src/components/discord-text-file-attachment-preview/DiscordTextFileAttachmentPreviewer.ts",
9102
+ "path": "src/components/discord-text-file-attachment-previewer/DiscordTextFileAttachmentPreviewer.ts",
9103
9103
  "declarations": [
9104
9104
  {
9105
9105
  "kind": "class",
@@ -9370,7 +9370,7 @@
9370
9370
  "name": "DiscordTextFileAttachmentPreviewer",
9371
9371
  "declaration": {
9372
9372
  "name": "DiscordTextFileAttachmentPreviewer",
9373
- "module": "src/components/discord-text-file-attachment-preview/DiscordTextFileAttachmentPreviewer.ts"
9373
+ "module": "src/components/discord-text-file-attachment-previewer/DiscordTextFileAttachmentPreviewer.ts"
9374
9374
  }
9375
9375
  },
9376
9376
  {
@@ -9378,7 +9378,7 @@
9378
9378
  "name": "discord-text-file-attachment-previewer",
9379
9379
  "declaration": {
9380
9380
  "name": "DiscordTextFileAttachmentPreviewer",
9381
- "module": "src/components/discord-text-file-attachment-preview/DiscordTextFileAttachmentPreviewer.ts"
9381
+ "module": "src/components/discord-text-file-attachment-previewer/DiscordTextFileAttachmentPreviewer.ts"
9382
9382
  }
9383
9383
  }
9384
9384
  ]
@@ -10054,6 +10054,42 @@
10054
10054
  }
10055
10055
  ]
10056
10056
  },
10057
+ {
10058
+ "kind": "javascript-module",
10059
+ "path": "src/components/discord-underlined/DiscordUnderlined.ts",
10060
+ "declarations": [
10061
+ {
10062
+ "kind": "class",
10063
+ "description": "",
10064
+ "name": "DiscordUnderlined",
10065
+ "members": [],
10066
+ "superclass": {
10067
+ "name": "LitElement",
10068
+ "package": "lit"
10069
+ },
10070
+ "tagName": "discord-underlined",
10071
+ "customElement": true
10072
+ }
10073
+ ],
10074
+ "exports": [
10075
+ {
10076
+ "kind": "js",
10077
+ "name": "DiscordUnderlined",
10078
+ "declaration": {
10079
+ "name": "DiscordUnderlined",
10080
+ "module": "src/components/discord-underlined/DiscordUnderlined.ts"
10081
+ }
10082
+ },
10083
+ {
10084
+ "kind": "custom-element-definition",
10085
+ "name": "discord-underlined",
10086
+ "declaration": {
10087
+ "name": "DiscordUnderlined",
10088
+ "module": "src/components/discord-underlined/DiscordUnderlined.ts"
10089
+ }
10090
+ }
10091
+ ]
10092
+ },
10057
10093
  {
10058
10094
  "kind": "javascript-module",
10059
10095
  "path": "src/components/discord-unordered-list/DiscordUnorderedList.ts",
@@ -10119,42 +10155,6 @@
10119
10155
  }
10120
10156
  ]
10121
10157
  },
10122
- {
10123
- "kind": "javascript-module",
10124
- "path": "src/components/discord-underlined/DiscordUnderlined.ts",
10125
- "declarations": [
10126
- {
10127
- "kind": "class",
10128
- "description": "",
10129
- "name": "DiscordUnderlined",
10130
- "members": [],
10131
- "superclass": {
10132
- "name": "LitElement",
10133
- "package": "lit"
10134
- },
10135
- "tagName": "discord-underlined",
10136
- "customElement": true
10137
- }
10138
- ],
10139
- "exports": [
10140
- {
10141
- "kind": "js",
10142
- "name": "DiscordUnderlined",
10143
- "declaration": {
10144
- "name": "DiscordUnderlined",
10145
- "module": "src/components/discord-underlined/DiscordUnderlined.ts"
10146
- }
10147
- },
10148
- {
10149
- "kind": "custom-element-definition",
10150
- "name": "discord-underlined",
10151
- "declaration": {
10152
- "name": "DiscordUnderlined",
10153
- "module": "src/components/discord-underlined/DiscordUnderlined.ts"
10154
- }
10155
- }
10156
- ]
10157
- },
10158
10158
  {
10159
10159
  "kind": "javascript-module",
10160
10160
  "path": "src/components/discord-verified-author-tag/DiscordVerifiedAuthorTag.ts",
@@ -11411,140 +11411,503 @@
11411
11411
  },
11412
11412
  {
11413
11413
  "kind": "javascript-module",
11414
- "path": "src/components/svgs/AttachmentDownloadButton.ts",
11414
+ "path": "src/components/_private/DiscordMediaAttachmentStyles.ts",
11415
+ "declarations": [],
11416
+ "exports": []
11417
+ },
11418
+ {
11419
+ "kind": "javascript-module",
11420
+ "path": "src/components/_private/DiscordMediaLifecycle.ts",
11415
11421
  "declarations": [
11416
11422
  {
11417
- "kind": "function",
11418
- "name": "AttachmentDownloadButton",
11419
- "parameters": [
11423
+ "kind": "class",
11424
+ "description": "",
11425
+ "name": "DiscordMediaLifecycle",
11426
+ "members": [
11420
11427
  {
11421
- "name": "props",
11422
- "default": "{}",
11428
+ "kind": "field",
11429
+ "name": "mediaComponentRef",
11423
11430
  "type": {
11424
- "text": "Record<string, unknown>"
11425
- }
11426
- }
11427
- ]
11428
- },
11429
- {
11430
- "kind": "function",
11431
- "name": "AttachmentLanguageSelectorSvg",
11432
- "parameters": [
11431
+ "text": "Ref<HTMLAudioElement | HTMLVideoElement>"
11432
+ },
11433
+ "privacy": "protected"
11434
+ },
11433
11435
  {
11434
- "name": "props",
11435
- "default": "{}",
11436
+ "kind": "field",
11437
+ "name": "seekSliderRef",
11436
11438
  "type": {
11437
- "text": "Record<string, unknown>"
11438
- }
11439
- }
11440
- ]
11441
- },
11442
- {
11443
- "kind": "function",
11444
- "name": "AttachmentLanguageSearchSvg",
11445
- "parameters": [
11439
+ "text": "Ref<HTMLInputElement>"
11440
+ },
11441
+ "privacy": "protected"
11442
+ },
11446
11443
  {
11447
- "name": "props",
11448
- "default": "{}",
11444
+ "kind": "field",
11445
+ "name": "volumeControlRef",
11449
11446
  "type": {
11450
- "text": "Record<string, unknown>"
11451
- }
11452
- }
11453
- ]
11454
- },
11455
- {
11456
- "kind": "function",
11457
- "name": "AttachmentLanguageSearchXSvg",
11458
- "parameters": [
11447
+ "text": "Ref<HTMLDivElement>"
11448
+ },
11449
+ "privacy": "protected"
11450
+ },
11459
11451
  {
11460
- "name": "props",
11461
- "default": "{}",
11452
+ "kind": "field",
11453
+ "name": "volumeControlInputRef",
11462
11454
  "type": {
11463
- "text": "Record<string, unknown>"
11464
- }
11465
- }
11466
- ]
11467
- }
11468
- ],
11469
- "exports": [
11470
- {
11471
- "kind": "js",
11472
- "name": "default",
11473
- "declaration": {
11474
- "name": "AttachmentDownloadButton",
11475
- "module": "src/components/svgs/AttachmentDownloadButton.ts"
11476
- }
11477
- },
11478
- {
11479
- "kind": "js",
11480
- "name": "AttachmentLanguageSelectorSvg",
11481
- "declaration": {
11482
- "name": "AttachmentLanguageSelectorSvg",
11483
- "module": "src/components/svgs/AttachmentDownloadButton.ts"
11484
- }
11485
- },
11486
- {
11487
- "kind": "js",
11488
- "name": "AttachmentLanguageSearchSvg",
11489
- "declaration": {
11490
- "name": "AttachmentLanguageSearchSvg",
11491
- "module": "src/components/svgs/AttachmentDownloadButton.ts"
11492
- }
11493
- },
11494
- {
11495
- "kind": "js",
11496
- "name": "AttachmentLanguageSearchXSvg",
11497
- "declaration": {
11498
- "name": "AttachmentLanguageSearchXSvg",
11499
- "module": "src/components/svgs/AttachmentDownloadButton.ts"
11500
- }
11501
- }
11502
- ]
11503
- },
11504
- {
11505
- "kind": "javascript-module",
11506
- "path": "src/components/svgs/AttachmentReply.ts",
11507
- "declarations": [
11508
- {
11509
- "kind": "function",
11510
- "name": "AttachmentReply",
11511
- "parameters": [
11455
+ "text": "Ref<HTMLInputElement>"
11456
+ },
11457
+ "privacy": "protected"
11458
+ },
11512
11459
  {
11513
- "name": "props",
11514
- "default": "{}",
11460
+ "kind": "field",
11461
+ "name": "currentPlaybackPosition",
11515
11462
  "type": {
11516
- "text": "Record<string, unknown>"
11517
- }
11518
- }
11519
- ]
11520
- }
11521
- ],
11522
- "exports": [
11523
- {
11524
- "kind": "js",
11525
- "name": "default",
11526
- "declaration": {
11527
- "name": "AttachmentReply",
11528
- "module": "src/components/svgs/AttachmentReply.ts"
11529
- }
11530
- }
11531
- ]
11532
- },
11533
- {
11534
- "kind": "javascript-module",
11535
- "path": "src/components/svgs/Boost.ts",
11536
- "declarations": [
11537
- {
11538
- "kind": "function",
11539
- "name": "Boost",
11540
- "parameters": [
11463
+ "text": "string"
11464
+ },
11465
+ "privacy": "protected",
11466
+ "default": "'0:00'"
11467
+ },
11541
11468
  {
11542
- "name": "props",
11543
- "default": "{}",
11469
+ "kind": "field",
11470
+ "name": "leftPlaybackPosition",
11544
11471
  "type": {
11545
- "text": "Record<string, unknown>"
11546
- }
11547
- }
11472
+ "text": "string"
11473
+ },
11474
+ "privacy": "protected",
11475
+ "default": "'0:00'"
11476
+ },
11477
+ {
11478
+ "kind": "field",
11479
+ "name": "totalMediaDuration",
11480
+ "type": {
11481
+ "text": "string"
11482
+ },
11483
+ "privacy": "protected",
11484
+ "default": "''"
11485
+ },
11486
+ {
11487
+ "kind": "field",
11488
+ "name": "isPlaying",
11489
+ "type": {
11490
+ "text": "boolean"
11491
+ },
11492
+ "privacy": "protected",
11493
+ "default": "false"
11494
+ },
11495
+ {
11496
+ "kind": "field",
11497
+ "name": "raf",
11498
+ "type": {
11499
+ "text": "number | null"
11500
+ },
11501
+ "privacy": "private",
11502
+ "default": "null"
11503
+ },
11504
+ {
11505
+ "kind": "field",
11506
+ "name": "isMuted",
11507
+ "type": {
11508
+ "text": "boolean"
11509
+ },
11510
+ "privacy": "protected",
11511
+ "default": "false"
11512
+ },
11513
+ {
11514
+ "kind": "field",
11515
+ "name": "currentVolume",
11516
+ "type": {
11517
+ "text": "number"
11518
+ },
11519
+ "privacy": "protected",
11520
+ "default": "1",
11521
+ "description": "Volume is a fractional value between 0 and 1"
11522
+ },
11523
+ {
11524
+ "kind": "field",
11525
+ "name": "hasEnded",
11526
+ "type": {
11527
+ "text": "boolean"
11528
+ },
11529
+ "privacy": "protected",
11530
+ "default": "false"
11531
+ },
11532
+ {
11533
+ "kind": "field",
11534
+ "name": "hasRunUpdate",
11535
+ "type": {
11536
+ "text": "boolean"
11537
+ },
11538
+ "privacy": "private",
11539
+ "default": "false"
11540
+ },
11541
+ {
11542
+ "kind": "method",
11543
+ "name": "calculateTime",
11544
+ "privacy": "protected",
11545
+ "parameters": [
11546
+ {
11547
+ "name": "secs",
11548
+ "type": {
11549
+ "text": "number"
11550
+ }
11551
+ }
11552
+ ]
11553
+ },
11554
+ {
11555
+ "kind": "method",
11556
+ "name": "displayMediaDuration",
11557
+ "privacy": "protected"
11558
+ },
11559
+ {
11560
+ "kind": "method",
11561
+ "name": "displayLeftPlaybackPosition",
11562
+ "privacy": "protected",
11563
+ "parameters": [
11564
+ {
11565
+ "name": "bufferedAmount",
11566
+ "type": {
11567
+ "text": "number"
11568
+ }
11569
+ }
11570
+ ]
11571
+ },
11572
+ {
11573
+ "kind": "method",
11574
+ "name": "setSliderMax",
11575
+ "privacy": "protected"
11576
+ },
11577
+ {
11578
+ "kind": "method",
11579
+ "name": "displayBufferedAmount",
11580
+ "privacy": "protected"
11581
+ },
11582
+ {
11583
+ "kind": "field",
11584
+ "name": "wavesurfer",
11585
+ "type": {
11586
+ "text": "WaveSurfer | null | undefined"
11587
+ },
11588
+ "privacy": "protected",
11589
+ "default": "null"
11590
+ },
11591
+ {
11592
+ "kind": "field",
11593
+ "name": "whilePlaying",
11594
+ "privacy": "protected"
11595
+ },
11596
+ {
11597
+ "kind": "method",
11598
+ "name": "handleEnded",
11599
+ "privacy": "protected"
11600
+ },
11601
+ {
11602
+ "kind": "method",
11603
+ "name": "handleClickPlayPauseIcon",
11604
+ "privacy": "protected"
11605
+ },
11606
+ {
11607
+ "kind": "field",
11608
+ "name": "handleSpaceToPlayPause",
11609
+ "privacy": "protected"
11610
+ },
11611
+ {
11612
+ "kind": "method",
11613
+ "name": "handleClickMuteIcon",
11614
+ "privacy": "protected"
11615
+ },
11616
+ {
11617
+ "kind": "method",
11618
+ "name": "handleSeekSliderInput",
11619
+ "privacy": "protected",
11620
+ "parameters": [
11621
+ {
11622
+ "name": "event",
11623
+ "type": {
11624
+ "text": "Event"
11625
+ }
11626
+ }
11627
+ ]
11628
+ },
11629
+ {
11630
+ "kind": "field",
11631
+ "name": "handleSeekSliderChange",
11632
+ "privacy": "protected"
11633
+ },
11634
+ {
11635
+ "kind": "method",
11636
+ "name": "handleVolumeSliderInput",
11637
+ "privacy": "protected",
11638
+ "parameters": [
11639
+ {
11640
+ "name": "event",
11641
+ "type": {
11642
+ "text": "Event"
11643
+ }
11644
+ }
11645
+ ]
11646
+ },
11647
+ {
11648
+ "kind": "method",
11649
+ "name": "handleVolumeVerticalFocus",
11650
+ "privacy": "protected"
11651
+ },
11652
+ {
11653
+ "kind": "method",
11654
+ "name": "handleVolumeVerticalBlur",
11655
+ "privacy": "protected"
11656
+ },
11657
+ {
11658
+ "kind": "method",
11659
+ "name": "handleVolumeControlKeyboard",
11660
+ "privacy": "protected",
11661
+ "parameters": [
11662
+ {
11663
+ "name": "event",
11664
+ "type": {
11665
+ "text": "KeyboardEvent"
11666
+ }
11667
+ }
11668
+ ]
11669
+ },
11670
+ {
11671
+ "kind": "method",
11672
+ "name": "adjustVolume",
11673
+ "privacy": "protected",
11674
+ "parameters": [
11675
+ {
11676
+ "name": "change",
11677
+ "type": {
11678
+ "text": "number"
11679
+ }
11680
+ },
11681
+ {
11682
+ "name": "event",
11683
+ "type": {
11684
+ "text": "KeyboardEvent"
11685
+ }
11686
+ }
11687
+ ]
11688
+ },
11689
+ {
11690
+ "kind": "field",
11691
+ "name": "mediaMetadataLoaded",
11692
+ "privacy": "protected"
11693
+ }
11694
+ ],
11695
+ "superclass": {
11696
+ "name": "LitElement",
11697
+ "package": "lit"
11698
+ },
11699
+ "customElement": true
11700
+ }
11701
+ ],
11702
+ "exports": [
11703
+ {
11704
+ "kind": "js",
11705
+ "name": "DiscordMediaLifecycle",
11706
+ "declaration": {
11707
+ "name": "DiscordMediaLifecycle",
11708
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
11709
+ }
11710
+ }
11711
+ ]
11712
+ },
11713
+ {
11714
+ "kind": "javascript-module",
11715
+ "path": "src/components/_private/DiscordPlaybackControlStyles.ts",
11716
+ "declarations": [
11717
+ {
11718
+ "kind": "variable",
11719
+ "name": "DiscordPlaybackControlStyles",
11720
+ "default": "css` .discord-media-attachment-horizontal { width: 100%; display: flex; align-self: stretch; } .discord-media-attachment-media-bar-interaction { position: relative; flex: 1 1 auto; align-self: stretch; display: flex; align-items: center; cursor: pointer; margin: 0 7px; } .discord-media-attachment-playback-control { position: relative; flex: 1 1 auto; height: 6px; border-radius: 3px; background-color: hsl(210 calc(1 * 9.3%) 78.8% / 0.3); } :host([light-theme]) { .discord-media-attachment-controls { background-color: hsl(0 calc(1 * 0%) 0% /0.4); } } .discord-media-attachment-controls.no-background { background-color: transparent !important; } .discord-media-attachment-playback-control:hover { box-shadow: 0 1px 1px hsl(0 calc(1 * 0%) 0% / 0.3); } .discord-media-attachment-playback-control::before { background-color: hsl(210 calc(1 * 9.3%) 78.8% / 0.3); left: -3px; border-radius: 3px 0 0 3px; content: ''; position: absolute; top: 0; height: 100%; width: 3px; z-index: 1; } input[type='range'].discord-media-attachment-playback-control { -webkit-appearance: none; -moz-appearance: none; appearance: none; } input[type='range'].discord-media-attachment-playback-control::-webkit-slider-runnable-track { width: 2.47264%; height: 100%; cursor: pointer; opacity: 1; border-radius: 3px; background: linear-gradient(to right, hsla(0, 0%, 100%, 0.25) var(--buffered-width), transparent var(--buffered-width)) hsl(240 calc(1 * 4.762%) 79.412% / 0.3); } input[type='range'].discord-media-attachment-playback-control::-moz-range-track { width: 2.47264%; height: 100%; cursor: pointer; opacity: 1; border-radius: 3px; background: linear-gradient(to right, hsla(0, 0%, 100%, 0.25) var(--buffered-width), transparent var(--buffered-width)) hsl(240 calc(1 * 4.762%) 79.412% / 0.3); } input[type='range'].discord-media-attachment-playback-control::before { position: absolute; content: ''; inset: 0; width: 100%; height: 100%; border-radius: 3px; z-index: 3; background: linear-gradient( to right, hsl(234.935 calc(1 * 85.556%) 64.706% /1) var(--seek-before-width), transparent var(--seek-before-width) ); cursor: pointer; } input[type='range'].discord-media-attachment-playback-control::-webkit-slider-thumb { position: relative; cursor: pointer; border-radius: 100%; width: 8px; height: 8px; line-height: 8px; text-align: center; font-weight: 600; font-size: 12px; color: hsl(0 calc(1 * 0%) 97.6% / 1); opacity: 1; transition: opacity 0.2s ease-out, scale 0.2s ease-out; pointer-events: none; -webkit-appearance: none; box-sizing: content-box; background-color: hsl(234.935 calc(1 * 85.556%) 64.706% /1); z-index: 4; margin: -1px 0 0 0; } input[type='range'].discord-media-attachment-playback-control::-moz-range-thumb { position: relative; cursor: pointer; border-radius: 100%; width: 9px; height: 9px; line-height: 9px; text-align: center; font-weight: 600; font-size: 12px; color: hsl(0 calc(1 * 0%) 97.6% / 1); opacity: 1; transition: opacity 0.2s ease-out, scale 0.2s ease-out; pointer-events: none; -moz-appearance: none; box-sizing: content-box; background-color: hsl(234.935 calc(1 * 85.556%) 64.706% /1); z-index: 4; margin: -1px 0 0 0; } input[type='range'].discord-media-attachment-playback-control:hover::-webkit-slider-thumb { scale: 1.2; filter: brightness(85%); } input[type='range'].discord-media-attachment-playback-control:hover::-moz-range-thumb { scale: 1.2; filter: brightness(85%); } input[type='range'].discord-media-attachment-playback-control::-moz-range-progress { background-color: transparent; } input[type='range'].discord-media-attachment-playback-control::-moz-focus-outer { border: 0; } `"
11721
+ }
11722
+ ],
11723
+ "exports": [
11724
+ {
11725
+ "kind": "js",
11726
+ "name": "DiscordPlaybackControlStyles",
11727
+ "declaration": {
11728
+ "name": "DiscordPlaybackControlStyles",
11729
+ "module": "src/components/_private/DiscordPlaybackControlStyles.ts"
11730
+ }
11731
+ }
11732
+ ]
11733
+ },
11734
+ {
11735
+ "kind": "javascript-module",
11736
+ "path": "src/components/_private/DiscordVolumeControlStyles.ts",
11737
+ "declarations": [
11738
+ {
11739
+ "kind": "variable",
11740
+ "name": "DiscordVolumeControlStyles",
11741
+ "default": "css` .discord-media-attachment-flex { display: flex; } .discord-media-attachment-flex-container { justify-content: flex-end; align-items: center; flex-direction: column; display: flex; position: relative; } .discord-volume-container { border-radius: 50%; &:hover, :has(:focus-visible) { .discord-media-attachment-button-slider { opacity: 1; pointer-events: all; } } } .discord-media-attachment-button-slider { --slider-width: 98px; --slider-height: 16px; position: absolute; padding-bottom: 4px; bottom: 32px; opacity: 0; pointer-events: none; width: var(--slider-height); height: var(--slider-width); -webkit-app-region: no-drag; .discord-media-attachment-volume-vertical { padding: 3px; border-radius: 8px; overflow: hidden; background-color: #141417; display: flex; align-items: center; width: var(--slider-width); height: var(--slider-height); box-sizing: border-box; transform-origin: top right; transform: rotate(-90deg) translateY(calc(var(--slider-width) * -1)); input[type='range'] { -webkit-appearance: none; -moz-appearance: none; appearance: none; border-radius: 8px; background: hsl(240 calc(1 * 4.762%) 79.412% / 0.3); border-radius: 3px; overflow: hidden; &::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; border-radius: 50%; width: 6px; height: 6px; background-color: hsl(234.935 calc(1 * 85.556%) 64.706%); box-shadow: -407px 0 0 404px hsl(234.935 calc(1 * 85.556%) 64.706%); } &::-moz-range-thumb { -webkit-appearance: none; appearance: none; border-radius: 50%; width: 6px; height: 6px; background-color: hsl(234.935 calc(1 * 85.556%) 64.706%); box-shadow: -407px 0 0 404px hsl(234.935 calc(1 * 85.556%) 64.706%); } } } } .discord-voice-message { .discord-media-attachment-button-slider { padding-bottom: 0px; } } :host([light-theme]) { .discord-media-attachment-volume-vertical { background-color: #515151; } } .discord-media-attachment-button { cursor: pointer; line-height: 0; width: auto; background: transparent; color: currentColor; border: 0; padding: 0; margin: 0; position: relative; display: flex; justify-content: center; align-items: center; box-sizing: border-box; border-radius: 3px; font-size: 14px; font-weight: 500; -webkit-user-select: none; -moz-user-select: none; user-select: none; } .discord-volume-container { button { border-radius: 50%; } } .discord-media-attachment-button-content { --custom-button-link-underline-offset: 1px; --button--underline-color: transparent; --custom-button-link-underline-width: 1px; --custom-button-link-underline-stop: calc(var(--custom-button-link-underline-width) + var(--custom-button-link-underline-offset)); background-image: linear-gradient( to top, transparent, transparent var(--custom-button-link-underline-offset), var(--button--underline-color) var(--custom-button-link-underline-offset), var(--button--underline-color) var(--custom-button-link-underline-stop), transparent var(--custom-button-link-underline-stop) ); } .discord-media-attachment-button-control-icon { display: block; width: 24px; height: 24px; padding: 4px; cursor: pointer; flex: 0 0 auto; opacity: 0.6; } .discord-media-attachment-volume-slider { position: relative; height: 6px; background-color: hsl(210 calc(1 * 9.3%) 78.8% / 0.3); width: 88px; } `"
11742
+ }
11743
+ ],
11744
+ "exports": [
11745
+ {
11746
+ "kind": "js",
11747
+ "name": "DiscordVolumeControlStyles",
11748
+ "declaration": {
11749
+ "name": "DiscordVolumeControlStyles",
11750
+ "module": "src/components/_private/DiscordVolumeControlStyles.ts"
11751
+ }
11752
+ }
11753
+ ]
11754
+ },
11755
+ {
11756
+ "kind": "javascript-module",
11757
+ "path": "src/components/_private/mediaGalleryFullScreenContext.ts",
11758
+ "declarations": [
11759
+ {
11760
+ "kind": "variable",
11761
+ "name": "isInMediaFullScreenPreviewer"
11762
+ }
11763
+ ],
11764
+ "exports": [
11765
+ {
11766
+ "kind": "js",
11767
+ "name": "isInMediaFullScreenPreviewer",
11768
+ "declaration": {
11769
+ "name": "isInMediaFullScreenPreviewer",
11770
+ "module": "src/components/_private/mediaGalleryFullScreenContext.ts"
11771
+ }
11772
+ }
11773
+ ]
11774
+ },
11775
+ {
11776
+ "kind": "javascript-module",
11777
+ "path": "src/components/svgs/AttachmentDownloadButton.ts",
11778
+ "declarations": [
11779
+ {
11780
+ "kind": "function",
11781
+ "name": "AttachmentDownloadButton",
11782
+ "parameters": [
11783
+ {
11784
+ "name": "props",
11785
+ "default": "{}",
11786
+ "type": {
11787
+ "text": "Record<string, unknown>"
11788
+ }
11789
+ }
11790
+ ]
11791
+ },
11792
+ {
11793
+ "kind": "function",
11794
+ "name": "AttachmentLanguageSelectorSvg",
11795
+ "parameters": [
11796
+ {
11797
+ "name": "props",
11798
+ "default": "{}",
11799
+ "type": {
11800
+ "text": "Record<string, unknown>"
11801
+ }
11802
+ }
11803
+ ]
11804
+ },
11805
+ {
11806
+ "kind": "function",
11807
+ "name": "AttachmentLanguageSearchSvg",
11808
+ "parameters": [
11809
+ {
11810
+ "name": "props",
11811
+ "default": "{}",
11812
+ "type": {
11813
+ "text": "Record<string, unknown>"
11814
+ }
11815
+ }
11816
+ ]
11817
+ },
11818
+ {
11819
+ "kind": "function",
11820
+ "name": "AttachmentLanguageSearchXSvg",
11821
+ "parameters": [
11822
+ {
11823
+ "name": "props",
11824
+ "default": "{}",
11825
+ "type": {
11826
+ "text": "Record<string, unknown>"
11827
+ }
11828
+ }
11829
+ ]
11830
+ }
11831
+ ],
11832
+ "exports": [
11833
+ {
11834
+ "kind": "js",
11835
+ "name": "default",
11836
+ "declaration": {
11837
+ "name": "AttachmentDownloadButton",
11838
+ "module": "src/components/svgs/AttachmentDownloadButton.ts"
11839
+ }
11840
+ },
11841
+ {
11842
+ "kind": "js",
11843
+ "name": "AttachmentLanguageSelectorSvg",
11844
+ "declaration": {
11845
+ "name": "AttachmentLanguageSelectorSvg",
11846
+ "module": "src/components/svgs/AttachmentDownloadButton.ts"
11847
+ }
11848
+ },
11849
+ {
11850
+ "kind": "js",
11851
+ "name": "AttachmentLanguageSearchSvg",
11852
+ "declaration": {
11853
+ "name": "AttachmentLanguageSearchSvg",
11854
+ "module": "src/components/svgs/AttachmentDownloadButton.ts"
11855
+ }
11856
+ },
11857
+ {
11858
+ "kind": "js",
11859
+ "name": "AttachmentLanguageSearchXSvg",
11860
+ "declaration": {
11861
+ "name": "AttachmentLanguageSearchXSvg",
11862
+ "module": "src/components/svgs/AttachmentDownloadButton.ts"
11863
+ }
11864
+ }
11865
+ ]
11866
+ },
11867
+ {
11868
+ "kind": "javascript-module",
11869
+ "path": "src/components/svgs/AttachmentReply.ts",
11870
+ "declarations": [
11871
+ {
11872
+ "kind": "function",
11873
+ "name": "AttachmentReply",
11874
+ "parameters": [
11875
+ {
11876
+ "name": "props",
11877
+ "default": "{}",
11878
+ "type": {
11879
+ "text": "Record<string, unknown>"
11880
+ }
11881
+ }
11882
+ ]
11883
+ }
11884
+ ],
11885
+ "exports": [
11886
+ {
11887
+ "kind": "js",
11888
+ "name": "default",
11889
+ "declaration": {
11890
+ "name": "AttachmentReply",
11891
+ "module": "src/components/svgs/AttachmentReply.ts"
11892
+ }
11893
+ }
11894
+ ]
11895
+ },
11896
+ {
11897
+ "kind": "javascript-module",
11898
+ "path": "src/components/svgs/Boost.ts",
11899
+ "declarations": [
11900
+ {
11901
+ "kind": "function",
11902
+ "name": "Boost",
11903
+ "parameters": [
11904
+ {
11905
+ "name": "props",
11906
+ "default": "{}",
11907
+ "type": {
11908
+ "text": "Record<string, unknown>"
11909
+ }
11910
+ }
11548
11911
  ]
11549
11912
  }
11550
11913
  ],
@@ -12462,260 +12825,7 @@
12462
12825
  "declarations": [
12463
12826
  {
12464
12827
  "kind": "function",
12465
- "name": "SystemAlert",
12466
- "parameters": [
12467
- {
12468
- "name": "props",
12469
- "default": "{}",
12470
- "type": {
12471
- "text": "Record<string, unknown>"
12472
- }
12473
- }
12474
- ]
12475
- }
12476
- ],
12477
- "exports": [
12478
- {
12479
- "kind": "js",
12480
- "name": "default",
12481
- "declaration": {
12482
- "name": "SystemAlert",
12483
- "module": "src/components/svgs/SystemAlert.ts"
12484
- }
12485
- }
12486
- ]
12487
- },
12488
- {
12489
- "kind": "javascript-module",
12490
- "path": "src/components/svgs/SystemError.ts",
12491
- "declarations": [
12492
- {
12493
- "kind": "function",
12494
- "name": "SystemError",
12495
- "parameters": [
12496
- {
12497
- "name": "props",
12498
- "default": "{}",
12499
- "type": {
12500
- "text": "Record<string, unknown>"
12501
- }
12502
- }
12503
- ]
12504
- }
12505
- ],
12506
- "exports": [
12507
- {
12508
- "kind": "js",
12509
- "name": "default",
12510
- "declaration": {
12511
- "name": "SystemError",
12512
- "module": "src/components/svgs/SystemError.ts"
12513
- }
12514
- }
12515
- ]
12516
- },
12517
- {
12518
- "kind": "javascript-module",
12519
- "path": "src/components/svgs/Thread.ts",
12520
- "declarations": [
12521
- {
12522
- "kind": "function",
12523
- "name": "Thread",
12524
- "parameters": [
12525
- {
12526
- "name": "props",
12527
- "default": "{}",
12528
- "type": {
12529
- "text": "Record<string, unknown>"
12530
- }
12531
- }
12532
- ]
12533
- }
12534
- ],
12535
- "exports": [
12536
- {
12537
- "kind": "js",
12538
- "name": "default",
12539
- "declaration": {
12540
- "name": "Thread",
12541
- "module": "src/components/svgs/Thread.ts"
12542
- }
12543
- }
12544
- ]
12545
- },
12546
- {
12547
- "kind": "javascript-module",
12548
- "path": "src/components/svgs/UserJoin.ts",
12549
- "declarations": [
12550
- {
12551
- "kind": "function",
12552
- "name": "UserJoin",
12553
- "parameters": [
12554
- {
12555
- "name": "props",
12556
- "default": "{}",
12557
- "type": {
12558
- "text": "Record<string, unknown>"
12559
- }
12560
- }
12561
- ]
12562
- }
12563
- ],
12564
- "exports": [
12565
- {
12566
- "kind": "js",
12567
- "name": "default",
12568
- "declaration": {
12569
- "name": "UserJoin",
12570
- "module": "src/components/svgs/UserJoin.ts"
12571
- }
12572
- }
12573
- ]
12574
- },
12575
- {
12576
- "kind": "javascript-module",
12577
- "path": "src/components/svgs/UserLeave.ts",
12578
- "declarations": [
12579
- {
12580
- "kind": "function",
12581
- "name": "UserLeave",
12582
- "parameters": [
12583
- {
12584
- "name": "props",
12585
- "default": "{}",
12586
- "type": {
12587
- "text": "Record<string, unknown>"
12588
- }
12589
- }
12590
- ]
12591
- }
12592
- ],
12593
- "exports": [
12594
- {
12595
- "kind": "js",
12596
- "name": "default",
12597
- "declaration": {
12598
- "name": "UserLeave",
12599
- "module": "src/components/svgs/UserLeave.ts"
12600
- }
12601
- }
12602
- ]
12603
- },
12604
- {
12605
- "kind": "javascript-module",
12606
- "path": "src/components/svgs/VerifiedBadgeOverlay.ts",
12607
- "declarations": [
12608
- {
12609
- "kind": "function",
12610
- "name": "VerifiedBadgeOverlay",
12611
- "parameters": [
12612
- {
12613
- "name": "props",
12614
- "default": "{}",
12615
- "type": {
12616
- "text": "Record<string, unknown>"
12617
- }
12618
- }
12619
- ]
12620
- }
12621
- ],
12622
- "exports": [
12623
- {
12624
- "kind": "js",
12625
- "name": "default",
12626
- "declaration": {
12627
- "name": "VerifiedBadgeOverlay",
12628
- "module": "src/components/svgs/VerifiedBadgeOverlay.ts"
12629
- }
12630
- }
12631
- ]
12632
- },
12633
- {
12634
- "kind": "javascript-module",
12635
- "path": "src/components/svgs/VerifiedTick.ts",
12636
- "declarations": [
12637
- {
12638
- "kind": "function",
12639
- "name": "VerifiedTick",
12640
- "parameters": [
12641
- {
12642
- "name": "props",
12643
- "default": "{}",
12644
- "type": {
12645
- "text": "Record<string, unknown>"
12646
- }
12647
- }
12648
- ]
12649
- }
12650
- ],
12651
- "exports": [
12652
- {
12653
- "kind": "js",
12654
- "name": "default",
12655
- "declaration": {
12656
- "name": "VerifiedTick",
12657
- "module": "src/components/svgs/VerifiedTick.ts"
12658
- }
12659
- }
12660
- ]
12661
- },
12662
- {
12663
- "kind": "javascript-module",
12664
- "path": "src/components/svgs/VideoFullScreenIcon.ts",
12665
- "declarations": [
12666
- {
12667
- "kind": "function",
12668
- "name": "VideoFullScreenIcon",
12669
- "parameters": [
12670
- {
12671
- "name": "props",
12672
- "default": "{}",
12673
- "type": {
12674
- "text": "Record<string, unknown>"
12675
- }
12676
- }
12677
- ]
12678
- },
12679
- {
12680
- "kind": "function",
12681
- "name": "VideoExitFullScreenIcon",
12682
- "parameters": [
12683
- {
12684
- "name": "props",
12685
- "default": "{}",
12686
- "type": {
12687
- "text": "Record<string, unknown>"
12688
- }
12689
- }
12690
- ]
12691
- }
12692
- ],
12693
- "exports": [
12694
- {
12695
- "kind": "js",
12696
- "name": "default",
12697
- "declaration": {
12698
- "name": "VideoFullScreenIcon",
12699
- "module": "src/components/svgs/VideoFullScreenIcon.ts"
12700
- }
12701
- },
12702
- {
12703
- "kind": "js",
12704
- "name": "VideoExitFullScreenIcon",
12705
- "declaration": {
12706
- "name": "VideoExitFullScreenIcon",
12707
- "module": "src/components/svgs/VideoFullScreenIcon.ts"
12708
- }
12709
- }
12710
- ]
12711
- },
12712
- {
12713
- "kind": "javascript-module",
12714
- "path": "src/components/svgs/VideoPausePopIcon.ts",
12715
- "declarations": [
12716
- {
12717
- "kind": "function",
12718
- "name": "VideoPausePopIcon",
12828
+ "name": "SystemAlert",
12719
12829
  "parameters": [
12720
12830
  {
12721
12831
  "name": "props",
@@ -12732,19 +12842,19 @@
12732
12842
  "kind": "js",
12733
12843
  "name": "default",
12734
12844
  "declaration": {
12735
- "name": "VideoPausePopIcon",
12736
- "module": "src/components/svgs/VideoPausePopIcon.ts"
12845
+ "name": "SystemAlert",
12846
+ "module": "src/components/svgs/SystemAlert.ts"
12737
12847
  }
12738
12848
  }
12739
12849
  ]
12740
12850
  },
12741
12851
  {
12742
12852
  "kind": "javascript-module",
12743
- "path": "src/components/svgs/VideoPlayPopIcon.ts",
12853
+ "path": "src/components/svgs/SystemError.ts",
12744
12854
  "declarations": [
12745
12855
  {
12746
12856
  "kind": "function",
12747
- "name": "VideoPlayPopIcon",
12857
+ "name": "SystemError",
12748
12858
  "parameters": [
12749
12859
  {
12750
12860
  "name": "props",
@@ -12761,19 +12871,19 @@
12761
12871
  "kind": "js",
12762
12872
  "name": "default",
12763
12873
  "declaration": {
12764
- "name": "VideoPlayPopIcon",
12765
- "module": "src/components/svgs/VideoPlayPopIcon.ts"
12874
+ "name": "SystemError",
12875
+ "module": "src/components/svgs/SystemError.ts"
12766
12876
  }
12767
12877
  }
12768
12878
  ]
12769
12879
  },
12770
12880
  {
12771
12881
  "kind": "javascript-module",
12772
- "path": "src/components/svgs/VoiceChannel.ts",
12882
+ "path": "src/components/svgs/Thread.ts",
12773
12883
  "declarations": [
12774
12884
  {
12775
12885
  "kind": "function",
12776
- "name": "VoiceChannel",
12886
+ "name": "Thread",
12777
12887
  "parameters": [
12778
12888
  {
12779
12889
  "name": "props",
@@ -12790,371 +12900,261 @@
12790
12900
  "kind": "js",
12791
12901
  "name": "default",
12792
12902
  "declaration": {
12793
- "name": "VoiceChannel",
12794
- "module": "src/components/svgs/VoiceChannel.ts"
12903
+ "name": "Thread",
12904
+ "module": "src/components/svgs/Thread.ts"
12795
12905
  }
12796
12906
  }
12797
12907
  ]
12798
12908
  },
12799
12909
  {
12800
12910
  "kind": "javascript-module",
12801
- "path": "src/components/_private/DiscordMediaAttachmentStyles.ts",
12802
- "declarations": [],
12803
- "exports": []
12804
- },
12805
- {
12806
- "kind": "javascript-module",
12807
- "path": "src/components/_private/DiscordMediaLifecycle.ts",
12911
+ "path": "src/components/svgs/UserJoin.ts",
12808
12912
  "declarations": [
12809
12913
  {
12810
- "kind": "class",
12811
- "description": "",
12812
- "name": "DiscordMediaLifecycle",
12813
- "members": [
12814
- {
12815
- "kind": "field",
12816
- "name": "mediaComponentRef",
12817
- "type": {
12818
- "text": "Ref<HTMLAudioElement | HTMLVideoElement>"
12819
- },
12820
- "privacy": "protected"
12821
- },
12822
- {
12823
- "kind": "field",
12824
- "name": "seekSliderRef",
12825
- "type": {
12826
- "text": "Ref<HTMLInputElement>"
12827
- },
12828
- "privacy": "protected"
12829
- },
12830
- {
12831
- "kind": "field",
12832
- "name": "volumeControlRef",
12833
- "type": {
12834
- "text": "Ref<HTMLDivElement>"
12835
- },
12836
- "privacy": "protected"
12837
- },
12838
- {
12839
- "kind": "field",
12840
- "name": "volumeControlInputRef",
12841
- "type": {
12842
- "text": "Ref<HTMLInputElement>"
12843
- },
12844
- "privacy": "protected"
12845
- },
12846
- {
12847
- "kind": "field",
12848
- "name": "currentPlaybackPosition",
12849
- "type": {
12850
- "text": "string"
12851
- },
12852
- "privacy": "protected",
12853
- "default": "'0:00'"
12854
- },
12855
- {
12856
- "kind": "field",
12857
- "name": "leftPlaybackPosition",
12858
- "type": {
12859
- "text": "string"
12860
- },
12861
- "privacy": "protected",
12862
- "default": "'0:00'"
12863
- },
12864
- {
12865
- "kind": "field",
12866
- "name": "totalMediaDuration",
12867
- "type": {
12868
- "text": "string"
12869
- },
12870
- "privacy": "protected",
12871
- "default": "''"
12872
- },
12873
- {
12874
- "kind": "field",
12875
- "name": "isPlaying",
12876
- "type": {
12877
- "text": "boolean"
12878
- },
12879
- "privacy": "protected",
12880
- "default": "false"
12881
- },
12882
- {
12883
- "kind": "field",
12884
- "name": "raf",
12885
- "type": {
12886
- "text": "number | null"
12887
- },
12888
- "privacy": "private",
12889
- "default": "null"
12890
- },
12891
- {
12892
- "kind": "field",
12893
- "name": "isMuted",
12894
- "type": {
12895
- "text": "boolean"
12896
- },
12897
- "privacy": "protected",
12898
- "default": "false"
12899
- },
12900
- {
12901
- "kind": "field",
12902
- "name": "currentVolume",
12903
- "type": {
12904
- "text": "number"
12905
- },
12906
- "privacy": "protected",
12907
- "default": "1",
12908
- "description": "Volume is a fractional value between 0 and 1"
12909
- },
12910
- {
12911
- "kind": "field",
12912
- "name": "hasEnded",
12913
- "type": {
12914
- "text": "boolean"
12915
- },
12916
- "privacy": "protected",
12917
- "default": "false"
12918
- },
12919
- {
12920
- "kind": "field",
12921
- "name": "hasRunUpdate",
12922
- "type": {
12923
- "text": "boolean"
12924
- },
12925
- "privacy": "private",
12926
- "default": "false"
12927
- },
12928
- {
12929
- "kind": "method",
12930
- "name": "calculateTime",
12931
- "privacy": "protected",
12932
- "parameters": [
12933
- {
12934
- "name": "secs",
12935
- "type": {
12936
- "text": "number"
12937
- }
12938
- }
12939
- ]
12940
- },
12941
- {
12942
- "kind": "method",
12943
- "name": "displayMediaDuration",
12944
- "privacy": "protected"
12945
- },
12946
- {
12947
- "kind": "method",
12948
- "name": "displayLeftPlaybackPosition",
12949
- "privacy": "protected",
12950
- "parameters": [
12951
- {
12952
- "name": "bufferedAmount",
12953
- "type": {
12954
- "text": "number"
12955
- }
12956
- }
12957
- ]
12958
- },
12959
- {
12960
- "kind": "method",
12961
- "name": "setSliderMax",
12962
- "privacy": "protected"
12963
- },
12964
- {
12965
- "kind": "method",
12966
- "name": "displayBufferedAmount",
12967
- "privacy": "protected"
12968
- },
12969
- {
12970
- "kind": "field",
12971
- "name": "wavesurfer",
12972
- "type": {
12973
- "text": "WaveSurfer | null | undefined"
12974
- },
12975
- "privacy": "protected",
12976
- "default": "null"
12977
- },
12978
- {
12979
- "kind": "field",
12980
- "name": "whilePlaying",
12981
- "privacy": "protected"
12982
- },
12983
- {
12984
- "kind": "method",
12985
- "name": "handleEnded",
12986
- "privacy": "protected"
12987
- },
12988
- {
12989
- "kind": "method",
12990
- "name": "handleClickPlayPauseIcon",
12991
- "privacy": "protected"
12992
- },
12993
- {
12994
- "kind": "field",
12995
- "name": "handleSpaceToPlayPause",
12996
- "privacy": "protected"
12997
- },
12998
- {
12999
- "kind": "method",
13000
- "name": "handleClickMuteIcon",
13001
- "privacy": "protected"
13002
- },
13003
- {
13004
- "kind": "method",
13005
- "name": "handleSeekSliderInput",
13006
- "privacy": "protected",
13007
- "parameters": [
13008
- {
13009
- "name": "event",
13010
- "type": {
13011
- "text": "Event"
13012
- }
13013
- }
13014
- ]
13015
- },
13016
- {
13017
- "kind": "field",
13018
- "name": "handleSeekSliderChange",
13019
- "privacy": "protected"
13020
- },
12914
+ "kind": "function",
12915
+ "name": "UserJoin",
12916
+ "parameters": [
13021
12917
  {
13022
- "kind": "method",
13023
- "name": "handleVolumeSliderInput",
13024
- "privacy": "protected",
13025
- "parameters": [
13026
- {
13027
- "name": "event",
13028
- "type": {
13029
- "text": "Event"
13030
- }
13031
- }
13032
- ]
13033
- },
12918
+ "name": "props",
12919
+ "default": "{}",
12920
+ "type": {
12921
+ "text": "Record<string, unknown>"
12922
+ }
12923
+ }
12924
+ ]
12925
+ }
12926
+ ],
12927
+ "exports": [
12928
+ {
12929
+ "kind": "js",
12930
+ "name": "default",
12931
+ "declaration": {
12932
+ "name": "UserJoin",
12933
+ "module": "src/components/svgs/UserJoin.ts"
12934
+ }
12935
+ }
12936
+ ]
12937
+ },
12938
+ {
12939
+ "kind": "javascript-module",
12940
+ "path": "src/components/svgs/UserLeave.ts",
12941
+ "declarations": [
12942
+ {
12943
+ "kind": "function",
12944
+ "name": "UserLeave",
12945
+ "parameters": [
13034
12946
  {
13035
- "kind": "method",
13036
- "name": "handleVolumeVerticalFocus",
13037
- "privacy": "protected"
13038
- },
12947
+ "name": "props",
12948
+ "default": "{}",
12949
+ "type": {
12950
+ "text": "Record<string, unknown>"
12951
+ }
12952
+ }
12953
+ ]
12954
+ }
12955
+ ],
12956
+ "exports": [
12957
+ {
12958
+ "kind": "js",
12959
+ "name": "default",
12960
+ "declaration": {
12961
+ "name": "UserLeave",
12962
+ "module": "src/components/svgs/UserLeave.ts"
12963
+ }
12964
+ }
12965
+ ]
12966
+ },
12967
+ {
12968
+ "kind": "javascript-module",
12969
+ "path": "src/components/svgs/VerifiedBadgeOverlay.ts",
12970
+ "declarations": [
12971
+ {
12972
+ "kind": "function",
12973
+ "name": "VerifiedBadgeOverlay",
12974
+ "parameters": [
13039
12975
  {
13040
- "kind": "method",
13041
- "name": "handleVolumeVerticalBlur",
13042
- "privacy": "protected"
13043
- },
12976
+ "name": "props",
12977
+ "default": "{}",
12978
+ "type": {
12979
+ "text": "Record<string, unknown>"
12980
+ }
12981
+ }
12982
+ ]
12983
+ }
12984
+ ],
12985
+ "exports": [
12986
+ {
12987
+ "kind": "js",
12988
+ "name": "default",
12989
+ "declaration": {
12990
+ "name": "VerifiedBadgeOverlay",
12991
+ "module": "src/components/svgs/VerifiedBadgeOverlay.ts"
12992
+ }
12993
+ }
12994
+ ]
12995
+ },
12996
+ {
12997
+ "kind": "javascript-module",
12998
+ "path": "src/components/svgs/VerifiedTick.ts",
12999
+ "declarations": [
13000
+ {
13001
+ "kind": "function",
13002
+ "name": "VerifiedTick",
13003
+ "parameters": [
13044
13004
  {
13045
- "kind": "method",
13046
- "name": "handleVolumeControlKeyboard",
13047
- "privacy": "protected",
13048
- "parameters": [
13049
- {
13050
- "name": "event",
13051
- "type": {
13052
- "text": "KeyboardEvent"
13053
- }
13054
- }
13055
- ]
13056
- },
13005
+ "name": "props",
13006
+ "default": "{}",
13007
+ "type": {
13008
+ "text": "Record<string, unknown>"
13009
+ }
13010
+ }
13011
+ ]
13012
+ }
13013
+ ],
13014
+ "exports": [
13015
+ {
13016
+ "kind": "js",
13017
+ "name": "default",
13018
+ "declaration": {
13019
+ "name": "VerifiedTick",
13020
+ "module": "src/components/svgs/VerifiedTick.ts"
13021
+ }
13022
+ }
13023
+ ]
13024
+ },
13025
+ {
13026
+ "kind": "javascript-module",
13027
+ "path": "src/components/svgs/VideoFullScreenIcon.ts",
13028
+ "declarations": [
13029
+ {
13030
+ "kind": "function",
13031
+ "name": "VideoFullScreenIcon",
13032
+ "parameters": [
13057
13033
  {
13058
- "kind": "method",
13059
- "name": "adjustVolume",
13060
- "privacy": "protected",
13061
- "parameters": [
13062
- {
13063
- "name": "change",
13064
- "type": {
13065
- "text": "number"
13066
- }
13067
- },
13068
- {
13069
- "name": "event",
13070
- "type": {
13071
- "text": "KeyboardEvent"
13072
- }
13073
- }
13074
- ]
13075
- },
13034
+ "name": "props",
13035
+ "default": "{}",
13036
+ "type": {
13037
+ "text": "Record<string, unknown>"
13038
+ }
13039
+ }
13040
+ ]
13041
+ },
13042
+ {
13043
+ "kind": "function",
13044
+ "name": "VideoExitFullScreenIcon",
13045
+ "parameters": [
13076
13046
  {
13077
- "kind": "field",
13078
- "name": "mediaMetadataLoaded",
13079
- "privacy": "protected"
13047
+ "name": "props",
13048
+ "default": "{}",
13049
+ "type": {
13050
+ "text": "Record<string, unknown>"
13051
+ }
13080
13052
  }
13081
- ],
13082
- "superclass": {
13083
- "name": "LitElement",
13084
- "package": "lit"
13085
- },
13086
- "customElement": true
13053
+ ]
13087
13054
  }
13088
13055
  ],
13089
13056
  "exports": [
13090
13057
  {
13091
13058
  "kind": "js",
13092
- "name": "DiscordMediaLifecycle",
13059
+ "name": "default",
13093
13060
  "declaration": {
13094
- "name": "DiscordMediaLifecycle",
13095
- "module": "src/components/_private/DiscordMediaLifecycle.ts"
13061
+ "name": "VideoFullScreenIcon",
13062
+ "module": "src/components/svgs/VideoFullScreenIcon.ts"
13063
+ }
13064
+ },
13065
+ {
13066
+ "kind": "js",
13067
+ "name": "VideoExitFullScreenIcon",
13068
+ "declaration": {
13069
+ "name": "VideoExitFullScreenIcon",
13070
+ "module": "src/components/svgs/VideoFullScreenIcon.ts"
13096
13071
  }
13097
13072
  }
13098
13073
  ]
13099
13074
  },
13100
13075
  {
13101
13076
  "kind": "javascript-module",
13102
- "path": "src/components/_private/DiscordPlaybackControlStyles.ts",
13077
+ "path": "src/components/svgs/VideoPausePopIcon.ts",
13103
13078
  "declarations": [
13104
13079
  {
13105
- "kind": "variable",
13106
- "name": "DiscordPlaybackControlStyles",
13107
- "default": "css` .discord-media-attachment-horizontal { width: 100%; display: flex; align-self: stretch; } .discord-media-attachment-media-bar-interaction { position: relative; flex: 1 1 auto; align-self: stretch; display: flex; align-items: center; cursor: pointer; margin: 0 7px; } .discord-media-attachment-playback-control { position: relative; flex: 1 1 auto; height: 6px; border-radius: 3px; background-color: hsl(210 calc(1 * 9.3%) 78.8% / 0.3); } :host([light-theme]) { .discord-media-attachment-controls { background-color: hsl(0 calc(1 * 0%) 0% /0.4); } } .discord-media-attachment-controls.no-background { background-color: transparent !important; } .discord-media-attachment-playback-control:hover { box-shadow: 0 1px 1px hsl(0 calc(1 * 0%) 0% / 0.3); } .discord-media-attachment-playback-control::before { background-color: hsl(210 calc(1 * 9.3%) 78.8% / 0.3); left: -3px; border-radius: 3px 0 0 3px; content: ''; position: absolute; top: 0; height: 100%; width: 3px; z-index: 1; } input[type='range'].discord-media-attachment-playback-control { -webkit-appearance: none; -moz-appearance: none; appearance: none; } input[type='range'].discord-media-attachment-playback-control::-webkit-slider-runnable-track { width: 2.47264%; height: 100%; cursor: pointer; opacity: 1; border-radius: 3px; background: linear-gradient(to right, hsla(0, 0%, 100%, 0.25) var(--buffered-width), transparent var(--buffered-width)) hsl(240 calc(1 * 4.762%) 79.412% / 0.3); } input[type='range'].discord-media-attachment-playback-control::-moz-range-track { width: 2.47264%; height: 100%; cursor: pointer; opacity: 1; border-radius: 3px; background: linear-gradient(to right, hsla(0, 0%, 100%, 0.25) var(--buffered-width), transparent var(--buffered-width)) hsl(240 calc(1 * 4.762%) 79.412% / 0.3); } input[type='range'].discord-media-attachment-playback-control::before { position: absolute; content: ''; inset: 0; width: 100%; height: 100%; border-radius: 3px; z-index: 3; background: linear-gradient( to right, hsl(234.935 calc(1 * 85.556%) 64.706% /1) var(--seek-before-width), transparent var(--seek-before-width) ); cursor: pointer; } input[type='range'].discord-media-attachment-playback-control::-webkit-slider-thumb { position: relative; cursor: pointer; border-radius: 100%; width: 8px; height: 8px; line-height: 8px; text-align: center; font-weight: 600; font-size: 12px; color: hsl(0 calc(1 * 0%) 97.6% / 1); opacity: 1; transition: opacity 0.2s ease-out, scale 0.2s ease-out; pointer-events: none; -webkit-appearance: none; box-sizing: content-box; background-color: hsl(234.935 calc(1 * 85.556%) 64.706% /1); z-index: 4; margin: -1px 0 0 0; } input[type='range'].discord-media-attachment-playback-control::-moz-range-thumb { position: relative; cursor: pointer; border-radius: 100%; width: 9px; height: 9px; line-height: 9px; text-align: center; font-weight: 600; font-size: 12px; color: hsl(0 calc(1 * 0%) 97.6% / 1); opacity: 1; transition: opacity 0.2s ease-out, scale 0.2s ease-out; pointer-events: none; -moz-appearance: none; box-sizing: content-box; background-color: hsl(234.935 calc(1 * 85.556%) 64.706% /1); z-index: 4; margin: -1px 0 0 0; } input[type='range'].discord-media-attachment-playback-control:hover::-webkit-slider-thumb { scale: 1.2; filter: brightness(85%); } input[type='range'].discord-media-attachment-playback-control:hover::-moz-range-thumb { scale: 1.2; filter: brightness(85%); } input[type='range'].discord-media-attachment-playback-control::-moz-range-progress { background-color: transparent; } input[type='range'].discord-media-attachment-playback-control::-moz-focus-outer { border: 0; } `"
13080
+ "kind": "function",
13081
+ "name": "VideoPausePopIcon",
13082
+ "parameters": [
13083
+ {
13084
+ "name": "props",
13085
+ "default": "{}",
13086
+ "type": {
13087
+ "text": "Record<string, unknown>"
13088
+ }
13089
+ }
13090
+ ]
13108
13091
  }
13109
13092
  ],
13110
13093
  "exports": [
13111
13094
  {
13112
13095
  "kind": "js",
13113
- "name": "DiscordPlaybackControlStyles",
13096
+ "name": "default",
13114
13097
  "declaration": {
13115
- "name": "DiscordPlaybackControlStyles",
13116
- "module": "src/components/_private/DiscordPlaybackControlStyles.ts"
13098
+ "name": "VideoPausePopIcon",
13099
+ "module": "src/components/svgs/VideoPausePopIcon.ts"
13117
13100
  }
13118
13101
  }
13119
13102
  ]
13120
13103
  },
13121
13104
  {
13122
13105
  "kind": "javascript-module",
13123
- "path": "src/components/_private/DiscordVolumeControlStyles.ts",
13106
+ "path": "src/components/svgs/VideoPlayPopIcon.ts",
13124
13107
  "declarations": [
13125
13108
  {
13126
- "kind": "variable",
13127
- "name": "DiscordVolumeControlStyles",
13128
- "default": "css` .discord-media-attachment-flex { display: flex; } .discord-media-attachment-flex-container { justify-content: flex-end; align-items: center; flex-direction: column; display: flex; position: relative; } .discord-volume-container { border-radius: 50%; &:hover, :has(:focus-visible) { .discord-media-attachment-button-slider { opacity: 1; pointer-events: all; } } } .discord-media-attachment-button-slider { --slider-width: 98px; --slider-height: 16px; position: absolute; padding-bottom: 4px; bottom: 32px; opacity: 0; pointer-events: none; width: var(--slider-height); height: var(--slider-width); -webkit-app-region: no-drag; .discord-media-attachment-volume-vertical { padding: 3px; border-radius: 8px; overflow: hidden; background-color: #141417; display: flex; align-items: center; width: var(--slider-width); height: var(--slider-height); box-sizing: border-box; transform-origin: top right; transform: rotate(-90deg) translateY(calc(var(--slider-width) * -1)); input[type='range'] { -webkit-appearance: none; -moz-appearance: none; appearance: none; border-radius: 8px; background: hsl(240 calc(1 * 4.762%) 79.412% / 0.3); border-radius: 3px; overflow: hidden; &::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; border-radius: 50%; width: 6px; height: 6px; background-color: hsl(234.935 calc(1 * 85.556%) 64.706%); box-shadow: -407px 0 0 404px hsl(234.935 calc(1 * 85.556%) 64.706%); } &::-moz-range-thumb { -webkit-appearance: none; appearance: none; border-radius: 50%; width: 6px; height: 6px; background-color: hsl(234.935 calc(1 * 85.556%) 64.706%); box-shadow: -407px 0 0 404px hsl(234.935 calc(1 * 85.556%) 64.706%); } } } } .discord-voice-message { .discord-media-attachment-button-slider { padding-bottom: 0px; } } :host([light-theme]) { .discord-media-attachment-volume-vertical { background-color: #515151; } } .discord-media-attachment-button { cursor: pointer; line-height: 0; width: auto; background: transparent; color: currentColor; border: 0; padding: 0; margin: 0; position: relative; display: flex; justify-content: center; align-items: center; box-sizing: border-box; border-radius: 3px; font-size: 14px; font-weight: 500; -webkit-user-select: none; -moz-user-select: none; user-select: none; } .discord-volume-container { button { border-radius: 50%; } } .discord-media-attachment-button-content { --custom-button-link-underline-offset: 1px; --button--underline-color: transparent; --custom-button-link-underline-width: 1px; --custom-button-link-underline-stop: calc(var(--custom-button-link-underline-width) + var(--custom-button-link-underline-offset)); background-image: linear-gradient( to top, transparent, transparent var(--custom-button-link-underline-offset), var(--button--underline-color) var(--custom-button-link-underline-offset), var(--button--underline-color) var(--custom-button-link-underline-stop), transparent var(--custom-button-link-underline-stop) ); } .discord-media-attachment-button-control-icon { display: block; width: 24px; height: 24px; padding: 4px; cursor: pointer; flex: 0 0 auto; opacity: 0.6; } .discord-media-attachment-volume-slider { position: relative; height: 6px; background-color: hsl(210 calc(1 * 9.3%) 78.8% / 0.3); width: 88px; } `"
13109
+ "kind": "function",
13110
+ "name": "VideoPlayPopIcon",
13111
+ "parameters": [
13112
+ {
13113
+ "name": "props",
13114
+ "default": "{}",
13115
+ "type": {
13116
+ "text": "Record<string, unknown>"
13117
+ }
13118
+ }
13119
+ ]
13129
13120
  }
13130
13121
  ],
13131
13122
  "exports": [
13132
13123
  {
13133
13124
  "kind": "js",
13134
- "name": "DiscordVolumeControlStyles",
13125
+ "name": "default",
13135
13126
  "declaration": {
13136
- "name": "DiscordVolumeControlStyles",
13137
- "module": "src/components/_private/DiscordVolumeControlStyles.ts"
13127
+ "name": "VideoPlayPopIcon",
13128
+ "module": "src/components/svgs/VideoPlayPopIcon.ts"
13138
13129
  }
13139
13130
  }
13140
13131
  ]
13141
13132
  },
13142
13133
  {
13143
13134
  "kind": "javascript-module",
13144
- "path": "src/components/_private/mediaGalleryFullScreenContext.ts",
13135
+ "path": "src/components/svgs/VoiceChannel.ts",
13145
13136
  "declarations": [
13146
13137
  {
13147
- "kind": "variable",
13148
- "name": "isInMediaFullScreenPreviewer"
13138
+ "kind": "function",
13139
+ "name": "VoiceChannel",
13140
+ "parameters": [
13141
+ {
13142
+ "name": "props",
13143
+ "default": "{}",
13144
+ "type": {
13145
+ "text": "Record<string, unknown>"
13146
+ }
13147
+ }
13148
+ ]
13149
13149
  }
13150
13150
  ],
13151
13151
  "exports": [
13152
13152
  {
13153
13153
  "kind": "js",
13154
- "name": "isInMediaFullScreenPreviewer",
13154
+ "name": "default",
13155
13155
  "declaration": {
13156
- "name": "isInMediaFullScreenPreviewer",
13157
- "module": "src/components/_private/mediaGalleryFullScreenContext.ts"
13156
+ "name": "VoiceChannel",
13157
+ "module": "src/components/svgs/VoiceChannel.ts"
13158
13158
  }
13159
13159
  }
13160
13160
  ]