mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 13:23:34 +00:00
skip tooltip stories in chromatic (#17315)
This commit is contained in:
@@ -78,6 +78,9 @@ export const Default: Story = {
|
|||||||
args: {
|
args: {
|
||||||
tooltipPosition: "above-center",
|
tooltipPosition: "above-center",
|
||||||
},
|
},
|
||||||
|
parameters: {
|
||||||
|
chromatic: { disableSnapshot: true },
|
||||||
|
},
|
||||||
render: (args) => ({
|
render: (args) => ({
|
||||||
props: args,
|
props: args,
|
||||||
template: `
|
template: `
|
||||||
@@ -101,10 +104,10 @@ export const Default: Story = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const AllPositions: Story = {
|
export const AllPositions: Story = {
|
||||||
render: () => ({
|
|
||||||
parameters: {
|
parameters: {
|
||||||
chromatic: { disableSnapshot: true },
|
chromatic: { disableSnapshot: true },
|
||||||
},
|
},
|
||||||
|
render: () => ({
|
||||||
template: `
|
template: `
|
||||||
<div class="tw-p-16 tw-grid tw-grid-cols-2 tw-gap-8 tw-place-items-center">
|
<div class="tw-p-16 tw-grid tw-grid-cols-2 tw-gap-8 tw-place-items-center">
|
||||||
<button
|
<button
|
||||||
@@ -133,10 +136,10 @@ export const AllPositions: Story = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const LongContent: Story = {
|
export const LongContent: Story = {
|
||||||
render: () => ({
|
|
||||||
parameters: {
|
parameters: {
|
||||||
chromatic: { disableSnapshot: true },
|
chromatic: { disableSnapshot: true },
|
||||||
},
|
},
|
||||||
|
render: () => ({
|
||||||
template: `
|
template: `
|
||||||
<div class="tw-p-16 tw-flex tw-items-center tw-justify-center">
|
<div class="tw-p-16 tw-flex tw-items-center tw-justify-center">
|
||||||
<button
|
<button
|
||||||
@@ -149,10 +152,10 @@ export const LongContent: Story = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const OnDisabledButton: Story = {
|
export const OnDisabledButton: Story = {
|
||||||
render: () => ({
|
|
||||||
parameters: {
|
parameters: {
|
||||||
chromatic: { disableSnapshot: true },
|
chromatic: { disableSnapshot: true },
|
||||||
},
|
},
|
||||||
|
render: () => ({
|
||||||
template: `
|
template: `
|
||||||
<div class="tw-p-16 tw-flex tw-items-center tw-justify-center">
|
<div class="tw-p-16 tw-flex tw-items-center tw-justify-center">
|
||||||
<button
|
<button
|
||||||
@@ -166,10 +169,10 @@ export const OnDisabledButton: Story = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const OnNonIconButton: Story = {
|
export const OnNonIconButton: Story = {
|
||||||
render: () => ({
|
|
||||||
parameters: {
|
parameters: {
|
||||||
chromatic: { disableSnapshot: true },
|
chromatic: { disableSnapshot: true },
|
||||||
},
|
},
|
||||||
|
render: () => ({
|
||||||
template: `
|
template: `
|
||||||
<div class="tw-p-16 tw-flex tw-items-center tw-justify-center">
|
<div class="tw-p-16 tw-flex tw-items-center tw-justify-center">
|
||||||
<button
|
<button
|
||||||
|
|||||||
Reference in New Issue
Block a user