test(switch): update snapshot

This commit is contained in:
07akioni 2021-07-25 00:35:03 +08:00
parent f66287b910
commit b285b374b6

View File

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`n-switch should work with \`size\` prop 1`] = `"--bezier: cubic-bezier(.4, 0, .2, 1); --button-border-radius: 3px; --button-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05); --button-color: #FFF; --button-width: 14px; --button-width-pressed: 20px; --button-height: 14px; --height: 18px; --offset: 2px; --opacity-disabled: 0.5; --rail-border-radius: 3px; --rail-color: rgba(0, 0, 0, .14); --rail-color-active: #18a058; --rail-height: 18px; --rail-width: 32px; --width: 32px; --box-shadow-focus: 0 0 0 2px rgba(24, 160, 88, 0.2);"`;
exports[`n-switch should work with \`size\` prop 1`] = `"--bezier: cubic-bezier(.4, 0, .2, 1); --button-border-radius: 3px; --button-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05); --button-color: #FFF; --button-width: 14px; --button-width-pressed: 20px; --button-height: 14px; --height: 18px; --offset: 2px; --opacity-disabled: 0.5; --rail-border-radius: 3px; --rail-color: rgba(0, 0, 0, .14); --rail-color-active: #18a058; --rail-height: 18px; --rail-width: 32px; --width: 32px; --box-shadow-focus: 0 0 0 2px rgba(24, 160, 88, 0.2); --loading-color: #18a058; --text-color: white;"`;
exports[`n-switch should work with \`size\` prop 2`] = `"--bezier: cubic-bezier(.4, 0, .2, 1); --button-border-radius: 3px; --button-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05); --button-color: #FFF; --button-width: 18px; --button-width-pressed: 24px; --button-height: 18px; --height: 22px; --offset: 2px; --opacity-disabled: 0.5; --rail-border-radius: 3px; --rail-color: rgba(0, 0, 0, .14); --rail-color-active: #18a058; --rail-height: 22px; --rail-width: 40px; --width: 40px; --box-shadow-focus: 0 0 0 2px rgba(24, 160, 88, 0.2);"`;
exports[`n-switch should work with \`size\` prop 2`] = `"--bezier: cubic-bezier(.4, 0, .2, 1); --button-border-radius: 3px; --button-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05); --button-color: #FFF; --button-width: 18px; --button-width-pressed: 24px; --button-height: 18px; --height: 22px; --offset: 2px; --opacity-disabled: 0.5; --rail-border-radius: 3px; --rail-color: rgba(0, 0, 0, .14); --rail-color-active: #18a058; --rail-height: 22px; --rail-width: 40px; --width: 40px; --box-shadow-focus: 0 0 0 2px rgba(24, 160, 88, 0.2); --loading-color: #18a058; --text-color: white;"`;
exports[`n-switch should work with \`size\` prop 3`] = `"--bezier: cubic-bezier(.4, 0, .2, 1); --button-border-radius: 3px; --button-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05); --button-color: #FFF; --button-width: 22px; --button-width-pressed: 28px; --button-height: 22px; --height: 26px; --offset: 2px; --opacity-disabled: 0.5; --rail-border-radius: 3px; --rail-color: rgba(0, 0, 0, .14); --rail-color-active: #18a058; --rail-height: 26px; --rail-width: 48px; --width: 48px; --box-shadow-focus: 0 0 0 2px rgba(24, 160, 88, 0.2);"`;
exports[`n-switch should work with \`size\` prop 3`] = `"--bezier: cubic-bezier(.4, 0, .2, 1); --button-border-radius: 3px; --button-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05); --button-color: #FFF; --button-width: 22px; --button-width-pressed: 28px; --button-height: 22px; --height: 26px; --offset: 2px; --opacity-disabled: 0.5; --rail-border-radius: 3px; --rail-color: rgba(0, 0, 0, .14); --rail-color-active: #18a058; --rail-height: 26px; --rail-width: 48px; --width: 48px; --box-shadow-focus: 0 0 0 2px rgba(24, 160, 88, 0.2); --loading-color: #18a058; --text-color: white;"`;