This repository has been archived by the owner on Apr 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
174 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module.exports = { | ||
extends: ['@yext/eslint-config', 'plugin:storybook/recommended'] | ||
}; | ||
extends: ["@yext/eslint-config", "plugin:storybook/recommended"], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
|
||
name: Percy Snapshots | ||
|
||
on: | ||
on: | ||
push: | ||
branches-ignore: dev/* | ||
pull_request: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,22 @@ | ||
module.exports = { | ||
stories: [ | ||
"../tests/**/*.stories.@(js|jsx|ts|tsx)" | ||
], | ||
stories: ["../tests/**/*.stories.@(js|jsx|ts|tsx)"], | ||
addons: [ | ||
"@storybook/addon-links", | ||
"@storybook/addon-essentials", | ||
"@storybook/addon-interactions", | ||
'@storybook/addon-a11y', | ||
"@storybook/addon-a11y", | ||
{ | ||
name: '@storybook/addon-coverage', | ||
name: "@storybook/addon-coverage", | ||
options: { | ||
istanbul: { | ||
include: ['src/components/**'] | ||
} | ||
} | ||
include: ["src/components/**"], | ||
}, | ||
}, | ||
}, | ||
], | ||
framework: "@storybook/react", | ||
core: { | ||
builder: "@storybook/builder-vite", | ||
}, | ||
staticDirs: ['./public'], | ||
} | ||
staticDirs: ["./public"], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<link rel="icon" href="./yextIcon.svg"> | ||
<link rel="icon" href="./yextIcon.svg" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
const { addons } = require('@storybook/addons'); | ||
const { addons } = require("@storybook/addons"); | ||
|
||
addons.setConfig({ | ||
theme: require('./yextTheme.cjs') | ||
theme: require("./yextTheme.cjs"), | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<script> | ||
window.global = window; | ||
</script> | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import { axeOptionsConfig } from 'axe-playwright'; | ||
import { axeOptionsConfig } from "axe-playwright"; | ||
|
||
export const runOnly: axeOptionsConfig['axeOptions']['runOnly'] = { | ||
type: 'tag', | ||
values: ['wcag2a', 'wcag2aa', 'wcag21a', 'wcag21aa'] | ||
}; | ||
export const runOnly: axeOptionsConfig["axeOptions"]["runOnly"] = { | ||
type: "tag", | ||
values: ["wcag2a", "wcag2aa", "wcag21a", "wcag21aa"], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,32 @@ | ||
|
||
const { create } = require('@storybook/theming'); | ||
const { create } = require("@storybook/theming"); | ||
|
||
module.exports = create({ | ||
base: 'light', | ||
colorPrimary: '#eeeff0', | ||
colorSecondary: '#2563eb', | ||
base: "light", | ||
colorPrimary: "#eeeff0", | ||
colorSecondary: "#2563eb", | ||
|
||
// UI | ||
appBg: '#fafafa', | ||
appContentBg: 'white', | ||
appBorderColor: '#eeeff0', | ||
appBg: "#fafafa", | ||
appContentBg: "white", | ||
appBorderColor: "#eeeff0", | ||
appBorderRadius: 6, | ||
|
||
// Text colors | ||
textColor: 'black', | ||
textMutedColor: '#4b5563', | ||
textColor: "black", | ||
textMutedColor: "#4b5563", | ||
|
||
// Toolbar colors | ||
barTextColor: '#4b5563', | ||
barBg: '#eeeff0', | ||
barTextColor: "#4b5563", | ||
barBg: "#eeeff0", | ||
|
||
// Form | ||
inputBg: 'white', | ||
inputTextColor: 'black', | ||
inputBorder: '#9ca3af', | ||
inputBg: "white", | ||
inputTextColor: "black", | ||
inputBorder: "#9ca3af", | ||
inputBorderRadius: 4, | ||
|
||
// Brand logo | ||
brandTitle: 'Yext Component Library', | ||
brandUrl: 'https://github.com/yext/search-ui-react', | ||
brandImage: './logo.png' | ||
}); | ||
brandTitle: "Yext Component Library", | ||
brandUrl: "https://github.com/yext/search-ui-react", | ||
brandImage: "./logo.png", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
// Needed for es6 imports and TS support in jest | ||
module.exports = { | ||
presets: [ | ||
['@babel/preset-env', { targets: { node: 'current' } }], | ||
'@babel/preset-typescript', | ||
["@babel/preset-env", { targets: { node: "current" } }], | ||
"@babel/preset-typescript", | ||
], | ||
}; | ||
}; |
Oops, something went wrong.