Skip to content

Commit fcf4b05

Browse files
authored
Merge pull request #398 from eccenca/release/v26.0.0
Release v26.0.0 into main branch
2 parents 3ece160 + e6822c8 commit fcf4b05

229 files changed

Lines changed: 5463 additions & 5189 deletions

File tree

Some content is hidden

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

.github/workflows/publish-featurefix-prerelease.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
- "fix/*"
99
- "bugfix/*"
1010
- "hotfix/*"
11+
- "change/*"
1112
inputs:
1213
confirmation:
1314
description: "Create feature tag and publish package"
@@ -28,7 +29,7 @@ jobs:
2829
uses: tj-actions/branch-names@v8
2930
- name: Allow only for feature/fix branches
3031
run: |
31-
if [[ ! ${{ steps.branch-name.outputs.current_branch }} =~ ^(feature|fix|bugfix|hotfix)\/ ]] ;
32+
if [[ ! ${{ steps.branch-name.outputs.current_branch }} =~ ^(feature|fix|bugfix|hotfix|change)\/ ]] ;
3233
then
3334
echo "Only allowed to get triggered on feature and fix branches!"
3435
echo "You started it on '${{ steps.branch-name.outputs.current_branch }}'."

.github/workflows/push-tagged-release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ jobs:
3737
- uses: actions/setup-node@main
3838
with:
3939
node-version: "lts/krypton"
40-
registry-url: "https://registry.npmjs.org"
4140
- name: Set name vars
4241
id: info-vars
4342
run: |
@@ -68,6 +67,11 @@ jobs:
6867
token: ${{ secrets.GITHUB_TOKEN }}
6968
projectToken: ${{ secrets.chromaticToken }}
7069
exitZeroOnChanges: true
70+
- uses: actions/setup-node@main
71+
with:
72+
node-version: "lts/krypton"
73+
registry-url: "https://registry.npmjs.org"
74+
package-manager-cache: false
7175
- name: Publish npm package
7276
run: yarn publish --access public
7377
env:

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,6 @@ launch.json
6161
storybook-static
6262
//jest
6363
.jest-test-results.json
64+
65+
# ignore Typescript assets
66+
*.tsbuildinfo

.storybook/main.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
const sass = require("sass");
22
const path = require("path");
33
const sassRenderSyncConfig = require("./../scripts/sassConfig");
4+
const { silenceDeprecations } = require("../scripts/sassDeprecationConfig");
45

56
module.exports = {
67
stories: ["../src/**/*.stories.@(js|jsx|ts|tsx)"],
78
addons: [
89
"@storybook/addon-links",
9-
"@storybook/addon-essentials",
10-
"@storybook/addon-jest",
10+
"@storybook/addon-docs",
11+
"@storybook/addon-a11y",
1112
{
1213
name: "@storybook/preset-scss",
1314
options: {
1415
sassLoaderOptions: {
1516
implementation: sass,
16-
sassOptions: sassRenderSyncConfig,
17+
sassOptions: {...sassRenderSyncConfig, silenceDeprecations},
1718
},
1819
},
1920
},
@@ -98,7 +99,4 @@ module.exports = {
9899
};
99100
return config;
100101
},
101-
docs: {
102-
autodocs: true,
103-
},
104102
};

.storybook/preview.js

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,24 @@
1-
import { withTests } from "@storybook/addon-jest";
2-
31
import "./styles.scss";
42

5-
const getJestResults = () => {
6-
try {
7-
return require("../.jest-test-results.json");
8-
} catch (err) {
9-
return {};
10-
}
11-
};
12-
13-
const jestResults = getJestResults();
14-
15-
export const decorators = [
16-
withTests({
17-
results: jestResults,
18-
}),
19-
];
20-
213
export const parameters = {
224
options: {
235
storySort: {
246
order: ["Configuration", "Components", "Forms", "Extensions", "CMEM", "*"],
257
},
268
},
27-
actions: {
28-
argTypesRegex: "^on[A-Z].*",
29-
},
309
controls: {
3110
matchers: {
3211
color: /(background|color)$/i,
3312
date: /Date$/,
3413
},
3514
},
3615
};
16+
17+
const preview = {
18+
// Enables auto-generated documentation for all stories
19+
// @see https://storybook.js.org/docs/writing-docs/autodocs
20+
tags: ['autodocs'],
21+
parameters,
22+
};
23+
24+
export default preview;

.typescript/tsbuild-esm.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
{
22
"extends": "./../tsconfig.json",
33
"compilerOptions": {
4-
"lib": ["dom", "dom.iterable", "es2015", "es2020", "es2021", "es2022.intl", "es2015.collection", "es2015.iterable"],
4+
"lib": [
5+
"dom",
6+
"dom.iterable",
7+
"es2015",
8+
"es2020",
9+
"es2021",
10+
"es2022.intl",
11+
"es2015.collection",
12+
"es2015.iterable"
13+
],
514
"module": "es2015",
615
"target": "es5",
716
"noEmit": false,

0 commit comments

Comments
 (0)