bump to v1.13.1
This commit is contained in:
parent
a748ad2085
commit
1d1e5f3756
4 changed files with 9 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "vencord",
|
||||
"private": "true",
|
||||
"version": "1.13.0",
|
||||
"version": "1.13.1",
|
||||
"description": "The cutest Discord client mod",
|
||||
"homepage": "https://github.com/Vendicated/Vencord#readme",
|
||||
"bugs": {
|
||||
|
|
|
|||
|
|
@ -11,6 +11,12 @@
|
|||
}
|
||||
}
|
||||
|
||||
.vc-form-switch-disabled {
|
||||
opacity: 0.5;
|
||||
pointer-events: none;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.vc-form-switch-text {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ export interface FormSwitchProps {
|
|||
export function FormSwitch({ onChange, title, value, description, disabled, className, hideBorder }: FormSwitchProps) {
|
||||
return (
|
||||
<div className="vc-form-switch-wrapper">
|
||||
<div className={classes("vc-form-switch", className)}>
|
||||
<div className={classes("vc-form-switch", className, disabled && "vc-form-switch-disabled")}>
|
||||
<div className={"vc-form-switch-text"}>
|
||||
<Text variant="text-md/medium">{title}</Text>
|
||||
{description && <Text variant="text-sm/normal">{description}</Text>}
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ export const Forms = {
|
|||
export const Card = waitForComponent<t.Card>("Card", filters.componentByCode(".editable),", ".outline:"));
|
||||
export const Button = waitForComponent<t.Button>("Button", filters.componentByCode("#{intl::A11Y_LOADING_STARTED}))),!1"));
|
||||
/** @deprecated Use FormSwitch from Vencord */
|
||||
export const Switch = FormSwitchCompat;
|
||||
export const Switch = FormSwitchCompat as never;
|
||||
export const Checkbox = waitForComponent<t.Checkbox>("Checkbox", filters.componentByCode(".checkboxWrapperDisabled:"));
|
||||
|
||||
const Tooltips = mapMangledModuleLazy(".tooltipTop,bottom:", {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue