Skip to content

Commit

Permalink
chore: cspell fixes (#4754)
Browse files Browse the repository at this point in the history
  • Loading branch information
elycheea authored Apr 4, 2024
1 parent ff5ddd1 commit d028cec
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 12 deletions.
8 changes: 5 additions & 3 deletions cspell.html.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
apos
classname
contenteditable
describedby
divs
easings
evenodd
fieldset
figcaption
hellip
hrefs
labelledby
listitem
lsquo
Expand All @@ -15,11 +18,10 @@ preload
progressbar
rsquo
searchbox
srcset
svg
tabindex
tbody
viewports
valign
viewports
xlink
hellip
apos
19 changes: 13 additions & 6 deletions cspell.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"version": "0.1",
"language": "en",
"dictionaries": ["contributors", "html", "packages"],
"dictionaries": [
"contributors",
"html",
"packages"
],
"dictionaryDefinitions": [
{
"name": "contributors",
Expand Down Expand Up @@ -70,7 +74,8 @@
"buildhome",
"callout",
"checkmark",
"Coachmark",
"coachmark",
"coachmarks",
"codemods",
"codesandbox",
"colindex",
Expand All @@ -80,10 +85,12 @@
"dasharray",
"data-testid",
"datagrid",
"Datagrid",
"disttag",
"disttags",
"dragbar",
"draggable",
"draghandle",
"dragmode",
"editinplace",
"editsidepanel",
"emptystate",
Expand Down Expand Up @@ -124,6 +131,7 @@
"setsize",
"sidepanel",
"skipnav",
"spacebar",
"stackable",
"stackblitz",
"statusicon",
Expand All @@ -137,18 +145,17 @@
"tearsheet",
"tearsheets",
"techdocs",
"testname",
"textbox",
"timeframe",
"toggletip",
"toggletipbutton",
"toolbarbutton",
"treegrid",
"treeview",
"testname",
"typeahead",
"userprofileimage",
"uuidv",
"webfonts",
"Coachmark"
"webfonts"
]
}
2 changes: 2 additions & 0 deletions cspell.packages.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ lottie
markdownlint
pageview
plex
potentialrecommendation
potentialviolation
stackblitz
storysource
stylelint
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export let CoachmarkFixed = React.forwardRef(

const handleTransitionEnd = (e) => {
console.log(
'Hererrrrrreee at transition end... ',
'Here at transition end... ',
e.propertyName === 'transform' && !fixedIsVisible
);
if (e.propertyName === 'transform' && !fixedIsVisible) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const className = `class-${uuidv4()}`;
const dataTestId = uuidv4();
const childDataTestId = `child-element-${uuidv4()}`;

// cSpell:dictionaries lorem-ipsum
const childrenContent = (
<DescriptionListBody data-testid={childDataTestId}>
<DescriptionListRow>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ describe(componentName, () => {
// render/expand content
await act(() => click(button));
expect(screen.queryByText(definition)).toBeInTheDocument();
// "unrender"/collapse content
// "un-render"/collapse content
await act(() => click(button));
expect(screen.queryByText(definition)).not.toBeInTheDocument();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const dataTestId = uuidv4();
const childDataTestId = `child-element-${uuidv4()}`;

const contentBlockClass = `${blockClass}__content`;
// cSpell:dictionaries lorem-ipsum
const storyCopy = `Lorem ipsum dolor sit, amet consectetur adipisicing elit. Eveniet rerum aliquid perferendis, nulla nam ad excepturi, iure earum dolorum ipsa quae cum voluptatibus nemo quis debitis, aperiam repudiandae dolore deleniti.`;

const childrenContent = (
Expand Down
2 changes: 1 addition & 1 deletion scripts/example-gallery-builder/gallery-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const getExampleDirectoriesConfig = (
galleryConfigDir,
directories
) => {
// examines peer directories and checks/updates for if has a thumbnail.pngopen .
// examines peer directories and checks/updates for if has a thumbnail.png open .
const newConfig = [];
// add the config for each dir
directories.forEach((dir) => {
Expand Down

0 comments on commit d028cec

Please sign in to comment.