Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/npm_and_yarn/dotenv-16.4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
mhuchet authored Aug 5, 2024
2 parents 0d1908f + 2caf3d1 commit 03f25fe
Show file tree
Hide file tree
Showing 27 changed files with 164 additions and 128 deletions.
5 changes: 0 additions & 5 deletions .changeset/itchy-onions-refuse.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/large-hotels-nail.md

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/design-system-component-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,21 +44,21 @@ jobs:
yarn workspace @talend/design-tokens run build:lib:esm
- name: Cypress Component Testing
uses: cypress-io/github-action@1b70233146622b69e789ccdd4f9452adc638d25a #v6.6.1
uses: cypress-io/github-action@df7484c5ba85def7eef30db301afa688187bc378 #v6.7.2
with:
install: false
browser: ${{ matrix.browser }}
command: yarn workspace @talend/design-system run test:cy

- name: Cypress screenshots upload
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 #v4.3.3
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b #v4.3.4
if: failure()
with:
name: cypress-component-testing-${{ matrix.browser }}-screenshots
path: packages/design-system/cypress/screenshots/**/*

- name: Cypress videos upload
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 #v4.3.3
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b #v4.3.4
if: failure()
with:
name: cypress-component-testing-${{ matrix.browser }}-videos
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
run: yarn lint-merge-report master ${GITHUB_HEAD_REF}

- name: Annotate Code Linting Results
uses: ataylorme/eslint-annotate-action@5f4dc2e3af8d3c21b727edb597e5503510b1dc9c #v2.2.0
uses: ataylorme/eslint-annotate-action@d57a1193d4c59cbfbf3f86c271f42612f9dbd9e9 #v3.0.0
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
report-json: ./eslint-report.json
2 changes: 1 addition & 1 deletion .github/workflows/tests-cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Create Issue on Failed workflow
if: ${{ failure() }}
uses: dacbd/create-issue-action@ba4d1c45cccf9c483f2720cefb40e437f0ee6f7d #v1.2.1
uses: dacbd/create-issue-action@cdb57ab6ff8862aa09fee2be6ba77a59581921c2 #v2.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
title: module-to-cdn configuration fails
Expand Down
6 changes: 6 additions & 0 deletions fork/module-to-cdn/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @talend/module-to-cdn

## 9.11.1

### Patch Changes

- d9fe636: fix: module to cdn for ag-grid

## 9.11.0

### Minor Changes
Expand Down
6 changes: 5 additions & 1 deletion fork/module-to-cdn/modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,13 @@
"ag-grid-react": {
"var": "AgGridReact",
"versions": {
">= 23.1.0": {
">= 23.1.0 < 32.0.0": {
"development": "/bundles/ag-grid-react.min.js",
"production": "/bundles/ag-grid-react.min.js"
},
">= 32.0.0": {
"development": "/dist/umd/@ag-grid-community/react.js",
"production": "/dist/umd/@ag-grid-community/react.min.js"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion fork/module-to-cdn/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@talend/module-to-cdn",
"version": "9.11.0",
"version": "9.11.1",
"description": "Get cdn config from npm module name",
"license": "MIT",
"repository": "https://github.com/Talend/ui",
Expand Down
6 changes: 6 additions & 0 deletions packages/containers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @talend/react-containers

## 11.1.0

### Minor Changes

- be457e9: fix(containers): Expose defaultRegistry through ComponentForm.kit

## 11.0.4

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/containers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"@talend/locales-design-system": "^7.15.1",
"@talend/react-storybook-cmf": "^10.0.0",
"@talend/eslint-config": "^13.2.0",
"@talend/eslint-plugin": "^1.3.0",
"@talend/eslint-plugin": "^1.3.1",
"@talend/scripts-core": "^16.5.1",
"@talend/scripts-config-babel": "^13.5.0",
"@talend/scripts-config-storybook-lib": "^5.4.0",
Expand All @@ -95,5 +95,5 @@
"publishConfig": {
"access": "public"
},
"version": "11.0.4"
"version": "11.1.0"
}
8 changes: 8 additions & 0 deletions packages/design-system/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @talend/design-system

## 11.0.6

### Patch Changes

- fcba736: fix: useLayoutEffect to set the data-theme
- Updated dependencies [fcba736]
- @talend/design-tokens@3.4.3

## 11.0.5

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/design-system/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@talend/design-system",
"version": "11.0.5",
"version": "11.0.6",
"description": "Talend Design System",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -46,7 +46,7 @@
"dependencies": {
"@floating-ui/react": "^0.24.8",
"@talend/assets-api": "^1.5.1",
"@talend/design-tokens": "^3.4.1",
"@talend/design-tokens": "^3.4.3",
"@talend/utils": "^3.2.3",
"classnames": "^2.5.1",
"modern-css-reset": "^1.4.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { PropsWithChildren, useContext, useEffect, useState } from 'react';
import { PropsWithChildren, useContext, useLayoutEffect, useState } from 'react';

import 'modern-css-reset/dist/reset.min.css';
import 'typeface-inconsolata/index.css';
Expand All @@ -25,15 +25,15 @@ export const ThemeProvider = ({
// Handle nested Providers: parent Provider doesn't have context, child does
const context = useContext(ThemeContext);

useEffect(() => {
useLayoutEffect(() => {
document.body.dataset.theme = selectedTheme;
}, [selectedTheme]);

useEffect(() => {
useLayoutEffect(() => {
setSelectedTheme(theme);
}, [theme]);

useEffect(() => {
useLayoutEffect(() => {
if (tokensOverride) {
Object.keys(tokensOverride).forEach(key => {
document.body.style.setProperty(key, tokensOverride[key].toString());
Expand Down
12 changes: 12 additions & 0 deletions packages/design-tokens/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @talend/design-tokens

## 3.4.3

### Patch Changes

- fcba736: fix: revert logo change

## 3.4.2

### Patch Changes

- 38e3c2c: Change the default branding logo to Qlik-light style

## 3.4.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/design-tokens/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@talend/design-tokens",
"version": "3.4.1",
"version": "3.4.3",
"description": "Talend Design Tokens",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -58,7 +58,7 @@
},
"devDependencies": {
"@talend/eslint-config": "^13.2.0",
"@talend/eslint-plugin": "^1.3.0",
"@talend/eslint-plugin": "^1.3.1",
"@talend/scripts-core": "^16.5.1",
"@talend/scripts-config-react-webpack": "^16.8.0",
"@talend/scripts-config-typescript": "^11.3.0",
Expand Down
Loading

0 comments on commit 03f25fe

Please sign in to comment.