@penwin/discord-components-core 4.1.3 → 4.2.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 (42) hide show
  1. package/custom-elements.json +1392 -1275
  2. package/dist/bundle/index.mjs +493 -466
  3. package/dist/bundle/index.mjs.map +1 -1
  4. package/dist/components/_private/DiscordMediaLifecycle.js +3 -3
  5. package/dist/components/_private/DiscordMediaLifecycle.js.map +1 -1
  6. package/dist/components/discord-author-info/DiscordAuthorInfo.js +1 -1
  7. package/dist/components/discord-author-info/DiscordAuthorInfo.js.map +1 -1
  8. package/dist/components/discord-button/DiscordButton.d.ts +2 -1
  9. package/dist/components/discord-button/DiscordButton.d.ts.map +1 -1
  10. package/dist/components/discord-button/DiscordButton.js +19 -5
  11. package/dist/components/discord-button/DiscordButton.js.map +1 -1
  12. package/dist/components/discord-embed/DiscordEmbed.d.ts.map +1 -1
  13. package/dist/components/discord-embed/DiscordEmbed.js +1 -5
  14. package/dist/components/discord-embed/DiscordEmbed.js.map +1 -1
  15. package/dist/components/discord-media-fullscreen-previewer/DiscordMediaFullscreenPreviewer.d.ts +2 -2
  16. package/dist/components/discord-media-fullscreen-previewer/DiscordMediaFullscreenPreviewer.d.ts.map +1 -1
  17. package/dist/components/discord-media-fullscreen-previewer/DiscordMediaFullscreenPreviewer.js +6 -5
  18. package/dist/components/discord-media-fullscreen-previewer/DiscordMediaFullscreenPreviewer.js.map +1 -1
  19. package/dist/components/discord-media-gallery/DiscordMediaGallery.js +4 -4
  20. package/dist/components/discord-media-gallery-item/DiscordMediaGalleryItem.js +1 -1
  21. package/dist/components/discord-media-gallery-item/DiscordMediaGalleryItem.js.map +1 -1
  22. package/dist/components/discord-message/DiscordMessage.d.ts +3 -1
  23. package/dist/components/discord-message/DiscordMessage.d.ts.map +1 -1
  24. package/dist/components/discord-message/DiscordMessage.js +25 -3
  25. package/dist/components/discord-message/DiscordMessage.js.map +1 -1
  26. package/dist/components/discord-transcript-header/DiscordTranscriptHeader.d.ts.map +1 -1
  27. package/dist/components/discord-transcript-header/DiscordTranscriptHeader.js +1 -0
  28. package/dist/components/discord-transcript-header/DiscordTranscriptHeader.js.map +1 -1
  29. package/dist/components/discord-video-attachment/DiscordVideoAttachment.d.ts.map +1 -1
  30. package/dist/components/discord-video-attachment/DiscordVideoAttachment.js +16 -5
  31. package/dist/components/discord-video-attachment/DiscordVideoAttachment.js.map +1 -1
  32. package/dist/components/discord-voice-message/DiscordVoiceMessage.d.ts +6 -0
  33. package/dist/components/discord-voice-message/DiscordVoiceMessage.d.ts.map +1 -1
  34. package/dist/components/discord-voice-message/DiscordVoiceMessage.js +37 -4
  35. package/dist/components/discord-voice-message/DiscordVoiceMessage.js.map +1 -1
  36. package/dist/components/svgs/PremiumIcon.d.ts +2 -0
  37. package/dist/components/svgs/PremiumIcon.d.ts.map +1 -0
  38. package/dist/components/svgs/PremiumIcon.js +13 -0
  39. package/dist/components/svgs/PremiumIcon.js.map +1 -0
  40. package/dist/util.js +1 -1
  41. package/dist/util.js.map +1 -1
  42. package/package.json +3 -1
@@ -974,72 +974,72 @@
974
974
  },
975
975
  {
976
976
  "kind": "javascript-module",
977
- "path": "src/components/discord-attachments/DiscordAttachments.ts",
977
+ "path": "src/components/discord-action-row/DiscordActionRow.ts",
978
978
  "declarations": [
979
979
  {
980
980
  "kind": "class",
981
981
  "description": "",
982
- "name": "DiscordAttachments",
982
+ "name": "DiscordActionRow",
983
983
  "members": [],
984
984
  "superclass": {
985
985
  "name": "LitElement",
986
986
  "package": "lit"
987
987
  },
988
- "tagName": "discord-attachments",
988
+ "tagName": "discord-action-row",
989
989
  "customElement": true
990
990
  }
991
991
  ],
992
992
  "exports": [
993
993
  {
994
994
  "kind": "js",
995
- "name": "DiscordAttachments",
995
+ "name": "DiscordActionRow",
996
996
  "declaration": {
997
- "name": "DiscordAttachments",
998
- "module": "src/components/discord-attachments/DiscordAttachments.ts"
997
+ "name": "DiscordActionRow",
998
+ "module": "src/components/discord-action-row/DiscordActionRow.ts"
999
999
  }
1000
1000
  },
1001
1001
  {
1002
1002
  "kind": "custom-element-definition",
1003
- "name": "discord-attachments",
1003
+ "name": "discord-action-row",
1004
1004
  "declaration": {
1005
- "name": "DiscordAttachments",
1006
- "module": "src/components/discord-attachments/DiscordAttachments.ts"
1005
+ "name": "DiscordActionRow",
1006
+ "module": "src/components/discord-action-row/DiscordActionRow.ts"
1007
1007
  }
1008
1008
  }
1009
1009
  ]
1010
1010
  },
1011
1011
  {
1012
1012
  "kind": "javascript-module",
1013
- "path": "src/components/discord-action-row/DiscordActionRow.ts",
1013
+ "path": "src/components/discord-attachments/DiscordAttachments.ts",
1014
1014
  "declarations": [
1015
1015
  {
1016
1016
  "kind": "class",
1017
1017
  "description": "",
1018
- "name": "DiscordActionRow",
1018
+ "name": "DiscordAttachments",
1019
1019
  "members": [],
1020
1020
  "superclass": {
1021
1021
  "name": "LitElement",
1022
1022
  "package": "lit"
1023
1023
  },
1024
- "tagName": "discord-action-row",
1024
+ "tagName": "discord-attachments",
1025
1025
  "customElement": true
1026
1026
  }
1027
1027
  ],
1028
1028
  "exports": [
1029
1029
  {
1030
1030
  "kind": "js",
1031
- "name": "DiscordActionRow",
1031
+ "name": "DiscordAttachments",
1032
1032
  "declaration": {
1033
- "name": "DiscordActionRow",
1034
- "module": "src/components/discord-action-row/DiscordActionRow.ts"
1033
+ "name": "DiscordAttachments",
1034
+ "module": "src/components/discord-attachments/DiscordAttachments.ts"
1035
1035
  }
1036
1036
  },
1037
1037
  {
1038
1038
  "kind": "custom-element-definition",
1039
- "name": "discord-action-row",
1039
+ "name": "discord-attachments",
1040
1040
  "declaration": {
1041
- "name": "DiscordActionRow",
1042
- "module": "src/components/discord-action-row/DiscordActionRow.ts"
1041
+ "name": "DiscordAttachments",
1042
+ "module": "src/components/discord-attachments/DiscordAttachments.ts"
1043
1043
  }
1044
1044
  }
1045
1045
  ]
@@ -1963,7 +1963,7 @@
1963
1963
  "kind": "field",
1964
1964
  "name": "type",
1965
1965
  "type": {
1966
- "text": "'destructive' | 'primary' | 'secondary' | 'success'"
1966
+ "text": "'destructive' | 'premium' | 'primary' | 'secondary' | 'success'"
1967
1967
  },
1968
1968
  "privacy": "public",
1969
1969
  "default": "'secondary'",
@@ -1998,7 +1998,7 @@
1998
1998
  "name": "validButtonTypes",
1999
1999
  "privacy": "private",
2000
2000
  "readonly": true,
2001
- "default": "new Set(['primary', 'secondary', 'success', 'destructive'])"
2001
+ "default": "new Set(['primary', 'secondary', 'success', 'destructive', 'premium'])"
2002
2002
  },
2003
2003
  {
2004
2004
  "kind": "field",
@@ -2009,6 +2009,15 @@
2009
2009
  "privacy": "public",
2010
2010
  "default": "false"
2011
2011
  },
2012
+ {
2013
+ "kind": "field",
2014
+ "name": "isInForwardedMessage",
2015
+ "type": {
2016
+ "text": "boolean"
2017
+ },
2018
+ "privacy": "public",
2019
+ "default": "false"
2020
+ },
2012
2021
  {
2013
2022
  "kind": "method",
2014
2023
  "name": "checkType",
@@ -2063,7 +2072,7 @@
2063
2072
  {
2064
2073
  "name": "type",
2065
2074
  "type": {
2066
- "text": "'destructive' | 'primary' | 'secondary' | 'success'"
2075
+ "text": "'destructive' | 'premium' | 'primary' | 'secondary' | 'success'"
2067
2076
  },
2068
2077
  "default": "'secondary'",
2069
2078
  "description": "The type of button this is, this will change the color of the button.\r\nValid values: `primary`, `secondary`, `success`, `destructive`.",
@@ -2760,13 +2769,28 @@
2760
2769
  },
2761
2770
  {
2762
2771
  "kind": "javascript-module",
2763
- "path": "src/components/discord-components-column/DiscordComponentsColumn.ts",
2772
+ "path": "src/components/discord-container/DiscordContainer.ts",
2764
2773
  "declarations": [
2774
+ {
2775
+ "kind": "variable",
2776
+ "name": "discordContainerContext"
2777
+ },
2765
2778
  {
2766
2779
  "kind": "class",
2767
2780
  "description": "",
2768
- "name": "DiscordComponentsColumn",
2781
+ "name": "DiscordContainer",
2769
2782
  "members": [
2783
+ {
2784
+ "kind": "field",
2785
+ "name": "accentColor",
2786
+ "type": {
2787
+ "text": "string"
2788
+ },
2789
+ "privacy": "public",
2790
+ "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).",
2791
+ "attribute": "accent-color",
2792
+ "reflects": true
2793
+ },
2770
2794
  {
2771
2795
  "kind": "field",
2772
2796
  "name": "isInContainer",
@@ -2774,91 +2798,101 @@
2774
2798
  "text": "boolean"
2775
2799
  },
2776
2800
  "privacy": "public",
2801
+ "default": "true"
2802
+ },
2803
+ {
2804
+ "kind": "field",
2805
+ "name": "lightTheme",
2806
+ "type": {
2807
+ "text": "boolean"
2808
+ },
2809
+ "privacy": "public",
2777
2810
  "default": "false",
2778
- "attribute": "is-in-container",
2811
+ "attribute": "light-theme",
2779
2812
  "reflects": true
2780
2813
  },
2781
2814
  {
2782
2815
  "kind": "field",
2783
- "name": "isInForwardedMessage",
2816
+ "name": "spoiler",
2784
2817
  "type": {
2785
2818
  "text": "boolean"
2786
2819
  },
2787
2820
  "privacy": "public",
2788
2821
  "default": "false",
2789
- "attribute": "is-in-forwarded-message",
2822
+ "attribute": "spoiler",
2790
2823
  "reflects": true
2791
2824
  }
2792
2825
  ],
2793
2826
  "attributes": [
2794
2827
  {
2795
- "name": "is-in-container",
2828
+ "name": "accent-color",
2829
+ "type": {
2830
+ "text": "string"
2831
+ },
2832
+ "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).",
2833
+ "fieldName": "accentColor"
2834
+ },
2835
+ {
2836
+ "name": "light-theme",
2796
2837
  "type": {
2797
2838
  "text": "boolean"
2798
2839
  },
2799
2840
  "default": "false",
2800
- "fieldName": "isInContainer"
2841
+ "fieldName": "lightTheme"
2801
2842
  },
2802
2843
  {
2803
- "name": "is-in-forwarded-message",
2844
+ "name": "spoiler",
2804
2845
  "type": {
2805
2846
  "text": "boolean"
2806
2847
  },
2807
2848
  "default": "false",
2808
- "fieldName": "isInForwardedMessage"
2849
+ "fieldName": "spoiler"
2809
2850
  }
2810
2851
  ],
2811
2852
  "superclass": {
2812
2853
  "name": "LitElement",
2813
2854
  "package": "lit"
2814
2855
  },
2815
- "tagName": "discord-components-column",
2856
+ "tagName": "discord-container",
2816
2857
  "customElement": true
2817
2858
  }
2818
2859
  ],
2819
2860
  "exports": [
2820
2861
  {
2821
2862
  "kind": "js",
2822
- "name": "DiscordComponentsColumn",
2863
+ "name": "discordContainerContext",
2823
2864
  "declaration": {
2824
- "name": "DiscordComponentsColumn",
2825
- "module": "src/components/discord-components-column/DiscordComponentsColumn.ts"
2865
+ "name": "discordContainerContext",
2866
+ "module": "src/components/discord-container/DiscordContainer.ts"
2867
+ }
2868
+ },
2869
+ {
2870
+ "kind": "js",
2871
+ "name": "DiscordContainer",
2872
+ "declaration": {
2873
+ "name": "DiscordContainer",
2874
+ "module": "src/components/discord-container/DiscordContainer.ts"
2826
2875
  }
2827
2876
  },
2828
2877
  {
2829
2878
  "kind": "custom-element-definition",
2830
- "name": "discord-components-column",
2879
+ "name": "discord-container",
2831
2880
  "declaration": {
2832
- "name": "DiscordComponentsColumn",
2833
- "module": "src/components/discord-components-column/DiscordComponentsColumn.ts"
2881
+ "name": "DiscordContainer",
2882
+ "module": "src/components/discord-container/DiscordContainer.ts"
2834
2883
  }
2835
2884
  }
2836
2885
  ]
2837
2886
  },
2838
2887
  {
2839
2888
  "kind": "javascript-module",
2840
- "path": "src/components/discord-container/DiscordContainer.ts",
2889
+ "path": "src/components/discord-components-column/DiscordComponentsColumn.ts",
2841
2890
  "declarations": [
2842
- {
2843
- "kind": "variable",
2844
- "name": "discordContainerContext"
2845
- },
2846
2891
  {
2847
2892
  "kind": "class",
2848
2893
  "description": "",
2849
- "name": "DiscordContainer",
2894
+ "name": "DiscordComponentsColumn",
2850
2895
  "members": [
2851
- {
2852
- "kind": "field",
2853
- "name": "accentColor",
2854
- "type": {
2855
- "text": "string"
2856
- },
2857
- "privacy": "public",
2858
- "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).",
2859
- "attribute": "accent-color",
2860
- "reflects": true
2861
- },
2862
2896
  {
2863
2897
  "kind": "field",
2864
2898
  "name": "isInContainer",
@@ -2866,88 +2900,63 @@
2866
2900
  "text": "boolean"
2867
2901
  },
2868
2902
  "privacy": "public",
2869
- "default": "true"
2870
- },
2871
- {
2872
- "kind": "field",
2873
- "name": "lightTheme",
2874
- "type": {
2875
- "text": "boolean"
2876
- },
2877
- "privacy": "public",
2878
2903
  "default": "false",
2879
- "attribute": "light-theme",
2904
+ "attribute": "is-in-container",
2880
2905
  "reflects": true
2881
2906
  },
2882
2907
  {
2883
2908
  "kind": "field",
2884
- "name": "spoiler",
2909
+ "name": "isInForwardedMessage",
2885
2910
  "type": {
2886
2911
  "text": "boolean"
2887
2912
  },
2888
2913
  "privacy": "public",
2889
2914
  "default": "false",
2890
- "attribute": "spoiler",
2915
+ "attribute": "is-in-forwarded-message",
2891
2916
  "reflects": true
2892
2917
  }
2893
2918
  ],
2894
2919
  "attributes": [
2895
2920
  {
2896
- "name": "accent-color",
2897
- "type": {
2898
- "text": "string"
2899
- },
2900
- "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).",
2901
- "fieldName": "accentColor"
2902
- },
2903
- {
2904
- "name": "light-theme",
2921
+ "name": "is-in-container",
2905
2922
  "type": {
2906
2923
  "text": "boolean"
2907
2924
  },
2908
2925
  "default": "false",
2909
- "fieldName": "lightTheme"
2926
+ "fieldName": "isInContainer"
2910
2927
  },
2911
2928
  {
2912
- "name": "spoiler",
2929
+ "name": "is-in-forwarded-message",
2913
2930
  "type": {
2914
2931
  "text": "boolean"
2915
2932
  },
2916
2933
  "default": "false",
2917
- "fieldName": "spoiler"
2934
+ "fieldName": "isInForwardedMessage"
2918
2935
  }
2919
2936
  ],
2920
2937
  "superclass": {
2921
2938
  "name": "LitElement",
2922
2939
  "package": "lit"
2923
2940
  },
2924
- "tagName": "discord-container",
2941
+ "tagName": "discord-components-column",
2925
2942
  "customElement": true
2926
2943
  }
2927
2944
  ],
2928
2945
  "exports": [
2929
2946
  {
2930
2947
  "kind": "js",
2931
- "name": "discordContainerContext",
2932
- "declaration": {
2933
- "name": "discordContainerContext",
2934
- "module": "src/components/discord-container/DiscordContainer.ts"
2935
- }
2936
- },
2937
- {
2938
- "kind": "js",
2939
- "name": "DiscordContainer",
2948
+ "name": "DiscordComponentsColumn",
2940
2949
  "declaration": {
2941
- "name": "DiscordContainer",
2942
- "module": "src/components/discord-container/DiscordContainer.ts"
2950
+ "name": "DiscordComponentsColumn",
2951
+ "module": "src/components/discord-components-column/DiscordComponentsColumn.ts"
2943
2952
  }
2944
2953
  },
2945
2954
  {
2946
2955
  "kind": "custom-element-definition",
2947
- "name": "discord-container",
2956
+ "name": "discord-components-column",
2948
2957
  "declaration": {
2949
- "name": "DiscordContainer",
2950
- "module": "src/components/discord-container/DiscordContainer.ts"
2958
+ "name": "DiscordComponentsColumn",
2959
+ "module": "src/components/discord-components-column/DiscordComponentsColumn.ts"
2951
2960
  }
2952
2961
  }
2953
2962
  ]
@@ -3340,64 +3349,6 @@
3340
3349
  }
3341
3350
  ]
3342
3351
  },
3343
- {
3344
- "kind": "javascript-module",
3345
- "path": "src/components/discord-embed-description/DiscordEmbedDescription.ts",
3346
- "declarations": [
3347
- {
3348
- "kind": "class",
3349
- "description": "",
3350
- "name": "DiscordEmbedDescription",
3351
- "members": [
3352
- {
3353
- "kind": "field",
3354
- "name": "lightTheme",
3355
- "type": {
3356
- "text": "boolean"
3357
- },
3358
- "privacy": "public",
3359
- "default": "false",
3360
- "attribute": "light-theme",
3361
- "reflects": true
3362
- }
3363
- ],
3364
- "attributes": [
3365
- {
3366
- "name": "light-theme",
3367
- "type": {
3368
- "text": "boolean"
3369
- },
3370
- "default": "false",
3371
- "fieldName": "lightTheme"
3372
- }
3373
- ],
3374
- "superclass": {
3375
- "name": "LitElement",
3376
- "package": "lit"
3377
- },
3378
- "tagName": "discord-embed-description",
3379
- "customElement": true
3380
- }
3381
- ],
3382
- "exports": [
3383
- {
3384
- "kind": "js",
3385
- "name": "DiscordEmbedDescription",
3386
- "declaration": {
3387
- "name": "DiscordEmbedDescription",
3388
- "module": "src/components/discord-embed-description/DiscordEmbedDescription.ts"
3389
- }
3390
- },
3391
- {
3392
- "kind": "custom-element-definition",
3393
- "name": "discord-embed-description",
3394
- "declaration": {
3395
- "name": "DiscordEmbedDescription",
3396
- "module": "src/components/discord-embed-description/DiscordEmbedDescription.ts"
3397
- }
3398
- }
3399
- ]
3400
- },
3401
3352
  {
3402
3353
  "kind": "javascript-module",
3403
3354
  "path": "src/components/discord-embed-field/DiscordEmbedField.ts",
@@ -3553,18 +3504,76 @@
3553
3504
  },
3554
3505
  {
3555
3506
  "kind": "javascript-module",
3556
- "path": "src/components/discord-embed-fields/DiscordEmbedFields.ts",
3507
+ "path": "src/components/discord-embed-description/DiscordEmbedDescription.ts",
3557
3508
  "declarations": [
3558
3509
  {
3559
3510
  "kind": "class",
3560
3511
  "description": "",
3561
- "name": "DiscordEmbedFields",
3562
- "members": [],
3563
- "superclass": {
3564
- "name": "LitElement",
3565
- "package": "lit"
3566
- },
3567
- "tagName": "discord-embed-fields",
3512
+ "name": "DiscordEmbedDescription",
3513
+ "members": [
3514
+ {
3515
+ "kind": "field",
3516
+ "name": "lightTheme",
3517
+ "type": {
3518
+ "text": "boolean"
3519
+ },
3520
+ "privacy": "public",
3521
+ "default": "false",
3522
+ "attribute": "light-theme",
3523
+ "reflects": true
3524
+ }
3525
+ ],
3526
+ "attributes": [
3527
+ {
3528
+ "name": "light-theme",
3529
+ "type": {
3530
+ "text": "boolean"
3531
+ },
3532
+ "default": "false",
3533
+ "fieldName": "lightTheme"
3534
+ }
3535
+ ],
3536
+ "superclass": {
3537
+ "name": "LitElement",
3538
+ "package": "lit"
3539
+ },
3540
+ "tagName": "discord-embed-description",
3541
+ "customElement": true
3542
+ }
3543
+ ],
3544
+ "exports": [
3545
+ {
3546
+ "kind": "js",
3547
+ "name": "DiscordEmbedDescription",
3548
+ "declaration": {
3549
+ "name": "DiscordEmbedDescription",
3550
+ "module": "src/components/discord-embed-description/DiscordEmbedDescription.ts"
3551
+ }
3552
+ },
3553
+ {
3554
+ "kind": "custom-element-definition",
3555
+ "name": "discord-embed-description",
3556
+ "declaration": {
3557
+ "name": "DiscordEmbedDescription",
3558
+ "module": "src/components/discord-embed-description/DiscordEmbedDescription.ts"
3559
+ }
3560
+ }
3561
+ ]
3562
+ },
3563
+ {
3564
+ "kind": "javascript-module",
3565
+ "path": "src/components/discord-embed-fields/DiscordEmbedFields.ts",
3566
+ "declarations": [
3567
+ {
3568
+ "kind": "class",
3569
+ "description": "",
3570
+ "name": "DiscordEmbedFields",
3571
+ "members": [],
3572
+ "superclass": {
3573
+ "name": "LitElement",
3574
+ "package": "lit"
3575
+ },
3576
+ "tagName": "discord-embed-fields",
3568
3577
  "customElement": true
3569
3578
  }
3570
3579
  ],
@@ -4071,81 +4080,6 @@
4071
4080
  }
4072
4081
  ]
4073
4082
  },
4074
- {
4075
- "kind": "javascript-module",
4076
- "path": "src/components/discord-header/DiscordHeader.ts",
4077
- "declarations": [
4078
- {
4079
- "kind": "class",
4080
- "description": "",
4081
- "name": "DiscordHeader",
4082
- "members": [
4083
- {
4084
- "kind": "field",
4085
- "name": "level",
4086
- "type": {
4087
- "text": "1 | 2 | 3"
4088
- },
4089
- "privacy": "public",
4090
- "default": "1",
4091
- "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.",
4092
- "attribute": "level",
4093
- "reflects": true
4094
- },
4095
- {
4096
- "kind": "method",
4097
- "name": "ensureLevelIsNumber",
4098
- "privacy": "public",
4099
- "return": {
4100
- "type": {
4101
- "text": "void"
4102
- }
4103
- }
4104
- },
4105
- {
4106
- "kind": "method",
4107
- "name": "checkLevel",
4108
- "privacy": "public"
4109
- }
4110
- ],
4111
- "attributes": [
4112
- {
4113
- "name": "level",
4114
- "type": {
4115
- "text": "1 | 2 | 3"
4116
- },
4117
- "default": "1",
4118
- "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.",
4119
- "fieldName": "level"
4120
- }
4121
- ],
4122
- "superclass": {
4123
- "name": "LitElement",
4124
- "package": "lit"
4125
- },
4126
- "tagName": "discord-header",
4127
- "customElement": true
4128
- }
4129
- ],
4130
- "exports": [
4131
- {
4132
- "kind": "js",
4133
- "name": "DiscordHeader",
4134
- "declaration": {
4135
- "name": "DiscordHeader",
4136
- "module": "src/components/discord-header/DiscordHeader.ts"
4137
- }
4138
- },
4139
- {
4140
- "kind": "custom-element-definition",
4141
- "name": "discord-header",
4142
- "declaration": {
4143
- "name": "DiscordHeader",
4144
- "module": "src/components/discord-header/DiscordHeader.ts"
4145
- }
4146
- }
4147
- ]
4148
- },
4149
4083
  {
4150
4084
  "kind": "javascript-module",
4151
4085
  "path": "src/components/discord-image-attachment/DiscordImageAttachment.ts",
@@ -4326,6 +4260,81 @@
4326
4260
  }
4327
4261
  ]
4328
4262
  },
4263
+ {
4264
+ "kind": "javascript-module",
4265
+ "path": "src/components/discord-header/DiscordHeader.ts",
4266
+ "declarations": [
4267
+ {
4268
+ "kind": "class",
4269
+ "description": "",
4270
+ "name": "DiscordHeader",
4271
+ "members": [
4272
+ {
4273
+ "kind": "field",
4274
+ "name": "level",
4275
+ "type": {
4276
+ "text": "1 | 2 | 3"
4277
+ },
4278
+ "privacy": "public",
4279
+ "default": "1",
4280
+ "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.",
4281
+ "attribute": "level",
4282
+ "reflects": true
4283
+ },
4284
+ {
4285
+ "kind": "method",
4286
+ "name": "ensureLevelIsNumber",
4287
+ "privacy": "public",
4288
+ "return": {
4289
+ "type": {
4290
+ "text": "void"
4291
+ }
4292
+ }
4293
+ },
4294
+ {
4295
+ "kind": "method",
4296
+ "name": "checkLevel",
4297
+ "privacy": "public"
4298
+ }
4299
+ ],
4300
+ "attributes": [
4301
+ {
4302
+ "name": "level",
4303
+ "type": {
4304
+ "text": "1 | 2 | 3"
4305
+ },
4306
+ "default": "1",
4307
+ "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.",
4308
+ "fieldName": "level"
4309
+ }
4310
+ ],
4311
+ "superclass": {
4312
+ "name": "LitElement",
4313
+ "package": "lit"
4314
+ },
4315
+ "tagName": "discord-header",
4316
+ "customElement": true
4317
+ }
4318
+ ],
4319
+ "exports": [
4320
+ {
4321
+ "kind": "js",
4322
+ "name": "DiscordHeader",
4323
+ "declaration": {
4324
+ "name": "DiscordHeader",
4325
+ "module": "src/components/discord-header/DiscordHeader.ts"
4326
+ }
4327
+ },
4328
+ {
4329
+ "kind": "custom-element-definition",
4330
+ "name": "discord-header",
4331
+ "declaration": {
4332
+ "name": "DiscordHeader",
4333
+ "module": "src/components/discord-header/DiscordHeader.ts"
4334
+ }
4335
+ }
4336
+ ]
4337
+ },
4329
4338
  {
4330
4339
  "kind": "javascript-module",
4331
4340
  "path": "src/components/discord-input-text/DiscordInputText.ts",
@@ -5340,7 +5349,7 @@
5340
5349
  "kind": "field",
5341
5350
  "name": "timestamp",
5342
5351
  "type": {
5343
- "text": "DiscordTimestamp | undefined"
5352
+ "text": "string | undefined"
5344
5353
  },
5345
5354
  "privacy": "public"
5346
5355
  },
@@ -5994,51 +6003,227 @@
5994
6003
  },
5995
6004
  {
5996
6005
  "kind": "javascript-module",
5997
- "path": "src/components/discord-message/DiscordMessage.ts",
6006
+ "path": "src/components/discord-messages/DiscordMessages.ts",
5998
6007
  "declarations": [
5999
6008
  {
6000
6009
  "kind": "variable",
6001
- "name": "messageProfile"
6010
+ "name": "messagesLightTheme"
6002
6011
  },
6003
6012
  {
6004
6013
  "kind": "variable",
6005
- "name": "messageTimestamp"
6014
+ "name": "messagesCompactMode"
6015
+ },
6016
+ {
6017
+ "kind": "variable",
6018
+ "name": "messagesNoBackground"
6006
6019
  },
6007
6020
  {
6008
6021
  "kind": "class",
6009
6022
  "description": "",
6010
- "name": "DiscordMessage",
6023
+ "name": "DiscordMessages",
6011
6024
  "members": [
6012
6025
  {
6013
6026
  "kind": "field",
6014
- "name": "profile",
6027
+ "name": "lightTheme",
6015
6028
  "type": {
6016
- "text": "string | undefined"
6029
+ "text": "boolean"
6017
6030
  },
6018
6031
  "privacy": "public",
6019
- "default": "undefined",
6020
- "description": "The id of the profile data to use.",
6021
- "attribute": "profile"
6032
+ "default": "false",
6033
+ "description": "Whether to use light theme or not.",
6034
+ "attribute": "light-theme",
6035
+ "reflects": true
6022
6036
  },
6023
6037
  {
6024
6038
  "kind": "field",
6025
- "name": "author",
6039
+ "name": "noBackground",
6026
6040
  "type": {
6027
- "text": "string | undefined"
6041
+ "text": "boolean"
6028
6042
  },
6029
6043
  "privacy": "public",
6030
- "default": "'User'",
6031
- "description": "The message author's username.",
6032
- "attribute": "author"
6044
+ "default": "false",
6045
+ "description": "Whether to exclude the background or not.",
6046
+ "attribute": "no-background",
6047
+ "reflects": true
6033
6048
  },
6034
6049
  {
6035
6050
  "kind": "field",
6036
- "name": "avatar",
6051
+ "name": "compactMode",
6037
6052
  "type": {
6038
- "text": "string | undefined"
6053
+ "text": "boolean"
6039
6054
  },
6040
6055
  "privacy": "public",
6041
- "default": "undefined",
6056
+ "default": "false",
6057
+ "description": "Whether to use compact mode or not.",
6058
+ "attribute": "compact-mode",
6059
+ "reflects": true
6060
+ },
6061
+ {
6062
+ "kind": "field",
6063
+ "name": "channelType",
6064
+ "type": {
6065
+ "text": "'forum' | 'locked' | 'text' | 'thread' | 'voice'"
6066
+ },
6067
+ "privacy": "public",
6068
+ "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`.",
6069
+ "attribute": "channel-type",
6070
+ "reflects": true
6071
+ },
6072
+ {
6073
+ "kind": "field",
6074
+ "name": "channelName",
6075
+ "type": {
6076
+ "text": "string"
6077
+ },
6078
+ "privacy": "public",
6079
+ "description": "The name of the channel, this will be displayed above the message and only applies if DiscordMessages.channelType is set.",
6080
+ "attribute": "channel-name",
6081
+ "reflects": true
6082
+ }
6083
+ ],
6084
+ "attributes": [
6085
+ {
6086
+ "name": "light-theme",
6087
+ "type": {
6088
+ "text": "boolean"
6089
+ },
6090
+ "default": "false",
6091
+ "description": "Whether to use light theme or not.",
6092
+ "fieldName": "lightTheme"
6093
+ },
6094
+ {
6095
+ "name": "no-background",
6096
+ "type": {
6097
+ "text": "boolean"
6098
+ },
6099
+ "default": "false",
6100
+ "description": "Whether to exclude the background or not.",
6101
+ "fieldName": "noBackground"
6102
+ },
6103
+ {
6104
+ "name": "compact-mode",
6105
+ "type": {
6106
+ "text": "boolean"
6107
+ },
6108
+ "default": "false",
6109
+ "description": "Whether to use compact mode or not.",
6110
+ "fieldName": "compactMode"
6111
+ },
6112
+ {
6113
+ "name": "channel-type",
6114
+ "type": {
6115
+ "text": "'forum' | 'locked' | 'text' | 'thread' | 'voice'"
6116
+ },
6117
+ "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`.",
6118
+ "fieldName": "channelType"
6119
+ },
6120
+ {
6121
+ "name": "channel-name",
6122
+ "type": {
6123
+ "text": "string"
6124
+ },
6125
+ "description": "The name of the channel, this will be displayed above the message and only applies if DiscordMessages.channelType is set.",
6126
+ "fieldName": "channelName"
6127
+ }
6128
+ ],
6129
+ "superclass": {
6130
+ "name": "LitElement",
6131
+ "package": "lit"
6132
+ },
6133
+ "tagName": "discord-messages",
6134
+ "customElement": true
6135
+ }
6136
+ ],
6137
+ "exports": [
6138
+ {
6139
+ "kind": "js",
6140
+ "name": "messagesLightTheme",
6141
+ "declaration": {
6142
+ "name": "messagesLightTheme",
6143
+ "module": "src/components/discord-messages/DiscordMessages.ts"
6144
+ }
6145
+ },
6146
+ {
6147
+ "kind": "js",
6148
+ "name": "messagesCompactMode",
6149
+ "declaration": {
6150
+ "name": "messagesCompactMode",
6151
+ "module": "src/components/discord-messages/DiscordMessages.ts"
6152
+ }
6153
+ },
6154
+ {
6155
+ "kind": "js",
6156
+ "name": "messagesNoBackground",
6157
+ "declaration": {
6158
+ "name": "messagesNoBackground",
6159
+ "module": "src/components/discord-messages/DiscordMessages.ts"
6160
+ }
6161
+ },
6162
+ {
6163
+ "kind": "js",
6164
+ "name": "DiscordMessages",
6165
+ "declaration": {
6166
+ "name": "DiscordMessages",
6167
+ "module": "src/components/discord-messages/DiscordMessages.ts"
6168
+ }
6169
+ },
6170
+ {
6171
+ "kind": "custom-element-definition",
6172
+ "name": "discord-messages",
6173
+ "declaration": {
6174
+ "name": "DiscordMessages",
6175
+ "module": "src/components/discord-messages/DiscordMessages.ts"
6176
+ }
6177
+ }
6178
+ ]
6179
+ },
6180
+ {
6181
+ "kind": "javascript-module",
6182
+ "path": "src/components/discord-message/DiscordMessage.ts",
6183
+ "declarations": [
6184
+ {
6185
+ "kind": "variable",
6186
+ "name": "messageProfile"
6187
+ },
6188
+ {
6189
+ "kind": "variable",
6190
+ "name": "messageTimestamp"
6191
+ },
6192
+ {
6193
+ "kind": "class",
6194
+ "description": "",
6195
+ "name": "DiscordMessage",
6196
+ "members": [
6197
+ {
6198
+ "kind": "field",
6199
+ "name": "profile",
6200
+ "type": {
6201
+ "text": "string | undefined"
6202
+ },
6203
+ "privacy": "public",
6204
+ "default": "undefined",
6205
+ "description": "The id of the profile data to use.",
6206
+ "attribute": "profile"
6207
+ },
6208
+ {
6209
+ "kind": "field",
6210
+ "name": "author",
6211
+ "type": {
6212
+ "text": "string | undefined"
6213
+ },
6214
+ "privacy": "public",
6215
+ "default": "'User'",
6216
+ "description": "The message author's username.",
6217
+ "attribute": "author"
6218
+ },
6219
+ {
6220
+ "kind": "field",
6221
+ "name": "avatar",
6222
+ "type": {
6223
+ "text": "string | undefined"
6224
+ },
6225
+ "privacy": "public",
6226
+ "default": "undefined",
6042
6227
  "description": "The message author's avatar. Can be an avatar shortcut, relative path, or external link.",
6043
6228
  "attribute": "avatar"
6044
6229
  },
@@ -6187,6 +6372,15 @@
6187
6372
  "attribute": "ephemeral",
6188
6373
  "reflects": true
6189
6374
  },
6375
+ {
6376
+ "kind": "field",
6377
+ "name": "rawTimestamp",
6378
+ "type": {
6379
+ "text": "string"
6380
+ },
6381
+ "privacy": "public",
6382
+ "attribute": "raw-timestamp"
6383
+ },
6190
6384
  {
6191
6385
  "kind": "field",
6192
6386
  "name": "timestamp",
@@ -6293,6 +6487,17 @@
6293
6487
  },
6294
6488
  "privacy": "public"
6295
6489
  },
6490
+ {
6491
+ "kind": "field",
6492
+ "name": "isInForwardedMessage",
6493
+ "type": {
6494
+ "text": "boolean"
6495
+ },
6496
+ "privacy": "public",
6497
+ "default": "false",
6498
+ "attribute": "is-in-forwarded-message",
6499
+ "reflects": true
6500
+ },
6296
6501
  {
6297
6502
  "kind": "method",
6298
6503
  "name": "resolveAvatar",
@@ -6457,6 +6662,13 @@
6457
6662
  "description": "Whether to make this message ephemeral.",
6458
6663
  "fieldName": "ephemeral"
6459
6664
  },
6665
+ {
6666
+ "name": "raw-timestamp",
6667
+ "type": {
6668
+ "text": "string"
6669
+ },
6670
+ "fieldName": "rawTimestamp"
6671
+ },
6460
6672
  {
6461
6673
  "name": "timestamp",
6462
6674
  "type": {
@@ -6521,6 +6733,14 @@
6521
6733
  "text": "() => void"
6522
6734
  },
6523
6735
  "fieldName": "dismissMessageClicked"
6736
+ },
6737
+ {
6738
+ "name": "is-in-forwarded-message",
6739
+ "type": {
6740
+ "text": "boolean"
6741
+ },
6742
+ "default": "false",
6743
+ "fieldName": "isInForwardedMessage"
6524
6744
  }
6525
6745
  ],
6526
6746
  "superclass": {
@@ -6568,227 +6788,51 @@
6568
6788
  },
6569
6789
  {
6570
6790
  "kind": "javascript-module",
6571
- "path": "src/components/discord-messages/DiscordMessages.ts",
6791
+ "path": "src/components/discord-modal/DiscordModal.ts",
6572
6792
  "declarations": [
6573
- {
6574
- "kind": "variable",
6575
- "name": "messagesLightTheme"
6576
- },
6577
- {
6578
- "kind": "variable",
6579
- "name": "messagesCompactMode"
6580
- },
6581
- {
6582
- "kind": "variable",
6583
- "name": "messagesNoBackground"
6584
- },
6585
6793
  {
6586
6794
  "kind": "class",
6587
6795
  "description": "",
6588
- "name": "DiscordMessages",
6796
+ "name": "DiscordModal",
6589
6797
  "members": [
6590
6798
  {
6591
6799
  "kind": "field",
6592
- "name": "lightTheme",
6800
+ "name": "profile",
6593
6801
  "type": {
6594
- "text": "boolean"
6802
+ "text": "string | undefined"
6595
6803
  },
6596
6804
  "privacy": "public",
6597
- "default": "false",
6598
- "description": "Whether to use light theme or not.",
6599
- "attribute": "light-theme",
6600
- "reflects": true
6805
+ "default": "undefined",
6806
+ "description": "The id of the profile data to use.",
6807
+ "attribute": "profile"
6601
6808
  },
6602
6809
  {
6603
6810
  "kind": "field",
6604
- "name": "noBackground",
6811
+ "name": "author",
6605
6812
  "type": {
6606
- "text": "boolean"
6813
+ "text": "string | undefined"
6607
6814
  },
6608
6815
  "privacy": "public",
6609
- "default": "false",
6610
- "description": "Whether to exclude the background or not.",
6611
- "attribute": "no-background",
6612
- "reflects": true
6816
+ "default": "'User'",
6817
+ "description": "The message author's username.",
6818
+ "attribute": "author"
6613
6819
  },
6614
6820
  {
6615
6821
  "kind": "field",
6616
- "name": "compactMode",
6822
+ "name": "avatar",
6617
6823
  "type": {
6618
- "text": "boolean"
6824
+ "text": "string | undefined"
6619
6825
  },
6620
6826
  "privacy": "public",
6621
- "default": "false",
6622
- "description": "Whether to use compact mode or not.",
6623
- "attribute": "compact-mode",
6624
- "reflects": true
6827
+ "default": "undefined",
6828
+ "description": "The modal's author's avatar. Can be an avatar shortcut, relative path, or external link.",
6829
+ "attribute": "avatar"
6625
6830
  },
6626
6831
  {
6627
6832
  "kind": "field",
6628
- "name": "channelType",
6833
+ "name": "modalId",
6629
6834
  "type": {
6630
- "text": "'forum' | 'locked' | 'text' | 'thread' | 'voice'"
6631
- },
6632
- "privacy": "public",
6633
- "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`.",
6634
- "attribute": "channel-type",
6635
- "reflects": true
6636
- },
6637
- {
6638
- "kind": "field",
6639
- "name": "channelName",
6640
- "type": {
6641
- "text": "string"
6642
- },
6643
- "privacy": "public",
6644
- "description": "The name of the channel, this will be displayed above the message and only applies if DiscordMessages.channelType is set.",
6645
- "attribute": "channel-name",
6646
- "reflects": true
6647
- }
6648
- ],
6649
- "attributes": [
6650
- {
6651
- "name": "light-theme",
6652
- "type": {
6653
- "text": "boolean"
6654
- },
6655
- "default": "false",
6656
- "description": "Whether to use light theme or not.",
6657
- "fieldName": "lightTheme"
6658
- },
6659
- {
6660
- "name": "no-background",
6661
- "type": {
6662
- "text": "boolean"
6663
- },
6664
- "default": "false",
6665
- "description": "Whether to exclude the background or not.",
6666
- "fieldName": "noBackground"
6667
- },
6668
- {
6669
- "name": "compact-mode",
6670
- "type": {
6671
- "text": "boolean"
6672
- },
6673
- "default": "false",
6674
- "description": "Whether to use compact mode or not.",
6675
- "fieldName": "compactMode"
6676
- },
6677
- {
6678
- "name": "channel-type",
6679
- "type": {
6680
- "text": "'forum' | 'locked' | 'text' | 'thread' | 'voice'"
6681
- },
6682
- "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`.",
6683
- "fieldName": "channelType"
6684
- },
6685
- {
6686
- "name": "channel-name",
6687
- "type": {
6688
- "text": "string"
6689
- },
6690
- "description": "The name of the channel, this will be displayed above the message and only applies if DiscordMessages.channelType is set.",
6691
- "fieldName": "channelName"
6692
- }
6693
- ],
6694
- "superclass": {
6695
- "name": "LitElement",
6696
- "package": "lit"
6697
- },
6698
- "tagName": "discord-messages",
6699
- "customElement": true
6700
- }
6701
- ],
6702
- "exports": [
6703
- {
6704
- "kind": "js",
6705
- "name": "messagesLightTheme",
6706
- "declaration": {
6707
- "name": "messagesLightTheme",
6708
- "module": "src/components/discord-messages/DiscordMessages.ts"
6709
- }
6710
- },
6711
- {
6712
- "kind": "js",
6713
- "name": "messagesCompactMode",
6714
- "declaration": {
6715
- "name": "messagesCompactMode",
6716
- "module": "src/components/discord-messages/DiscordMessages.ts"
6717
- }
6718
- },
6719
- {
6720
- "kind": "js",
6721
- "name": "messagesNoBackground",
6722
- "declaration": {
6723
- "name": "messagesNoBackground",
6724
- "module": "src/components/discord-messages/DiscordMessages.ts"
6725
- }
6726
- },
6727
- {
6728
- "kind": "js",
6729
- "name": "DiscordMessages",
6730
- "declaration": {
6731
- "name": "DiscordMessages",
6732
- "module": "src/components/discord-messages/DiscordMessages.ts"
6733
- }
6734
- },
6735
- {
6736
- "kind": "custom-element-definition",
6737
- "name": "discord-messages",
6738
- "declaration": {
6739
- "name": "DiscordMessages",
6740
- "module": "src/components/discord-messages/DiscordMessages.ts"
6741
- }
6742
- }
6743
- ]
6744
- },
6745
- {
6746
- "kind": "javascript-module",
6747
- "path": "src/components/discord-modal/DiscordModal.ts",
6748
- "declarations": [
6749
- {
6750
- "kind": "class",
6751
- "description": "",
6752
- "name": "DiscordModal",
6753
- "members": [
6754
- {
6755
- "kind": "field",
6756
- "name": "profile",
6757
- "type": {
6758
- "text": "string | undefined"
6759
- },
6760
- "privacy": "public",
6761
- "default": "undefined",
6762
- "description": "The id of the profile data to use.",
6763
- "attribute": "profile"
6764
- },
6765
- {
6766
- "kind": "field",
6767
- "name": "author",
6768
- "type": {
6769
- "text": "string | undefined"
6770
- },
6771
- "privacy": "public",
6772
- "default": "'User'",
6773
- "description": "The message author's username.",
6774
- "attribute": "author"
6775
- },
6776
- {
6777
- "kind": "field",
6778
- "name": "avatar",
6779
- "type": {
6780
- "text": "string | undefined"
6781
- },
6782
- "privacy": "public",
6783
- "default": "undefined",
6784
- "description": "The modal's author's avatar. Can be an avatar shortcut, relative path, or external link.",
6785
- "attribute": "avatar"
6786
- },
6787
- {
6788
- "kind": "field",
6789
- "name": "modalId",
6790
- "type": {
6791
- "text": "string"
6835
+ "text": "string"
6792
6836
  },
6793
6837
  "privacy": "public",
6794
6838
  "description": "The `id` property of the `dialog` component. This is used to open the modal from the button and should match with `modal-id` on the button.",
@@ -7582,58 +7626,36 @@
7582
7626
  },
7583
7627
  {
7584
7628
  "kind": "javascript-module",
7585
- "path": "src/components/discord-quote/DiscordQuote.ts",
7629
+ "path": "src/components/discord-reactions/DiscordReactions.ts",
7586
7630
  "declarations": [
7587
7631
  {
7588
7632
  "kind": "class",
7589
7633
  "description": "",
7590
- "name": "DiscordQuote",
7591
- "members": [
7592
- {
7593
- "kind": "field",
7594
- "name": "lightTheme",
7595
- "type": {
7596
- "text": "boolean"
7597
- },
7598
- "privacy": "public",
7599
- "default": "false",
7600
- "attribute": "light-theme",
7601
- "reflects": true
7602
- }
7603
- ],
7604
- "attributes": [
7605
- {
7606
- "name": "light-theme",
7607
- "type": {
7608
- "text": "boolean"
7609
- },
7610
- "default": "false",
7611
- "fieldName": "lightTheme"
7612
- }
7613
- ],
7634
+ "name": "DiscordReactions",
7635
+ "members": [],
7614
7636
  "superclass": {
7615
7637
  "name": "LitElement",
7616
7638
  "package": "lit"
7617
7639
  },
7618
- "tagName": "discord-quote",
7640
+ "tagName": "discord-reactions",
7619
7641
  "customElement": true
7620
7642
  }
7621
7643
  ],
7622
7644
  "exports": [
7623
7645
  {
7624
7646
  "kind": "js",
7625
- "name": "DiscordQuote",
7647
+ "name": "DiscordReactions",
7626
7648
  "declaration": {
7627
- "name": "DiscordQuote",
7628
- "module": "src/components/discord-quote/DiscordQuote.ts"
7649
+ "name": "DiscordReactions",
7650
+ "module": "src/components/discord-reactions/DiscordReactions.ts"
7629
7651
  }
7630
7652
  },
7631
7653
  {
7632
7654
  "kind": "custom-element-definition",
7633
- "name": "discord-quote",
7655
+ "name": "discord-reactions",
7634
7656
  "declaration": {
7635
- "name": "DiscordQuote",
7636
- "module": "src/components/discord-quote/DiscordQuote.ts"
7657
+ "name": "DiscordReactions",
7658
+ "module": "src/components/discord-reactions/DiscordReactions.ts"
7637
7659
  }
7638
7660
  }
7639
7661
  ]
@@ -7803,36 +7825,58 @@
7803
7825
  },
7804
7826
  {
7805
7827
  "kind": "javascript-module",
7806
- "path": "src/components/discord-reactions/DiscordReactions.ts",
7828
+ "path": "src/components/discord-quote/DiscordQuote.ts",
7807
7829
  "declarations": [
7808
7830
  {
7809
7831
  "kind": "class",
7810
7832
  "description": "",
7811
- "name": "DiscordReactions",
7812
- "members": [],
7833
+ "name": "DiscordQuote",
7834
+ "members": [
7835
+ {
7836
+ "kind": "field",
7837
+ "name": "lightTheme",
7838
+ "type": {
7839
+ "text": "boolean"
7840
+ },
7841
+ "privacy": "public",
7842
+ "default": "false",
7843
+ "attribute": "light-theme",
7844
+ "reflects": true
7845
+ }
7846
+ ],
7847
+ "attributes": [
7848
+ {
7849
+ "name": "light-theme",
7850
+ "type": {
7851
+ "text": "boolean"
7852
+ },
7853
+ "default": "false",
7854
+ "fieldName": "lightTheme"
7855
+ }
7856
+ ],
7813
7857
  "superclass": {
7814
7858
  "name": "LitElement",
7815
7859
  "package": "lit"
7816
7860
  },
7817
- "tagName": "discord-reactions",
7861
+ "tagName": "discord-quote",
7818
7862
  "customElement": true
7819
7863
  }
7820
7864
  ],
7821
7865
  "exports": [
7822
7866
  {
7823
7867
  "kind": "js",
7824
- "name": "DiscordReactions",
7868
+ "name": "DiscordQuote",
7825
7869
  "declaration": {
7826
- "name": "DiscordReactions",
7827
- "module": "src/components/discord-reactions/DiscordReactions.ts"
7870
+ "name": "DiscordQuote",
7871
+ "module": "src/components/discord-quote/DiscordQuote.ts"
7828
7872
  }
7829
7873
  },
7830
7874
  {
7831
7875
  "kind": "custom-element-definition",
7832
- "name": "discord-reactions",
7876
+ "name": "discord-quote",
7833
7877
  "declaration": {
7834
- "name": "DiscordReactions",
7835
- "module": "src/components/discord-reactions/DiscordReactions.ts"
7878
+ "name": "DiscordQuote",
7879
+ "module": "src/components/discord-quote/DiscordQuote.ts"
7836
7880
  }
7837
7881
  }
7838
7882
  ]
@@ -8305,86 +8349,26 @@
8305
8349
  },
8306
8350
  {
8307
8351
  "kind": "javascript-module",
8308
- "path": "src/components/discord-section-components/DiscordSectionComponents.ts",
8352
+ "path": "src/components/discord-separator/DiscordSeparator.ts",
8309
8353
  "declarations": [
8310
8354
  {
8311
8355
  "kind": "class",
8312
8356
  "description": "",
8313
- "name": "DiscordSectionComponents",
8357
+ "name": "DiscordSeparator",
8314
8358
  "members": [
8315
8359
  {
8316
8360
  "kind": "field",
8317
- "name": "withButton",
8361
+ "name": "divider",
8318
8362
  "type": {
8319
8363
  "text": "boolean"
8320
8364
  },
8321
8365
  "privacy": "public",
8322
- "default": "false"
8366
+ "default": "true",
8367
+ "attribute": "divider"
8323
8368
  },
8324
8369
  {
8325
8370
  "kind": "field",
8326
- "name": "hasOnlyOneTextDisplayChild",
8327
- "type": {
8328
- "text": "boolean"
8329
- },
8330
- "privacy": "public",
8331
- "default": "false"
8332
- },
8333
- {
8334
- "kind": "method",
8335
- "name": "calcHasOnlyOneTextDisplayChild",
8336
- "privacy": "protected"
8337
- }
8338
- ],
8339
- "superclass": {
8340
- "name": "LitElement",
8341
- "package": "lit"
8342
- },
8343
- "tagName": "discord-section-components",
8344
- "customElement": true
8345
- }
8346
- ],
8347
- "exports": [
8348
- {
8349
- "kind": "js",
8350
- "name": "DiscordSectionComponents",
8351
- "declaration": {
8352
- "name": "DiscordSectionComponents",
8353
- "module": "src/components/discord-section-components/DiscordSectionComponents.ts"
8354
- }
8355
- },
8356
- {
8357
- "kind": "custom-element-definition",
8358
- "name": "discord-section-components",
8359
- "declaration": {
8360
- "name": "DiscordSectionComponents",
8361
- "module": "src/components/discord-section-components/DiscordSectionComponents.ts"
8362
- }
8363
- }
8364
- ]
8365
- },
8366
- {
8367
- "kind": "javascript-module",
8368
- "path": "src/components/discord-separator/DiscordSeparator.ts",
8369
- "declarations": [
8370
- {
8371
- "kind": "class",
8372
- "description": "",
8373
- "name": "DiscordSeparator",
8374
- "members": [
8375
- {
8376
- "kind": "field",
8377
- "name": "divider",
8378
- "type": {
8379
- "text": "boolean"
8380
- },
8381
- "privacy": "public",
8382
- "default": "true",
8383
- "attribute": "divider"
8384
- },
8385
- {
8386
- "kind": "field",
8387
- "name": "spacing",
8371
+ "name": "spacing",
8388
8372
  "type": {
8389
8373
  "text": "1 | 2"
8390
8374
  },
@@ -8619,6 +8603,66 @@
8619
8603
  }
8620
8604
  ]
8621
8605
  },
8606
+ {
8607
+ "kind": "javascript-module",
8608
+ "path": "src/components/discord-section-components/DiscordSectionComponents.ts",
8609
+ "declarations": [
8610
+ {
8611
+ "kind": "class",
8612
+ "description": "",
8613
+ "name": "DiscordSectionComponents",
8614
+ "members": [
8615
+ {
8616
+ "kind": "field",
8617
+ "name": "withButton",
8618
+ "type": {
8619
+ "text": "boolean"
8620
+ },
8621
+ "privacy": "public",
8622
+ "default": "false"
8623
+ },
8624
+ {
8625
+ "kind": "field",
8626
+ "name": "hasOnlyOneTextDisplayChild",
8627
+ "type": {
8628
+ "text": "boolean"
8629
+ },
8630
+ "privacy": "public",
8631
+ "default": "false"
8632
+ },
8633
+ {
8634
+ "kind": "method",
8635
+ "name": "calcHasOnlyOneTextDisplayChild",
8636
+ "privacy": "protected"
8637
+ }
8638
+ ],
8639
+ "superclass": {
8640
+ "name": "LitElement",
8641
+ "package": "lit"
8642
+ },
8643
+ "tagName": "discord-section-components",
8644
+ "customElement": true
8645
+ }
8646
+ ],
8647
+ "exports": [
8648
+ {
8649
+ "kind": "js",
8650
+ "name": "DiscordSectionComponents",
8651
+ "declaration": {
8652
+ "name": "DiscordSectionComponents",
8653
+ "module": "src/components/discord-section-components/DiscordSectionComponents.ts"
8654
+ }
8655
+ },
8656
+ {
8657
+ "kind": "custom-element-definition",
8658
+ "name": "discord-section-components",
8659
+ "declaration": {
8660
+ "name": "DiscordSectionComponents",
8661
+ "module": "src/components/discord-section-components/DiscordSectionComponents.ts"
8662
+ }
8663
+ }
8664
+ ]
8665
+ },
8622
8666
  {
8623
8667
  "kind": "javascript-module",
8624
8668
  "path": "src/components/discord-string-select-menu-option/DiscordStringSelectMenuOption.ts",
@@ -9061,42 +9105,6 @@
9061
9105
  }
9062
9106
  ]
9063
9107
  },
9064
- {
9065
- "kind": "javascript-module",
9066
- "path": "src/components/discord-text-display/DiscordTextDisplay.ts",
9067
- "declarations": [
9068
- {
9069
- "kind": "class",
9070
- "description": "",
9071
- "name": "DiscordTextDisplay",
9072
- "members": [],
9073
- "superclass": {
9074
- "name": "LitElement",
9075
- "package": "lit"
9076
- },
9077
- "tagName": "discord-text-display",
9078
- "customElement": true
9079
- }
9080
- ],
9081
- "exports": [
9082
- {
9083
- "kind": "js",
9084
- "name": "DiscordTextDisplay",
9085
- "declaration": {
9086
- "name": "DiscordTextDisplay",
9087
- "module": "src/components/discord-text-display/DiscordTextDisplay.ts"
9088
- }
9089
- },
9090
- {
9091
- "kind": "custom-element-definition",
9092
- "name": "discord-text-display",
9093
- "declaration": {
9094
- "name": "DiscordTextDisplay",
9095
- "module": "src/components/discord-text-display/DiscordTextDisplay.ts"
9096
- }
9097
- }
9098
- ]
9099
- },
9100
9108
  {
9101
9109
  "kind": "javascript-module",
9102
9110
  "path": "src/components/discord-text-file-attachment-previewer/DiscordTextFileAttachmentPreviewer.ts",
@@ -9383,6 +9391,42 @@
9383
9391
  }
9384
9392
  ]
9385
9393
  },
9394
+ {
9395
+ "kind": "javascript-module",
9396
+ "path": "src/components/discord-text-display/DiscordTextDisplay.ts",
9397
+ "declarations": [
9398
+ {
9399
+ "kind": "class",
9400
+ "description": "",
9401
+ "name": "DiscordTextDisplay",
9402
+ "members": [],
9403
+ "superclass": {
9404
+ "name": "LitElement",
9405
+ "package": "lit"
9406
+ },
9407
+ "tagName": "discord-text-display",
9408
+ "customElement": true
9409
+ }
9410
+ ],
9411
+ "exports": [
9412
+ {
9413
+ "kind": "js",
9414
+ "name": "DiscordTextDisplay",
9415
+ "declaration": {
9416
+ "name": "DiscordTextDisplay",
9417
+ "module": "src/components/discord-text-display/DiscordTextDisplay.ts"
9418
+ }
9419
+ },
9420
+ {
9421
+ "kind": "custom-element-definition",
9422
+ "name": "discord-text-display",
9423
+ "declaration": {
9424
+ "name": "DiscordTextDisplay",
9425
+ "module": "src/components/discord-text-display/DiscordTextDisplay.ts"
9426
+ }
9427
+ }
9428
+ ]
9429
+ },
9386
9430
  {
9387
9431
  "kind": "javascript-module",
9388
9432
  "path": "src/components/discord-thread/DiscordThread.ts",
@@ -9955,137 +9999,80 @@
9955
9999
  },
9956
10000
  {
9957
10001
  "kind": "javascript-module",
9958
- "path": "src/components/discord-transcript-header/DiscordTranscriptHeader.ts",
10002
+ "path": "src/components/discord-verified-author-tag/DiscordVerifiedAuthorTag.ts",
9959
10003
  "declarations": [
9960
10004
  {
9961
10005
  "kind": "class",
9962
10006
  "description": "",
9963
- "name": "DiscordTranscriptHeader",
10007
+ "name": "DiscordVerifiedAuthorTag",
9964
10008
  "members": [
9965
10009
  {
9966
10010
  "kind": "field",
9967
- "name": "guild",
9968
- "type": {
9969
- "text": "string"
9970
- },
9971
- "privacy": "public",
9972
- "description": "The guild name",
9973
- "attribute": "guild",
9974
- "reflects": true
9975
- },
9976
- {
9977
- "kind": "field",
9978
- "name": "channel",
10011
+ "name": "verified",
9979
10012
  "type": {
9980
- "text": "string"
10013
+ "text": "boolean"
9981
10014
  },
9982
10015
  "privacy": "public",
9983
- "description": "The name of the channel",
9984
- "attribute": "channel",
9985
- "reflects": true
10016
+ "default": "false",
10017
+ "description": "Whether this bot is verified by Discord. Only works if `bot` is `true`",
10018
+ "attribute": "verified"
9986
10019
  },
9987
10020
  {
9988
10021
  "kind": "field",
9989
- "name": "icon",
10022
+ "name": "compactMode",
9990
10023
  "type": {
9991
- "text": "string | undefined"
10024
+ "text": "boolean"
9992
10025
  },
9993
10026
  "privacy": "public",
9994
- "description": "The icon to display.",
9995
- "attribute": "icon",
10027
+ "default": "false",
10028
+ "description": "Whether to reverse the order of the author info for compact mode.",
10029
+ "attribute": "compact-mode",
9996
10030
  "reflects": true
9997
- },
9998
- {
9999
- "kind": "method",
10000
- "name": "getLettersName",
10001
- "privacy": "public"
10002
10031
  }
10003
10032
  ],
10004
10033
  "attributes": [
10005
10034
  {
10006
- "name": "guild",
10007
- "type": {
10008
- "text": "string"
10009
- },
10010
- "description": "The guild name",
10011
- "fieldName": "guild"
10012
- },
10013
- {
10014
- "name": "channel",
10035
+ "name": "verified",
10015
10036
  "type": {
10016
- "text": "string"
10037
+ "text": "boolean"
10017
10038
  },
10018
- "description": "The name of the channel",
10019
- "fieldName": "channel"
10039
+ "default": "false",
10040
+ "description": "Whether this bot is verified by Discord. Only works if `bot` is `true`",
10041
+ "fieldName": "verified"
10020
10042
  },
10021
10043
  {
10022
- "name": "icon",
10044
+ "name": "compact-mode",
10023
10045
  "type": {
10024
- "text": "string | undefined"
10046
+ "text": "boolean"
10025
10047
  },
10026
- "description": "The icon to display.",
10027
- "fieldName": "icon"
10028
- }
10029
- ],
10030
- "superclass": {
10031
- "name": "LitElement",
10032
- "package": "lit"
10033
- },
10034
- "tagName": "discord-transcript-header",
10035
- "customElement": true
10036
- }
10037
- ],
10038
- "exports": [
10039
- {
10040
- "kind": "js",
10041
- "name": "DiscordTranscriptHeader",
10042
- "declaration": {
10043
- "name": "DiscordTranscriptHeader",
10044
- "module": "src/components/discord-transcript-header/DiscordTranscriptHeader.ts"
10045
- }
10046
- },
10047
- {
10048
- "kind": "custom-element-definition",
10049
- "name": "discord-transcript-header",
10050
- "declaration": {
10051
- "name": "DiscordTranscriptHeader",
10052
- "module": "src/components/discord-transcript-header/DiscordTranscriptHeader.ts"
10053
- }
10054
- }
10055
- ]
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": [],
10048
+ "default": "false",
10049
+ "description": "Whether to reverse the order of the author info for compact mode.",
10050
+ "fieldName": "compactMode"
10051
+ }
10052
+ ],
10066
10053
  "superclass": {
10067
10054
  "name": "LitElement",
10068
10055
  "package": "lit"
10069
10056
  },
10070
- "tagName": "discord-underlined",
10057
+ "tagName": "discord-verified-author-tag",
10071
10058
  "customElement": true
10072
10059
  }
10073
10060
  ],
10074
10061
  "exports": [
10075
10062
  {
10076
10063
  "kind": "js",
10077
- "name": "DiscordUnderlined",
10064
+ "name": "DiscordVerifiedAuthorTag",
10078
10065
  "declaration": {
10079
- "name": "DiscordUnderlined",
10080
- "module": "src/components/discord-underlined/DiscordUnderlined.ts"
10066
+ "name": "DiscordVerifiedAuthorTag",
10067
+ "module": "src/components/discord-verified-author-tag/DiscordVerifiedAuthorTag.ts"
10081
10068
  }
10082
10069
  },
10083
10070
  {
10084
10071
  "kind": "custom-element-definition",
10085
- "name": "discord-underlined",
10072
+ "name": "discord-verified-author-tag",
10086
10073
  "declaration": {
10087
- "name": "DiscordUnderlined",
10088
- "module": "src/components/discord-underlined/DiscordUnderlined.ts"
10074
+ "name": "DiscordVerifiedAuthorTag",
10075
+ "module": "src/components/discord-verified-author-tag/DiscordVerifiedAuthorTag.ts"
10089
10076
  }
10090
10077
  }
10091
10078
  ]
@@ -10157,80 +10144,101 @@
10157
10144
  },
10158
10145
  {
10159
10146
  "kind": "javascript-module",
10160
- "path": "src/components/discord-verified-author-tag/DiscordVerifiedAuthorTag.ts",
10147
+ "path": "src/components/discord-transcript-header/DiscordTranscriptHeader.ts",
10161
10148
  "declarations": [
10162
10149
  {
10163
10150
  "kind": "class",
10164
10151
  "description": "",
10165
- "name": "DiscordVerifiedAuthorTag",
10152
+ "name": "DiscordTranscriptHeader",
10166
10153
  "members": [
10167
10154
  {
10168
10155
  "kind": "field",
10169
- "name": "verified",
10156
+ "name": "guild",
10170
10157
  "type": {
10171
- "text": "boolean"
10158
+ "text": "string"
10172
10159
  },
10173
10160
  "privacy": "public",
10174
- "default": "false",
10175
- "description": "Whether this bot is verified by Discord. Only works if `bot` is `true`",
10176
- "attribute": "verified"
10161
+ "description": "The guild name",
10162
+ "attribute": "guild",
10163
+ "reflects": true
10177
10164
  },
10178
10165
  {
10179
10166
  "kind": "field",
10180
- "name": "compactMode",
10167
+ "name": "channel",
10181
10168
  "type": {
10182
- "text": "boolean"
10169
+ "text": "string"
10183
10170
  },
10184
10171
  "privacy": "public",
10185
- "default": "false",
10186
- "description": "Whether to reverse the order of the author info for compact mode.",
10187
- "attribute": "compact-mode",
10172
+ "description": "The name of the channel",
10173
+ "attribute": "channel",
10174
+ "reflects": true
10175
+ },
10176
+ {
10177
+ "kind": "field",
10178
+ "name": "icon",
10179
+ "type": {
10180
+ "text": "string | undefined"
10181
+ },
10182
+ "privacy": "public",
10183
+ "description": "The icon to display.",
10184
+ "attribute": "icon",
10188
10185
  "reflects": true
10186
+ },
10187
+ {
10188
+ "kind": "method",
10189
+ "name": "getLettersName",
10190
+ "privacy": "public"
10189
10191
  }
10190
10192
  ],
10191
10193
  "attributes": [
10192
10194
  {
10193
- "name": "verified",
10195
+ "name": "guild",
10194
10196
  "type": {
10195
- "text": "boolean"
10197
+ "text": "string"
10196
10198
  },
10197
- "default": "false",
10198
- "description": "Whether this bot is verified by Discord. Only works if `bot` is `true`",
10199
- "fieldName": "verified"
10199
+ "description": "The guild name",
10200
+ "fieldName": "guild"
10200
10201
  },
10201
10202
  {
10202
- "name": "compact-mode",
10203
+ "name": "channel",
10203
10204
  "type": {
10204
- "text": "boolean"
10205
+ "text": "string"
10205
10206
  },
10206
- "default": "false",
10207
- "description": "Whether to reverse the order of the author info for compact mode.",
10208
- "fieldName": "compactMode"
10207
+ "description": "The name of the channel",
10208
+ "fieldName": "channel"
10209
+ },
10210
+ {
10211
+ "name": "icon",
10212
+ "type": {
10213
+ "text": "string | undefined"
10214
+ },
10215
+ "description": "The icon to display.",
10216
+ "fieldName": "icon"
10209
10217
  }
10210
10218
  ],
10211
10219
  "superclass": {
10212
10220
  "name": "LitElement",
10213
10221
  "package": "lit"
10214
10222
  },
10215
- "tagName": "discord-verified-author-tag",
10223
+ "tagName": "discord-transcript-header",
10216
10224
  "customElement": true
10217
10225
  }
10218
10226
  ],
10219
10227
  "exports": [
10220
10228
  {
10221
10229
  "kind": "js",
10222
- "name": "DiscordVerifiedAuthorTag",
10230
+ "name": "DiscordTranscriptHeader",
10223
10231
  "declaration": {
10224
- "name": "DiscordVerifiedAuthorTag",
10225
- "module": "src/components/discord-verified-author-tag/DiscordVerifiedAuthorTag.ts"
10232
+ "name": "DiscordTranscriptHeader",
10233
+ "module": "src/components/discord-transcript-header/DiscordTranscriptHeader.ts"
10226
10234
  }
10227
10235
  },
10228
10236
  {
10229
10237
  "kind": "custom-element-definition",
10230
- "name": "discord-verified-author-tag",
10238
+ "name": "discord-transcript-header",
10231
10239
  "declaration": {
10232
- "name": "DiscordVerifiedAuthorTag",
10233
- "module": "src/components/discord-verified-author-tag/DiscordVerifiedAuthorTag.ts"
10240
+ "name": "DiscordTranscriptHeader",
10241
+ "module": "src/components/discord-transcript-header/DiscordTranscriptHeader.ts"
10234
10242
  }
10235
10243
  }
10236
10244
  ]
@@ -10819,6 +10827,42 @@
10819
10827
  }
10820
10828
  ]
10821
10829
  },
10830
+ {
10831
+ "kind": "javascript-module",
10832
+ "path": "src/components/discord-underlined/DiscordUnderlined.ts",
10833
+ "declarations": [
10834
+ {
10835
+ "kind": "class",
10836
+ "description": "",
10837
+ "name": "DiscordUnderlined",
10838
+ "members": [],
10839
+ "superclass": {
10840
+ "name": "LitElement",
10841
+ "package": "lit"
10842
+ },
10843
+ "tagName": "discord-underlined",
10844
+ "customElement": true
10845
+ }
10846
+ ],
10847
+ "exports": [
10848
+ {
10849
+ "kind": "js",
10850
+ "name": "DiscordUnderlined",
10851
+ "declaration": {
10852
+ "name": "DiscordUnderlined",
10853
+ "module": "src/components/discord-underlined/DiscordUnderlined.ts"
10854
+ }
10855
+ },
10856
+ {
10857
+ "kind": "custom-element-definition",
10858
+ "name": "discord-underlined",
10859
+ "declaration": {
10860
+ "name": "DiscordUnderlined",
10861
+ "module": "src/components/discord-underlined/DiscordUnderlined.ts"
10862
+ }
10863
+ }
10864
+ ]
10865
+ },
10822
10866
  {
10823
10867
  "kind": "javascript-module",
10824
10868
  "path": "src/components/discord-voice-message/DiscordVoiceMessage.ts",
@@ -10867,7 +10911,7 @@
10867
10911
  "privacy": "private",
10868
10912
  "parameters": [
10869
10913
  {
10870
- "name": "duration",
10914
+ "name": "durationSecs",
10871
10915
  "optional": true,
10872
10916
  "type": {
10873
10917
  "text": "number"
@@ -10875,6 +10919,42 @@
10875
10919
  }
10876
10920
  ]
10877
10921
  },
10922
+ {
10923
+ "kind": "method",
10924
+ "name": "createBufferFromBase64",
10925
+ "privacy": "private",
10926
+ "parameters": [
10927
+ {
10928
+ "name": "base64",
10929
+ "type": {
10930
+ "text": "string"
10931
+ }
10932
+ }
10933
+ ]
10934
+ },
10935
+ {
10936
+ "kind": "method",
10937
+ "name": "createPeaksFromRawDiscordWaveform",
10938
+ "privacy": "private",
10939
+ "parameters": [
10940
+ {
10941
+ "name": "base64",
10942
+ "type": {
10943
+ "text": "string"
10944
+ }
10945
+ }
10946
+ ]
10947
+ },
10948
+ {
10949
+ "kind": "field",
10950
+ "name": "waveform",
10951
+ "type": {
10952
+ "text": "string | undefined"
10953
+ },
10954
+ "privacy": "public",
10955
+ "description": "raw discord Base64 encoded bytearray representing a sampled waveform",
10956
+ "attribute": "waveform"
10957
+ },
10878
10958
  {
10879
10959
  "kind": "field",
10880
10960
  "name": "speeds",
@@ -11350,6 +11430,14 @@
11350
11430
  },
11351
11431
  "fieldName": "duration"
11352
11432
  },
11433
+ {
11434
+ "name": "waveform",
11435
+ "type": {
11436
+ "text": "string | undefined"
11437
+ },
11438
+ "description": "raw discord Base64 encoded bytearray representing a sampled waveform",
11439
+ "fieldName": "waveform"
11440
+ },
11353
11441
  {
11354
11442
  "name": "speed",
11355
11443
  "type": {
@@ -11411,401 +11499,38 @@
11411
11499
  },
11412
11500
  {
11413
11501
  "kind": "javascript-module",
11414
- "path": "src/components/_private/DiscordMediaAttachmentStyles.ts",
11415
- "declarations": [],
11416
- "exports": []
11417
- },
11418
- {
11419
- "kind": "javascript-module",
11420
- "path": "src/components/_private/DiscordMediaLifecycle.ts",
11502
+ "path": "src/components/svgs/AttachmentDownloadButton.ts",
11421
11503
  "declarations": [
11422
11504
  {
11423
- "kind": "class",
11424
- "description": "",
11425
- "name": "DiscordMediaLifecycle",
11426
- "members": [
11505
+ "kind": "function",
11506
+ "name": "AttachmentDownloadButton",
11507
+ "parameters": [
11427
11508
  {
11428
- "kind": "field",
11429
- "name": "mediaComponentRef",
11509
+ "name": "props",
11510
+ "default": "{}",
11430
11511
  "type": {
11431
- "text": "Ref<HTMLAudioElement | HTMLVideoElement>"
11432
- },
11433
- "privacy": "protected"
11434
- },
11512
+ "text": "Record<string, unknown>"
11513
+ }
11514
+ }
11515
+ ]
11516
+ },
11517
+ {
11518
+ "kind": "function",
11519
+ "name": "AttachmentLanguageSelectorSvg",
11520
+ "parameters": [
11435
11521
  {
11436
- "kind": "field",
11437
- "name": "seekSliderRef",
11522
+ "name": "props",
11523
+ "default": "{}",
11438
11524
  "type": {
11439
- "text": "Ref<HTMLInputElement>"
11440
- },
11441
- "privacy": "protected"
11442
- },
11443
- {
11444
- "kind": "field",
11445
- "name": "volumeControlRef",
11446
- "type": {
11447
- "text": "Ref<HTMLDivElement>"
11448
- },
11449
- "privacy": "protected"
11450
- },
11451
- {
11452
- "kind": "field",
11453
- "name": "volumeControlInputRef",
11454
- "type": {
11455
- "text": "Ref<HTMLInputElement>"
11456
- },
11457
- "privacy": "protected"
11458
- },
11459
- {
11460
- "kind": "field",
11461
- "name": "currentPlaybackPosition",
11462
- "type": {
11463
- "text": "string"
11464
- },
11465
- "privacy": "protected",
11466
- "default": "'0:00'"
11467
- },
11468
- {
11469
- "kind": "field",
11470
- "name": "leftPlaybackPosition",
11471
- "type": {
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": [
11525
+ "text": "Record<string, unknown>"
11526
+ }
11527
+ }
11528
+ ]
11529
+ },
11530
+ {
11531
+ "kind": "function",
11532
+ "name": "AttachmentLanguageSearchSvg",
11533
+ "parameters": [
11809
11534
  {
11810
11535
  "name": "props",
11811
11536
  "default": "{}",
@@ -12732,6 +12457,35 @@
12732
12457
  }
12733
12458
  ]
12734
12459
  },
12460
+ {
12461
+ "kind": "javascript-module",
12462
+ "path": "src/components/svgs/PremiumIcon.ts",
12463
+ "declarations": [
12464
+ {
12465
+ "kind": "function",
12466
+ "name": "PremiumIcon",
12467
+ "parameters": [
12468
+ {
12469
+ "name": "props",
12470
+ "default": "{}",
12471
+ "type": {
12472
+ "text": "Record<string, unknown>"
12473
+ }
12474
+ }
12475
+ ]
12476
+ }
12477
+ ],
12478
+ "exports": [
12479
+ {
12480
+ "kind": "js",
12481
+ "name": "default",
12482
+ "declaration": {
12483
+ "name": "PremiumIcon",
12484
+ "module": "src/components/svgs/PremiumIcon.ts"
12485
+ }
12486
+ }
12487
+ ]
12488
+ },
12735
12489
  {
12736
12490
  "kind": "javascript-module",
12737
12491
  "path": "src/components/svgs/ReplyIcon.ts",
@@ -12825,7 +12579,223 @@
12825
12579
  "declarations": [
12826
12580
  {
12827
12581
  "kind": "function",
12828
- "name": "SystemAlert",
12582
+ "name": "SystemAlert",
12583
+ "parameters": [
12584
+ {
12585
+ "name": "props",
12586
+ "default": "{}",
12587
+ "type": {
12588
+ "text": "Record<string, unknown>"
12589
+ }
12590
+ }
12591
+ ]
12592
+ }
12593
+ ],
12594
+ "exports": [
12595
+ {
12596
+ "kind": "js",
12597
+ "name": "default",
12598
+ "declaration": {
12599
+ "name": "SystemAlert",
12600
+ "module": "src/components/svgs/SystemAlert.ts"
12601
+ }
12602
+ }
12603
+ ]
12604
+ },
12605
+ {
12606
+ "kind": "javascript-module",
12607
+ "path": "src/components/svgs/SystemError.ts",
12608
+ "declarations": [
12609
+ {
12610
+ "kind": "function",
12611
+ "name": "SystemError",
12612
+ "parameters": [
12613
+ {
12614
+ "name": "props",
12615
+ "default": "{}",
12616
+ "type": {
12617
+ "text": "Record<string, unknown>"
12618
+ }
12619
+ }
12620
+ ]
12621
+ }
12622
+ ],
12623
+ "exports": [
12624
+ {
12625
+ "kind": "js",
12626
+ "name": "default",
12627
+ "declaration": {
12628
+ "name": "SystemError",
12629
+ "module": "src/components/svgs/SystemError.ts"
12630
+ }
12631
+ }
12632
+ ]
12633
+ },
12634
+ {
12635
+ "kind": "javascript-module",
12636
+ "path": "src/components/svgs/Thread.ts",
12637
+ "declarations": [
12638
+ {
12639
+ "kind": "function",
12640
+ "name": "Thread",
12641
+ "parameters": [
12642
+ {
12643
+ "name": "props",
12644
+ "default": "{}",
12645
+ "type": {
12646
+ "text": "Record<string, unknown>"
12647
+ }
12648
+ }
12649
+ ]
12650
+ }
12651
+ ],
12652
+ "exports": [
12653
+ {
12654
+ "kind": "js",
12655
+ "name": "default",
12656
+ "declaration": {
12657
+ "name": "Thread",
12658
+ "module": "src/components/svgs/Thread.ts"
12659
+ }
12660
+ }
12661
+ ]
12662
+ },
12663
+ {
12664
+ "kind": "javascript-module",
12665
+ "path": "src/components/svgs/UserJoin.ts",
12666
+ "declarations": [
12667
+ {
12668
+ "kind": "function",
12669
+ "name": "UserJoin",
12670
+ "parameters": [
12671
+ {
12672
+ "name": "props",
12673
+ "default": "{}",
12674
+ "type": {
12675
+ "text": "Record<string, unknown>"
12676
+ }
12677
+ }
12678
+ ]
12679
+ }
12680
+ ],
12681
+ "exports": [
12682
+ {
12683
+ "kind": "js",
12684
+ "name": "default",
12685
+ "declaration": {
12686
+ "name": "UserJoin",
12687
+ "module": "src/components/svgs/UserJoin.ts"
12688
+ }
12689
+ }
12690
+ ]
12691
+ },
12692
+ {
12693
+ "kind": "javascript-module",
12694
+ "path": "src/components/svgs/UserLeave.ts",
12695
+ "declarations": [
12696
+ {
12697
+ "kind": "function",
12698
+ "name": "UserLeave",
12699
+ "parameters": [
12700
+ {
12701
+ "name": "props",
12702
+ "default": "{}",
12703
+ "type": {
12704
+ "text": "Record<string, unknown>"
12705
+ }
12706
+ }
12707
+ ]
12708
+ }
12709
+ ],
12710
+ "exports": [
12711
+ {
12712
+ "kind": "js",
12713
+ "name": "default",
12714
+ "declaration": {
12715
+ "name": "UserLeave",
12716
+ "module": "src/components/svgs/UserLeave.ts"
12717
+ }
12718
+ }
12719
+ ]
12720
+ },
12721
+ {
12722
+ "kind": "javascript-module",
12723
+ "path": "src/components/svgs/VerifiedBadgeOverlay.ts",
12724
+ "declarations": [
12725
+ {
12726
+ "kind": "function",
12727
+ "name": "VerifiedBadgeOverlay",
12728
+ "parameters": [
12729
+ {
12730
+ "name": "props",
12731
+ "default": "{}",
12732
+ "type": {
12733
+ "text": "Record<string, unknown>"
12734
+ }
12735
+ }
12736
+ ]
12737
+ }
12738
+ ],
12739
+ "exports": [
12740
+ {
12741
+ "kind": "js",
12742
+ "name": "default",
12743
+ "declaration": {
12744
+ "name": "VerifiedBadgeOverlay",
12745
+ "module": "src/components/svgs/VerifiedBadgeOverlay.ts"
12746
+ }
12747
+ }
12748
+ ]
12749
+ },
12750
+ {
12751
+ "kind": "javascript-module",
12752
+ "path": "src/components/svgs/VerifiedTick.ts",
12753
+ "declarations": [
12754
+ {
12755
+ "kind": "function",
12756
+ "name": "VerifiedTick",
12757
+ "parameters": [
12758
+ {
12759
+ "name": "props",
12760
+ "default": "{}",
12761
+ "type": {
12762
+ "text": "Record<string, unknown>"
12763
+ }
12764
+ }
12765
+ ]
12766
+ }
12767
+ ],
12768
+ "exports": [
12769
+ {
12770
+ "kind": "js",
12771
+ "name": "default",
12772
+ "declaration": {
12773
+ "name": "VerifiedTick",
12774
+ "module": "src/components/svgs/VerifiedTick.ts"
12775
+ }
12776
+ }
12777
+ ]
12778
+ },
12779
+ {
12780
+ "kind": "javascript-module",
12781
+ "path": "src/components/svgs/VideoFullScreenIcon.ts",
12782
+ "declarations": [
12783
+ {
12784
+ "kind": "function",
12785
+ "name": "VideoFullScreenIcon",
12786
+ "parameters": [
12787
+ {
12788
+ "name": "props",
12789
+ "default": "{}",
12790
+ "type": {
12791
+ "text": "Record<string, unknown>"
12792
+ }
12793
+ }
12794
+ ]
12795
+ },
12796
+ {
12797
+ "kind": "function",
12798
+ "name": "VideoExitFullScreenIcon",
12829
12799
  "parameters": [
12830
12800
  {
12831
12801
  "name": "props",
@@ -12842,19 +12812,27 @@
12842
12812
  "kind": "js",
12843
12813
  "name": "default",
12844
12814
  "declaration": {
12845
- "name": "SystemAlert",
12846
- "module": "src/components/svgs/SystemAlert.ts"
12815
+ "name": "VideoFullScreenIcon",
12816
+ "module": "src/components/svgs/VideoFullScreenIcon.ts"
12817
+ }
12818
+ },
12819
+ {
12820
+ "kind": "js",
12821
+ "name": "VideoExitFullScreenIcon",
12822
+ "declaration": {
12823
+ "name": "VideoExitFullScreenIcon",
12824
+ "module": "src/components/svgs/VideoFullScreenIcon.ts"
12847
12825
  }
12848
12826
  }
12849
12827
  ]
12850
12828
  },
12851
12829
  {
12852
12830
  "kind": "javascript-module",
12853
- "path": "src/components/svgs/SystemError.ts",
12831
+ "path": "src/components/svgs/VideoPausePopIcon.ts",
12854
12832
  "declarations": [
12855
12833
  {
12856
12834
  "kind": "function",
12857
- "name": "SystemError",
12835
+ "name": "VideoPausePopIcon",
12858
12836
  "parameters": [
12859
12837
  {
12860
12838
  "name": "props",
@@ -12871,19 +12849,19 @@
12871
12849
  "kind": "js",
12872
12850
  "name": "default",
12873
12851
  "declaration": {
12874
- "name": "SystemError",
12875
- "module": "src/components/svgs/SystemError.ts"
12852
+ "name": "VideoPausePopIcon",
12853
+ "module": "src/components/svgs/VideoPausePopIcon.ts"
12876
12854
  }
12877
12855
  }
12878
12856
  ]
12879
12857
  },
12880
12858
  {
12881
12859
  "kind": "javascript-module",
12882
- "path": "src/components/svgs/Thread.ts",
12860
+ "path": "src/components/svgs/VideoPlayPopIcon.ts",
12883
12861
  "declarations": [
12884
12862
  {
12885
12863
  "kind": "function",
12886
- "name": "Thread",
12864
+ "name": "VideoPlayPopIcon",
12887
12865
  "parameters": [
12888
12866
  {
12889
12867
  "name": "props",
@@ -12900,19 +12878,19 @@
12900
12878
  "kind": "js",
12901
12879
  "name": "default",
12902
12880
  "declaration": {
12903
- "name": "Thread",
12904
- "module": "src/components/svgs/Thread.ts"
12881
+ "name": "VideoPlayPopIcon",
12882
+ "module": "src/components/svgs/VideoPlayPopIcon.ts"
12905
12883
  }
12906
12884
  }
12907
12885
  ]
12908
12886
  },
12909
12887
  {
12910
12888
  "kind": "javascript-module",
12911
- "path": "src/components/svgs/UserJoin.ts",
12889
+ "path": "src/components/svgs/VoiceChannel.ts",
12912
12890
  "declarations": [
12913
12891
  {
12914
12892
  "kind": "function",
12915
- "name": "UserJoin",
12893
+ "name": "VoiceChannel",
12916
12894
  "parameters": [
12917
12895
  {
12918
12896
  "name": "props",
@@ -12929,232 +12907,371 @@
12929
12907
  "kind": "js",
12930
12908
  "name": "default",
12931
12909
  "declaration": {
12932
- "name": "UserJoin",
12933
- "module": "src/components/svgs/UserJoin.ts"
12910
+ "name": "VoiceChannel",
12911
+ "module": "src/components/svgs/VoiceChannel.ts"
12934
12912
  }
12935
12913
  }
12936
12914
  ]
12937
12915
  },
12938
12916
  {
12939
12917
  "kind": "javascript-module",
12940
- "path": "src/components/svgs/UserLeave.ts",
12918
+ "path": "src/components/_private/DiscordMediaAttachmentStyles.ts",
12919
+ "declarations": [],
12920
+ "exports": []
12921
+ },
12922
+ {
12923
+ "kind": "javascript-module",
12924
+ "path": "src/components/_private/DiscordMediaLifecycle.ts",
12941
12925
  "declarations": [
12942
12926
  {
12943
- "kind": "function",
12944
- "name": "UserLeave",
12945
- "parameters": [
12927
+ "kind": "class",
12928
+ "description": "",
12929
+ "name": "DiscordMediaLifecycle",
12930
+ "members": [
12931
+ {
12932
+ "kind": "field",
12933
+ "name": "mediaComponentRef",
12934
+ "type": {
12935
+ "text": "Ref<HTMLAudioElement | HTMLVideoElement>"
12936
+ },
12937
+ "privacy": "protected"
12938
+ },
12939
+ {
12940
+ "kind": "field",
12941
+ "name": "seekSliderRef",
12942
+ "type": {
12943
+ "text": "Ref<HTMLInputElement>"
12944
+ },
12945
+ "privacy": "protected"
12946
+ },
12947
+ {
12948
+ "kind": "field",
12949
+ "name": "volumeControlRef",
12950
+ "type": {
12951
+ "text": "Ref<HTMLDivElement>"
12952
+ },
12953
+ "privacy": "protected"
12954
+ },
12955
+ {
12956
+ "kind": "field",
12957
+ "name": "volumeControlInputRef",
12958
+ "type": {
12959
+ "text": "Ref<HTMLInputElement>"
12960
+ },
12961
+ "privacy": "protected"
12962
+ },
12963
+ {
12964
+ "kind": "field",
12965
+ "name": "currentPlaybackPosition",
12966
+ "type": {
12967
+ "text": "string"
12968
+ },
12969
+ "privacy": "protected",
12970
+ "default": "'0:00'"
12971
+ },
12972
+ {
12973
+ "kind": "field",
12974
+ "name": "leftPlaybackPosition",
12975
+ "type": {
12976
+ "text": "string"
12977
+ },
12978
+ "privacy": "protected",
12979
+ "default": "'0:00'"
12980
+ },
12981
+ {
12982
+ "kind": "field",
12983
+ "name": "totalMediaDuration",
12984
+ "type": {
12985
+ "text": "string"
12986
+ },
12987
+ "privacy": "protected",
12988
+ "default": "''"
12989
+ },
12990
+ {
12991
+ "kind": "field",
12992
+ "name": "isPlaying",
12993
+ "type": {
12994
+ "text": "boolean"
12995
+ },
12996
+ "privacy": "protected",
12997
+ "default": "false"
12998
+ },
12999
+ {
13000
+ "kind": "field",
13001
+ "name": "raf",
13002
+ "type": {
13003
+ "text": "number | null"
13004
+ },
13005
+ "privacy": "private",
13006
+ "default": "null"
13007
+ },
13008
+ {
13009
+ "kind": "field",
13010
+ "name": "isMuted",
13011
+ "type": {
13012
+ "text": "boolean"
13013
+ },
13014
+ "privacy": "protected",
13015
+ "default": "false"
13016
+ },
13017
+ {
13018
+ "kind": "field",
13019
+ "name": "currentVolume",
13020
+ "type": {
13021
+ "text": "number"
13022
+ },
13023
+ "privacy": "protected",
13024
+ "default": "1",
13025
+ "description": "Volume is a fractional value between 0 and 1"
13026
+ },
13027
+ {
13028
+ "kind": "field",
13029
+ "name": "hasEnded",
13030
+ "type": {
13031
+ "text": "boolean"
13032
+ },
13033
+ "privacy": "protected",
13034
+ "default": "false"
13035
+ },
13036
+ {
13037
+ "kind": "field",
13038
+ "name": "hasRunUpdate",
13039
+ "type": {
13040
+ "text": "boolean"
13041
+ },
13042
+ "privacy": "private",
13043
+ "default": "false"
13044
+ },
13045
+ {
13046
+ "kind": "method",
13047
+ "name": "calculateTime",
13048
+ "privacy": "protected",
13049
+ "parameters": [
13050
+ {
13051
+ "name": "secs",
13052
+ "type": {
13053
+ "text": "number"
13054
+ }
13055
+ }
13056
+ ]
13057
+ },
13058
+ {
13059
+ "kind": "method",
13060
+ "name": "displayMediaDuration",
13061
+ "privacy": "protected"
13062
+ },
13063
+ {
13064
+ "kind": "method",
13065
+ "name": "displayLeftPlaybackPosition",
13066
+ "privacy": "protected",
13067
+ "parameters": [
13068
+ {
13069
+ "name": "bufferedAmount",
13070
+ "type": {
13071
+ "text": "number"
13072
+ }
13073
+ }
13074
+ ]
13075
+ },
13076
+ {
13077
+ "kind": "method",
13078
+ "name": "setSliderMax",
13079
+ "privacy": "protected"
13080
+ },
13081
+ {
13082
+ "kind": "method",
13083
+ "name": "displayBufferedAmount",
13084
+ "privacy": "protected"
13085
+ },
13086
+ {
13087
+ "kind": "field",
13088
+ "name": "wavesurfer",
13089
+ "type": {
13090
+ "text": "WaveSurfer | null | undefined"
13091
+ },
13092
+ "privacy": "protected",
13093
+ "default": "null"
13094
+ },
13095
+ {
13096
+ "kind": "field",
13097
+ "name": "whilePlaying",
13098
+ "privacy": "protected"
13099
+ },
13100
+ {
13101
+ "kind": "method",
13102
+ "name": "handleEnded",
13103
+ "privacy": "protected"
13104
+ },
13105
+ {
13106
+ "kind": "method",
13107
+ "name": "handleClickPlayPauseIcon",
13108
+ "privacy": "protected"
13109
+ },
13110
+ {
13111
+ "kind": "field",
13112
+ "name": "handleSpaceToPlayPause",
13113
+ "privacy": "protected"
13114
+ },
13115
+ {
13116
+ "kind": "method",
13117
+ "name": "handleClickMuteIcon",
13118
+ "privacy": "protected"
13119
+ },
13120
+ {
13121
+ "kind": "method",
13122
+ "name": "handleSeekSliderInput",
13123
+ "privacy": "protected",
13124
+ "parameters": [
13125
+ {
13126
+ "name": "event",
13127
+ "type": {
13128
+ "text": "Event"
13129
+ }
13130
+ }
13131
+ ]
13132
+ },
12946
13133
  {
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": [
13134
+ "kind": "field",
13135
+ "name": "handleSeekSliderChange",
13136
+ "privacy": "protected"
13137
+ },
12975
13138
  {
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": [
13139
+ "kind": "method",
13140
+ "name": "handleVolumeSliderInput",
13141
+ "privacy": "protected",
13142
+ "parameters": [
13143
+ {
13144
+ "name": "event",
13145
+ "type": {
13146
+ "text": "Event"
13147
+ }
13148
+ }
13149
+ ]
13150
+ },
13004
13151
  {
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": [
13152
+ "kind": "method",
13153
+ "name": "handleVolumeVerticalFocus",
13154
+ "privacy": "protected"
13155
+ },
13033
13156
  {
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": [
13157
+ "kind": "method",
13158
+ "name": "handleVolumeVerticalBlur",
13159
+ "privacy": "protected"
13160
+ },
13046
13161
  {
13047
- "name": "props",
13048
- "default": "{}",
13049
- "type": {
13050
- "text": "Record<string, unknown>"
13051
- }
13162
+ "kind": "method",
13163
+ "name": "handleVolumeControlKeyboard",
13164
+ "privacy": "protected",
13165
+ "parameters": [
13166
+ {
13167
+ "name": "event",
13168
+ "type": {
13169
+ "text": "KeyboardEvent"
13170
+ }
13171
+ }
13172
+ ]
13173
+ },
13174
+ {
13175
+ "kind": "method",
13176
+ "name": "adjustVolume",
13177
+ "privacy": "protected",
13178
+ "parameters": [
13179
+ {
13180
+ "name": "change",
13181
+ "type": {
13182
+ "text": "number"
13183
+ }
13184
+ },
13185
+ {
13186
+ "name": "event",
13187
+ "type": {
13188
+ "text": "KeyboardEvent"
13189
+ }
13190
+ }
13191
+ ]
13192
+ },
13193
+ {
13194
+ "kind": "field",
13195
+ "name": "mediaMetadataLoaded",
13196
+ "privacy": "protected"
13052
13197
  }
13053
- ]
13198
+ ],
13199
+ "superclass": {
13200
+ "name": "LitElement",
13201
+ "package": "lit"
13202
+ },
13203
+ "customElement": true
13054
13204
  }
13055
13205
  ],
13056
13206
  "exports": [
13057
13207
  {
13058
13208
  "kind": "js",
13059
- "name": "default",
13060
- "declaration": {
13061
- "name": "VideoFullScreenIcon",
13062
- "module": "src/components/svgs/VideoFullScreenIcon.ts"
13063
- }
13064
- },
13065
- {
13066
- "kind": "js",
13067
- "name": "VideoExitFullScreenIcon",
13209
+ "name": "DiscordMediaLifecycle",
13068
13210
  "declaration": {
13069
- "name": "VideoExitFullScreenIcon",
13070
- "module": "src/components/svgs/VideoFullScreenIcon.ts"
13211
+ "name": "DiscordMediaLifecycle",
13212
+ "module": "src/components/_private/DiscordMediaLifecycle.ts"
13071
13213
  }
13072
13214
  }
13073
13215
  ]
13074
13216
  },
13075
13217
  {
13076
13218
  "kind": "javascript-module",
13077
- "path": "src/components/svgs/VideoPausePopIcon.ts",
13219
+ "path": "src/components/_private/DiscordPlaybackControlStyles.ts",
13078
13220
  "declarations": [
13079
13221
  {
13080
- "kind": "function",
13081
- "name": "VideoPausePopIcon",
13082
- "parameters": [
13083
- {
13084
- "name": "props",
13085
- "default": "{}",
13086
- "type": {
13087
- "text": "Record<string, unknown>"
13088
- }
13089
- }
13090
- ]
13222
+ "kind": "variable",
13223
+ "name": "DiscordPlaybackControlStyles",
13224
+ "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; } `"
13091
13225
  }
13092
13226
  ],
13093
13227
  "exports": [
13094
13228
  {
13095
13229
  "kind": "js",
13096
- "name": "default",
13230
+ "name": "DiscordPlaybackControlStyles",
13097
13231
  "declaration": {
13098
- "name": "VideoPausePopIcon",
13099
- "module": "src/components/svgs/VideoPausePopIcon.ts"
13232
+ "name": "DiscordPlaybackControlStyles",
13233
+ "module": "src/components/_private/DiscordPlaybackControlStyles.ts"
13100
13234
  }
13101
13235
  }
13102
13236
  ]
13103
13237
  },
13104
13238
  {
13105
13239
  "kind": "javascript-module",
13106
- "path": "src/components/svgs/VideoPlayPopIcon.ts",
13240
+ "path": "src/components/_private/DiscordVolumeControlStyles.ts",
13107
13241
  "declarations": [
13108
13242
  {
13109
- "kind": "function",
13110
- "name": "VideoPlayPopIcon",
13111
- "parameters": [
13112
- {
13113
- "name": "props",
13114
- "default": "{}",
13115
- "type": {
13116
- "text": "Record<string, unknown>"
13117
- }
13118
- }
13119
- ]
13243
+ "kind": "variable",
13244
+ "name": "DiscordVolumeControlStyles",
13245
+ "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; } `"
13120
13246
  }
13121
13247
  ],
13122
13248
  "exports": [
13123
13249
  {
13124
13250
  "kind": "js",
13125
- "name": "default",
13251
+ "name": "DiscordVolumeControlStyles",
13126
13252
  "declaration": {
13127
- "name": "VideoPlayPopIcon",
13128
- "module": "src/components/svgs/VideoPlayPopIcon.ts"
13253
+ "name": "DiscordVolumeControlStyles",
13254
+ "module": "src/components/_private/DiscordVolumeControlStyles.ts"
13129
13255
  }
13130
13256
  }
13131
13257
  ]
13132
13258
  },
13133
13259
  {
13134
13260
  "kind": "javascript-module",
13135
- "path": "src/components/svgs/VoiceChannel.ts",
13261
+ "path": "src/components/_private/mediaGalleryFullScreenContext.ts",
13136
13262
  "declarations": [
13137
13263
  {
13138
- "kind": "function",
13139
- "name": "VoiceChannel",
13140
- "parameters": [
13141
- {
13142
- "name": "props",
13143
- "default": "{}",
13144
- "type": {
13145
- "text": "Record<string, unknown>"
13146
- }
13147
- }
13148
- ]
13264
+ "kind": "variable",
13265
+ "name": "isInMediaFullScreenPreviewer"
13149
13266
  }
13150
13267
  ],
13151
13268
  "exports": [
13152
13269
  {
13153
13270
  "kind": "js",
13154
- "name": "default",
13271
+ "name": "isInMediaFullScreenPreviewer",
13155
13272
  "declaration": {
13156
- "name": "VoiceChannel",
13157
- "module": "src/components/svgs/VoiceChannel.ts"
13273
+ "name": "isInMediaFullScreenPreviewer",
13274
+ "module": "src/components/_private/mediaGalleryFullScreenContext.ts"
13158
13275
  }
13159
13276
  }
13160
13277
  ]