diff --git a/.github/workflows/create-release-branch.yml b/.github/workflows/create-release-branch.yml index 6ec7909d9..3f6ed9b4d 100644 --- a/.github/workflows/create-release-branch.yml +++ b/.github/workflows/create-release-branch.yml @@ -22,7 +22,7 @@ jobs: - uses: actions/checkout@main - uses: actions/setup-node@main with: - node-version: "18" + node-version: "lts/krypton" - name: Check and save dispatched branch id: dispatched-branch run: | diff --git a/.github/workflows/deployment-storybook.yml b/.github/workflows/deployment-storybook.yml index c94a35109..023edf66b 100644 --- a/.github/workflows/deployment-storybook.yml +++ b/.github/workflows/deployment-storybook.yml @@ -5,7 +5,9 @@ on: paths: - "src/**" - ".storybook/**" + - ".github/workflows/deployment-storybook.yml" - "index.ts" + - package.json - yarn.lock push: branches: @@ -13,7 +15,9 @@ on: paths: - "src/**" - ".storybook/**" + - ".github/workflows/deployment-storybook.yml" - "index.ts" + - package.json - yarn.lock jobs: @@ -24,15 +28,22 @@ jobs: - uses: actions/checkout@main with: fetch-depth: 0 + - name: Workflow git state + run: | + echo github.ref: ${{ github.ref }} + echo github.event_name: ${{ github.event_name }} + echo github.actor: ${{ github.actor }} + git status + git log --oneline -1 - uses: actions/setup-node@main with: - node-version: "18" + node-version: "lts/krypton" - name: Install dependencies run: yarn install - name: Create jest results run: yarn test:generate-output - name: Publish to Chromatic - uses: chromaui/action@v11 + uses: chromaui/action@main with: token: ${{ secrets.GITHUB_TOKEN }} projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} diff --git a/.github/workflows/publish-featurefix-prerelease.yml b/.github/workflows/publish-featurefix-prerelease.yml index f5cbc4e75..5a4ef21a9 100644 --- a/.github/workflows/publish-featurefix-prerelease.yml +++ b/.github/workflows/publish-featurefix-prerelease.yml @@ -42,7 +42,7 @@ jobs: git config user.email "${{ github.actor }}@users.noreply.github.com" - uses: actions/setup-node@main with: - node-version: "18" + node-version: "lts/krypton" - name: Create pre-release version number run: | preid=$(echo ${{ steps.branch-name.outputs.current_branch }} | tr '[:upper:]' '[:lower:]' | sed 's=[^[:alnum:][:space:]"]==g') diff --git a/.github/workflows/publish-final-release.yml b/.github/workflows/publish-final-release.yml index 979a78f71..3b4e7e4f6 100644 --- a/.github/workflows/publish-final-release.yml +++ b/.github/workflows/publish-final-release.yml @@ -43,7 +43,7 @@ jobs: git config user.email "${{ github.actor }}@users.noreply.github.com" - uses: actions/setup-node@main with: - node-version: "18" + node-version: "lts/krypton" - name: Get version id: package-version run: echo "version=$(node -p -e "require('./package.json').version.split('-').shift()")" >> $GITHUB_OUTPUT diff --git a/.github/workflows/publish-release-candidate.yml b/.github/workflows/publish-release-candidate.yml index 0b6c45061..fc0886093 100644 --- a/.github/workflows/publish-release-candidate.yml +++ b/.github/workflows/publish-release-candidate.yml @@ -39,7 +39,7 @@ jobs: git config user.email "${{ github.actor }}@users.noreply.github.com" - uses: actions/setup-node@main with: - node-version: "18" + node-version: "lts/krypton" - name: Create release candidate version number run: | preid="rc" diff --git a/.github/workflows/push-tagged-release.yml b/.github/workflows/push-tagged-release.yml index 81902bc97..dace7bba3 100644 --- a/.github/workflows/push-tagged-release.yml +++ b/.github/workflows/push-tagged-release.yml @@ -36,7 +36,7 @@ jobs: ref: ${{ inputs.ref }} - uses: actions/setup-node@main with: - node-version: "18" + node-version: "lts/krypton" registry-url: "https://registry.npmjs.org" - name: Set name vars id: info-vars diff --git a/.github/workflows/test-code.yml b/.github/workflows/test-code.yml index 54096dd4a..330040345 100644 --- a/.github/workflows/test-code.yml +++ b/.github/workflows/test-code.yml @@ -3,6 +3,7 @@ name: "🧪 Test: code" on: pull_request: paths: + - ".github/workflows/test-code.yml" - "src/**.js" - "src/**.ts" - "src/**.tsx" @@ -19,7 +20,7 @@ jobs: - name: Test using Node.js uses: actions/setup-node@main with: - node-version: "18" + node-version: "lts/krypton" - run: yarn install - run: yarn compile - run: yarn compile-scss diff --git a/.storybook/main.js b/.storybook/main.js index 48794d304..fb5986c91 100644 --- a/.storybook/main.js +++ b/.storybook/main.js @@ -64,7 +64,12 @@ module.exports = { }, webpackFinal: async (config, { configType }) => { // `configType` has a value of 'DEVELOPMENT' or 'PRODUCTION' - + if (configType === "PRODUCTION") { + // remove source maps from production storybook + // this may lead to errors when it is created via github workers + // reason is currently not known + config.devtool = false; + } config.module.rules = [ { test: /\.(png|jpg|gif|svg)(\\?.*)?$/, diff --git a/.storybook/preview.js b/.storybook/preview.js index fc432f30d..fd350e4b1 100644 --- a/.storybook/preview.js +++ b/.storybook/preview.js @@ -19,7 +19,14 @@ export const decorators = [ ]; export const parameters = { - actions: { argTypesRegex: "^on[A-Z].*" }, + options: { + storySort: { + order: ["Configuration", "Components", "Forms", "Extensions", "CMEM", "*"], + }, + }, + actions: { + argTypesRegex: "^on[A-Z].*", + }, controls: { matchers: { color: /(background|color)$/i, diff --git a/.typescript/tsbuild-esm.json b/.typescript/tsbuild-esm.json index aa4118fed..fe99631ff 100644 --- a/.typescript/tsbuild-esm.json +++ b/.typescript/tsbuild-esm.json @@ -1,7 +1,7 @@ { "extends": "./../tsconfig.json", "compilerOptions": { - "lib": ["dom", "dom.iterable", "es2015", "es2020", "es2021", "es2015.collection", "es2015.iterable"], + "lib": ["dom", "dom.iterable", "es2015", "es2020", "es2021", "es2022.intl", "es2015.collection", "es2015.iterable"], "module": "es2015", "target": "es5", "noEmit": false, diff --git a/CHANGELOG.md b/CHANGELOG.md index d2d0c5c43..669ae0eca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,239 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p ## [Unreleased] +### Added + +- `` + - Add parameter `active` to activity control action to set the `active` state of its button. + - action now can have a `active` and `notification` property +- `` + - component for hiding elements in specific media +- `` + - force children to get displayed as inline content +- `` + - similar to `ContextOverlay` component but not directly linked to a React element, it specifies the target in the DOM to get connected lazy +- `` + - `useOnly` property: specify if only parts of the content should be used for the shortened preview, this property replaces `firstNonEmptyLineOnly` +- `` + - `paddingSize` property to add easily some white space +- `` + - toolbar in `markdown` mode provides a user config menu for the editor appearance +- `` + - `hideIndicator` property: hide the radio inout indicator but click on children can be processed via `onChange` event +- `` + - input component for colors + - uses a subset from the configured color palette by default, but it also allows to enter custom colors +- `` + - `MultiSuggestFieldSelectionProps` provides `newlyRemoved` for callbacks set when removing a selected item +- `` + - inline `code` uses same gray background highlighting like code blocks +- CSS custom properties + - beside the color palette we now mirror the most important layout configuration variables as CSS custom properties +- new icons: + - `state-confirmed-all` + - `state-declined-all` + - `data-sourceschema` + - `data-targetschema` + - `operation-ai-generate` + - `operation-filterreset` + - `toggler-pin-empty` + - `toggler-pin-filled` + +### Fixed + +- `` + - create more whitespace inside `small` tag + - reduce visual impact of border +- `` + - take Markdown rendering into account before testing the maximum preview length +- `` + - fix `disabled` property update +- `` + - fix color of buttons to move to previous/next step + - take Markdown rendering into account before testing the maximum preview length +- `` + - header-menu items are vertically centered now +- `` + - stabilize font size for on hover state + - use correct font sizes when `size` property is set +- `Typography` + - adjust displaying fallback symbols in different browsers +- `` + - use the latest provided `onChange` function +- ``, `