{story()}
const config: Meta = {
title: 'web/site-admin/webhooks/MessagePanel',
decorators: [decorator],
- parameters: {
- chromatic: {
- viewports: [576, 1440],
- },
- },
+ parameters: {},
}
export default config
diff --git a/client/web/src/site-admin/webhooks/PerformanceGauge.story.tsx b/client/web/src/site-admin/webhooks/PerformanceGauge.story.tsx
index 90cc4176c42..8d6d9e51038 100644
--- a/client/web/src/site-admin/webhooks/PerformanceGauge.story.tsx
+++ b/client/web/src/site-admin/webhooks/PerformanceGauge.story.tsx
@@ -9,11 +9,7 @@ const decorator: Decorator = story =>
{story()}
const config: Meta = {
title: 'web/site-admin/webhooks/PerformanceGauge',
- parameters: {
- chromatic: {
- viewports: [576],
- },
- },
+ parameters: {},
decorators: [decorator],
}
diff --git a/client/web/src/site-admin/webhooks/StatusCode.story.tsx b/client/web/src/site-admin/webhooks/StatusCode.story.tsx
index c629645cadd..b5ada1fb201 100644
--- a/client/web/src/site-admin/webhooks/StatusCode.story.tsx
+++ b/client/web/src/site-admin/webhooks/StatusCode.story.tsx
@@ -8,11 +8,7 @@ const decorator: Decorator = story =>
{story()}
const config: Meta = {
title: 'web/site-admin/webhooks/StatusCode',
- parameters: {
- chromatic: {
- viewports: [576],
- },
- },
+ parameters: {},
decorators: [decorator],
}
diff --git a/client/web/src/site-admin/webhooks/WebhookLogNode.story.tsx b/client/web/src/site-admin/webhooks/WebhookLogNode.story.tsx
index fccf0dcdc4a..d0732c85890 100644
--- a/client/web/src/site-admin/webhooks/WebhookLogNode.story.tsx
+++ b/client/web/src/site-admin/webhooks/WebhookLogNode.story.tsx
@@ -25,11 +25,7 @@ const decorator: Decorator = story => (
const config: Meta = {
title: 'web/site-admin/webhooks/WebhookLogNode',
- parameters: {
- chromatic: {
- viewports: [320, 576, 978, 1440],
- },
- },
+ parameters: {},
decorators: [decorator],
argTypes: {
receivedAt: {
diff --git a/client/web/src/site-admin/webhooks/WebhookLogPageHeader.story.tsx b/client/web/src/site-admin/webhooks/WebhookLogPageHeader.story.tsx
index d214b92d967..a481be83b36 100644
--- a/client/web/src/site-admin/webhooks/WebhookLogPageHeader.story.tsx
+++ b/client/web/src/site-admin/webhooks/WebhookLogPageHeader.story.tsx
@@ -18,11 +18,7 @@ const decorator: Decorator = story => (
const config: Meta = {
title: 'web/site-admin/webhooks/WebhookLogPageHeader',
- parameters: {
- chromatic: {
- viewports: [320, 576, 978, 1440],
- },
- },
+ parameters: {},
decorators: [decorator],
argTypes: {
externalServiceCount: {
diff --git a/client/web/src/storm/pages/SearchPage/SearchPageContent.story.tsx b/client/web/src/storm/pages/SearchPage/SearchPageContent.story.tsx
index ab89fcd5db8..0fefb653aae 100644
--- a/client/web/src/storm/pages/SearchPage/SearchPageContent.story.tsx
+++ b/client/web/src/storm/pages/SearchPage/SearchPageContent.story.tsx
@@ -15,7 +15,6 @@ const config: Meta = {
type: 'figma',
url: 'https://www.figma.com/file/sPRyyv3nt5h0284nqEuAXE/12192-Sourcegraph-server-page-v1?node-id=255%3A3',
},
- chromatic: { viewports: [544, 577, 769, 993], disableSnapshot: false },
},
}
diff --git a/client/web/src/team/area/TeamChildTeamsPage.story.tsx b/client/web/src/team/area/TeamChildTeamsPage.story.tsx
index d488f13de18..0d6e4491841 100644
--- a/client/web/src/team/area/TeamChildTeamsPage.story.tsx
+++ b/client/web/src/team/area/TeamChildTeamsPage.story.tsx
@@ -12,9 +12,7 @@ import { testContext } from './testContext.mock'
const config: Meta = {
title: 'web/teams/TeamChildTeamsPage',
- parameters: {
- chromatic: { disableSnapshot: false },
- },
+ parameters: {},
}
export default config
diff --git a/client/web/src/team/area/TeamMembersPage.story.tsx b/client/web/src/team/area/TeamMembersPage.story.tsx
index 7da19eb306c..0209395be80 100644
--- a/client/web/src/team/area/TeamMembersPage.story.tsx
+++ b/client/web/src/team/area/TeamMembersPage.story.tsx
@@ -12,9 +12,7 @@ import { testContext } from './testContext.mock'
const config: Meta = {
title: 'web/teams/TeamMembersPage',
- parameters: {
- chromatic: { disableSnapshot: false },
- },
+ parameters: {},
}
export default config
diff --git a/client/web/src/team/area/TeamProfilePage.story.tsx b/client/web/src/team/area/TeamProfilePage.story.tsx
index 15196620854..2667e6db045 100644
--- a/client/web/src/team/area/TeamProfilePage.story.tsx
+++ b/client/web/src/team/area/TeamProfilePage.story.tsx
@@ -7,9 +7,7 @@ import { testContext } from './testContext.mock'
const config: Meta = {
title: 'web/teams/TeamProfilePage',
- parameters: {
- chromatic: { disableSnapshot: false },
- },
+ parameters: {},
}
export default config
diff --git a/client/web/src/team/list/TeamListPage.story.tsx b/client/web/src/team/list/TeamListPage.story.tsx
index bd4b3a5d10f..a7a8926110e 100644
--- a/client/web/src/team/list/TeamListPage.story.tsx
+++ b/client/web/src/team/list/TeamListPage.story.tsx
@@ -12,9 +12,7 @@ import { TeamListPage } from './TeamListPage'
const config: Meta = {
title: 'web/teams/TeamListPage',
- parameters: {
- chromatic: { disableSnapshot: false },
- },
+ parameters: {},
}
export default config
diff --git a/client/web/src/team/new/NewTeamPage.story.tsx b/client/web/src/team/new/NewTeamPage.story.tsx
index 0faaca9f414..fd56115e748 100644
--- a/client/web/src/team/new/NewTeamPage.story.tsx
+++ b/client/web/src/team/new/NewTeamPage.story.tsx
@@ -8,9 +8,7 @@ import { NewTeamPage } from './NewTeamPage'
const config: Meta = {
title: 'web/teams/NewTeamPage',
- parameters: {
- chromatic: { disableSnapshot: false },
- },
+ parameters: {},
}
export default config
diff --git a/client/web/src/tour/components/Tour/Tour.story.tsx b/client/web/src/tour/components/Tour/Tour.story.tsx
index 36cae27ddd3..18cf456bdd0 100644
--- a/client/web/src/tour/components/Tour/Tour.story.tsx
+++ b/client/web/src/tour/components/Tour/Tour.story.tsx
@@ -18,10 +18,6 @@ const config: Meta = {
decorators: [decorator],
parameters: {
component: Tour,
- chromatic: {
- enableDarkMode: true,
- disableSnapshot: false,
- },
},
}
diff --git a/client/wildcard/BUILD.bazel b/client/wildcard/BUILD.bazel
index e531f392019..7606e1a03e5 100644
--- a/client/wildcard/BUILD.bazel
+++ b/client/wildcard/BUILD.bazel
@@ -395,11 +395,9 @@ ts_project(
"src/index.ts",
"src/stories/BrandedStory.tsx",
"src/stories/hooks/index.ts",
- "src/stories/hooks/useChromaticTheme.ts",
"src/stories/hooks/usePrependStyles.ts",
"src/stories/hooks/useStorybookTheme.ts",
"src/stories/index.ts",
- "src/stories/utils/isChromatic.ts",
"src/testing/index.ts",
"src/testing/render-with-branded-context.tsx",
"src/types.ts",
@@ -460,7 +458,6 @@ ts_project(
"//:node_modules/@visx/shape",
"//:node_modules/@visx/text",
"//:node_modules/@visx/voronoi",
- "//:node_modules/chromatic",
"//:node_modules/classnames",
"//:node_modules/d3-format",
"//:node_modules/d3-scale",
diff --git a/client/wildcard/src/components/Alert/Alert.story.tsx b/client/wildcard/src/components/Alert/Alert.story.tsx
index cc8c47405d0..f6cd7af2d85 100644
--- a/client/wildcard/src/components/Alert/Alert.story.tsx
+++ b/client/wildcard/src/components/Alert/Alert.story.tsx
@@ -24,10 +24,7 @@ const config: Meta = {
decorators: [story =>
{() => {story()}
}],
parameters: {
component: Alert,
- chromatic: {
- enableDarkMode: true,
- disableSnapshot: false,
- },
+
design: [
{
type: 'figma',
diff --git a/client/wildcard/src/components/Badge/Badge.story.tsx b/client/wildcard/src/components/Badge/Badge.story.tsx
index 33c13de5060..f7110c37c94 100644
--- a/client/wildcard/src/components/Badge/Badge.story.tsx
+++ b/client/wildcard/src/components/Badge/Badge.story.tsx
@@ -13,10 +13,7 @@ const config: Meta = {
parameters: {
component: Badge,
- chromatic: {
- enableDarkMode: true,
- disableSnapshot: false,
- },
+
design: [
{
type: 'figma',
diff --git a/client/wildcard/src/components/Badge/ProductStatusBadge.story.tsx b/client/wildcard/src/components/Badge/ProductStatusBadge.story.tsx
index ab1522d5af7..2d820486a07 100644
--- a/client/wildcard/src/components/Badge/ProductStatusBadge.story.tsx
+++ b/client/wildcard/src/components/Badge/ProductStatusBadge.story.tsx
@@ -13,10 +13,7 @@ const config: Meta = {
parameters: {
component: ProductStatusBadge,
- chromatic: {
- enableDarkMode: true,
- disableSnapshot: false,
- },
+
design: [
{
type: 'figma',
diff --git a/client/wildcard/src/components/Button/story/Button.story.tsx b/client/wildcard/src/components/Button/story/Button.story.tsx
index 3989f752fc6..d6f1d9f5a54 100644
--- a/client/wildcard/src/components/Button/story/Button.story.tsx
+++ b/client/wildcard/src/components/Button/story/Button.story.tsx
@@ -117,13 +117,6 @@ export const AllButtons: StoryFn = () => (
)
-AllButtons.parameters = {
- chromatic: {
- enableDarkMode: true,
- disableSnapshot: false,
- },
-}
-
type ButtonSizesType = typeof BUTTON_SIZES[number] | undefined
export const Group: StoryFn = () => {
@@ -328,9 +321,3 @@ export const Group: StoryFn = () => {
}
Group.storyName = 'Button Group'
-Group.parameters = {
- chromatic: {
- enableDarkMode: true,
- disableSnapshot: false,
- },
-}
diff --git a/client/wildcard/src/components/ButtonLink/ButtonLink.story.tsx b/client/wildcard/src/components/ButtonLink/ButtonLink.story.tsx
index 36137fb9f90..55632ceb4dd 100644
--- a/client/wildcard/src/components/ButtonLink/ButtonLink.story.tsx
+++ b/client/wildcard/src/components/ButtonLink/ButtonLink.story.tsx
@@ -15,10 +15,7 @@ const Config: Meta = {
parameters: {
component: ButtonLink,
- chromatic: {
- enableDarkMode: true,
- disableSnapshot: false,
- },
+
design: [
{
type: 'figma',
diff --git a/client/wildcard/src/components/Card/Card.story.tsx b/client/wildcard/src/components/Card/Card.story.tsx
index 01a6191486c..49d00a938ba 100644
--- a/client/wildcard/src/components/Card/Card.story.tsx
+++ b/client/wildcard/src/components/Card/Card.story.tsx
@@ -15,10 +15,7 @@ const config: Meta = {
parameters: {
component: Card,
- chromatic: {
- enableDarkMode: true,
- disableSnapshot: false,
- },
+
design: [
{
type: 'figma',
diff --git a/client/wildcard/src/components/Charts/components/bar-chart/BarChart.story.tsx b/client/wildcard/src/components/Charts/components/bar-chart/BarChart.story.tsx
index 7ff382ca0df..8b2eb798f8e 100644
--- a/client/wildcard/src/components/Charts/components/bar-chart/BarChart.story.tsx
+++ b/client/wildcard/src/components/Charts/components/bar-chart/BarChart.story.tsx
@@ -11,9 +11,7 @@ import { BarChart } from './BarChart'
const StoryConfig: Meta = {
title: 'wildcard/Charts',
decorators: [story =>
{() => {story()}
}],
- parameters: {
- chromatic: { disableSnapshots: false, enableDarkMode: true },
- },
+ parameters: {},
}
export default StoryConfig
diff --git a/client/wildcard/src/components/Charts/components/line-chart/LineChart.test.tsx b/client/wildcard/src/components/Charts/components/line-chart/LineChart.test.tsx
index ecea799e54e..7c2f2f95fad 100644
--- a/client/wildcard/src/components/Charts/components/line-chart/LineChart.test.tsx
+++ b/client/wildcard/src/components/Charts/components/line-chart/LineChart.test.tsx
@@ -24,7 +24,6 @@ const renderChart = ({ series }: RenderChartArgs) =>
describe('LineChart', () => {
// Non-exhaustive smoke tests to check that the chart renders correctly
- // All other general rendering tests are covered by chromatic
describe('should render', () => {
it('empty series', () => {
renderChart({ ...defaultArgs, series: [] })
diff --git a/client/wildcard/src/components/Charts/components/line-chart/story/LineChart.story.tsx b/client/wildcard/src/components/Charts/components/line-chart/story/LineChart.story.tsx
index 899eb118a71..d7b458b9336 100644
--- a/client/wildcard/src/components/Charts/components/line-chart/story/LineChart.story.tsx
+++ b/client/wildcard/src/components/Charts/components/line-chart/story/LineChart.story.tsx
@@ -23,9 +23,7 @@ import {
const StoryConfig: Meta = {
title: 'wildcard/Charts',
decorators: [story =>
{() => {story()}
}],
- parameters: {
- chromatic: { disableSnapshots: false, enableDarkMode: true },
- },
+ parameters: {},
}
export default StoryConfig
diff --git a/client/wildcard/src/components/Charts/components/pie-chart/PieChart.story.tsx b/client/wildcard/src/components/Charts/components/pie-chart/PieChart.story.tsx
index 0f34236455e..0be14567a2d 100644
--- a/client/wildcard/src/components/Charts/components/pie-chart/PieChart.story.tsx
+++ b/client/wildcard/src/components/Charts/components/pie-chart/PieChart.story.tsx
@@ -8,9 +8,7 @@ import { PieChart } from './PieChart'
const StoryConfig: Meta = {
title: 'wildcard/Charts',
decorators: [story =>
{() => {story()}
}],
- parameters: {
- chromatic: { disableSnapshots: false, enableDarkMode: true },
- },
+ parameters: {},
}
export default StoryConfig
diff --git a/client/wildcard/src/components/Charts/components/stacked-meter/StackedMeter.story.tsx b/client/wildcard/src/components/Charts/components/stacked-meter/StackedMeter.story.tsx
index 62875753bc4..736d9a71465 100644
--- a/client/wildcard/src/components/Charts/components/stacked-meter/StackedMeter.story.tsx
+++ b/client/wildcard/src/components/Charts/components/stacked-meter/StackedMeter.story.tsx
@@ -8,9 +8,7 @@ import { StackedMeter } from '.'
const StoryConfig: Meta = {
title: 'wildcard/Charts',
decorators: [story =>
{() => {story()}
}],
- parameters: {
- chromatic: { disableSnapshots: false, enableDarkMode: true },
- },
+ parameters: {},
}
export default StoryConfig
diff --git a/client/wildcard/src/components/Charts/core/components/SvgRoot.story.tsx b/client/wildcard/src/components/Charts/core/components/SvgRoot.story.tsx
index eac90721c36..02d179603a3 100644
--- a/client/wildcard/src/components/Charts/core/components/SvgRoot.story.tsx
+++ b/client/wildcard/src/components/Charts/core/components/SvgRoot.story.tsx
@@ -6,7 +6,7 @@ import { timeFormat } from 'd3-time-format'
import { BrandedStory } from '../../../../stories/BrandedStory'
-import { SvgRoot, SvgAxisLeft, SvgAxisBottom, SvgContent } from './SvgRoot'
+import { SvgAxisBottom, SvgAxisLeft, SvgContent, SvgRoot } from './SvgRoot'
const StoryConfig: Meta = {
title: 'wildcard/Charts/Core',
@@ -19,7 +19,6 @@ const StoryConfig: Meta = {
args: {
useMaxValuesForYScale: false,
},
- parameters: { chromatic: { disableSnapshots: false } },
}
export default StoryConfig
diff --git a/client/wildcard/src/components/Combobox/MultiCombobox.story.tsx b/client/wildcard/src/components/Combobox/MultiCombobox.story.tsx
index 3a82f0fa59f..3a93de780e5 100644
--- a/client/wildcard/src/components/Combobox/MultiCombobox.story.tsx
+++ b/client/wildcard/src/components/Combobox/MultiCombobox.story.tsx
@@ -26,12 +26,7 @@ const decorator: Decorator = story => (
const config: Meta = {
title: 'wildcard/MultiCombobox',
decorators: [decorator],
- parameters: {
- chromatic: {
- enableDarkMode: true,
- disableSnapshot: false,
- },
- },
+ parameters: {},
}
export default config
diff --git a/client/wildcard/src/components/Container/Container.story.tsx b/client/wildcard/src/components/Container/Container.story.tsx
index c24ea2064c7..3c267157f70 100644
--- a/client/wildcard/src/components/Container/Container.story.tsx
+++ b/client/wildcard/src/components/Container/Container.story.tsx
@@ -86,10 +86,6 @@ export const Overview: StoryFn = () => (
)
Overview.parameters = {
- chromatic: {
- enableDarkMode: true,
- disableSnapshot: false,
- },
design: {
type: 'figma',
name: 'Figma',
diff --git a/client/wildcard/src/components/Feedback/FeedbackBadge/FeedbackBadge.story.tsx b/client/wildcard/src/components/Feedback/FeedbackBadge/FeedbackBadge.story.tsx
index 6e8d5d72fc5..463a16e3b86 100644
--- a/client/wildcard/src/components/Feedback/FeedbackBadge/FeedbackBadge.story.tsx
+++ b/client/wildcard/src/components/Feedback/FeedbackBadge/FeedbackBadge.story.tsx
@@ -12,10 +12,7 @@ const config: Meta = {
decorators: [story =>
{() => {story()}
}],
parameters: {
component: FeedbackBadge,
- chromatic: {
- enableDarkMode: true,
- disableSnapshot: false,
- },
+
design: [
{
type: 'figma',
diff --git a/client/wildcard/src/components/Feedback/FeedbackPrompt/FeedbackPrompt.story.tsx b/client/wildcard/src/components/Feedback/FeedbackPrompt/FeedbackPrompt.story.tsx
index f4ec8ccb7fe..d3c27d6115f 100644
--- a/client/wildcard/src/components/Feedback/FeedbackPrompt/FeedbackPrompt.story.tsx
+++ b/client/wildcard/src/components/Feedback/FeedbackPrompt/FeedbackPrompt.story.tsx
@@ -1,8 +1,8 @@
import React from 'react'
-import type { Meta, StoryFn, Args } from '@storybook/react'
+import type { Args, Meta, StoryFn } from '@storybook/react'
-import { PopoverTrigger, H1 } from '../..'
+import { H1, PopoverTrigger } from '../..'
import { BrandedStory } from '../../../stories/BrandedStory'
import { Button } from '../../Button'
@@ -15,13 +15,6 @@ const config: Meta = {
decorators: [story =>
{() => {story()}
}],
parameters: {
- /**
- * Uncomment this once Storybook is upgraded to v6.4.* and the `play` function
- * is used to show the feedback prompt component.
- *
- * https://www.chromatic.com/docs/hoverfocus#javascript-triggered-hover-states
- */
- // chromatic: { disableSnapshot: false },
component: FeedbackPrompt,
design: {
type: 'figma',
diff --git a/client/wildcard/src/components/Feedback/FeedbackText/FeedbackText.story.tsx b/client/wildcard/src/components/Feedback/FeedbackText/FeedbackText.story.tsx
index 7058478f8b6..67f298118c1 100644
--- a/client/wildcard/src/components/Feedback/FeedbackText/FeedbackText.story.tsx
+++ b/client/wildcard/src/components/Feedback/FeedbackText/FeedbackText.story.tsx
@@ -11,10 +11,6 @@ const config: Meta = {
decorators: [story =>
{() => {story()}
}],
parameters: {
component: FeedbackText,
- chromatic: {
- enableDarkMode: true,
- disableSnapshot: false,
- },
},
}
diff --git a/client/wildcard/src/components/Form/Checkbox/Checkbox.story.tsx b/client/wildcard/src/components/Form/Checkbox/Checkbox.story.tsx
index 705384feb6a..fac4ccac36a 100644
--- a/client/wildcard/src/components/Form/Checkbox/Checkbox.story.tsx
+++ b/client/wildcard/src/components/Form/Checkbox/Checkbox.story.tsx
@@ -69,10 +69,3 @@ export const CheckboxExamples: StoryFn = () => (
>
)
-
-CheckboxExamples.parameters = {
- chromatic: {
- enableDarkMode: true,
- disableSnapshot: false,
- },
-}
diff --git a/client/wildcard/src/components/Form/Input/Input.story.tsx b/client/wildcard/src/components/Form/Input/Input.story.tsx
index af85df8ae80..e37a7c026f1 100644
--- a/client/wildcard/src/components/Form/Input/Input.story.tsx
+++ b/client/wildcard/src/components/Form/Input/Input.story.tsx
@@ -13,10 +13,7 @@ const Story: Meta = {
parameters: {
component: Input,
- chromatic: {
- enableDarkMode: true,
- disableSnapshot: false,
- },
+
design: {
type: 'figma',
name: 'Figma',
diff --git a/client/wildcard/src/components/Form/RadioButton/RadioButton.story.tsx b/client/wildcard/src/components/Form/RadioButton/RadioButton.story.tsx
index e01a2e97bb1..766424dd17b 100644
--- a/client/wildcard/src/components/Form/RadioButton/RadioButton.story.tsx
+++ b/client/wildcard/src/components/Form/RadioButton/RadioButton.story.tsx
@@ -91,10 +91,3 @@ export const RadioExamples: StoryFn = () => (
>
)
-
-RadioExamples.parameters = {
- chromatic: {
- enableDarkMode: true,
- disableSnapshot: false,
- },
-}
diff --git a/client/wildcard/src/components/Form/Select/Select.story.tsx b/client/wildcard/src/components/Form/Select/Select.story.tsx
index 672f60ea287..4f7c5e1f453 100644
--- a/client/wildcard/src/components/Form/Select/Select.story.tsx
+++ b/client/wildcard/src/components/Form/Select/Select.story.tsx
@@ -82,10 +82,3 @@ export const SelectExamples: StoryFn = () => (
>
)
-
-SelectExamples.parameters = {
- chromatic: {
- enableDarkMode: true,
- disableSnapshot: false,
- },
-}
diff --git a/client/wildcard/src/components/Form/TextArea/TextArea.story.tsx b/client/wildcard/src/components/Form/TextArea/TextArea.story.tsx
index 592adeb23a2..0a137413399 100644
--- a/client/wildcard/src/components/Form/TextArea/TextArea.story.tsx
+++ b/client/wildcard/src/components/Form/TextArea/TextArea.story.tsx
@@ -15,10 +15,7 @@ const config: Meta = {
parameters: {
component: TextArea,
- chromatic: {
- enableDarkMode: true,
- disableSnapshot: false,
- },
+
design: {
type: 'figma',
name: 'Figma',
diff --git a/client/wildcard/src/components/Icon/Icon.story.tsx b/client/wildcard/src/components/Icon/Icon.story.tsx
index 8badb628e90..a5737bdbd46 100644
--- a/client/wildcard/src/components/Icon/Icon.story.tsx
+++ b/client/wildcard/src/components/Icon/Icon.story.tsx
@@ -15,10 +15,7 @@ const config: Meta = {
parameters: {
component: Icon,
- chromatic: {
- enableDarkMode: true,
- disableSnapshot: false,
- },
+
design: {
type: 'figma',
name: 'Figma',
diff --git a/client/wildcard/src/components/Link/Link/Link.story.tsx b/client/wildcard/src/components/Link/Link/Link.story.tsx
index b9756d7db51..27ad77e26ec 100644
--- a/client/wildcard/src/components/Link/Link/Link.story.tsx
+++ b/client/wildcard/src/components/Link/Link/Link.story.tsx
@@ -17,10 +17,6 @@ const config: Meta = {
parameters: {
component: Link,
- chromatic: {
- enableDarkMode: true,
- disableSnapshot: false,
- },
},
}
diff --git a/client/wildcard/src/components/LoadingSpinner/LoadingSpinner.story.tsx b/client/wildcard/src/components/LoadingSpinner/LoadingSpinner.story.tsx
index 375d028103a..845f50d6938 100644
--- a/client/wildcard/src/components/LoadingSpinner/LoadingSpinner.story.tsx
+++ b/client/wildcard/src/components/LoadingSpinner/LoadingSpinner.story.tsx
@@ -12,10 +12,6 @@ const config: Meta = {
parameters: {
component: LoadingSpinner,
- chromatic: {
- enableDarkMode: true,
- disableSnapshot: false,
- },
},
argTypes: {
inline: {
diff --git a/client/wildcard/src/components/Menu/Menu.story.tsx b/client/wildcard/src/components/Menu/Menu.story.tsx
index 1e3145a0ea8..ab2fc436a16 100644
--- a/client/wildcard/src/components/Menu/Menu.story.tsx
+++ b/client/wildcard/src/components/Menu/Menu.story.tsx
@@ -13,10 +13,6 @@ const config: Meta = {
parameters: {
component: Menu,
- chromatic: {
- enableDarkMode: true,
- disableSnapshot: false,
- },
},
}
diff --git a/client/wildcard/src/components/Modal/Modal.story.tsx b/client/wildcard/src/components/Modal/Modal.story.tsx
index 9d197339eaa..2c59374b604 100644
--- a/client/wildcard/src/components/Modal/Modal.story.tsx
+++ b/client/wildcard/src/components/Modal/Modal.story.tsx
@@ -22,9 +22,7 @@ export const Default: StoryFn = () => (
Default.parameters = {
component: Modal,
- chromatic: {
- disableSnapshot: false,
- },
+
design: [
{
type: 'figma',
diff --git a/client/wildcard/src/components/NavMenu/NavMenu.story.tsx b/client/wildcard/src/components/NavMenu/NavMenu.story.tsx
index deaa67a6685..46c5ef7f5a8 100644
--- a/client/wildcard/src/components/NavMenu/NavMenu.story.tsx
+++ b/client/wildcard/src/components/NavMenu/NavMenu.story.tsx
@@ -21,10 +21,6 @@ const config: Meta = {
parameters: {
component: NavMenu,
- chromatic: {
- enableDarkMode: true,
- disableSnapshot: false,
- },
},
}
diff --git a/client/wildcard/src/components/PageHeader/PageHeader.story.tsx b/client/wildcard/src/components/PageHeader/PageHeader.story.tsx
index caaf98f48c1..c6dfafcefcf 100644
--- a/client/wildcard/src/components/PageHeader/PageHeader.story.tsx
+++ b/client/wildcard/src/components/PageHeader/PageHeader.story.tsx
@@ -94,10 +94,6 @@ export const ComplexHeader: StoryFn = () => (
ComplexHeader.storyName = 'Complex header'
ComplexHeader.parameters = {
- chromatic: {
- enableDarkMode: true,
- disableSnapshot: false,
- },
design: {
type: 'figma',
name: 'Figma',
diff --git a/client/wildcard/src/components/PageSelector/PageSelector.story.tsx b/client/wildcard/src/components/PageSelector/PageSelector.story.tsx
index e5d3821d1de..c3d2ac22f80 100644
--- a/client/wildcard/src/components/PageSelector/PageSelector.story.tsx
+++ b/client/wildcard/src/components/PageSelector/PageSelector.story.tsx
@@ -49,13 +49,6 @@ export const AllPageSelectors: StoryFn = () => (
>
)
-AllPageSelectors.parameters = {
- chromatic: {
- enableDarkMode: true,
- disableSnapshot: false,
- },
-}
-
const Short = () => {
const [page, setPage] = useState(1)
return
diff --git a/client/wildcard/src/components/PageSwitcher/PageSwitcher.story.tsx b/client/wildcard/src/components/PageSwitcher/PageSwitcher.story.tsx
index ef5ae88fff1..982dcea0500 100644
--- a/client/wildcard/src/components/PageSwitcher/PageSwitcher.story.tsx
+++ b/client/wildcard/src/components/PageSwitcher/PageSwitcher.story.tsx
@@ -87,13 +87,6 @@ Simple.args = {
totalLabel: 'pages',
}
-Simple.parameters = {
- chromatic: {
- enableDarkMode: true,
- disableSnapshot: false,
- },
-}
-
function sleep(timeout: number): Promise
{
return new Promise(resolve => setTimeout(resolve, timeout))
}
diff --git a/client/wildcard/src/components/Panel/story/Panel.story.tsx b/client/wildcard/src/components/Panel/story/Panel.story.tsx
index 80f9cf1170c..4c810d625ce 100644
--- a/client/wildcard/src/components/Panel/story/Panel.story.tsx
+++ b/client/wildcard/src/components/Panel/story/Panel.story.tsx
@@ -29,10 +29,7 @@ const config: Meta = {
parameters: {
component: Panel,
- chromatic: {
- enableDarkMode: true,
- disableSnapshot: false,
- },
+
design: [
{
type: 'figma',
diff --git a/client/wildcard/src/components/Popover/story/Popover.story.tsx b/client/wildcard/src/components/Popover/story/Popover.story.tsx
index 28b37669a70..410404d699d 100644
--- a/client/wildcard/src/components/Popover/story/Popover.story.tsx
+++ b/client/wildcard/src/components/Popover/story/Popover.story.tsx
@@ -157,12 +157,6 @@ export const PositionSettingsGallery: StoryFn = () => {
)
}
-PositionSettingsGallery.parameters = {
- chromatic: {
- disableSnapshot: false,
- },
-}
-
export const StandardExample: StoryFn = () => (
diff --git a/client/wildcard/src/components/Tabs/Tabs.story.tsx b/client/wildcard/src/components/Tabs/Tabs.story.tsx
index 697cc3eecf7..44ebe884ac4 100644
--- a/client/wildcard/src/components/Tabs/Tabs.story.tsx
+++ b/client/wildcard/src/components/Tabs/Tabs.story.tsx
@@ -27,10 +27,6 @@ const config: Meta = {
component: Tabs,
decorators: [story => {() => story()}],
parameters: {
- chromatic: {
- enableDarkMode: true,
- disableSnapshot: false,
- },
design: [
{
type: 'figma',
diff --git a/client/wildcard/src/components/Tooltip/Tooltip.story.tsx b/client/wildcard/src/components/Tooltip/Tooltip.story.tsx
index 2f99e41c277..2dfaac1b88a 100644
--- a/client/wildcard/src/components/Tooltip/Tooltip.story.tsx
+++ b/client/wildcard/src/components/Tooltip/Tooltip.story.tsx
@@ -95,12 +95,6 @@ export const DefaultOpen: StoryFn = () => (
)
DefaultOpen.storyName = 'Default Open (Pinned)'
-DefaultOpen.parameters = {
- chromatic: {
- enableDarkMode: true,
- disableSnapshot: false,
- },
-}
export const DisabledTrigger: StoryFn = () => (
diff --git a/client/wildcard/src/components/Tree/Tree.story.tsx b/client/wildcard/src/components/Tree/Tree.story.tsx
index 557c547d6a1..104e466f7b8 100644
--- a/client/wildcard/src/components/Tree/Tree.story.tsx
+++ b/client/wildcard/src/components/Tree/Tree.story.tsx
@@ -19,10 +19,6 @@ const config: Meta = {
parameters: {
component: Tree,
- chromatic: {
- enableDarkMode: false,
- disableSnapshot: false,
- },
},
}
diff --git a/client/wildcard/src/components/Typography/Typography.story.tsx b/client/wildcard/src/components/Typography/Typography.story.tsx
index 4c0667500ef..ec1c9d73738 100644
--- a/client/wildcard/src/components/Typography/Typography.story.tsx
+++ b/client/wildcard/src/components/Typography/Typography.story.tsx
@@ -18,10 +18,7 @@ const config: Meta = {
parameters: {
component: Label,
- chromatic: {
- enableDarkMode: true,
- disableSnapshot: false,
- },
+
design: {
type: 'figma',
name: 'Figma',
diff --git a/client/wildcard/src/global-styles/GlobalStylesStory/GlobalStyles.story.tsx b/client/wildcard/src/global-styles/GlobalStylesStory/GlobalStyles.story.tsx
index c0e5f73abab..b374bb6a6ba 100644
--- a/client/wildcard/src/global-styles/GlobalStylesStory/GlobalStyles.story.tsx
+++ b/client/wildcard/src/global-styles/GlobalStylesStory/GlobalStyles.story.tsx
@@ -23,11 +23,7 @@ const decorator: Decorator = story => (
const config: Meta = {
title: 'branded/Global styles',
decorators: [decorator],
- parameters: {
- chromatic: {
- enableDarkMode: true,
- },
- },
+ parameters: {},
}
export default config
diff --git a/client/wildcard/src/stories/hooks/index.ts b/client/wildcard/src/stories/hooks/index.ts
index f7e9593f1fb..1d16f15cdde 100644
--- a/client/wildcard/src/stories/hooks/index.ts
+++ b/client/wildcard/src/stories/hooks/index.ts
@@ -1,3 +1,2 @@
-export * from './useChromaticTheme'
export * from './usePrependStyles'
export * from './useStorybookTheme'
diff --git a/client/wildcard/src/stories/hooks/useChromaticTheme.ts b/client/wildcard/src/stories/hooks/useChromaticTheme.ts
deleted file mode 100644
index 1d5a5f73f32..00000000000
--- a/client/wildcard/src/stories/hooks/useChromaticTheme.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import { createContext, useContext } from 'react'
-
-export interface ChromaticTheme {
- theme: 'light' | 'dark'
-}
-
-export const ChromaticThemeContext = createContext({
- theme: 'light',
-})
-
-export function useChromaticDarkMode(): boolean {
- return useContext(ChromaticThemeContext).theme === 'dark'
-}
diff --git a/client/wildcard/src/stories/hooks/useStorybookTheme.ts b/client/wildcard/src/stories/hooks/useStorybookTheme.ts
index 1805d7890ae..cd33687a212 100644
--- a/client/wildcard/src/stories/hooks/useStorybookTheme.ts
+++ b/client/wildcard/src/stories/hooks/useStorybookTheme.ts
@@ -1,16 +1,9 @@
import { useLayoutEffect, useState } from 'react'
-import { useDarkMode as useRegularDarkMode } from 'storybook-dark-mode'
-
-import { isChromatic } from '../utils/isChromatic'
-
-import { useChromaticDarkMode } from './useChromaticTheme'
-
-const useDarkMode = isChromatic() ? useChromaticDarkMode : useRegularDarkMode
+import { useDarkMode } from 'storybook-dark-mode'
/**
* Gets current theme and updates value when theme changes
- *
* @returns isLightTheme: boolean that is true if the light theme is enabled
*/
export const useStorybookTheme = (): boolean => {
diff --git a/client/wildcard/src/stories/index.ts b/client/wildcard/src/stories/index.ts
index 85ce2fb19a5..2fbbb9dd9c5 100644
--- a/client/wildcard/src/stories/index.ts
+++ b/client/wildcard/src/stories/index.ts
@@ -1,5 +1,3 @@
export * from './BrandedStory'
-export * from './utils/isChromatic'
-export * from './hooks/useChromaticTheme'
export * from './hooks/usePrependStyles'
export * from './hooks/useStorybookTheme'
diff --git a/client/wildcard/src/stories/utils/isChromatic.ts b/client/wildcard/src/stories/utils/isChromatic.ts
deleted file mode 100644
index c911cba4abc..00000000000
--- a/client/wildcard/src/stories/utils/isChromatic.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-// eslint-disable-next-line no-restricted-imports
-import isChromaticDefault from 'chromatic/isChromatic'
-
-/**
- * `chromatic/isChromatic` wrapper that takes into account `process.env.CHROMATIC` for local testing.
- */
-export const isChromatic = (): boolean => isChromaticDefault() || Boolean(process.env.CHROMATIC)
diff --git a/dev/ci/internal/ci/config.go b/dev/ci/internal/ci/config.go
index fe6db7624ca..7e98d3b0a31 100644
--- a/dev/ci/internal/ci/config.go
+++ b/dev/ci/internal/ci/config.go
@@ -222,10 +222,6 @@ type MessageFlags struct {
// hash output.
SkipHashCompare bool
- // ForceReadyForReview, if true will skip the draft pull request check and run the Chromatic steps.
- // This allows a user to run the job without marking their PR as ready for review
- ForceReadyForReview bool
-
// NoBazel, if true prevents automatic replacement of job with their Bazel equivalents.
NoBazel bool
}
@@ -233,8 +229,7 @@ type MessageFlags struct {
// parseMessageFlags gets MessageFlags from the given commit message.
func parseMessageFlags(msg string) MessageFlags {
return MessageFlags{
- ProfilingEnabled: strings.Contains(msg, "[buildkite-enable-profiling]"),
- SkipHashCompare: strings.Contains(msg, "[skip-hash-compare]"),
- ForceReadyForReview: strings.Contains(msg, "[review-ready]"),
+ ProfilingEnabled: strings.Contains(msg, "[buildkite-enable-profiling]"),
+ SkipHashCompare: strings.Contains(msg, "[skip-hash-compare]"),
}
}
diff --git a/dev/ci/internal/ci/operations.go b/dev/ci/internal/ci/operations.go
index 606fc356be3..c5ce977b24f 100644
--- a/dev/ci/internal/ci/operations.go
+++ b/dev/ci/internal/ci/operations.go
@@ -10,7 +10,6 @@ import (
// e.g. by adding flags, and not as a condition for adding steps or commands.
type CoreTestOperationsOptions struct {
MinimumUpgradeableVersion string
- ForceReadyForReview bool
CacheBundleSize bool // for addWebAppEnterpriseBuild
CreateBundleSizeDiff bool // for addWebAppEnterpriseBuild
diff --git a/dev/ci/internal/ci/pipeline.go b/dev/ci/internal/ci/pipeline.go
index 300e39a117c..48436e54d21 100644
--- a/dev/ci/internal/ci/pipeline.go
+++ b/dev/ci/internal/ci/pipeline.go
@@ -134,7 +134,6 @@ func GeneratePipeline(c Config) (*bk.Pipeline, error) {
// types such as main.
ops.Merge(CoreTestOperations(buildOptions, c.Diff, CoreTestOperationsOptions{
MinimumUpgradeableVersion: minimumUpgradeableVersion,
- ForceReadyForReview: c.MessageFlags.ForceReadyForReview,
CreateBundleSizeDiff: true,
}))
@@ -306,7 +305,6 @@ func GeneratePipeline(c Config) (*bk.Pipeline, error) {
// Core tests
ops.Merge(CoreTestOperations(buildOptions, changed.All, CoreTestOperationsOptions{
MinimumUpgradeableVersion: minimumUpgradeableVersion,
- ForceReadyForReview: c.MessageFlags.ForceReadyForReview,
CacheBundleSize: c.RunType.Is(runtype.MainBranch, runtype.MainDryRun, runtype.DockerImages, runtype.CloudEphemeral),
IsMainBranch: true,
}))
diff --git a/doc/dev/background-information/web/styling.md b/doc/dev/background-information/web/styling.md
index 07b8a3191fb..ea8a4ea4c10 100644
--- a/doc/dev/background-information/web/styling.md
+++ b/doc/dev/background-information/web/styling.md
@@ -163,8 +163,6 @@ In our webapp, it is recommended to make use of [Bootstrap's margin and padding
### Layout
-We use modern CSS for our layouting needs. You can find a [small playground in our Storybook](https://main--5f0f381c0e50750022dc6bf7.chromatic.com/?path=/story/branded-global-styles--layout). The dev tools of modern browsers provide a lot of useful tooling to work with CSS layouts.
-
Layouts should always be _responsive_ to make sure Sourcegraph is usable with different screen resolutions and window sizes, e.g. when resizing the browser window and using Sourcegraph side-by-side with an editor.
[CSS Flexbox](https://css-tricks.com/snippets/css/a-guide-to-flexbox/) is used for **one-dimensional** layouts (single rows or columns, with optional wrapping). In the webapp, you can use utility classes for simple flexbox layouts and responsive layouts. This is the most common layout method.
diff --git a/package.json b/package.json
index 8f48ecb0c0d..ad90e2568c3 100644
--- a/package.json
+++ b/package.json
@@ -46,8 +46,6 @@
"storybook:build": "pnpm --filter @sourcegraph/storybook run build",
"docsite:serve": "./dev/docsite.sh -config doc/docsite.json serve -http=localhost:5080",
"build-browser-extension": "pnpm --filter @sourcegraph/browser run build",
- "chromatic": "CHROMATIC=true pnpm run _chromatic --storybook-config-dir client/storybook/src --build-script-name=storybook:build",
- "_chromatic": "chromatic",
"install:browsers": "pnpm -r install:browsers"
},
"jscpd": {
@@ -184,7 +182,6 @@
"bundlesize2": "^0.0.31",
"chalk": "^4.1.0",
"chokidar-cli": "^2.1.0",
- "chromatic": "^11.0.8",
"chrome-webstore-upload-cli": "^1.2.0",
"command-exists": "^1.2.9",
"compression": "^1.7.4",
@@ -261,7 +258,6 @@
"typescript": "^5.0.2",
"utc-version": "^2.0.2",
"vite": "^4.1.4",
- "vite-plugin-turbosnap": "^1.0.3",
"vitest": "2.0.3",
"vitest-fetch-mock": "^0.2.2",
"vsce": "^2.7.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 7c22d3bde2e..722fe275123 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -866,9 +866,6 @@ importers:
chokidar-cli:
specifier: ^2.1.0
version: 2.1.0
- chromatic:
- specifier: ^11.0.8
- version: 11.0.8
chrome-webstore-upload-cli:
specifier: ^1.2.0
version: 1.2.0
@@ -1094,9 +1091,6 @@ importers:
vite:
specifier: ^4.1.4
version: 4.5.2(@types/node@20.8.0)(sass@1.32.4)
- vite-plugin-turbosnap:
- specifier: ^1.0.3
- version: 1.0.3
vitest:
specifier: 2.0.3
version: 2.0.3(@types/node@20.8.0)(happy-dom@12.10.1)(jsdom@24.0.0)(sass@1.32.4)
@@ -2193,7 +2187,7 @@ packages:
'@babel/core': 7.24.7
'@babel/helper-compilation-targets': 7.24.7
'@babel/helper-plugin-utils': 7.24.7
- debug: 4.3.4
+ debug: 4.3.5
lodash.debounce: 4.0.8
resolve: 1.22.8
dev: false
@@ -6037,7 +6031,7 @@ packages:
dependencies:
'@jest/fake-timers': 29.7.0
'@jest/types': 29.6.3
- '@types/node': 20.11.19
+ '@types/node': 20.8.0
jest-mock: 29.7.0
dev: false
@@ -6047,7 +6041,7 @@ packages:
dependencies:
'@jest/types': 29.6.3
'@sinonjs/fake-timers': 10.3.0
- '@types/node': 20.11.19
+ '@types/node': 20.8.0
jest-message-util: 29.7.0
jest-mock: 29.7.0
jest-util: 29.7.0
@@ -6086,7 +6080,7 @@ packages:
dependencies:
'@types/istanbul-lib-coverage': 2.0.6
'@types/istanbul-reports': 3.0.4
- '@types/node': 20.11.19
+ '@types/node': 20.8.0
'@types/yargs': 15.0.19
chalk: 4.1.2
dev: false
@@ -6109,7 +6103,7 @@ packages:
'@jest/schemas': 29.6.3
'@types/istanbul-lib-coverage': 2.0.6
'@types/istanbul-reports': 3.0.4
- '@types/node': 20.11.19
+ '@types/node': 20.8.0
'@types/yargs': 17.0.23
chalk: 4.1.2
@@ -10337,7 +10331,7 @@ packages:
'@storybook/preview-api': 7.6.17
'@storybook/theming': 7.6.17(react-dom@18.1.0)(react@18.1.0)
'@storybook/types': 7.6.17
- '@types/lodash': 4.17.0
+ '@types/lodash': 4.14.167
color-convert: 2.0.1
dequal: 2.0.3
lodash: 4.17.21
@@ -12214,7 +12208,7 @@ packages:
/@types/graceful-fs@4.1.5:
resolution: {integrity: sha512-anKkLmZZ+xm4p8JWBf4hElkM4XR+EZeA2M9BAkkTldmcyDY4mbdIJnRghDJH3Ov5ooY7/UAoENtmdMSkaAd7Cw==}
dependencies:
- '@types/node': 20.11.19
+ '@types/node': 20.8.0
dev: true
/@types/har-format@1.2.4:
@@ -12867,7 +12861,7 @@ packages:
'@typescript-eslint/scope-manager': 5.62.0
'@typescript-eslint/types': 5.62.0
'@typescript-eslint/typescript-estree': 5.62.0(typescript@5.4.2)
- debug: 4.3.4
+ debug: 4.3.5
eslint: 8.57.0
typescript: 5.4.2
dev: true
@@ -14984,25 +14978,12 @@ packages:
engines: {node: '>=10'}
dev: true
- /chromatic@11.0.8:
- resolution: {integrity: sha512-+zJ5h0/Eu5z26KCNLIw2tknbK69gUO8q3Jsew4oU0Q/i/NPhIwcXhvPP7u75aLJgX1EI61+ndiGJA/yeQZQcgw==}
- hasBin: true
- peerDependencies:
- '@chromatic-com/cypress': ^0.*.* || ^1.0.0
- '@chromatic-com/playwright': ^0.*.* || ^1.0.0
- peerDependenciesMeta:
- '@chromatic-com/cypress':
- optional: true
- '@chromatic-com/playwright':
- optional: true
- dev: true
-
/chrome-launcher@0.15.2:
resolution: {integrity: sha512-zdLEwNo3aUVzIhKhTtXfxhdvZhUghrnmkvcAq2NoDd+LeOHKf03H5jwZ8T/STsAlzyALkBVK552iaG1fGf1xVQ==}
engines: {node: '>=12.13.0'}
hasBin: true
dependencies:
- '@types/node': 20.11.19
+ '@types/node': 20.8.0
escape-string-regexp: 4.0.0
is-wsl: 2.2.0
lighthouse-logger: 1.4.2
@@ -15037,7 +15018,7 @@ packages:
/chromium-edge-launcher@1.0.0:
resolution: {integrity: sha512-pgtgjNKZ7i5U++1g1PWv75umkHvhVTDOQIZ+sjeUX9483S7Y6MUvO0lrd7ShGlQlFHMN4SwKTCq/X8hWrbv2KA==}
dependencies:
- '@types/node': 20.11.19
+ '@types/node': 20.8.0
escape-string-regexp: 4.0.0
is-wsl: 2.2.0
lighthouse-logger: 1.4.2
@@ -16202,7 +16183,6 @@ packages:
dependencies:
ms: 2.1.2
supports-color: 8.1.1
- dev: true
/debuglog@1.0.1:
resolution: {integrity: sha512-syBZ+rnAK3EgMsH2aYEOLUW7mZSY9Gb+0wUMCFsZvcmiz+HigA0LOcq/HoQqVuGG+EKykunc7QG2bzrponfaSw==}
@@ -20183,7 +20163,7 @@ packages:
'@jest/environment': 29.7.0
'@jest/fake-timers': 29.7.0
'@jest/types': 29.6.3
- '@types/node': 20.11.19
+ '@types/node': 20.8.0
jest-mock: 29.7.0
jest-util: 29.7.0
dev: false
@@ -20204,7 +20184,7 @@ packages:
dependencies:
'@jest/types': 29.6.3
'@types/graceful-fs': 4.1.5
- '@types/node': 20.11.19
+ '@types/node': 20.8.0
anymatch: 3.1.3
fb-watchman: 2.0.2
graceful-fs: 4.2.11
@@ -20262,7 +20242,7 @@ packages:
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
dependencies:
'@jest/types': 29.6.3
- '@types/node': 20.11.19
+ '@types/node': 20.8.0
jest-util: 29.7.0
dev: false
@@ -20276,7 +20256,7 @@ packages:
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
dependencies:
'@jest/types': 29.6.3
- '@types/node': 20.11.19
+ '@types/node': 20.8.0
chalk: 4.1.2
ci-info: 3.9.0
graceful-fs: 4.2.11
@@ -20307,7 +20287,7 @@ packages:
resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==}
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
dependencies:
- '@types/node': 20.11.19
+ '@types/node': 20.8.0
jest-util: 29.7.0
merge-stream: 2.0.0
supports-color: 8.1.1
@@ -27836,10 +27816,6 @@ packages:
- rollup
dev: true
- /vite-plugin-turbosnap@1.0.3:
- resolution: {integrity: sha512-p4D8CFVhZS412SyQX125qxyzOgIFouwOcvjZWk6bQbNPR1wtaEzFT6jZxAjf1dejlGqa6fqHcuCvQea6EWUkUA==}
- dev: true
-
/vite@4.5.2(@types/node@20.8.0)(sass@1.32.4):
resolution: {integrity: sha512-tBCZBNSBbHQkaGyhGCDUGqeo2ph8Fstyp6FMSvTtsXeZSPpSMGlviAOav2hxVTqFcx8Hj/twtWKsMJXNY0xI8w==}
engines: {node: ^14.18.0 || >=16.0.0}
diff --git a/third-party-licenses/ThirdPartyLicenses.csv b/third-party-licenses/ThirdPartyLicenses.csv
index bf2737a3ffc..8f5d4eb88bd 100644
--- a/third-party-licenses/ThirdPartyLicenses.csv
+++ b/third-party-licenses/ThirdPartyLicenses.csv
@@ -857,7 +857,6 @@ PNPM,cheerio-select,2.1.0,Simplified BSD,"",Approved
PNPM,chokidar,3.5.1,MIT,"",Approved
PNPM,chokidar-cli,2.1.0,MIT,"",Approved
PNPM,chownr,1.1.4,ISC,"",Approved
-PNPM,chromatic,10.2.0,MIT,"",Approved
PNPM,chrome-trace-event,1.0.3,MIT,"",Approved
PNPM,chrome-webstore-upload,0.2.2,MIT,"",Approved
PNPM,chrome-webstore-upload-cli,1.2.0,MIT,"",Approved
@@ -2595,7 +2594,6 @@ PNPM,vary,1.1.2,MIT,"",Approved
PNPM,vite,4.4.7,MIT,"",Approved
PNPM,vite-node,0.33.0,MIT,"",Approved
PNPM,vite-plugin-inspect,0.7.35,MIT,"",Approved
-PNPM,vite-plugin-turbosnap,1.0.3,MIT,"",Approved
PNPM,vitefu,0.2.4,MIT,"",Approved
PNPM,vitest,0.33.0,MIT,"",Approved
PNPM,vitest-fetch-mock,0.2.2,MIT,"",Approved