Skip to content

Commit 6f72180

Browse files
committed
chore: resolve eslint config mismatch
1 parent a578ba3 commit 6f72180

File tree

172 files changed

+9883
-7907
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

172 files changed

+9883
-7907
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ jobs:
115115
reporter: github-pr-review
116116
filter_mode: diff_context
117117
# eslint_flags: "components/*/stories/*.js"
118-
eslint_flags: "${{ inputs.eslint_added_files }} ${{ inputs.eslint_modified_files }}"
118+
eslint_flags: "--config ${{ github.workspace }}/.eslintrc ${{ inputs.eslint_added_files }} ${{ inputs.eslint_modified_files }}"
119119

120120
- name: Run markdownlint on documentation
121121
uses: reviewdog/action-markdownlint@v0.26.2

.storybook/assets/base.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,15 @@ svg:has(symbol):not(:has(use)) {
8686
story view), due to Storybook's inline style that sets overflow: auto */
8787
overflow: visible !important;
8888
}
89+
90+
#panel-tab-content tr th:nth-child(1),
91+
#panel-tab-content tr th:nth-child(3),
92+
#panel-tab-content tr td:nth-child(1),
93+
#panel-tab-content tr td:nth-child(3) {
94+
min-inline-size: 100px !important;
95+
}
96+
97+
#panel-tab-content tr th:nth-child(2),
98+
#panel-tab-content tr td:nth-child(2) {
99+
max-inline-size: 500px !important;
100+
}

.storybook/assets/index.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* stylelint-disable selector-class-pattern -- Targeting pre-defined Storybook classes */
2-
31
/*!
42
* Copyright 2024 Adobe. All rights reserved.
53
*
@@ -119,4 +117,3 @@ select:focus,
119117
border-color: rgb(2, 101, 220) !important;
120118
box-shadow: rgb(2, 101, 220) 0 0 0 1px inset !important;
121119
}
122-
/* stylelint-enable selector-class-pattern */

.storybook/preview.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import DocumentationTemplate from "./templates/DocumentationTemplate.mdx";
1515
import { argTypes, globalTypes } from "./types";
1616

1717
// Import the custom base styles
18+
import "@spectrum-css/bundle/dist/index.css";
1819
import "./assets/base.css";
1920

2021
/** @type import('@storybook/types').StorybookParameters & import('@storybook/types').API_Layout */

components/accordion/dist/metadata.json

Lines changed: 190 additions & 123 deletions
Large diffs are not rendered by default.

components/accordion/stories/accordion.stories.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,7 @@ export default {
7070
},
7171
packageJson,
7272
metadata,
73-
cssprops: {
74-
...metadata.modifiers,
75-
...metadata.component,
76-
},
73+
cssprops: metadata.modifiers,
7774
},
7875
};
7976

components/actionbar/dist/metadata.json

Lines changed: 89 additions & 72 deletions
Large diffs are not rendered by default.

components/actionbar/stories/actionbar.stories.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,7 @@ export default {
7474
},
7575
packageJson,
7676
metadata,
77-
cssprops: {
78-
...metadata.modifiers,
79-
...metadata.component,
80-
},
77+
cssprops: metadata.modifiers,
8178
},
8279
};
8380

components/actionbutton/dist/metadata.json

Lines changed: 293 additions & 283 deletions
Large diffs are not rendered by default.

components/actionbutton/stories/actionbutton.stories.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,7 @@ export default {
9292
},
9393
packageJson,
9494
metadata,
95-
cssprops: {
96-
...metadata.modifiers,
97-
...metadata.component,
98-
},
95+
cssprops: metadata.modifiers,
9996
docs: {
10097
story: {
10198
height: "auto",

0 commit comments

Comments
 (0)