@penwin/discord-components-core 4.3.7 → 4.3.8

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.
@@ -3936,42 +3936,6 @@
3936
3936
  }
3937
3937
  ]
3938
3938
  },
3939
- {
3940
- "kind": "javascript-module",
3941
- "path": "src/components/discord-embed-fields/DiscordEmbedFields.ts",
3942
- "declarations": [
3943
- {
3944
- "kind": "class",
3945
- "description": "",
3946
- "name": "DiscordEmbedFields",
3947
- "members": [],
3948
- "superclass": {
3949
- "name": "LitElement",
3950
- "package": "lit"
3951
- },
3952
- "tagName": "discord-embed-fields",
3953
- "customElement": true
3954
- }
3955
- ],
3956
- "exports": [
3957
- {
3958
- "kind": "js",
3959
- "name": "DiscordEmbedFields",
3960
- "declaration": {
3961
- "name": "DiscordEmbedFields",
3962
- "module": "src/components/discord-embed-fields/DiscordEmbedFields.ts"
3963
- }
3964
- },
3965
- {
3966
- "kind": "custom-element-definition",
3967
- "name": "discord-embed-fields",
3968
- "declaration": {
3969
- "name": "DiscordEmbedFields",
3970
- "module": "src/components/discord-embed-fields/DiscordEmbedFields.ts"
3971
- }
3972
- }
3973
- ]
3974
- },
3975
3939
  {
3976
3940
  "kind": "javascript-module",
3977
3941
  "path": "src/components/discord-embed-footer/DiscordEmbedFooter.ts",
@@ -4104,6 +4068,42 @@
4104
4068
  }
4105
4069
  ]
4106
4070
  },
4071
+ {
4072
+ "kind": "javascript-module",
4073
+ "path": "src/components/discord-embed-fields/DiscordEmbedFields.ts",
4074
+ "declarations": [
4075
+ {
4076
+ "kind": "class",
4077
+ "description": "",
4078
+ "name": "DiscordEmbedFields",
4079
+ "members": [],
4080
+ "superclass": {
4081
+ "name": "LitElement",
4082
+ "package": "lit"
4083
+ },
4084
+ "tagName": "discord-embed-fields",
4085
+ "customElement": true
4086
+ }
4087
+ ],
4088
+ "exports": [
4089
+ {
4090
+ "kind": "js",
4091
+ "name": "DiscordEmbedFields",
4092
+ "declaration": {
4093
+ "name": "DiscordEmbedFields",
4094
+ "module": "src/components/discord-embed-fields/DiscordEmbedFields.ts"
4095
+ }
4096
+ },
4097
+ {
4098
+ "kind": "custom-element-definition",
4099
+ "name": "discord-embed-fields",
4100
+ "declaration": {
4101
+ "name": "DiscordEmbedFields",
4102
+ "module": "src/components/discord-embed-fields/DiscordEmbedFields.ts"
4103
+ }
4104
+ }
4105
+ ]
4106
+ },
4107
4107
  {
4108
4108
  "kind": "javascript-module",
4109
4109
  "path": "src/components/discord-file-attachment/DiscordFileAttachment.ts",
@@ -9457,7 +9457,39 @@
9457
9457
  "text": "'channel' | 'role' | 'user' | undefined"
9458
9458
  },
9459
9459
  "privacy": "public",
9460
- "attribute": "default-name",
9460
+ "attribute": "default-type",
9461
+ "reflects": true
9462
+ },
9463
+ {
9464
+ "kind": "field",
9465
+ "name": "disabled",
9466
+ "type": {
9467
+ "text": "boolean"
9468
+ },
9469
+ "privacy": "public",
9470
+ "default": "false",
9471
+ "attribute": "disabled",
9472
+ "reflects": true
9473
+ },
9474
+ {
9475
+ "kind": "field",
9476
+ "name": "placeholder",
9477
+ "type": {
9478
+ "text": "string"
9479
+ },
9480
+ "privacy": "public",
9481
+ "default": "'Make a selection'",
9482
+ "attribute": "placeholder"
9483
+ },
9484
+ {
9485
+ "kind": "field",
9486
+ "name": "lightTheme",
9487
+ "type": {
9488
+ "text": "boolean"
9489
+ },
9490
+ "privacy": "public",
9491
+ "default": "false",
9492
+ "attribute": "light-theme",
9461
9493
  "reflects": true
9462
9494
  }
9463
9495
  ],
@@ -9477,11 +9509,35 @@
9477
9509
  "fieldName": "defaultIdentifier"
9478
9510
  },
9479
9511
  {
9480
- "name": "default-name",
9512
+ "name": "default-type",
9481
9513
  "type": {
9482
9514
  "text": "'channel' | 'role' | 'user' | undefined"
9483
9515
  },
9484
9516
  "fieldName": "defaultType"
9517
+ },
9518
+ {
9519
+ "name": "disabled",
9520
+ "type": {
9521
+ "text": "boolean"
9522
+ },
9523
+ "default": "false",
9524
+ "fieldName": "disabled"
9525
+ },
9526
+ {
9527
+ "name": "placeholder",
9528
+ "type": {
9529
+ "text": "string"
9530
+ },
9531
+ "default": "'Make a selection'",
9532
+ "fieldName": "placeholder"
9533
+ },
9534
+ {
9535
+ "name": "light-theme",
9536
+ "type": {
9537
+ "text": "boolean"
9538
+ },
9539
+ "default": "false",
9540
+ "fieldName": "lightTheme"
9485
9541
  }
9486
9542
  ],
9487
9543
  "superclass": {
@@ -10461,104 +10517,6 @@
10461
10517
  }
10462
10518
  ]
10463
10519
  },
10464
- {
10465
- "kind": "javascript-module",
10466
- "path": "src/components/discord-thread/DiscordThread.ts",
10467
- "declarations": [
10468
- {
10469
- "kind": "class",
10470
- "description": "",
10471
- "name": "DiscordThread",
10472
- "members": [
10473
- {
10474
- "kind": "field",
10475
- "name": "name",
10476
- "type": {
10477
- "text": "string"
10478
- },
10479
- "privacy": "public",
10480
- "default": "'Thread'",
10481
- "description": "The name of the thread.",
10482
- "attribute": "name"
10483
- },
10484
- {
10485
- "kind": "field",
10486
- "name": "cta",
10487
- "type": {
10488
- "text": "string"
10489
- },
10490
- "privacy": "public",
10491
- "default": "'See Thread'",
10492
- "description": "The the text within the call to action text. (i.e. 'See Thread' or 'x Messages')",
10493
- "attribute": "cta"
10494
- },
10495
- {
10496
- "kind": "field",
10497
- "name": "lightTheme",
10498
- "type": {
10499
- "text": "boolean"
10500
- },
10501
- "privacy": "public",
10502
- "default": "false",
10503
- "attribute": "light-theme",
10504
- "reflects": true
10505
- }
10506
- ],
10507
- "attributes": [
10508
- {
10509
- "name": "name",
10510
- "type": {
10511
- "text": "string"
10512
- },
10513
- "default": "'Thread'",
10514
- "description": "The name of the thread.",
10515
- "fieldName": "name"
10516
- },
10517
- {
10518
- "name": "cta",
10519
- "type": {
10520
- "text": "string"
10521
- },
10522
- "default": "'See Thread'",
10523
- "description": "The the text within the call to action text. (i.e. 'See Thread' or 'x Messages')",
10524
- "fieldName": "cta"
10525
- },
10526
- {
10527
- "name": "light-theme",
10528
- "type": {
10529
- "text": "boolean"
10530
- },
10531
- "default": "false",
10532
- "fieldName": "lightTheme"
10533
- }
10534
- ],
10535
- "superclass": {
10536
- "name": "LitElement",
10537
- "package": "lit"
10538
- },
10539
- "tagName": "discord-thread",
10540
- "customElement": true
10541
- }
10542
- ],
10543
- "exports": [
10544
- {
10545
- "kind": "js",
10546
- "name": "DiscordThread",
10547
- "declaration": {
10548
- "name": "DiscordThread",
10549
- "module": "src/components/discord-thread/DiscordThread.ts"
10550
- }
10551
- },
10552
- {
10553
- "kind": "custom-element-definition",
10554
- "name": "discord-thread",
10555
- "declaration": {
10556
- "name": "DiscordThread",
10557
- "module": "src/components/discord-thread/DiscordThread.ts"
10558
- }
10559
- }
10560
- ]
10561
- },
10562
10520
  {
10563
10521
  "kind": "javascript-module",
10564
10522
  "path": "src/components/discord-text-file-attachment-previewer/DiscordTextFileAttachmentPreviewer.ts",
@@ -10847,48 +10805,245 @@
10847
10805
  },
10848
10806
  {
10849
10807
  "kind": "javascript-module",
10850
- "path": "src/components/discord-thread-message/DiscordThreadMessage.ts",
10808
+ "path": "src/components/discord-thread/DiscordThread.ts",
10851
10809
  "declarations": [
10852
10810
  {
10853
10811
  "kind": "class",
10854
10812
  "description": "",
10855
- "name": "DiscordThreadMessage",
10813
+ "name": "DiscordThread",
10856
10814
  "members": [
10857
10815
  {
10858
10816
  "kind": "field",
10859
- "name": "profile",
10817
+ "name": "name",
10860
10818
  "type": {
10861
10819
  "text": "string"
10862
10820
  },
10863
10821
  "privacy": "public",
10864
- "description": "The id of the profile data to use.",
10865
- "attribute": "profile"
10822
+ "default": "'Thread'",
10823
+ "description": "The name of the thread.",
10824
+ "attribute": "name"
10866
10825
  },
10867
10826
  {
10868
10827
  "kind": "field",
10869
- "name": "author",
10828
+ "name": "cta",
10870
10829
  "type": {
10871
10830
  "text": "string"
10872
10831
  },
10873
10832
  "privacy": "public",
10874
- "default": "'User'",
10875
- "description": "The message author's username.",
10876
- "attribute": "author"
10833
+ "default": "'See Thread'",
10834
+ "description": "The the text within the call to action text. (i.e. 'See Thread' or 'x Messages')",
10835
+ "attribute": "cta"
10877
10836
  },
10878
10837
  {
10879
10838
  "kind": "field",
10880
- "name": "avatar",
10839
+ "name": "lightTheme",
10881
10840
  "type": {
10882
- "text": "string"
10841
+ "text": "boolean"
10883
10842
  },
10884
10843
  "privacy": "public",
10885
- "description": "The message author's avatar. Can be an avatar shortcut, relative path, or external link.",
10886
- "attribute": "avatar"
10887
- },
10888
- {
10889
- "kind": "field",
10890
- "name": "bot",
10891
- "type": {
10844
+ "default": "false",
10845
+ "attribute": "light-theme",
10846
+ "reflects": true
10847
+ }
10848
+ ],
10849
+ "attributes": [
10850
+ {
10851
+ "name": "name",
10852
+ "type": {
10853
+ "text": "string"
10854
+ },
10855
+ "default": "'Thread'",
10856
+ "description": "The name of the thread.",
10857
+ "fieldName": "name"
10858
+ },
10859
+ {
10860
+ "name": "cta",
10861
+ "type": {
10862
+ "text": "string"
10863
+ },
10864
+ "default": "'See Thread'",
10865
+ "description": "The the text within the call to action text. (i.e. 'See Thread' or 'x Messages')",
10866
+ "fieldName": "cta"
10867
+ },
10868
+ {
10869
+ "name": "light-theme",
10870
+ "type": {
10871
+ "text": "boolean"
10872
+ },
10873
+ "default": "false",
10874
+ "fieldName": "lightTheme"
10875
+ }
10876
+ ],
10877
+ "superclass": {
10878
+ "name": "LitElement",
10879
+ "package": "lit"
10880
+ },
10881
+ "tagName": "discord-thread",
10882
+ "customElement": true
10883
+ }
10884
+ ],
10885
+ "exports": [
10886
+ {
10887
+ "kind": "js",
10888
+ "name": "DiscordThread",
10889
+ "declaration": {
10890
+ "name": "DiscordThread",
10891
+ "module": "src/components/discord-thread/DiscordThread.ts"
10892
+ }
10893
+ },
10894
+ {
10895
+ "kind": "custom-element-definition",
10896
+ "name": "discord-thread",
10897
+ "declaration": {
10898
+ "name": "DiscordThread",
10899
+ "module": "src/components/discord-thread/DiscordThread.ts"
10900
+ }
10901
+ }
10902
+ ]
10903
+ },
10904
+ {
10905
+ "kind": "javascript-module",
10906
+ "path": "src/components/discord-thumbnail/DiscordThumbnail.ts",
10907
+ "declarations": [
10908
+ {
10909
+ "kind": "class",
10910
+ "description": "",
10911
+ "name": "DiscordThumbnail",
10912
+ "members": [
10913
+ {
10914
+ "kind": "field",
10915
+ "name": "media",
10916
+ "type": {
10917
+ "text": "string"
10918
+ },
10919
+ "privacy": "public",
10920
+ "attribute": "media"
10921
+ },
10922
+ {
10923
+ "kind": "field",
10924
+ "name": "description",
10925
+ "type": {
10926
+ "text": "string"
10927
+ },
10928
+ "privacy": "public",
10929
+ "attribute": "description"
10930
+ },
10931
+ {
10932
+ "kind": "field",
10933
+ "name": "spoiler",
10934
+ "type": {
10935
+ "text": "boolean"
10936
+ },
10937
+ "privacy": "public",
10938
+ "default": "false",
10939
+ "attribute": "spoiler",
10940
+ "reflects": true
10941
+ },
10942
+ {
10943
+ "kind": "field",
10944
+ "name": "isOpen",
10945
+ "type": {
10946
+ "text": "boolean"
10947
+ },
10948
+ "privacy": "private",
10949
+ "default": "false"
10950
+ }
10951
+ ],
10952
+ "attributes": [
10953
+ {
10954
+ "name": "media",
10955
+ "type": {
10956
+ "text": "string"
10957
+ },
10958
+ "fieldName": "media"
10959
+ },
10960
+ {
10961
+ "name": "description",
10962
+ "type": {
10963
+ "text": "string"
10964
+ },
10965
+ "fieldName": "description"
10966
+ },
10967
+ {
10968
+ "name": "spoiler",
10969
+ "type": {
10970
+ "text": "boolean"
10971
+ },
10972
+ "default": "false",
10973
+ "fieldName": "spoiler"
10974
+ }
10975
+ ],
10976
+ "superclass": {
10977
+ "name": "LitElement",
10978
+ "package": "lit"
10979
+ },
10980
+ "tagName": "discord-thumbnail",
10981
+ "customElement": true
10982
+ }
10983
+ ],
10984
+ "exports": [
10985
+ {
10986
+ "kind": "js",
10987
+ "name": "DiscordThumbnail",
10988
+ "declaration": {
10989
+ "name": "DiscordThumbnail",
10990
+ "module": "src/components/discord-thumbnail/DiscordThumbnail.ts"
10991
+ }
10992
+ },
10993
+ {
10994
+ "kind": "custom-element-definition",
10995
+ "name": "discord-thumbnail",
10996
+ "declaration": {
10997
+ "name": "DiscordThumbnail",
10998
+ "module": "src/components/discord-thumbnail/DiscordThumbnail.ts"
10999
+ }
11000
+ }
11001
+ ]
11002
+ },
11003
+ {
11004
+ "kind": "javascript-module",
11005
+ "path": "src/components/discord-thread-message/DiscordThreadMessage.ts",
11006
+ "declarations": [
11007
+ {
11008
+ "kind": "class",
11009
+ "description": "",
11010
+ "name": "DiscordThreadMessage",
11011
+ "members": [
11012
+ {
11013
+ "kind": "field",
11014
+ "name": "profile",
11015
+ "type": {
11016
+ "text": "string"
11017
+ },
11018
+ "privacy": "public",
11019
+ "description": "The id of the profile data to use.",
11020
+ "attribute": "profile"
11021
+ },
11022
+ {
11023
+ "kind": "field",
11024
+ "name": "author",
11025
+ "type": {
11026
+ "text": "string"
11027
+ },
11028
+ "privacy": "public",
11029
+ "default": "'User'",
11030
+ "description": "The message author's username.",
11031
+ "attribute": "author"
11032
+ },
11033
+ {
11034
+ "kind": "field",
11035
+ "name": "avatar",
11036
+ "type": {
11037
+ "text": "string"
11038
+ },
11039
+ "privacy": "public",
11040
+ "description": "The message author's avatar. Can be an avatar shortcut, relative path, or external link.",
11041
+ "attribute": "avatar"
11042
+ },
11043
+ {
11044
+ "kind": "field",
11045
+ "name": "bot",
11046
+ "type": {
10892
11047
  "text": "boolean"
10893
11048
  },
10894
11049
  "privacy": "public",
@@ -11095,105 +11250,6 @@
11095
11250
  }
11096
11251
  ]
11097
11252
  },
11098
- {
11099
- "kind": "javascript-module",
11100
- "path": "src/components/discord-thumbnail/DiscordThumbnail.ts",
11101
- "declarations": [
11102
- {
11103
- "kind": "class",
11104
- "description": "",
11105
- "name": "DiscordThumbnail",
11106
- "members": [
11107
- {
11108
- "kind": "field",
11109
- "name": "media",
11110
- "type": {
11111
- "text": "string"
11112
- },
11113
- "privacy": "public",
11114
- "attribute": "media"
11115
- },
11116
- {
11117
- "kind": "field",
11118
- "name": "description",
11119
- "type": {
11120
- "text": "string"
11121
- },
11122
- "privacy": "public",
11123
- "attribute": "description"
11124
- },
11125
- {
11126
- "kind": "field",
11127
- "name": "spoiler",
11128
- "type": {
11129
- "text": "boolean"
11130
- },
11131
- "privacy": "public",
11132
- "default": "false",
11133
- "attribute": "spoiler",
11134
- "reflects": true
11135
- },
11136
- {
11137
- "kind": "field",
11138
- "name": "isOpen",
11139
- "type": {
11140
- "text": "boolean"
11141
- },
11142
- "privacy": "private",
11143
- "default": "false"
11144
- }
11145
- ],
11146
- "attributes": [
11147
- {
11148
- "name": "media",
11149
- "type": {
11150
- "text": "string"
11151
- },
11152
- "fieldName": "media"
11153
- },
11154
- {
11155
- "name": "description",
11156
- "type": {
11157
- "text": "string"
11158
- },
11159
- "fieldName": "description"
11160
- },
11161
- {
11162
- "name": "spoiler",
11163
- "type": {
11164
- "text": "boolean"
11165
- },
11166
- "default": "false",
11167
- "fieldName": "spoiler"
11168
- }
11169
- ],
11170
- "superclass": {
11171
- "name": "LitElement",
11172
- "package": "lit"
11173
- },
11174
- "tagName": "discord-thumbnail",
11175
- "customElement": true
11176
- }
11177
- ],
11178
- "exports": [
11179
- {
11180
- "kind": "js",
11181
- "name": "DiscordThumbnail",
11182
- "declaration": {
11183
- "name": "DiscordThumbnail",
11184
- "module": "src/components/discord-thumbnail/DiscordThumbnail.ts"
11185
- }
11186
- },
11187
- {
11188
- "kind": "custom-element-definition",
11189
- "name": "discord-thumbnail",
11190
- "declaration": {
11191
- "name": "DiscordThumbnail",
11192
- "module": "src/components/discord-thumbnail/DiscordThumbnail.ts"
11193
- }
11194
- }
11195
- ]
11196
- },
11197
11253
  {
11198
11254
  "kind": "javascript-module",
11199
11255
  "path": "src/components/discord-time/DiscordTime.ts",