This commit is contained in:
Mirco Wittrien 2022-10-02 16:49:10 +02:00
parent 7dedd938b0
commit 1ada2bc90c
5 changed files with 21 additions and 15 deletions

View File

@ -5080,8 +5080,8 @@ module.exports = (_ => {
style: this.props.style,
rel: this.props.rel,
children: [
this.props.submitting && !this.props.disabled ? BDFDB.ReactUtils.createElement(Internal.LibraryComponents.Spinner, {
type: Internal.LibraryComponents.Spinner.Type.PULSING_ELLIPSIS,
this.props.submitting && !this.props.disabled ? BDFDB.ReactUtils.createElement(Internal.LibraryComponents.SpinnerComponents.Spinner, {
type: Internal.LibraryComponents.SpinnerComponents.Types.PULSING_ELLIPSIS,
className: BDFDB.disCN.buttonspinner,
itemClassName: BDFDB.disCN.buttonspinneritem
}) : null,

View File

@ -456,11 +456,14 @@
}},
"Paginator": {"strings": ["totalPageCount", "selectedPage"]},
"PanelButton": {"strings": ["Masks.PANEL_BUTTON"]},
"PopoutCSSAnimator": {"name": "PopoutCSSAnimator"},
"PopoutFocusLock": {"strings": ["useFocusLock", "useImperativeHandle"], "value": "default"},
"PopoutFocusLock": {"strings": ["impressionName", "useImperativeHandle"], "funcStrings": ["{}"]},
"PrivateChannelItems": {"props": ["DirectMessage", "GroupDM"]},
"QuickSwitchItems": {"props": ["Channel", "GroupDM", "Header"]},
"RoleMention": {"strings": ["rolePopout", "RoleMention"], "value": "default"},
"PrivateChannelItems": {"strings": ["handleCloseButtonMouseDown", "LEAVE_GROUP_DM_MANAGED_BODY"], "exported": false, "value": "exports", "map": {
"DirectMessage": ["getUser", "getRecipientId"],
"GroupDM": [".getGuildId"],
"LinkButton": [".apply(this"]
}},
"RoleMention": {"strings": ["rolePopout", "inlinePreview"], "funcStrings": ["inlinePreview"]}
"Scrollers": {
"children": {
"Auto": {"props": ["AdvancedScrollerThin", "AdvancedScrollerAuto"], "value": "AdvancedScrollerAuto"},
@ -468,7 +471,10 @@
"Thin": {"props": ["AdvancedScrollerThin", "AdvancedScrollerAuto"], "value": "AdvancedScrollerThin"}
}
},
"Spinner": {"name": "Spinner"},
"SpinnerComponents": {"strings": ["WANDERING_CUBES", "CHASING_DOTS"], "exported": false, "value": "exports", "map": {
"Types": ["WANDERING_CUBES", "CHASING_DOTS"],
"Spinner": ["LOADING"],
}},
"Status": {"name": "Status"},
"StatusPickerPopout": {"strings": ["\"StatusPickerPopout\""], "value": "default"},
"TextElement": {"strings": [".strong,", ".STANDARD"]},

View File

@ -126,8 +126,8 @@ module.exports = (_ => {
_this.switchImages(this.props.modalInstance, this.props.offset);
},
children: [
this.props.loadedImage || BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Spinner, {
type: BDFDB.LibraryComponents.Spinner.Type.SPINNING_CIRCLE
this.props.loadedImage || BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SpinnerComponents.Spinner, {
type: BDFDB.LibraryComponents.SpinnerComponents.Types.SPINNING_CIRCLE
}),
BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SvgIcon, {
className: BDFDB.disCNS._imageutilitiesswitchicon + BDFDB.disCN.svgicon,

View File

@ -170,8 +170,8 @@ module.exports = (_ => {
justify: BDFDB.LibraryComponents.Flex.Justify.CENTER,
style: {marginTop: "50%"},
children: [
BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Spinner, {
type: BDFDB.LibraryComponents.Spinner.Type.WANDERING_CUBES
BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SpinnerComponents.Spinner, {
type: BDFDB.LibraryComponents.SpinnerComponents.Types.WANDERING_CUBES
}),
BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.TextElement, {
className: BDFDB.disCN.margintop20,

View File

@ -208,8 +208,8 @@ module.exports = (_ => {
justify: BDFDB.LibraryComponents.Flex.Justify.CENTER,
style: {marginTop: "50%"},
children: [
BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Spinner, {
type: BDFDB.LibraryComponents.Spinner.Type.WANDERING_CUBES
BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SpinnerComponents.Spinner, {
type: BDFDB.LibraryComponents.SpinnerComponents.Types.WANDERING_CUBES
}),
BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.TextElement, {
className: BDFDB.disCN.margintop20,
@ -255,8 +255,8 @@ module.exports = (_ => {
direction: BDFDB.LibraryComponents.Flex.Direction.VERTICAL,
justify: BDFDB.LibraryComponents.Flex.Justify.CENTER,
style: {marginTop: "50%"},
children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Spinner, {
type: BDFDB.LibraryComponents.Spinner.Type.WANDERING_CUBES
children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SpinnerComponents.Spinner, {
type: BDFDB.LibraryComponents.SpinnerComponents.Types.WANDERING_CUBES
})
}) : [
BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsItem, {