@penwin/discord-components-core 4.2.0 → 4.2.1

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.
@@ -2769,28 +2769,13 @@
2769
2769
  },
2770
2770
  {
2771
2771
  "kind": "javascript-module",
2772
- "path": "src/components/discord-container/DiscordContainer.ts",
2772
+ "path": "src/components/discord-components-column/DiscordComponentsColumn.ts",
2773
2773
  "declarations": [
2774
- {
2775
- "kind": "variable",
2776
- "name": "discordContainerContext"
2777
- },
2778
2774
  {
2779
2775
  "kind": "class",
2780
2776
  "description": "",
2781
- "name": "DiscordContainer",
2777
+ "name": "DiscordComponentsColumn",
2782
2778
  "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
- },
2794
2779
  {
2795
2780
  "kind": "field",
2796
2781
  "name": "isInContainer",
@@ -2798,101 +2783,91 @@
2798
2783
  "text": "boolean"
2799
2784
  },
2800
2785
  "privacy": "public",
2801
- "default": "true"
2802
- },
2803
- {
2804
- "kind": "field",
2805
- "name": "lightTheme",
2806
- "type": {
2807
- "text": "boolean"
2808
- },
2809
- "privacy": "public",
2810
2786
  "default": "false",
2811
- "attribute": "light-theme",
2787
+ "attribute": "is-in-container",
2812
2788
  "reflects": true
2813
2789
  },
2814
2790
  {
2815
2791
  "kind": "field",
2816
- "name": "spoiler",
2792
+ "name": "isInForwardedMessage",
2817
2793
  "type": {
2818
2794
  "text": "boolean"
2819
2795
  },
2820
2796
  "privacy": "public",
2821
2797
  "default": "false",
2822
- "attribute": "spoiler",
2798
+ "attribute": "is-in-forwarded-message",
2823
2799
  "reflects": true
2824
2800
  }
2825
2801
  ],
2826
2802
  "attributes": [
2827
2803
  {
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",
2804
+ "name": "is-in-container",
2837
2805
  "type": {
2838
2806
  "text": "boolean"
2839
2807
  },
2840
2808
  "default": "false",
2841
- "fieldName": "lightTheme"
2809
+ "fieldName": "isInContainer"
2842
2810
  },
2843
2811
  {
2844
- "name": "spoiler",
2812
+ "name": "is-in-forwarded-message",
2845
2813
  "type": {
2846
2814
  "text": "boolean"
2847
2815
  },
2848
2816
  "default": "false",
2849
- "fieldName": "spoiler"
2817
+ "fieldName": "isInForwardedMessage"
2850
2818
  }
2851
2819
  ],
2852
2820
  "superclass": {
2853
2821
  "name": "LitElement",
2854
2822
  "package": "lit"
2855
2823
  },
2856
- "tagName": "discord-container",
2824
+ "tagName": "discord-components-column",
2857
2825
  "customElement": true
2858
2826
  }
2859
2827
  ],
2860
2828
  "exports": [
2861
2829
  {
2862
2830
  "kind": "js",
2863
- "name": "discordContainerContext",
2864
- "declaration": {
2865
- "name": "discordContainerContext",
2866
- "module": "src/components/discord-container/DiscordContainer.ts"
2867
- }
2868
- },
2869
- {
2870
- "kind": "js",
2871
- "name": "DiscordContainer",
2831
+ "name": "DiscordComponentsColumn",
2872
2832
  "declaration": {
2873
- "name": "DiscordContainer",
2874
- "module": "src/components/discord-container/DiscordContainer.ts"
2833
+ "name": "DiscordComponentsColumn",
2834
+ "module": "src/components/discord-components-column/DiscordComponentsColumn.ts"
2875
2835
  }
2876
2836
  },
2877
2837
  {
2878
2838
  "kind": "custom-element-definition",
2879
- "name": "discord-container",
2839
+ "name": "discord-components-column",
2880
2840
  "declaration": {
2881
- "name": "DiscordContainer",
2882
- "module": "src/components/discord-container/DiscordContainer.ts"
2841
+ "name": "DiscordComponentsColumn",
2842
+ "module": "src/components/discord-components-column/DiscordComponentsColumn.ts"
2883
2843
  }
2884
2844
  }
2885
2845
  ]
2886
2846
  },
2887
2847
  {
2888
2848
  "kind": "javascript-module",
2889
- "path": "src/components/discord-components-column/DiscordComponentsColumn.ts",
2849
+ "path": "src/components/discord-container/DiscordContainer.ts",
2890
2850
  "declarations": [
2851
+ {
2852
+ "kind": "variable",
2853
+ "name": "discordContainerContext"
2854
+ },
2891
2855
  {
2892
2856
  "kind": "class",
2893
2857
  "description": "",
2894
- "name": "DiscordComponentsColumn",
2858
+ "name": "DiscordContainer",
2895
2859
  "members": [
2860
+ {
2861
+ "kind": "field",
2862
+ "name": "accentColor",
2863
+ "type": {
2864
+ "text": "string"
2865
+ },
2866
+ "privacy": "public",
2867
+ "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).",
2868
+ "attribute": "accent-color",
2869
+ "reflects": true
2870
+ },
2896
2871
  {
2897
2872
  "kind": "field",
2898
2873
  "name": "isInContainer",
@@ -2900,63 +2875,88 @@
2900
2875
  "text": "boolean"
2901
2876
  },
2902
2877
  "privacy": "public",
2878
+ "default": "true"
2879
+ },
2880
+ {
2881
+ "kind": "field",
2882
+ "name": "lightTheme",
2883
+ "type": {
2884
+ "text": "boolean"
2885
+ },
2886
+ "privacy": "public",
2903
2887
  "default": "false",
2904
- "attribute": "is-in-container",
2888
+ "attribute": "light-theme",
2905
2889
  "reflects": true
2906
2890
  },
2907
2891
  {
2908
2892
  "kind": "field",
2909
- "name": "isInForwardedMessage",
2893
+ "name": "spoiler",
2910
2894
  "type": {
2911
2895
  "text": "boolean"
2912
2896
  },
2913
2897
  "privacy": "public",
2914
2898
  "default": "false",
2915
- "attribute": "is-in-forwarded-message",
2899
+ "attribute": "spoiler",
2916
2900
  "reflects": true
2917
2901
  }
2918
2902
  ],
2919
2903
  "attributes": [
2920
2904
  {
2921
- "name": "is-in-container",
2905
+ "name": "accent-color",
2906
+ "type": {
2907
+ "text": "string"
2908
+ },
2909
+ "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).",
2910
+ "fieldName": "accentColor"
2911
+ },
2912
+ {
2913
+ "name": "light-theme",
2922
2914
  "type": {
2923
2915
  "text": "boolean"
2924
2916
  },
2925
2917
  "default": "false",
2926
- "fieldName": "isInContainer"
2918
+ "fieldName": "lightTheme"
2927
2919
  },
2928
2920
  {
2929
- "name": "is-in-forwarded-message",
2921
+ "name": "spoiler",
2930
2922
  "type": {
2931
2923
  "text": "boolean"
2932
2924
  },
2933
2925
  "default": "false",
2934
- "fieldName": "isInForwardedMessage"
2926
+ "fieldName": "spoiler"
2935
2927
  }
2936
2928
  ],
2937
2929
  "superclass": {
2938
2930
  "name": "LitElement",
2939
2931
  "package": "lit"
2940
2932
  },
2941
- "tagName": "discord-components-column",
2933
+ "tagName": "discord-container",
2942
2934
  "customElement": true
2943
2935
  }
2944
2936
  ],
2945
2937
  "exports": [
2946
2938
  {
2947
2939
  "kind": "js",
2948
- "name": "DiscordComponentsColumn",
2940
+ "name": "discordContainerContext",
2949
2941
  "declaration": {
2950
- "name": "DiscordComponentsColumn",
2951
- "module": "src/components/discord-components-column/DiscordComponentsColumn.ts"
2942
+ "name": "discordContainerContext",
2943
+ "module": "src/components/discord-container/DiscordContainer.ts"
2944
+ }
2945
+ },
2946
+ {
2947
+ "kind": "js",
2948
+ "name": "DiscordContainer",
2949
+ "declaration": {
2950
+ "name": "DiscordContainer",
2951
+ "module": "src/components/discord-container/DiscordContainer.ts"
2952
2952
  }
2953
2953
  },
2954
2954
  {
2955
2955
  "kind": "custom-element-definition",
2956
- "name": "discord-components-column",
2956
+ "name": "discord-container",
2957
2957
  "declaration": {
2958
- "name": "DiscordComponentsColumn",
2959
- "module": "src/components/discord-components-column/DiscordComponentsColumn.ts"
2958
+ "name": "DiscordContainer",
2959
+ "module": "src/components/discord-container/DiscordContainer.ts"
2960
2960
  }
2961
2961
  }
2962
2962
  ]
@@ -3349,6 +3349,64 @@
3349
3349
  }
3350
3350
  ]
3351
3351
  },
3352
+ {
3353
+ "kind": "javascript-module",
3354
+ "path": "src/components/discord-embed-description/DiscordEmbedDescription.ts",
3355
+ "declarations": [
3356
+ {
3357
+ "kind": "class",
3358
+ "description": "",
3359
+ "name": "DiscordEmbedDescription",
3360
+ "members": [
3361
+ {
3362
+ "kind": "field",
3363
+ "name": "lightTheme",
3364
+ "type": {
3365
+ "text": "boolean"
3366
+ },
3367
+ "privacy": "public",
3368
+ "default": "false",
3369
+ "attribute": "light-theme",
3370
+ "reflects": true
3371
+ }
3372
+ ],
3373
+ "attributes": [
3374
+ {
3375
+ "name": "light-theme",
3376
+ "type": {
3377
+ "text": "boolean"
3378
+ },
3379
+ "default": "false",
3380
+ "fieldName": "lightTheme"
3381
+ }
3382
+ ],
3383
+ "superclass": {
3384
+ "name": "LitElement",
3385
+ "package": "lit"
3386
+ },
3387
+ "tagName": "discord-embed-description",
3388
+ "customElement": true
3389
+ }
3390
+ ],
3391
+ "exports": [
3392
+ {
3393
+ "kind": "js",
3394
+ "name": "DiscordEmbedDescription",
3395
+ "declaration": {
3396
+ "name": "DiscordEmbedDescription",
3397
+ "module": "src/components/discord-embed-description/DiscordEmbedDescription.ts"
3398
+ }
3399
+ },
3400
+ {
3401
+ "kind": "custom-element-definition",
3402
+ "name": "discord-embed-description",
3403
+ "declaration": {
3404
+ "name": "DiscordEmbedDescription",
3405
+ "module": "src/components/discord-embed-description/DiscordEmbedDescription.ts"
3406
+ }
3407
+ }
3408
+ ]
3409
+ },
3352
3410
  {
3353
3411
  "kind": "javascript-module",
3354
3412
  "path": "src/components/discord-embed-field/DiscordEmbedField.ts",
@@ -3504,101 +3562,43 @@
3504
3562
  },
3505
3563
  {
3506
3564
  "kind": "javascript-module",
3507
- "path": "src/components/discord-embed-description/DiscordEmbedDescription.ts",
3565
+ "path": "src/components/discord-embed-fields/DiscordEmbedFields.ts",
3508
3566
  "declarations": [
3509
3567
  {
3510
3568
  "kind": "class",
3511
3569
  "description": "",
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
- ],
3570
+ "name": "DiscordEmbedFields",
3571
+ "members": [],
3536
3572
  "superclass": {
3537
3573
  "name": "LitElement",
3538
3574
  "package": "lit"
3539
3575
  },
3540
- "tagName": "discord-embed-description",
3576
+ "tagName": "discord-embed-fields",
3541
3577
  "customElement": true
3542
3578
  }
3543
3579
  ],
3544
3580
  "exports": [
3545
3581
  {
3546
3582
  "kind": "js",
3547
- "name": "DiscordEmbedDescription",
3583
+ "name": "DiscordEmbedFields",
3548
3584
  "declaration": {
3549
- "name": "DiscordEmbedDescription",
3550
- "module": "src/components/discord-embed-description/DiscordEmbedDescription.ts"
3585
+ "name": "DiscordEmbedFields",
3586
+ "module": "src/components/discord-embed-fields/DiscordEmbedFields.ts"
3551
3587
  }
3552
3588
  },
3553
3589
  {
3554
3590
  "kind": "custom-element-definition",
3555
- "name": "discord-embed-description",
3591
+ "name": "discord-embed-fields",
3556
3592
  "declaration": {
3557
- "name": "DiscordEmbedDescription",
3558
- "module": "src/components/discord-embed-description/DiscordEmbedDescription.ts"
3593
+ "name": "DiscordEmbedFields",
3594
+ "module": "src/components/discord-embed-fields/DiscordEmbedFields.ts"
3559
3595
  }
3560
3596
  }
3561
3597
  ]
3562
3598
  },
3563
3599
  {
3564
3600
  "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",
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",
3601
+ "path": "src/components/discord-embed-footer/DiscordEmbedFooter.ts",
3602
3602
  "declarations": [
3603
3603
  {
3604
3604
  "kind": "class",
@@ -4080,6 +4080,81 @@
4080
4080
  }
4081
4081
  ]
4082
4082
  },
4083
+ {
4084
+ "kind": "javascript-module",
4085
+ "path": "src/components/discord-header/DiscordHeader.ts",
4086
+ "declarations": [
4087
+ {
4088
+ "kind": "class",
4089
+ "description": "",
4090
+ "name": "DiscordHeader",
4091
+ "members": [
4092
+ {
4093
+ "kind": "field",
4094
+ "name": "level",
4095
+ "type": {
4096
+ "text": "1 | 2 | 3"
4097
+ },
4098
+ "privacy": "public",
4099
+ "default": "1",
4100
+ "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.",
4101
+ "attribute": "level",
4102
+ "reflects": true
4103
+ },
4104
+ {
4105
+ "kind": "method",
4106
+ "name": "ensureLevelIsNumber",
4107
+ "privacy": "public",
4108
+ "return": {
4109
+ "type": {
4110
+ "text": "void"
4111
+ }
4112
+ }
4113
+ },
4114
+ {
4115
+ "kind": "method",
4116
+ "name": "checkLevel",
4117
+ "privacy": "public"
4118
+ }
4119
+ ],
4120
+ "attributes": [
4121
+ {
4122
+ "name": "level",
4123
+ "type": {
4124
+ "text": "1 | 2 | 3"
4125
+ },
4126
+ "default": "1",
4127
+ "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.",
4128
+ "fieldName": "level"
4129
+ }
4130
+ ],
4131
+ "superclass": {
4132
+ "name": "LitElement",
4133
+ "package": "lit"
4134
+ },
4135
+ "tagName": "discord-header",
4136
+ "customElement": true
4137
+ }
4138
+ ],
4139
+ "exports": [
4140
+ {
4141
+ "kind": "js",
4142
+ "name": "DiscordHeader",
4143
+ "declaration": {
4144
+ "name": "DiscordHeader",
4145
+ "module": "src/components/discord-header/DiscordHeader.ts"
4146
+ }
4147
+ },
4148
+ {
4149
+ "kind": "custom-element-definition",
4150
+ "name": "discord-header",
4151
+ "declaration": {
4152
+ "name": "DiscordHeader",
4153
+ "module": "src/components/discord-header/DiscordHeader.ts"
4154
+ }
4155
+ }
4156
+ ]
4157
+ },
4083
4158
  {
4084
4159
  "kind": "javascript-module",
4085
4160
  "path": "src/components/discord-image-attachment/DiscordImageAttachment.ts",
@@ -4260,81 +4335,6 @@
4260
4335
  }
4261
4336
  ]
4262
4337
  },
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
- },
4338
4338
  {
4339
4339
  "kind": "javascript-module",
4340
4340
  "path": "src/components/discord-input-text/DiscordInputText.ts",
@@ -6003,266 +6003,90 @@
6003
6003
  },
6004
6004
  {
6005
6005
  "kind": "javascript-module",
6006
- "path": "src/components/discord-messages/DiscordMessages.ts",
6006
+ "path": "src/components/discord-message/DiscordMessage.ts",
6007
6007
  "declarations": [
6008
6008
  {
6009
6009
  "kind": "variable",
6010
- "name": "messagesLightTheme"
6011
- },
6012
- {
6013
- "kind": "variable",
6014
- "name": "messagesCompactMode"
6010
+ "name": "messageProfile"
6015
6011
  },
6016
6012
  {
6017
6013
  "kind": "variable",
6018
- "name": "messagesNoBackground"
6014
+ "name": "messageTimestamp"
6019
6015
  },
6020
6016
  {
6021
6017
  "kind": "class",
6022
6018
  "description": "",
6023
- "name": "DiscordMessages",
6019
+ "name": "DiscordMessage",
6024
6020
  "members": [
6025
6021
  {
6026
6022
  "kind": "field",
6027
- "name": "lightTheme",
6023
+ "name": "profile",
6028
6024
  "type": {
6029
- "text": "boolean"
6025
+ "text": "string | undefined"
6030
6026
  },
6031
6027
  "privacy": "public",
6032
- "default": "false",
6033
- "description": "Whether to use light theme or not.",
6034
- "attribute": "light-theme",
6035
- "reflects": true
6028
+ "default": "undefined",
6029
+ "description": "The id of the profile data to use.",
6030
+ "attribute": "profile"
6036
6031
  },
6037
6032
  {
6038
6033
  "kind": "field",
6039
- "name": "noBackground",
6034
+ "name": "author",
6040
6035
  "type": {
6041
- "text": "boolean"
6036
+ "text": "string | undefined"
6042
6037
  },
6043
6038
  "privacy": "public",
6044
- "default": "false",
6045
- "description": "Whether to exclude the background or not.",
6046
- "attribute": "no-background",
6047
- "reflects": true
6039
+ "default": "'User'",
6040
+ "description": "The message author's username.",
6041
+ "attribute": "author"
6048
6042
  },
6049
6043
  {
6050
6044
  "kind": "field",
6051
- "name": "compactMode",
6045
+ "name": "avatar",
6052
6046
  "type": {
6053
- "text": "boolean"
6047
+ "text": "string | undefined"
6054
6048
  },
6055
6049
  "privacy": "public",
6056
- "default": "false",
6057
- "description": "Whether to use compact mode or not.",
6058
- "attribute": "compact-mode",
6059
- "reflects": true
6050
+ "default": "undefined",
6051
+ "description": "The message author's avatar. Can be an avatar shortcut, relative path, or external link.",
6052
+ "attribute": "avatar"
6060
6053
  },
6061
6054
  {
6062
6055
  "kind": "field",
6063
- "name": "channelType",
6056
+ "name": "bot",
6064
6057
  "type": {
6065
- "text": "'forum' | 'locked' | 'text' | 'thread' | 'voice'"
6058
+ "text": "boolean"
6066
6059
  },
6067
6060
  "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
6061
+ "default": "false",
6062
+ "description": "Whether the message author is a bot or not.\r\nOnly works if `server` and `officialApp` is `false` or `undefined`.",
6063
+ "attribute": "bot"
6071
6064
  },
6072
6065
  {
6073
6066
  "kind": "field",
6074
- "name": "channelName",
6067
+ "name": "server",
6075
6068
  "type": {
6076
- "text": "string"
6069
+ "text": "boolean"
6077
6070
  },
6078
6071
  "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": [
6072
+ "default": "false",
6073
+ "description": "Whether the message author is a server crosspost webhook or not.\r\nOnly works if `bot` and `officialApp` is `false` or `undefined`.",
6074
+ "attribute": "server"
6075
+ },
6085
6076
  {
6086
- "name": "light-theme",
6077
+ "kind": "field",
6078
+ "name": "officialApp",
6087
6079
  "type": {
6088
6080
  "text": "boolean"
6089
6081
  },
6082
+ "privacy": "public",
6090
6083
  "default": "false",
6091
- "description": "Whether to use light theme or not.",
6092
- "fieldName": "lightTheme"
6084
+ "description": "Whether the message author is official app.\r\nOnly works if `bot` and `server` is `falns`",
6085
+ "attribute": "official-app"
6093
6086
  },
6094
6087
  {
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",
6260
- "description": "Whether the message author is official app.\r\nOnly works if `bot` and `server` is `falns`",
6261
- "attribute": "official-app"
6262
- },
6263
- {
6264
- "kind": "field",
6265
- "name": "verified",
6088
+ "kind": "field",
6089
+ "name": "verified",
6266
6090
  "type": {
6267
6091
  "text": "boolean"
6268
6092
  },
@@ -6754,34 +6578,210 @@
6754
6578
  "exports": [
6755
6579
  {
6756
6580
  "kind": "js",
6757
- "name": "messageProfile",
6581
+ "name": "messageProfile",
6582
+ "declaration": {
6583
+ "name": "messageProfile",
6584
+ "module": "src/components/discord-message/DiscordMessage.ts"
6585
+ }
6586
+ },
6587
+ {
6588
+ "kind": "js",
6589
+ "name": "messageTimestamp",
6590
+ "declaration": {
6591
+ "name": "messageTimestamp",
6592
+ "module": "src/components/discord-message/DiscordMessage.ts"
6593
+ }
6594
+ },
6595
+ {
6596
+ "kind": "js",
6597
+ "name": "DiscordMessage",
6598
+ "declaration": {
6599
+ "name": "DiscordMessage",
6600
+ "module": "src/components/discord-message/DiscordMessage.ts"
6601
+ }
6602
+ },
6603
+ {
6604
+ "kind": "custom-element-definition",
6605
+ "name": "discord-message",
6606
+ "declaration": {
6607
+ "name": "DiscordMessage",
6608
+ "module": "src/components/discord-message/DiscordMessage.ts"
6609
+ }
6610
+ }
6611
+ ]
6612
+ },
6613
+ {
6614
+ "kind": "javascript-module",
6615
+ "path": "src/components/discord-messages/DiscordMessages.ts",
6616
+ "declarations": [
6617
+ {
6618
+ "kind": "variable",
6619
+ "name": "messagesLightTheme"
6620
+ },
6621
+ {
6622
+ "kind": "variable",
6623
+ "name": "messagesCompactMode"
6624
+ },
6625
+ {
6626
+ "kind": "variable",
6627
+ "name": "messagesNoBackground"
6628
+ },
6629
+ {
6630
+ "kind": "class",
6631
+ "description": "",
6632
+ "name": "DiscordMessages",
6633
+ "members": [
6634
+ {
6635
+ "kind": "field",
6636
+ "name": "lightTheme",
6637
+ "type": {
6638
+ "text": "boolean"
6639
+ },
6640
+ "privacy": "public",
6641
+ "default": "false",
6642
+ "description": "Whether to use light theme or not.",
6643
+ "attribute": "light-theme",
6644
+ "reflects": true
6645
+ },
6646
+ {
6647
+ "kind": "field",
6648
+ "name": "noBackground",
6649
+ "type": {
6650
+ "text": "boolean"
6651
+ },
6652
+ "privacy": "public",
6653
+ "default": "false",
6654
+ "description": "Whether to exclude the background or not.",
6655
+ "attribute": "no-background",
6656
+ "reflects": true
6657
+ },
6658
+ {
6659
+ "kind": "field",
6660
+ "name": "compactMode",
6661
+ "type": {
6662
+ "text": "boolean"
6663
+ },
6664
+ "privacy": "public",
6665
+ "default": "false",
6666
+ "description": "Whether to use compact mode or not.",
6667
+ "attribute": "compact-mode",
6668
+ "reflects": true
6669
+ },
6670
+ {
6671
+ "kind": "field",
6672
+ "name": "channelType",
6673
+ "type": {
6674
+ "text": "'forum' | 'locked' | 'text' | 'thread' | 'voice'"
6675
+ },
6676
+ "privacy": "public",
6677
+ "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`.",
6678
+ "attribute": "channel-type",
6679
+ "reflects": true
6680
+ },
6681
+ {
6682
+ "kind": "field",
6683
+ "name": "channelName",
6684
+ "type": {
6685
+ "text": "string"
6686
+ },
6687
+ "privacy": "public",
6688
+ "description": "The name of the channel, this will be displayed above the message and only applies if DiscordMessages.channelType is set.",
6689
+ "attribute": "channel-name",
6690
+ "reflects": true
6691
+ }
6692
+ ],
6693
+ "attributes": [
6694
+ {
6695
+ "name": "light-theme",
6696
+ "type": {
6697
+ "text": "boolean"
6698
+ },
6699
+ "default": "false",
6700
+ "description": "Whether to use light theme or not.",
6701
+ "fieldName": "lightTheme"
6702
+ },
6703
+ {
6704
+ "name": "no-background",
6705
+ "type": {
6706
+ "text": "boolean"
6707
+ },
6708
+ "default": "false",
6709
+ "description": "Whether to exclude the background or not.",
6710
+ "fieldName": "noBackground"
6711
+ },
6712
+ {
6713
+ "name": "compact-mode",
6714
+ "type": {
6715
+ "text": "boolean"
6716
+ },
6717
+ "default": "false",
6718
+ "description": "Whether to use compact mode or not.",
6719
+ "fieldName": "compactMode"
6720
+ },
6721
+ {
6722
+ "name": "channel-type",
6723
+ "type": {
6724
+ "text": "'forum' | 'locked' | 'text' | 'thread' | 'voice'"
6725
+ },
6726
+ "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`.",
6727
+ "fieldName": "channelType"
6728
+ },
6729
+ {
6730
+ "name": "channel-name",
6731
+ "type": {
6732
+ "text": "string"
6733
+ },
6734
+ "description": "The name of the channel, this will be displayed above the message and only applies if DiscordMessages.channelType is set.",
6735
+ "fieldName": "channelName"
6736
+ }
6737
+ ],
6738
+ "superclass": {
6739
+ "name": "LitElement",
6740
+ "package": "lit"
6741
+ },
6742
+ "tagName": "discord-messages",
6743
+ "customElement": true
6744
+ }
6745
+ ],
6746
+ "exports": [
6747
+ {
6748
+ "kind": "js",
6749
+ "name": "messagesLightTheme",
6750
+ "declaration": {
6751
+ "name": "messagesLightTheme",
6752
+ "module": "src/components/discord-messages/DiscordMessages.ts"
6753
+ }
6754
+ },
6755
+ {
6756
+ "kind": "js",
6757
+ "name": "messagesCompactMode",
6758
6758
  "declaration": {
6759
- "name": "messageProfile",
6760
- "module": "src/components/discord-message/DiscordMessage.ts"
6759
+ "name": "messagesCompactMode",
6760
+ "module": "src/components/discord-messages/DiscordMessages.ts"
6761
6761
  }
6762
6762
  },
6763
6763
  {
6764
6764
  "kind": "js",
6765
- "name": "messageTimestamp",
6765
+ "name": "messagesNoBackground",
6766
6766
  "declaration": {
6767
- "name": "messageTimestamp",
6768
- "module": "src/components/discord-message/DiscordMessage.ts"
6767
+ "name": "messagesNoBackground",
6768
+ "module": "src/components/discord-messages/DiscordMessages.ts"
6769
6769
  }
6770
6770
  },
6771
6771
  {
6772
6772
  "kind": "js",
6773
- "name": "DiscordMessage",
6773
+ "name": "DiscordMessages",
6774
6774
  "declaration": {
6775
- "name": "DiscordMessage",
6776
- "module": "src/components/discord-message/DiscordMessage.ts"
6775
+ "name": "DiscordMessages",
6776
+ "module": "src/components/discord-messages/DiscordMessages.ts"
6777
6777
  }
6778
6778
  },
6779
6779
  {
6780
6780
  "kind": "custom-element-definition",
6781
- "name": "discord-message",
6781
+ "name": "discord-messages",
6782
6782
  "declaration": {
6783
- "name": "DiscordMessage",
6784
- "module": "src/components/discord-message/DiscordMessage.ts"
6783
+ "name": "DiscordMessages",
6784
+ "module": "src/components/discord-messages/DiscordMessages.ts"
6785
6785
  }
6786
6786
  }
6787
6787
  ]
@@ -7626,36 +7626,58 @@
7626
7626
  },
7627
7627
  {
7628
7628
  "kind": "javascript-module",
7629
- "path": "src/components/discord-reactions/DiscordReactions.ts",
7629
+ "path": "src/components/discord-quote/DiscordQuote.ts",
7630
7630
  "declarations": [
7631
7631
  {
7632
7632
  "kind": "class",
7633
7633
  "description": "",
7634
- "name": "DiscordReactions",
7635
- "members": [],
7634
+ "name": "DiscordQuote",
7635
+ "members": [
7636
+ {
7637
+ "kind": "field",
7638
+ "name": "lightTheme",
7639
+ "type": {
7640
+ "text": "boolean"
7641
+ },
7642
+ "privacy": "public",
7643
+ "default": "false",
7644
+ "attribute": "light-theme",
7645
+ "reflects": true
7646
+ }
7647
+ ],
7648
+ "attributes": [
7649
+ {
7650
+ "name": "light-theme",
7651
+ "type": {
7652
+ "text": "boolean"
7653
+ },
7654
+ "default": "false",
7655
+ "fieldName": "lightTheme"
7656
+ }
7657
+ ],
7636
7658
  "superclass": {
7637
7659
  "name": "LitElement",
7638
7660
  "package": "lit"
7639
7661
  },
7640
- "tagName": "discord-reactions",
7662
+ "tagName": "discord-quote",
7641
7663
  "customElement": true
7642
7664
  }
7643
7665
  ],
7644
7666
  "exports": [
7645
7667
  {
7646
7668
  "kind": "js",
7647
- "name": "DiscordReactions",
7669
+ "name": "DiscordQuote",
7648
7670
  "declaration": {
7649
- "name": "DiscordReactions",
7650
- "module": "src/components/discord-reactions/DiscordReactions.ts"
7671
+ "name": "DiscordQuote",
7672
+ "module": "src/components/discord-quote/DiscordQuote.ts"
7651
7673
  }
7652
7674
  },
7653
7675
  {
7654
7676
  "kind": "custom-element-definition",
7655
- "name": "discord-reactions",
7677
+ "name": "discord-quote",
7656
7678
  "declaration": {
7657
- "name": "DiscordReactions",
7658
- "module": "src/components/discord-reactions/DiscordReactions.ts"
7679
+ "name": "DiscordQuote",
7680
+ "module": "src/components/discord-quote/DiscordQuote.ts"
7659
7681
  }
7660
7682
  }
7661
7683
  ]
@@ -7825,58 +7847,36 @@
7825
7847
  },
7826
7848
  {
7827
7849
  "kind": "javascript-module",
7828
- "path": "src/components/discord-quote/DiscordQuote.ts",
7850
+ "path": "src/components/discord-reactions/DiscordReactions.ts",
7829
7851
  "declarations": [
7830
7852
  {
7831
7853
  "kind": "class",
7832
7854
  "description": "",
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
- ],
7855
+ "name": "DiscordReactions",
7856
+ "members": [],
7857
7857
  "superclass": {
7858
7858
  "name": "LitElement",
7859
7859
  "package": "lit"
7860
7860
  },
7861
- "tagName": "discord-quote",
7861
+ "tagName": "discord-reactions",
7862
7862
  "customElement": true
7863
7863
  }
7864
7864
  ],
7865
7865
  "exports": [
7866
7866
  {
7867
7867
  "kind": "js",
7868
- "name": "DiscordQuote",
7868
+ "name": "DiscordReactions",
7869
7869
  "declaration": {
7870
- "name": "DiscordQuote",
7871
- "module": "src/components/discord-quote/DiscordQuote.ts"
7870
+ "name": "DiscordReactions",
7871
+ "module": "src/components/discord-reactions/DiscordReactions.ts"
7872
7872
  }
7873
7873
  },
7874
7874
  {
7875
7875
  "kind": "custom-element-definition",
7876
- "name": "discord-quote",
7876
+ "name": "discord-reactions",
7877
7877
  "declaration": {
7878
- "name": "DiscordQuote",
7879
- "module": "src/components/discord-quote/DiscordQuote.ts"
7878
+ "name": "DiscordReactions",
7879
+ "module": "src/components/discord-reactions/DiscordReactions.ts"
7880
7880
  }
7881
7881
  }
7882
7882
  ]
@@ -8347,6 +8347,66 @@
8347
8347
  }
8348
8348
  ]
8349
8349
  },
8350
+ {
8351
+ "kind": "javascript-module",
8352
+ "path": "src/components/discord-section-components/DiscordSectionComponents.ts",
8353
+ "declarations": [
8354
+ {
8355
+ "kind": "class",
8356
+ "description": "",
8357
+ "name": "DiscordSectionComponents",
8358
+ "members": [
8359
+ {
8360
+ "kind": "field",
8361
+ "name": "withButton",
8362
+ "type": {
8363
+ "text": "boolean"
8364
+ },
8365
+ "privacy": "public",
8366
+ "default": "false"
8367
+ },
8368
+ {
8369
+ "kind": "field",
8370
+ "name": "hasOnlyOneTextDisplayChild",
8371
+ "type": {
8372
+ "text": "boolean"
8373
+ },
8374
+ "privacy": "public",
8375
+ "default": "false"
8376
+ },
8377
+ {
8378
+ "kind": "method",
8379
+ "name": "calcHasOnlyOneTextDisplayChild",
8380
+ "privacy": "protected"
8381
+ }
8382
+ ],
8383
+ "superclass": {
8384
+ "name": "LitElement",
8385
+ "package": "lit"
8386
+ },
8387
+ "tagName": "discord-section-components",
8388
+ "customElement": true
8389
+ }
8390
+ ],
8391
+ "exports": [
8392
+ {
8393
+ "kind": "js",
8394
+ "name": "DiscordSectionComponents",
8395
+ "declaration": {
8396
+ "name": "DiscordSectionComponents",
8397
+ "module": "src/components/discord-section-components/DiscordSectionComponents.ts"
8398
+ }
8399
+ },
8400
+ {
8401
+ "kind": "custom-element-definition",
8402
+ "name": "discord-section-components",
8403
+ "declaration": {
8404
+ "name": "DiscordSectionComponents",
8405
+ "module": "src/components/discord-section-components/DiscordSectionComponents.ts"
8406
+ }
8407
+ }
8408
+ ]
8409
+ },
8350
8410
  {
8351
8411
  "kind": "javascript-module",
8352
8412
  "path": "src/components/discord-separator/DiscordSeparator.ts",
@@ -8528,137 +8588,77 @@
8528
8588
  "text": "string"
8529
8589
  },
8530
8590
  "privacy": "public",
8531
- "default": "'Make a selection'",
8532
- "description": "The placeholder of the select-menu",
8533
- "attribute": "placeholder"
8534
- },
8535
- {
8536
- "kind": "field",
8537
- "name": "lightTheme",
8538
- "type": {
8539
- "text": "boolean"
8540
- },
8541
- "privacy": "public",
8542
- "default": "false",
8543
- "attribute": "light-theme",
8544
- "reflects": true
8545
- },
8546
- {
8547
- "kind": "method",
8548
- "name": "_onClick",
8549
- "privacy": "private"
8550
- }
8551
- ],
8552
- "attributes": [
8553
- {
8554
- "name": "disabled",
8555
- "type": {
8556
- "text": "boolean"
8557
- },
8558
- "description": "Whether to show the `discord-string-select-menu` as disabled.",
8559
- "fieldName": "disabled"
8560
- },
8561
- {
8562
- "name": "placeholder",
8563
- "type": {
8564
- "text": "string"
8565
- },
8566
- "default": "'Make a selection'",
8567
- "description": "The placeholder of the select-menu",
8568
- "fieldName": "placeholder"
8569
- },
8570
- {
8571
- "name": "light-theme",
8572
- "type": {
8573
- "text": "boolean"
8574
- },
8575
- "default": "false",
8576
- "fieldName": "lightTheme"
8577
- }
8578
- ],
8579
- "superclass": {
8580
- "name": "LitElement",
8581
- "package": "lit"
8582
- },
8583
- "tagName": "discord-string-select-menu",
8584
- "customElement": true
8585
- }
8586
- ],
8587
- "exports": [
8588
- {
8589
- "kind": "js",
8590
- "name": "DiscordStringSelectMenu",
8591
- "declaration": {
8592
- "name": "DiscordStringSelectMenu",
8593
- "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
8594
- }
8595
- },
8596
- {
8597
- "kind": "custom-element-definition",
8598
- "name": "discord-string-select-menu",
8599
- "declaration": {
8600
- "name": "DiscordStringSelectMenu",
8601
- "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
8602
- }
8603
- }
8604
- ]
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": [
8591
+ "default": "'Make a selection'",
8592
+ "description": "The placeholder of the select-menu",
8593
+ "attribute": "placeholder"
8594
+ },
8615
8595
  {
8616
8596
  "kind": "field",
8617
- "name": "withButton",
8597
+ "name": "lightTheme",
8618
8598
  "type": {
8619
8599
  "text": "boolean"
8620
8600
  },
8621
8601
  "privacy": "public",
8622
- "default": "false"
8602
+ "default": "false",
8603
+ "attribute": "light-theme",
8604
+ "reflects": true
8623
8605
  },
8624
8606
  {
8625
- "kind": "field",
8626
- "name": "hasOnlyOneTextDisplayChild",
8607
+ "kind": "method",
8608
+ "name": "_onClick",
8609
+ "privacy": "private"
8610
+ }
8611
+ ],
8612
+ "attributes": [
8613
+ {
8614
+ "name": "disabled",
8627
8615
  "type": {
8628
8616
  "text": "boolean"
8629
8617
  },
8630
- "privacy": "public",
8631
- "default": "false"
8618
+ "description": "Whether to show the `discord-string-select-menu` as disabled.",
8619
+ "fieldName": "disabled"
8632
8620
  },
8633
8621
  {
8634
- "kind": "method",
8635
- "name": "calcHasOnlyOneTextDisplayChild",
8636
- "privacy": "protected"
8622
+ "name": "placeholder",
8623
+ "type": {
8624
+ "text": "string"
8625
+ },
8626
+ "default": "'Make a selection'",
8627
+ "description": "The placeholder of the select-menu",
8628
+ "fieldName": "placeholder"
8629
+ },
8630
+ {
8631
+ "name": "light-theme",
8632
+ "type": {
8633
+ "text": "boolean"
8634
+ },
8635
+ "default": "false",
8636
+ "fieldName": "lightTheme"
8637
8637
  }
8638
8638
  ],
8639
8639
  "superclass": {
8640
8640
  "name": "LitElement",
8641
8641
  "package": "lit"
8642
8642
  },
8643
- "tagName": "discord-section-components",
8643
+ "tagName": "discord-string-select-menu",
8644
8644
  "customElement": true
8645
8645
  }
8646
8646
  ],
8647
8647
  "exports": [
8648
8648
  {
8649
8649
  "kind": "js",
8650
- "name": "DiscordSectionComponents",
8650
+ "name": "DiscordStringSelectMenu",
8651
8651
  "declaration": {
8652
- "name": "DiscordSectionComponents",
8653
- "module": "src/components/discord-section-components/DiscordSectionComponents.ts"
8652
+ "name": "DiscordStringSelectMenu",
8653
+ "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
8654
8654
  }
8655
8655
  },
8656
8656
  {
8657
8657
  "kind": "custom-element-definition",
8658
- "name": "discord-section-components",
8658
+ "name": "discord-string-select-menu",
8659
8659
  "declaration": {
8660
- "name": "DiscordSectionComponents",
8661
- "module": "src/components/discord-section-components/DiscordSectionComponents.ts"
8660
+ "name": "DiscordStringSelectMenu",
8661
+ "module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
8662
8662
  }
8663
8663
  }
8664
8664
  ]
@@ -8810,64 +8810,6 @@
8810
8810
  }
8811
8811
  ]
8812
8812
  },
8813
- {
8814
- "kind": "javascript-module",
8815
- "path": "src/components/discord-subscript/DiscordSubscript.ts",
8816
- "declarations": [
8817
- {
8818
- "kind": "class",
8819
- "description": "",
8820
- "name": "DiscordSubscript",
8821
- "members": [
8822
- {
8823
- "kind": "field",
8824
- "name": "lightTheme",
8825
- "type": {
8826
- "text": "boolean"
8827
- },
8828
- "privacy": "public",
8829
- "default": "false",
8830
- "attribute": "light-theme",
8831
- "reflects": true
8832
- }
8833
- ],
8834
- "attributes": [
8835
- {
8836
- "name": "light-theme",
8837
- "type": {
8838
- "text": "boolean"
8839
- },
8840
- "default": "false",
8841
- "fieldName": "lightTheme"
8842
- }
8843
- ],
8844
- "superclass": {
8845
- "name": "LitElement",
8846
- "package": "lit"
8847
- },
8848
- "tagName": "discord-subscript",
8849
- "customElement": true
8850
- }
8851
- ],
8852
- "exports": [
8853
- {
8854
- "kind": "js",
8855
- "name": "DiscordSubscript",
8856
- "declaration": {
8857
- "name": "DiscordSubscript",
8858
- "module": "src/components/discord-subscript/DiscordSubscript.ts"
8859
- }
8860
- },
8861
- {
8862
- "kind": "custom-element-definition",
8863
- "name": "discord-subscript",
8864
- "declaration": {
8865
- "name": "DiscordSubscript",
8866
- "module": "src/components/discord-subscript/DiscordSubscript.ts"
8867
- }
8868
- }
8869
- ]
8870
- },
8871
8813
  {
8872
8814
  "kind": "javascript-module",
8873
8815
  "path": "src/components/discord-system-message/DiscordSystemMessage.ts",
@@ -9012,6 +8954,64 @@
9012
8954
  }
9013
8955
  ]
9014
8956
  },
8957
+ {
8958
+ "kind": "javascript-module",
8959
+ "path": "src/components/discord-subscript/DiscordSubscript.ts",
8960
+ "declarations": [
8961
+ {
8962
+ "kind": "class",
8963
+ "description": "",
8964
+ "name": "DiscordSubscript",
8965
+ "members": [
8966
+ {
8967
+ "kind": "field",
8968
+ "name": "lightTheme",
8969
+ "type": {
8970
+ "text": "boolean"
8971
+ },
8972
+ "privacy": "public",
8973
+ "default": "false",
8974
+ "attribute": "light-theme",
8975
+ "reflects": true
8976
+ }
8977
+ ],
8978
+ "attributes": [
8979
+ {
8980
+ "name": "light-theme",
8981
+ "type": {
8982
+ "text": "boolean"
8983
+ },
8984
+ "default": "false",
8985
+ "fieldName": "lightTheme"
8986
+ }
8987
+ ],
8988
+ "superclass": {
8989
+ "name": "LitElement",
8990
+ "package": "lit"
8991
+ },
8992
+ "tagName": "discord-subscript",
8993
+ "customElement": true
8994
+ }
8995
+ ],
8996
+ "exports": [
8997
+ {
8998
+ "kind": "js",
8999
+ "name": "DiscordSubscript",
9000
+ "declaration": {
9001
+ "name": "DiscordSubscript",
9002
+ "module": "src/components/discord-subscript/DiscordSubscript.ts"
9003
+ }
9004
+ },
9005
+ {
9006
+ "kind": "custom-element-definition",
9007
+ "name": "discord-subscript",
9008
+ "declaration": {
9009
+ "name": "DiscordSubscript",
9010
+ "module": "src/components/discord-subscript/DiscordSubscript.ts"
9011
+ }
9012
+ }
9013
+ ]
9014
+ },
9015
9015
  {
9016
9016
  "kind": "javascript-module",
9017
9017
  "path": "src/components/discord-tenor-video/DiscordTenorVideo.ts",
@@ -9105,6 +9105,42 @@
9105
9105
  }
9106
9106
  ]
9107
9107
  },
9108
+ {
9109
+ "kind": "javascript-module",
9110
+ "path": "src/components/discord-text-display/DiscordTextDisplay.ts",
9111
+ "declarations": [
9112
+ {
9113
+ "kind": "class",
9114
+ "description": "",
9115
+ "name": "DiscordTextDisplay",
9116
+ "members": [],
9117
+ "superclass": {
9118
+ "name": "LitElement",
9119
+ "package": "lit"
9120
+ },
9121
+ "tagName": "discord-text-display",
9122
+ "customElement": true
9123
+ }
9124
+ ],
9125
+ "exports": [
9126
+ {
9127
+ "kind": "js",
9128
+ "name": "DiscordTextDisplay",
9129
+ "declaration": {
9130
+ "name": "DiscordTextDisplay",
9131
+ "module": "src/components/discord-text-display/DiscordTextDisplay.ts"
9132
+ }
9133
+ },
9134
+ {
9135
+ "kind": "custom-element-definition",
9136
+ "name": "discord-text-display",
9137
+ "declaration": {
9138
+ "name": "DiscordTextDisplay",
9139
+ "module": "src/components/discord-text-display/DiscordTextDisplay.ts"
9140
+ }
9141
+ }
9142
+ ]
9143
+ },
9108
9144
  {
9109
9145
  "kind": "javascript-module",
9110
9146
  "path": "src/components/discord-text-file-attachment-previewer/DiscordTextFileAttachmentPreviewer.ts",
@@ -9352,77 +9388,41 @@
9352
9388
  "type": {
9353
9389
  "text": "string"
9354
9390
  },
9355
- "description": "The URL to the file, this is passed to `<discord-link>`",
9356
- "fieldName": "href"
9357
- },
9358
- {
9359
- "name": "light-theme",
9360
- "type": {
9361
- "text": "boolean"
9362
- },
9363
- "default": "false",
9364
- "fieldName": "lightTheme"
9365
- }
9366
- ],
9367
- "superclass": {
9368
- "name": "LitElement",
9369
- "package": "lit"
9370
- },
9371
- "tagName": "discord-text-file-attachment-previewer",
9372
- "customElement": true
9373
- }
9374
- ],
9375
- "exports": [
9376
- {
9377
- "kind": "js",
9378
- "name": "DiscordTextFileAttachmentPreviewer",
9379
- "declaration": {
9380
- "name": "DiscordTextFileAttachmentPreviewer",
9381
- "module": "src/components/discord-text-file-attachment-previewer/DiscordTextFileAttachmentPreviewer.ts"
9382
- }
9383
- },
9384
- {
9385
- "kind": "custom-element-definition",
9386
- "name": "discord-text-file-attachment-previewer",
9387
- "declaration": {
9388
- "name": "DiscordTextFileAttachmentPreviewer",
9389
- "module": "src/components/discord-text-file-attachment-previewer/DiscordTextFileAttachmentPreviewer.ts"
9390
- }
9391
- }
9392
- ]
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": [],
9391
+ "description": "The URL to the file, this is passed to `<discord-link>`",
9392
+ "fieldName": "href"
9393
+ },
9394
+ {
9395
+ "name": "light-theme",
9396
+ "type": {
9397
+ "text": "boolean"
9398
+ },
9399
+ "default": "false",
9400
+ "fieldName": "lightTheme"
9401
+ }
9402
+ ],
9403
9403
  "superclass": {
9404
9404
  "name": "LitElement",
9405
9405
  "package": "lit"
9406
9406
  },
9407
- "tagName": "discord-text-display",
9407
+ "tagName": "discord-text-file-attachment-previewer",
9408
9408
  "customElement": true
9409
9409
  }
9410
9410
  ],
9411
9411
  "exports": [
9412
9412
  {
9413
9413
  "kind": "js",
9414
- "name": "DiscordTextDisplay",
9414
+ "name": "DiscordTextFileAttachmentPreviewer",
9415
9415
  "declaration": {
9416
- "name": "DiscordTextDisplay",
9417
- "module": "src/components/discord-text-display/DiscordTextDisplay.ts"
9416
+ "name": "DiscordTextFileAttachmentPreviewer",
9417
+ "module": "src/components/discord-text-file-attachment-previewer/DiscordTextFileAttachmentPreviewer.ts"
9418
9418
  }
9419
9419
  },
9420
9420
  {
9421
9421
  "kind": "custom-element-definition",
9422
- "name": "discord-text-display",
9422
+ "name": "discord-text-file-attachment-previewer",
9423
9423
  "declaration": {
9424
- "name": "DiscordTextDisplay",
9425
- "module": "src/components/discord-text-display/DiscordTextDisplay.ts"
9424
+ "name": "DiscordTextFileAttachmentPreviewer",
9425
+ "module": "src/components/discord-text-file-attachment-previewer/DiscordTextFileAttachmentPreviewer.ts"
9426
9426
  }
9427
9427
  }
9428
9428
  ]
@@ -9999,80 +9999,137 @@
9999
9999
  },
10000
10000
  {
10001
10001
  "kind": "javascript-module",
10002
- "path": "src/components/discord-verified-author-tag/DiscordVerifiedAuthorTag.ts",
10002
+ "path": "src/components/discord-transcript-header/DiscordTranscriptHeader.ts",
10003
10003
  "declarations": [
10004
10004
  {
10005
10005
  "kind": "class",
10006
10006
  "description": "",
10007
- "name": "DiscordVerifiedAuthorTag",
10007
+ "name": "DiscordTranscriptHeader",
10008
10008
  "members": [
10009
10009
  {
10010
10010
  "kind": "field",
10011
- "name": "verified",
10011
+ "name": "guild",
10012
10012
  "type": {
10013
- "text": "boolean"
10013
+ "text": "string"
10014
10014
  },
10015
10015
  "privacy": "public",
10016
- "default": "false",
10017
- "description": "Whether this bot is verified by Discord. Only works if `bot` is `true`",
10018
- "attribute": "verified"
10016
+ "description": "The guild name",
10017
+ "attribute": "guild",
10018
+ "reflects": true
10019
10019
  },
10020
10020
  {
10021
10021
  "kind": "field",
10022
- "name": "compactMode",
10022
+ "name": "channel",
10023
10023
  "type": {
10024
- "text": "boolean"
10024
+ "text": "string"
10025
10025
  },
10026
10026
  "privacy": "public",
10027
- "default": "false",
10028
- "description": "Whether to reverse the order of the author info for compact mode.",
10029
- "attribute": "compact-mode",
10027
+ "description": "The name of the channel",
10028
+ "attribute": "channel",
10029
+ "reflects": true
10030
+ },
10031
+ {
10032
+ "kind": "field",
10033
+ "name": "icon",
10034
+ "type": {
10035
+ "text": "string | undefined"
10036
+ },
10037
+ "privacy": "public",
10038
+ "description": "The icon to display.",
10039
+ "attribute": "icon",
10030
10040
  "reflects": true
10041
+ },
10042
+ {
10043
+ "kind": "method",
10044
+ "name": "getLettersName",
10045
+ "privacy": "public"
10031
10046
  }
10032
10047
  ],
10033
10048
  "attributes": [
10034
10049
  {
10035
- "name": "verified",
10050
+ "name": "guild",
10036
10051
  "type": {
10037
- "text": "boolean"
10052
+ "text": "string"
10038
10053
  },
10039
- "default": "false",
10040
- "description": "Whether this bot is verified by Discord. Only works if `bot` is `true`",
10041
- "fieldName": "verified"
10054
+ "description": "The guild name",
10055
+ "fieldName": "guild"
10042
10056
  },
10043
10057
  {
10044
- "name": "compact-mode",
10058
+ "name": "channel",
10045
10059
  "type": {
10046
- "text": "boolean"
10060
+ "text": "string"
10047
10061
  },
10048
- "default": "false",
10049
- "description": "Whether to reverse the order of the author info for compact mode.",
10050
- "fieldName": "compactMode"
10062
+ "description": "The name of the channel",
10063
+ "fieldName": "channel"
10064
+ },
10065
+ {
10066
+ "name": "icon",
10067
+ "type": {
10068
+ "text": "string | undefined"
10069
+ },
10070
+ "description": "The icon to display.",
10071
+ "fieldName": "icon"
10051
10072
  }
10052
10073
  ],
10053
10074
  "superclass": {
10054
10075
  "name": "LitElement",
10055
10076
  "package": "lit"
10056
10077
  },
10057
- "tagName": "discord-verified-author-tag",
10078
+ "tagName": "discord-transcript-header",
10058
10079
  "customElement": true
10059
10080
  }
10060
10081
  ],
10061
10082
  "exports": [
10062
10083
  {
10063
10084
  "kind": "js",
10064
- "name": "DiscordVerifiedAuthorTag",
10085
+ "name": "DiscordTranscriptHeader",
10065
10086
  "declaration": {
10066
- "name": "DiscordVerifiedAuthorTag",
10067
- "module": "src/components/discord-verified-author-tag/DiscordVerifiedAuthorTag.ts"
10087
+ "name": "DiscordTranscriptHeader",
10088
+ "module": "src/components/discord-transcript-header/DiscordTranscriptHeader.ts"
10068
10089
  }
10069
10090
  },
10070
10091
  {
10071
10092
  "kind": "custom-element-definition",
10072
- "name": "discord-verified-author-tag",
10093
+ "name": "discord-transcript-header",
10073
10094
  "declaration": {
10074
- "name": "DiscordVerifiedAuthorTag",
10075
- "module": "src/components/discord-verified-author-tag/DiscordVerifiedAuthorTag.ts"
10095
+ "name": "DiscordTranscriptHeader",
10096
+ "module": "src/components/discord-transcript-header/DiscordTranscriptHeader.ts"
10097
+ }
10098
+ }
10099
+ ]
10100
+ },
10101
+ {
10102
+ "kind": "javascript-module",
10103
+ "path": "src/components/discord-underlined/DiscordUnderlined.ts",
10104
+ "declarations": [
10105
+ {
10106
+ "kind": "class",
10107
+ "description": "",
10108
+ "name": "DiscordUnderlined",
10109
+ "members": [],
10110
+ "superclass": {
10111
+ "name": "LitElement",
10112
+ "package": "lit"
10113
+ },
10114
+ "tagName": "discord-underlined",
10115
+ "customElement": true
10116
+ }
10117
+ ],
10118
+ "exports": [
10119
+ {
10120
+ "kind": "js",
10121
+ "name": "DiscordUnderlined",
10122
+ "declaration": {
10123
+ "name": "DiscordUnderlined",
10124
+ "module": "src/components/discord-underlined/DiscordUnderlined.ts"
10125
+ }
10126
+ },
10127
+ {
10128
+ "kind": "custom-element-definition",
10129
+ "name": "discord-underlined",
10130
+ "declaration": {
10131
+ "name": "DiscordUnderlined",
10132
+ "module": "src/components/discord-underlined/DiscordUnderlined.ts"
10076
10133
  }
10077
10134
  }
10078
10135
  ]
@@ -10144,101 +10201,80 @@
10144
10201
  },
10145
10202
  {
10146
10203
  "kind": "javascript-module",
10147
- "path": "src/components/discord-transcript-header/DiscordTranscriptHeader.ts",
10204
+ "path": "src/components/discord-verified-author-tag/DiscordVerifiedAuthorTag.ts",
10148
10205
  "declarations": [
10149
10206
  {
10150
10207
  "kind": "class",
10151
10208
  "description": "",
10152
- "name": "DiscordTranscriptHeader",
10209
+ "name": "DiscordVerifiedAuthorTag",
10153
10210
  "members": [
10154
10211
  {
10155
10212
  "kind": "field",
10156
- "name": "guild",
10157
- "type": {
10158
- "text": "string"
10159
- },
10160
- "privacy": "public",
10161
- "description": "The guild name",
10162
- "attribute": "guild",
10163
- "reflects": true
10164
- },
10165
- {
10166
- "kind": "field",
10167
- "name": "channel",
10213
+ "name": "verified",
10168
10214
  "type": {
10169
- "text": "string"
10215
+ "text": "boolean"
10170
10216
  },
10171
10217
  "privacy": "public",
10172
- "description": "The name of the channel",
10173
- "attribute": "channel",
10174
- "reflects": true
10218
+ "default": "false",
10219
+ "description": "Whether this bot is verified by Discord. Only works if `bot` is `true`",
10220
+ "attribute": "verified"
10175
10221
  },
10176
10222
  {
10177
10223
  "kind": "field",
10178
- "name": "icon",
10224
+ "name": "compactMode",
10179
10225
  "type": {
10180
- "text": "string | undefined"
10226
+ "text": "boolean"
10181
10227
  },
10182
10228
  "privacy": "public",
10183
- "description": "The icon to display.",
10184
- "attribute": "icon",
10229
+ "default": "false",
10230
+ "description": "Whether to reverse the order of the author info for compact mode.",
10231
+ "attribute": "compact-mode",
10185
10232
  "reflects": true
10186
- },
10187
- {
10188
- "kind": "method",
10189
- "name": "getLettersName",
10190
- "privacy": "public"
10191
10233
  }
10192
10234
  ],
10193
10235
  "attributes": [
10194
10236
  {
10195
- "name": "guild",
10196
- "type": {
10197
- "text": "string"
10198
- },
10199
- "description": "The guild name",
10200
- "fieldName": "guild"
10201
- },
10202
- {
10203
- "name": "channel",
10237
+ "name": "verified",
10204
10238
  "type": {
10205
- "text": "string"
10239
+ "text": "boolean"
10206
10240
  },
10207
- "description": "The name of the channel",
10208
- "fieldName": "channel"
10241
+ "default": "false",
10242
+ "description": "Whether this bot is verified by Discord. Only works if `bot` is `true`",
10243
+ "fieldName": "verified"
10209
10244
  },
10210
10245
  {
10211
- "name": "icon",
10246
+ "name": "compact-mode",
10212
10247
  "type": {
10213
- "text": "string | undefined"
10248
+ "text": "boolean"
10214
10249
  },
10215
- "description": "The icon to display.",
10216
- "fieldName": "icon"
10250
+ "default": "false",
10251
+ "description": "Whether to reverse the order of the author info for compact mode.",
10252
+ "fieldName": "compactMode"
10217
10253
  }
10218
10254
  ],
10219
10255
  "superclass": {
10220
10256
  "name": "LitElement",
10221
10257
  "package": "lit"
10222
10258
  },
10223
- "tagName": "discord-transcript-header",
10259
+ "tagName": "discord-verified-author-tag",
10224
10260
  "customElement": true
10225
10261
  }
10226
10262
  ],
10227
10263
  "exports": [
10228
10264
  {
10229
10265
  "kind": "js",
10230
- "name": "DiscordTranscriptHeader",
10266
+ "name": "DiscordVerifiedAuthorTag",
10231
10267
  "declaration": {
10232
- "name": "DiscordTranscriptHeader",
10233
- "module": "src/components/discord-transcript-header/DiscordTranscriptHeader.ts"
10268
+ "name": "DiscordVerifiedAuthorTag",
10269
+ "module": "src/components/discord-verified-author-tag/DiscordVerifiedAuthorTag.ts"
10234
10270
  }
10235
10271
  },
10236
10272
  {
10237
10273
  "kind": "custom-element-definition",
10238
- "name": "discord-transcript-header",
10274
+ "name": "discord-verified-author-tag",
10239
10275
  "declaration": {
10240
- "name": "DiscordTranscriptHeader",
10241
- "module": "src/components/discord-transcript-header/DiscordTranscriptHeader.ts"
10276
+ "name": "DiscordVerifiedAuthorTag",
10277
+ "module": "src/components/discord-verified-author-tag/DiscordVerifiedAuthorTag.ts"
10242
10278
  }
10243
10279
  }
10244
10280
  ]
@@ -10827,42 +10863,6 @@
10827
10863
  }
10828
10864
  ]
10829
10865
  },
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
- },
10866
10866
  {
10867
10867
  "kind": "javascript-module",
10868
10868
  "path": "src/components/discord-voice-message/DiscordVoiceMessage.ts",