diff --git a/Library/_res/0BDFDB.data.json b/Library/_res/0BDFDB.data.json index b6a6999636..bb835f9194 100644 --- a/Library/_res/0BDFDB.data.json +++ b/Library/_res/0BDFDB.data.json @@ -42,6 +42,7 @@ "AnalyticsSections": ["CHANNEL_LIST", "ACCOUNT_PANEL", "MEMBER_LIST"], "AutocompleterQuerySymbols": ["VOICE_CHANNEL", "TEXT_CHANNEL", "USER", "APPLICATION"], "AutocompleterResultTypes": ["VOICE_CHANNEL", "TEXT_CHANNEL", "USER", "LINK"], + "ChannelTextAreaTypes": ["CREATE_FORUM_POST", "PROFILE_BIO_INPUT", "FORUM_CHANNEL_GUIDELINES"], "ChannelTypes": ["GUILD_TEXT", "GUILD_STORE", "DM"], "ChannelTypeGroups": ["GUILD_TEXTUAL", "GUILD_VOCAL", "ALL_DMS"], "Colors": ["SPOTIFY", "STATUS_RED"], @@ -384,25 +385,34 @@ }, "LibraryComponents": { "Anchor": {"strings": ["anchorUnderlineOnHover", "noreferrer noopener"]}, - "Animations": {"props": ["Controller", "Spring"], "assign": true}, + "Animations": {"props": ["Controller", "Spring"]}, "AppReferencePositionLayer": {"strings": ["\"onMount\"", "\"onUnmount\""], "funcStrings": ["createRef"]}, "Avatars": {"strings": ["\"statusColor\"", "ONLINE", "isMobile"], "exported": false, "value": "exports", "map": { "AnimatedAvatar": ["compare"], "Avatar": ["statusColor"], "Sizes": ["SIZE_32"] }}, - "Badges": {"props": ["IconBadge", "NumberBadge"], "assign": true}, - "ChannelTextAreaTypes": {"props": ["ChatInputTypes"], "value": "ChatInputTypes"}, - "Checkmark": {"name": "Checkmark"}, - "Connectors": {"props": ["Router", "Link"], "assign": true}, - "DiscordTag": {"name": "DiscordTag"}, - "Emoji": {"strings": ["emojiName", "shouldAnimate", "jumboable"], "value": "default"}, - "EmojiButton": {"name": "EmojiButton"}, - "EmojiPicker": {"name": "EmojiPicker"}, + "Badges": {"strings": ["baseShapeRound", "textBadge"], "exported": false, "value": "exports", "map": { + "BadgeShapes": ["baseShapeRoundRight", "baseShapeRoundLeft"], + "IconBadge": [".iconBadge"], + "NumberBadge": [".numberBadge"], + "TextBadge": [".textBadge"] + }}, + "Checkmark": {"strings": ["d:\"M8.99991 16.17L4.82991"]}, + "Emoji": {"strings": ["emojiName", "shouldAnimate", "jumboable"], "funcStrings": ["autoplay"]}, + "EmojiButton": {"strings": ["renderButtonContents", "PickerPerRow", "SELECT_EMOJI"]}, + "EmojiPicker": {"strings": ["emojiSize", "inExpressionPicker", ",emojiPaddingHorizontal:"], "funcStrings": ["compare"]}, "Flex": {"props": ["Wrap", "Direction", "Child"]}, - "FlowerStar": {"name": "FlowerStar"}, - "FocusRingScope": {"props": ["FocusRingScope"], "value": "default"}, - "FormComponents": {"props": ["FormSection", "FormText"], "assign": true}, + "FlowerStar": {"strings": ["flowerStarContainer", "createElement"]}, + "FocusRingScope": {"strings": ["containerRef", "themeOptions", "setContainer"], "exported": false, "value": "exports", "funcStrings": ["themeOptions"]}, + "FormComponents": {"props": ["INPUT_PLACEHOLDER", "LABEL_SELECTED"], "exported": false, "value": "exports", "map": { + "FormDivider": [".divider"], + "FormItem": [".titleClassName", "required"], + "FormNotice": [".iconClassName", ".imageData"], + "FormSection": ["sectionTitle", "titleId"], + "FormText": [".type", ".DEFAULT"], + "FormTitle": [".tag", "variant:\"text"] + }}, "FriendsEmptyState": {"strings": ["FriendsEmptyState", "FriendsSections"], "value": "default"}, "GuildComponents": { "children": { diff --git a/Plugins/ChatAliases/ChatAliases.plugin.js b/Plugins/ChatAliases/ChatAliases.plugin.js index 599d55d5f6..3275be7062 100644 --- a/Plugins/ChatAliases/ChatAliases.plugin.js +++ b/Plugins/ChatAliases/ChatAliases.plugin.js @@ -335,7 +335,7 @@ module.exports = (_ => { BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Anchor, {href: "https://regexr.com/", children: BDFDB.LanguageUtils.LanguageStrings.HELP + "?"}) ] ].map(string => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.FormComponents.FormText, { - type: BDFDB.LibraryComponents.FormComponents.FormTextTypes.DESCRIPTION, + type: BDFDB.LibraryComponents.FormComponents.FormText.Types.DESCRIPTION, children: string })) })); diff --git a/Plugins/ChatFilter/ChatFilter.plugin.js b/Plugins/ChatFilter/ChatFilter.plugin.js index 63a1c56343..50aa9aa7f3 100644 --- a/Plugins/ChatFilter/ChatFilter.plugin.js +++ b/Plugins/ChatFilter/ChatFilter.plugin.js @@ -255,7 +255,7 @@ module.exports = (_ => { BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Anchor, {href: "https://regexr.com/", children: BDFDB.LanguageUtils.LanguageStrings.HELP + "?"}) ], ].map(string => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.FormComponents.FormText, { - type: BDFDB.LibraryComponents.FormComponents.FormTextTypes.DESCRIPTION, + type: BDFDB.LibraryComponents.FormComponents.FormText.Types.DESCRIPTION, children: string })) })); diff --git a/Plugins/CustomQuoter/CustomQuoter.plugin.js b/Plugins/CustomQuoter/CustomQuoter.plugin.js index 674a87956f..957b6cb63d 100644 --- a/Plugins/CustomQuoter/CustomQuoter.plugin.js +++ b/Plugins/CustomQuoter/CustomQuoter.plugin.js @@ -248,7 +248,7 @@ module.exports = (_ => { "$timestamp will be replaced with the Formatted Timestamp of the quoted Message", "$unixTimestamp will be replaced with the Unix Timestamp of the quoted Message" ].map(string => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.FormComponents.FormText, { - type: BDFDB.LibraryComponents.FormComponents.FormTextTypes.DESCRIPTION, + type: BDFDB.LibraryComponents.FormComponents.FormText.Types.DESCRIPTION, children: string })) }));