@penwin/discord-components-core 4.1.4 → 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 (35) hide show
  1. package/custom-elements.json +1024 -907
  2. package/dist/bundle/index.mjs +487 -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 +3 -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-message/DiscordMessage.d.ts +3 -1
  21. package/dist/components/discord-message/DiscordMessage.d.ts.map +1 -1
  22. package/dist/components/discord-message/DiscordMessage.js +20 -3
  23. package/dist/components/discord-message/DiscordMessage.js.map +1 -1
  24. package/dist/components/discord-video-attachment/DiscordVideoAttachment.d.ts.map +1 -1
  25. package/dist/components/discord-video-attachment/DiscordVideoAttachment.js +16 -5
  26. package/dist/components/discord-video-attachment/DiscordVideoAttachment.js.map +1 -1
  27. package/dist/components/discord-voice-message/DiscordVoiceMessage.d.ts +6 -0
  28. package/dist/components/discord-voice-message/DiscordVoiceMessage.d.ts.map +1 -1
  29. package/dist/components/discord-voice-message/DiscordVoiceMessage.js +37 -4
  30. package/dist/components/discord-voice-message/DiscordVoiceMessage.js.map +1 -1
  31. package/dist/components/svgs/PremiumIcon.d.ts +2 -0
  32. package/dist/components/svgs/PremiumIcon.d.ts.map +1 -0
  33. package/dist/components/svgs/PremiumIcon.js +13 -0
  34. package/dist/components/svgs/PremiumIcon.js.map +1 -0
  35. package/package.json +3 -1
@@ -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,48 +3504,106 @@
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": [],
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
+ ],
3563
3536
  "superclass": {
3564
3537
  "name": "LitElement",
3565
3538
  "package": "lit"
3566
3539
  },
3567
- "tagName": "discord-embed-fields",
3540
+ "tagName": "discord-embed-description",
3568
3541
  "customElement": true
3569
3542
  }
3570
3543
  ],
3571
3544
  "exports": [
3572
3545
  {
3573
3546
  "kind": "js",
3574
- "name": "DiscordEmbedFields",
3547
+ "name": "DiscordEmbedDescription",
3575
3548
  "declaration": {
3576
- "name": "DiscordEmbedFields",
3577
- "module": "src/components/discord-embed-fields/DiscordEmbedFields.ts"
3549
+ "name": "DiscordEmbedDescription",
3550
+ "module": "src/components/discord-embed-description/DiscordEmbedDescription.ts"
3578
3551
  }
3579
3552
  },
3580
3553
  {
3581
3554
  "kind": "custom-element-definition",
3582
- "name": "discord-embed-fields",
3555
+ "name": "discord-embed-description",
3583
3556
  "declaration": {
3584
- "name": "DiscordEmbedFields",
3585
- "module": "src/components/discord-embed-fields/DiscordEmbedFields.ts"
3557
+ "name": "DiscordEmbedDescription",
3558
+ "module": "src/components/discord-embed-description/DiscordEmbedDescription.ts"
3586
3559
  }
3587
3560
  }
3588
3561
  ]
3589
3562
  },
3590
3563
  {
3591
3564
  "kind": "javascript-module",
3592
- "path": "src/components/discord-embed-footer/DiscordEmbedFooter.ts",
3565
+ "path": "src/components/discord-embed-fields/DiscordEmbedFields.ts",
3593
3566
  "declarations": [
3594
3567
  {
3595
3568
  "kind": "class",
3596
3569
  "description": "",
3597
- "name": "DiscordEmbedFooter",
3570
+ "name": "DiscordEmbedFields",
3571
+ "members": [],
3572
+ "superclass": {
3573
+ "name": "LitElement",
3574
+ "package": "lit"
3575
+ },
3576
+ "tagName": "discord-embed-fields",
3577
+ "customElement": true
3578
+ }
3579
+ ],
3580
+ "exports": [
3581
+ {
3582
+ "kind": "js",
3583
+ "name": "DiscordEmbedFields",
3584
+ "declaration": {
3585
+ "name": "DiscordEmbedFields",
3586
+ "module": "src/components/discord-embed-fields/DiscordEmbedFields.ts"
3587
+ }
3588
+ },
3589
+ {
3590
+ "kind": "custom-element-definition",
3591
+ "name": "discord-embed-fields",
3592
+ "declaration": {
3593
+ "name": "DiscordEmbedFields",
3594
+ "module": "src/components/discord-embed-fields/DiscordEmbedFields.ts"
3595
+ }
3596
+ }
3597
+ ]
3598
+ },
3599
+ {
3600
+ "kind": "javascript-module",
3601
+ "path": "src/components/discord-embed-footer/DiscordEmbedFooter.ts",
3602
+ "declarations": [
3603
+ {
3604
+ "kind": "class",
3605
+ "description": "",
3606
+ "name": "DiscordEmbedFooter",
3598
3607
  "members": [
3599
3608
  {
3600
3609
  "kind": "field",
@@ -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,84 +6003,260 @@
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",
6015
- "type": {
6016
- "text": "string | undefined"
6017
- },
6018
- "privacy": "public",
6019
- "default": "undefined",
6020
- "description": "The id of the profile data to use.",
6021
- "attribute": "profile"
6022
- },
6023
- {
6024
- "kind": "field",
6025
- "name": "author",
6027
+ "name": "lightTheme",
6026
6028
  "type": {
6027
- "text": "string | undefined"
6029
+ "text": "boolean"
6028
6030
  },
6029
6031
  "privacy": "public",
6030
- "default": "'User'",
6031
- "description": "The message author's username.",
6032
- "attribute": "author"
6032
+ "default": "false",
6033
+ "description": "Whether to use light theme or not.",
6034
+ "attribute": "light-theme",
6035
+ "reflects": true
6033
6036
  },
6034
6037
  {
6035
6038
  "kind": "field",
6036
- "name": "avatar",
6039
+ "name": "noBackground",
6037
6040
  "type": {
6038
- "text": "string | undefined"
6041
+ "text": "boolean"
6039
6042
  },
6040
6043
  "privacy": "public",
6041
- "default": "undefined",
6042
- "description": "The message author's avatar. Can be an avatar shortcut, relative path, or external link.",
6043
- "attribute": "avatar"
6044
+ "default": "false",
6045
+ "description": "Whether to exclude the background or not.",
6046
+ "attribute": "no-background",
6047
+ "reflects": true
6044
6048
  },
6045
6049
  {
6046
6050
  "kind": "field",
6047
- "name": "bot",
6051
+ "name": "compactMode",
6048
6052
  "type": {
6049
6053
  "text": "boolean"
6050
6054
  },
6051
6055
  "privacy": "public",
6052
6056
  "default": "false",
6053
- "description": "Whether the message author is a bot or not.\r\nOnly works if `server` and `officialApp` is `false` or `undefined`.",
6054
- "attribute": "bot"
6057
+ "description": "Whether to use compact mode or not.",
6058
+ "attribute": "compact-mode",
6059
+ "reflects": true
6055
6060
  },
6056
6061
  {
6057
6062
  "kind": "field",
6058
- "name": "server",
6063
+ "name": "channelType",
6059
6064
  "type": {
6060
- "text": "boolean"
6065
+ "text": "'forum' | 'locked' | 'text' | 'thread' | 'voice'"
6061
6066
  },
6062
6067
  "privacy": "public",
6063
- "default": "false",
6064
- "description": "Whether the message author is a server crosspost webhook or not.\r\nOnly works if `bot` and `officialApp` is `false` or `undefined`.",
6065
- "attribute": "server"
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
6066
6071
  },
6067
6072
  {
6068
6073
  "kind": "field",
6069
- "name": "officialApp",
6074
+ "name": "channelName",
6070
6075
  "type": {
6071
- "text": "boolean"
6076
+ "text": "string"
6072
6077
  },
6073
6078
  "privacy": "public",
6074
- "default": "false",
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",
6227
+ "description": "The message author's avatar. Can be an avatar shortcut, relative path, or external link.",
6228
+ "attribute": "avatar"
6229
+ },
6230
+ {
6231
+ "kind": "field",
6232
+ "name": "bot",
6233
+ "type": {
6234
+ "text": "boolean"
6235
+ },
6236
+ "privacy": "public",
6237
+ "default": "false",
6238
+ "description": "Whether the message author is a bot or not.\r\nOnly works if `server` and `officialApp` is `false` or `undefined`.",
6239
+ "attribute": "bot"
6240
+ },
6241
+ {
6242
+ "kind": "field",
6243
+ "name": "server",
6244
+ "type": {
6245
+ "text": "boolean"
6246
+ },
6247
+ "privacy": "public",
6248
+ "default": "false",
6249
+ "description": "Whether the message author is a server crosspost webhook or not.\r\nOnly works if `bot` and `officialApp` is `false` or `undefined`.",
6250
+ "attribute": "server"
6251
+ },
6252
+ {
6253
+ "kind": "field",
6254
+ "name": "officialApp",
6255
+ "type": {
6256
+ "text": "boolean"
6257
+ },
6258
+ "privacy": "public",
6259
+ "default": "false",
6075
6260
  "description": "Whether the message author is official app.\r\nOnly works if `bot` and `server` is `falns`",
6076
6261
  "attribute": "official-app"
6077
6262
  },
@@ -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,216 +6788,40 @@
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"
6619
- },
6620
- "privacy": "public",
6621
- "default": "false",
6622
- "description": "Whether to use compact mode or not.",
6623
- "attribute": "compact-mode",
6624
- "reflects": true
6625
- },
6626
- {
6627
- "kind": "field",
6628
- "name": "channelType",
6629
- "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"
6824
+ "text": "string | undefined"
6781
6825
  },
6782
6826
  "privacy": "public",
6783
6827
  "default": "undefined",
@@ -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",
@@ -8824,135 +8868,6 @@
8824
8868
  }
8825
8869
  ]
8826
8870
  },
8827
- {
8828
- "kind": "javascript-module",
8829
- "path": "src/components/discord-tenor-video/DiscordTenorVideo.ts",
8830
- "declarations": [
8831
- {
8832
- "kind": "class",
8833
- "description": "",
8834
- "name": "DiscordTenorVideo",
8835
- "members": [
8836
- {
8837
- "kind": "field",
8838
- "name": "url",
8839
- "type": {
8840
- "text": "string"
8841
- },
8842
- "privacy": "public",
8843
- "description": "The URL for the video",
8844
- "attribute": "url"
8845
- },
8846
- {
8847
- "kind": "field",
8848
- "name": "height",
8849
- "type": {
8850
- "text": "number"
8851
- },
8852
- "privacy": "public",
8853
- "description": "The height of the video in pixels",
8854
- "attribute": "height"
8855
- },
8856
- {
8857
- "kind": "field",
8858
- "name": "width",
8859
- "type": {
8860
- "text": "number"
8861
- },
8862
- "privacy": "public",
8863
- "description": "The width of the video in pixels",
8864
- "attribute": "width"
8865
- }
8866
- ],
8867
- "attributes": [
8868
- {
8869
- "name": "url",
8870
- "type": {
8871
- "text": "string"
8872
- },
8873
- "description": "The URL for the video",
8874
- "fieldName": "url"
8875
- },
8876
- {
8877
- "name": "height",
8878
- "type": {
8879
- "text": "number"
8880
- },
8881
- "description": "The height of the video in pixels",
8882
- "fieldName": "height"
8883
- },
8884
- {
8885
- "name": "width",
8886
- "type": {
8887
- "text": "number"
8888
- },
8889
- "description": "The width of the video in pixels",
8890
- "fieldName": "width"
8891
- }
8892
- ],
8893
- "superclass": {
8894
- "name": "LitElement",
8895
- "package": "lit"
8896
- },
8897
- "tagName": "discord-tenor-video",
8898
- "customElement": true
8899
- }
8900
- ],
8901
- "exports": [
8902
- {
8903
- "kind": "js",
8904
- "name": "DiscordTenorVideo",
8905
- "declaration": {
8906
- "name": "DiscordTenorVideo",
8907
- "module": "src/components/discord-tenor-video/DiscordTenorVideo.ts"
8908
- }
8909
- },
8910
- {
8911
- "kind": "custom-element-definition",
8912
- "name": "discord-tenor-video",
8913
- "declaration": {
8914
- "name": "DiscordTenorVideo",
8915
- "module": "src/components/discord-tenor-video/DiscordTenorVideo.ts"
8916
- }
8917
- }
8918
- ]
8919
- },
8920
- {
8921
- "kind": "javascript-module",
8922
- "path": "src/components/discord-text-display/DiscordTextDisplay.ts",
8923
- "declarations": [
8924
- {
8925
- "kind": "class",
8926
- "description": "",
8927
- "name": "DiscordTextDisplay",
8928
- "members": [],
8929
- "superclass": {
8930
- "name": "LitElement",
8931
- "package": "lit"
8932
- },
8933
- "tagName": "discord-text-display",
8934
- "customElement": true
8935
- }
8936
- ],
8937
- "exports": [
8938
- {
8939
- "kind": "js",
8940
- "name": "DiscordTextDisplay",
8941
- "declaration": {
8942
- "name": "DiscordTextDisplay",
8943
- "module": "src/components/discord-text-display/DiscordTextDisplay.ts"
8944
- }
8945
- },
8946
- {
8947
- "kind": "custom-element-definition",
8948
- "name": "discord-text-display",
8949
- "declaration": {
8950
- "name": "DiscordTextDisplay",
8951
- "module": "src/components/discord-text-display/DiscordTextDisplay.ts"
8952
- }
8953
- }
8954
- ]
8955
- },
8956
8871
  {
8957
8872
  "kind": "javascript-module",
8958
8873
  "path": "src/components/discord-system-message/DiscordSystemMessage.ts",
@@ -9099,21 +9014,114 @@
9099
9014
  },
9100
9015
  {
9101
9016
  "kind": "javascript-module",
9102
- "path": "src/components/discord-text-file-attachment-previewer/DiscordTextFileAttachmentPreviewer.ts",
9017
+ "path": "src/components/discord-tenor-video/DiscordTenorVideo.ts",
9103
9018
  "declarations": [
9104
9019
  {
9105
9020
  "kind": "class",
9106
9021
  "description": "",
9107
- "name": "DiscordTextFileAttachmentPreviewer",
9022
+ "name": "DiscordTenorVideo",
9108
9023
  "members": [
9109
9024
  {
9110
9025
  "kind": "field",
9111
- "name": "name",
9026
+ "name": "url",
9112
9027
  "type": {
9113
9028
  "text": "string"
9114
9029
  },
9115
9030
  "privacy": "public",
9116
- "description": "The name of the file",
9031
+ "description": "The URL for the video",
9032
+ "attribute": "url"
9033
+ },
9034
+ {
9035
+ "kind": "field",
9036
+ "name": "height",
9037
+ "type": {
9038
+ "text": "number"
9039
+ },
9040
+ "privacy": "public",
9041
+ "description": "The height of the video in pixels",
9042
+ "attribute": "height"
9043
+ },
9044
+ {
9045
+ "kind": "field",
9046
+ "name": "width",
9047
+ "type": {
9048
+ "text": "number"
9049
+ },
9050
+ "privacy": "public",
9051
+ "description": "The width of the video in pixels",
9052
+ "attribute": "width"
9053
+ }
9054
+ ],
9055
+ "attributes": [
9056
+ {
9057
+ "name": "url",
9058
+ "type": {
9059
+ "text": "string"
9060
+ },
9061
+ "description": "The URL for the video",
9062
+ "fieldName": "url"
9063
+ },
9064
+ {
9065
+ "name": "height",
9066
+ "type": {
9067
+ "text": "number"
9068
+ },
9069
+ "description": "The height of the video in pixels",
9070
+ "fieldName": "height"
9071
+ },
9072
+ {
9073
+ "name": "width",
9074
+ "type": {
9075
+ "text": "number"
9076
+ },
9077
+ "description": "The width of the video in pixels",
9078
+ "fieldName": "width"
9079
+ }
9080
+ ],
9081
+ "superclass": {
9082
+ "name": "LitElement",
9083
+ "package": "lit"
9084
+ },
9085
+ "tagName": "discord-tenor-video",
9086
+ "customElement": true
9087
+ }
9088
+ ],
9089
+ "exports": [
9090
+ {
9091
+ "kind": "js",
9092
+ "name": "DiscordTenorVideo",
9093
+ "declaration": {
9094
+ "name": "DiscordTenorVideo",
9095
+ "module": "src/components/discord-tenor-video/DiscordTenorVideo.ts"
9096
+ }
9097
+ },
9098
+ {
9099
+ "kind": "custom-element-definition",
9100
+ "name": "discord-tenor-video",
9101
+ "declaration": {
9102
+ "name": "DiscordTenorVideo",
9103
+ "module": "src/components/discord-tenor-video/DiscordTenorVideo.ts"
9104
+ }
9105
+ }
9106
+ ]
9107
+ },
9108
+ {
9109
+ "kind": "javascript-module",
9110
+ "path": "src/components/discord-text-file-attachment-previewer/DiscordTextFileAttachmentPreviewer.ts",
9111
+ "declarations": [
9112
+ {
9113
+ "kind": "class",
9114
+ "description": "",
9115
+ "name": "DiscordTextFileAttachmentPreviewer",
9116
+ "members": [
9117
+ {
9118
+ "kind": "field",
9119
+ "name": "name",
9120
+ "type": {
9121
+ "text": "string"
9122
+ },
9123
+ "privacy": "public",
9124
+ "description": "The name of the file",
9117
9125
  "attribute": "name"
9118
9126
  },
9119
9127
  {
@@ -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",
@@ -9731,107 +9775,6 @@
9731
9775
  }
9732
9776
  ]
9733
9777
  },
9734
- {
9735
- "kind": "javascript-module",
9736
- "path": "src/components/discord-transcript-header/DiscordTranscriptHeader.ts",
9737
- "declarations": [
9738
- {
9739
- "kind": "class",
9740
- "description": "",
9741
- "name": "DiscordTranscriptHeader",
9742
- "members": [
9743
- {
9744
- "kind": "field",
9745
- "name": "guild",
9746
- "type": {
9747
- "text": "string"
9748
- },
9749
- "privacy": "public",
9750
- "description": "The guild name",
9751
- "attribute": "guild",
9752
- "reflects": true
9753
- },
9754
- {
9755
- "kind": "field",
9756
- "name": "channel",
9757
- "type": {
9758
- "text": "string"
9759
- },
9760
- "privacy": "public",
9761
- "description": "The name of the channel",
9762
- "attribute": "channel",
9763
- "reflects": true
9764
- },
9765
- {
9766
- "kind": "field",
9767
- "name": "icon",
9768
- "type": {
9769
- "text": "string | undefined"
9770
- },
9771
- "privacy": "public",
9772
- "description": "The icon to display.",
9773
- "attribute": "icon",
9774
- "reflects": true
9775
- },
9776
- {
9777
- "kind": "method",
9778
- "name": "getLettersName",
9779
- "privacy": "public"
9780
- }
9781
- ],
9782
- "attributes": [
9783
- {
9784
- "name": "guild",
9785
- "type": {
9786
- "text": "string"
9787
- },
9788
- "description": "The guild name",
9789
- "fieldName": "guild"
9790
- },
9791
- {
9792
- "name": "channel",
9793
- "type": {
9794
- "text": "string"
9795
- },
9796
- "description": "The name of the channel",
9797
- "fieldName": "channel"
9798
- },
9799
- {
9800
- "name": "icon",
9801
- "type": {
9802
- "text": "string | undefined"
9803
- },
9804
- "description": "The icon to display.",
9805
- "fieldName": "icon"
9806
- }
9807
- ],
9808
- "superclass": {
9809
- "name": "LitElement",
9810
- "package": "lit"
9811
- },
9812
- "tagName": "discord-transcript-header",
9813
- "customElement": true
9814
- }
9815
- ],
9816
- "exports": [
9817
- {
9818
- "kind": "js",
9819
- "name": "DiscordTranscriptHeader",
9820
- "declaration": {
9821
- "name": "DiscordTranscriptHeader",
9822
- "module": "src/components/discord-transcript-header/DiscordTranscriptHeader.ts"
9823
- }
9824
- },
9825
- {
9826
- "kind": "custom-element-definition",
9827
- "name": "discord-transcript-header",
9828
- "declaration": {
9829
- "name": "DiscordTranscriptHeader",
9830
- "module": "src/components/discord-transcript-header/DiscordTranscriptHeader.ts"
9831
- }
9832
- }
9833
- ]
9834
- },
9835
9778
  {
9836
9779
  "kind": "javascript-module",
9837
9780
  "path": "src/components/discord-thumbnail/DiscordThumbnail.ts",
@@ -9924,101 +9867,132 @@
9924
9867
  },
9925
9868
  {
9926
9869
  "kind": "javascript-module",
9927
- "path": "src/components/discord-underlined/DiscordUnderlined.ts",
9928
- "declarations": [
9929
- {
9930
- "kind": "class",
9931
- "description": "",
9932
- "name": "DiscordUnderlined",
9933
- "members": [],
9934
- "superclass": {
9935
- "name": "LitElement",
9936
- "package": "lit"
9937
- },
9938
- "tagName": "discord-underlined",
9939
- "customElement": true
9940
- }
9941
- ],
9942
- "exports": [
9943
- {
9944
- "kind": "js",
9945
- "name": "DiscordUnderlined",
9946
- "declaration": {
9947
- "name": "DiscordUnderlined",
9948
- "module": "src/components/discord-underlined/DiscordUnderlined.ts"
9949
- }
9950
- },
9951
- {
9952
- "kind": "custom-element-definition",
9953
- "name": "discord-underlined",
9954
- "declaration": {
9955
- "name": "DiscordUnderlined",
9956
- "module": "src/components/discord-underlined/DiscordUnderlined.ts"
9957
- }
9958
- }
9959
- ]
9960
- },
9961
- {
9962
- "kind": "javascript-module",
9963
- "path": "src/components/discord-unordered-list/DiscordUnorderedList.ts",
9870
+ "path": "src/components/discord-time/DiscordTime.ts",
9964
9871
  "declarations": [
9965
9872
  {
9966
9873
  "kind": "class",
9967
9874
  "description": "",
9968
- "name": "DiscordUnorderedList",
9875
+ "name": "DiscordTime",
9969
9876
  "members": [
9970
9877
  {
9971
9878
  "kind": "field",
9972
- "name": "nested",
9879
+ "name": "timestamp",
9973
9880
  "type": {
9974
- "text": "boolean"
9881
+ "text": "number"
9975
9882
  },
9976
9883
  "privacy": "public",
9977
- "default": "false",
9978
- "description": "Whether this is a nested list or not, this will change the style of the list-style.\r\n\r\nThe library will try to guess this automatically based on the component tree, but\r\nyou can also set this manually.",
9979
- "attribute": "nested",
9884
+ "attribute": "timestamp",
9885
+ "reflects": true
9886
+ },
9887
+ {
9888
+ "kind": "field",
9889
+ "name": "baseNow",
9890
+ "type": {
9891
+ "text": "number | undefined"
9892
+ },
9893
+ "privacy": "public",
9894
+ "attribute": "baseNow",
9895
+ "reflects": true
9896
+ },
9897
+ {
9898
+ "kind": "field",
9899
+ "name": "format",
9900
+ "type": {
9901
+ "text": "keyof typeof DATE_TYPE_FORMATS"
9902
+ },
9903
+ "privacy": "public",
9904
+ "default": "'t'",
9905
+ "attribute": "format",
9980
9906
  "reflects": true
9981
9907
  },
9908
+ {
9909
+ "kind": "field",
9910
+ "name": "timeout",
9911
+ "type": {
9912
+ "text": "number | undefined"
9913
+ },
9914
+ "privacy": "private"
9915
+ },
9916
+ {
9917
+ "kind": "field",
9918
+ "name": "resultTime",
9919
+ "type": {
9920
+ "text": "string | undefined"
9921
+ },
9922
+ "privacy": "private"
9923
+ },
9982
9924
  {
9983
9925
  "kind": "method",
9984
- "name": "checkChildren",
9985
- "privacy": "public"
9926
+ "name": "parseTime",
9927
+ "privacy": "private",
9928
+ "description": "Generates a string for the time."
9929
+ },
9930
+ {
9931
+ "kind": "method",
9932
+ "name": "getRelativeTime",
9933
+ "privacy": "private",
9934
+ "return": {
9935
+ "type": {
9936
+ "text": "[string, number]"
9937
+ }
9938
+ },
9939
+ "parameters": [
9940
+ {
9941
+ "name": "timestamp",
9942
+ "type": {
9943
+ "text": "number"
9944
+ }
9945
+ }
9946
+ ]
9986
9947
  }
9987
9948
  ],
9988
9949
  "attributes": [
9989
9950
  {
9990
- "name": "nested",
9951
+ "name": "timestamp",
9991
9952
  "type": {
9992
- "text": "boolean"
9953
+ "text": "number"
9993
9954
  },
9994
- "default": "false",
9995
- "description": "Whether this is a nested list or not, this will change the style of the list-style.\r\n\r\nThe library will try to guess this automatically based on the component tree, but\r\nyou can also set this manually.",
9996
- "fieldName": "nested"
9955
+ "fieldName": "timestamp"
9956
+ },
9957
+ {
9958
+ "name": "baseNow",
9959
+ "type": {
9960
+ "text": "number | undefined"
9961
+ },
9962
+ "fieldName": "baseNow"
9963
+ },
9964
+ {
9965
+ "name": "format",
9966
+ "type": {
9967
+ "text": "keyof typeof DATE_TYPE_FORMATS"
9968
+ },
9969
+ "default": "'t'",
9970
+ "fieldName": "format"
9997
9971
  }
9998
9972
  ],
9999
9973
  "superclass": {
10000
9974
  "name": "LitElement",
10001
9975
  "package": "lit"
10002
9976
  },
10003
- "tagName": "discord-unordered-list",
9977
+ "tagName": "discord-time",
10004
9978
  "customElement": true
10005
9979
  }
10006
9980
  ],
10007
9981
  "exports": [
10008
9982
  {
10009
9983
  "kind": "js",
10010
- "name": "DiscordUnorderedList",
10011
- "declaration": {
10012
- "name": "DiscordUnorderedList",
10013
- "module": "src/components/discord-unordered-list/DiscordUnorderedList.ts"
9984
+ "name": "DiscordTime",
9985
+ "declaration": {
9986
+ "name": "DiscordTime",
9987
+ "module": "src/components/discord-time/DiscordTime.ts"
10014
9988
  }
10015
9989
  },
10016
9990
  {
10017
9991
  "kind": "custom-element-definition",
10018
- "name": "discord-unordered-list",
9992
+ "name": "discord-time",
10019
9993
  "declaration": {
10020
- "name": "DiscordUnorderedList",
10021
- "module": "src/components/discord-unordered-list/DiscordUnorderedList.ts"
9994
+ "name": "DiscordTime",
9995
+ "module": "src/components/discord-time/DiscordTime.ts"
10022
9996
  }
10023
9997
  }
10024
9998
  ]
@@ -10105,132 +10079,166 @@
10105
10079
  },
10106
10080
  {
10107
10081
  "kind": "javascript-module",
10108
- "path": "src/components/discord-time/DiscordTime.ts",
10082
+ "path": "src/components/discord-unordered-list/DiscordUnorderedList.ts",
10109
10083
  "declarations": [
10110
10084
  {
10111
10085
  "kind": "class",
10112
10086
  "description": "",
10113
- "name": "DiscordTime",
10087
+ "name": "DiscordUnorderedList",
10114
10088
  "members": [
10115
10089
  {
10116
10090
  "kind": "field",
10117
- "name": "timestamp",
10091
+ "name": "nested",
10118
10092
  "type": {
10119
- "text": "number"
10093
+ "text": "boolean"
10120
10094
  },
10121
10095
  "privacy": "public",
10122
- "attribute": "timestamp",
10096
+ "default": "false",
10097
+ "description": "Whether this is a nested list or not, this will change the style of the list-style.\r\n\r\nThe library will try to guess this automatically based on the component tree, but\r\nyou can also set this manually.",
10098
+ "attribute": "nested",
10123
10099
  "reflects": true
10124
10100
  },
10125
10101
  {
10126
- "kind": "field",
10127
- "name": "baseNow",
10102
+ "kind": "method",
10103
+ "name": "checkChildren",
10104
+ "privacy": "public"
10105
+ }
10106
+ ],
10107
+ "attributes": [
10108
+ {
10109
+ "name": "nested",
10128
10110
  "type": {
10129
- "text": "number | undefined"
10111
+ "text": "boolean"
10130
10112
  },
10131
- "privacy": "public",
10132
- "attribute": "baseNow",
10133
- "reflects": true
10134
- },
10113
+ "default": "false",
10114
+ "description": "Whether this is a nested list or not, this will change the style of the list-style.\r\n\r\nThe library will try to guess this automatically based on the component tree, but\r\nyou can also set this manually.",
10115
+ "fieldName": "nested"
10116
+ }
10117
+ ],
10118
+ "superclass": {
10119
+ "name": "LitElement",
10120
+ "package": "lit"
10121
+ },
10122
+ "tagName": "discord-unordered-list",
10123
+ "customElement": true
10124
+ }
10125
+ ],
10126
+ "exports": [
10127
+ {
10128
+ "kind": "js",
10129
+ "name": "DiscordUnorderedList",
10130
+ "declaration": {
10131
+ "name": "DiscordUnorderedList",
10132
+ "module": "src/components/discord-unordered-list/DiscordUnorderedList.ts"
10133
+ }
10134
+ },
10135
+ {
10136
+ "kind": "custom-element-definition",
10137
+ "name": "discord-unordered-list",
10138
+ "declaration": {
10139
+ "name": "DiscordUnorderedList",
10140
+ "module": "src/components/discord-unordered-list/DiscordUnorderedList.ts"
10141
+ }
10142
+ }
10143
+ ]
10144
+ },
10145
+ {
10146
+ "kind": "javascript-module",
10147
+ "path": "src/components/discord-transcript-header/DiscordTranscriptHeader.ts",
10148
+ "declarations": [
10149
+ {
10150
+ "kind": "class",
10151
+ "description": "",
10152
+ "name": "DiscordTranscriptHeader",
10153
+ "members": [
10135
10154
  {
10136
10155
  "kind": "field",
10137
- "name": "format",
10156
+ "name": "guild",
10138
10157
  "type": {
10139
- "text": "keyof typeof DATE_TYPE_FORMATS"
10158
+ "text": "string"
10140
10159
  },
10141
10160
  "privacy": "public",
10142
- "default": "'t'",
10143
- "attribute": "format",
10161
+ "description": "The guild name",
10162
+ "attribute": "guild",
10144
10163
  "reflects": true
10145
10164
  },
10146
10165
  {
10147
10166
  "kind": "field",
10148
- "name": "timeout",
10167
+ "name": "channel",
10149
10168
  "type": {
10150
- "text": "number | undefined"
10169
+ "text": "string"
10151
10170
  },
10152
- "privacy": "private"
10171
+ "privacy": "public",
10172
+ "description": "The name of the channel",
10173
+ "attribute": "channel",
10174
+ "reflects": true
10153
10175
  },
10154
10176
  {
10155
10177
  "kind": "field",
10156
- "name": "resultTime",
10178
+ "name": "icon",
10157
10179
  "type": {
10158
10180
  "text": "string | undefined"
10159
10181
  },
10160
- "privacy": "private"
10161
- },
10162
- {
10163
- "kind": "method",
10164
- "name": "parseTime",
10165
- "privacy": "private",
10166
- "description": "Generates a string for the time."
10182
+ "privacy": "public",
10183
+ "description": "The icon to display.",
10184
+ "attribute": "icon",
10185
+ "reflects": true
10167
10186
  },
10168
10187
  {
10169
10188
  "kind": "method",
10170
- "name": "getRelativeTime",
10171
- "privacy": "private",
10172
- "return": {
10173
- "type": {
10174
- "text": "[string, number]"
10175
- }
10176
- },
10177
- "parameters": [
10178
- {
10179
- "name": "timestamp",
10180
- "type": {
10181
- "text": "number"
10182
- }
10183
- }
10184
- ]
10189
+ "name": "getLettersName",
10190
+ "privacy": "public"
10185
10191
  }
10186
10192
  ],
10187
10193
  "attributes": [
10188
10194
  {
10189
- "name": "timestamp",
10195
+ "name": "guild",
10190
10196
  "type": {
10191
- "text": "number"
10197
+ "text": "string"
10192
10198
  },
10193
- "fieldName": "timestamp"
10199
+ "description": "The guild name",
10200
+ "fieldName": "guild"
10194
10201
  },
10195
10202
  {
10196
- "name": "baseNow",
10203
+ "name": "channel",
10197
10204
  "type": {
10198
- "text": "number | undefined"
10205
+ "text": "string"
10199
10206
  },
10200
- "fieldName": "baseNow"
10207
+ "description": "The name of the channel",
10208
+ "fieldName": "channel"
10201
10209
  },
10202
10210
  {
10203
- "name": "format",
10211
+ "name": "icon",
10204
10212
  "type": {
10205
- "text": "keyof typeof DATE_TYPE_FORMATS"
10213
+ "text": "string | undefined"
10206
10214
  },
10207
- "default": "'t'",
10208
- "fieldName": "format"
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-time",
10223
+ "tagName": "discord-transcript-header",
10216
10224
  "customElement": true
10217
10225
  }
10218
10226
  ],
10219
10227
  "exports": [
10220
10228
  {
10221
10229
  "kind": "js",
10222
- "name": "DiscordTime",
10230
+ "name": "DiscordTranscriptHeader",
10223
10231
  "declaration": {
10224
- "name": "DiscordTime",
10225
- "module": "src/components/discord-time/DiscordTime.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-time",
10238
+ "name": "discord-transcript-header",
10231
10239
  "declaration": {
10232
- "name": "DiscordTime",
10233
- "module": "src/components/discord-time/DiscordTime.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": {
@@ -12369,6 +12457,35 @@
12369
12457
  }
12370
12458
  ]
12371
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
+ },
12372
12489
  {
12373
12490
  "kind": "javascript-module",
12374
12491
  "path": "src/components/svgs/ReplyIcon.ts",