Skip to content

Commit

Permalink
chore: prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 26, 2024
1 parent 18c1d97 commit 0990b4a
Show file tree
Hide file tree
Showing 24 changed files with 232 additions and 129 deletions.
11 changes: 0 additions & 11 deletions .changeset/hot-pumpkins-help.md

This file was deleted.

79 changes: 0 additions & 79 deletions .changeset/tall-steaks-flow.md

This file was deleted.

6 changes: 6 additions & 0 deletions fork/bootstrap-sass/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 5.1.0

### Minor Changes

- 18c1d97: `rem` values have been updated to correspond to the new `rem` base (16px) define by the design system

## 5.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion fork/bootstrap-sass/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@talend/bootstrap-sass",
"version": "5.0.0",
"version": "5.1.0",
"description": "bootstrap-sass is a Sass-powered version of Bootstrap 3, ready to drop right into your Sass powered applications.",
"main": "assets/javascripts/bootstrap.js",
"style": "assets/stylesheets/_bootstrap.scss",
Expand Down
11 changes: 11 additions & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @talend/react-components

## 15.0.0

### Major Changes

- 18c1d97: `rem` values have been updated to correspond to the new `rem` base (16px) define by the design system

### Patch Changes

- Updated dependencies [18c1d97]
- @talend/design-system@9.0.0

## 14.3.0

### Minor Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"devDependencies": {
"@storybook/addon-actions": "^7.6.4",
"@talend/bootstrap-theme": "^8.5.0",
"@talend/design-system": "^8.9.0",
"@talend/design-system": "^9.0.0",
"@talend/eslint-config": "^13.0.2",
"@talend/eslint-plugin": "^1.1.0",
"@talend/locales-design-system": "^7.15.1",
Expand Down Expand Up @@ -107,7 +107,7 @@
"react-test-renderer": "^18.2.0"
},
"peerDependencies": {
"@talend/design-system": "^8.4.0",
"@talend/design-system": "^9.0.0",
"i18next": "^23.7.7",
"prop-types": "^15.5.10",
"react": ">= 16.14.0",
Expand All @@ -120,5 +120,5 @@
"publishConfig": {
"access": "public"
},
"version": "14.3.0"
"version": "15.0.0"
}
10 changes: 10 additions & 0 deletions packages/containers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @talend/react-containers

## 10.6.1

### Patch Changes

- Updated dependencies [18c1d97]
- Updated dependencies [18c1d97]
- @talend/react-components@15.0.0
- @talend/react-forms@13.0.0
- @talend/design-system@9.0.0

## 10.6.0

### Minor Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/containers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
"url": "https://github.com/Talend/ui.git"
},
"dependencies": {
"@talend/design-system": "^8.11.0",
"@talend/design-system": "^9.0.0",
"@talend/react-cmf": "^8.3.3",
"@talend/react-components": "^14.0.0",
"@talend/react-forms": "^12.5.1",
"@talend/react-components": "^15.0.0",
"@talend/react-forms": "^13.0.0",
"@talend/utils": "^3.0.0",
"classnames": "^2.3.2",
"immutable": "^3.8.2",
Expand Down Expand Up @@ -83,5 +83,5 @@
"publishConfig": {
"access": "public"
},
"version": "10.6.0"
"version": "10.6.1"
}
11 changes: 11 additions & 0 deletions packages/dataviz/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## 6.0.0

### Major Changes

- 18c1d97: `rem` values have been updated to correspond to the new `rem` base (16px) define by the design system

### Patch Changes

- Updated dependencies [18c1d97]
- @talend/react-components@15.0.0

## 5.1.0

### Minor Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/dataviz/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@talend/react-dataviz",
"version": "5.1.0",
"version": "6.0.0",
"description": "Talend charts and visualization components",
"main": "lib/index.js",
"mainSrc": "src/index.ts",
Expand Down Expand Up @@ -36,7 +36,7 @@
},
"dependencies": {
"@talend/assets-api": "^1.3.1",
"@talend/react-components": "^14.0.0",
"@talend/react-components": "^15.0.0",
"@talend/design-tokens": "^2.10.1",
"classnames": "^2.3.2",
"d3": "^7.8.5",
Expand All @@ -49,13 +49,13 @@
"devDependencies": {
"@cypress/react": "^7.0.3",
"@cypress/webpack-dev-server": "^3.7.1",
"@talend/design-system": "^8.11.0",
"@talend/design-system": "^9.0.0",
"@talend/eslint-config": "^13.0.2",
"@talend/eslint-plugin": "^1.1.0",
"@talend/icons": "^7.3.1",
"@talend/locales-tui-components": "^11.4.5",
"@talend/locales-tui-dataviz": "^3.0.1",
"@talend/react-components": "^14.0.0",
"@talend/react-components": "^15.0.0",
"@talend/scripts-core": "^16.3.2",
"@talend/scripts-config-babel": "^13.2.1",
"@talend/scripts-config-react-webpack": "^16.4.2",
Expand Down
11 changes: 11 additions & 0 deletions packages/design-docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @talend/design-docs

## 4.0.0

### Major Changes

- 18c1d97: `rem` values have been updated to correspond to the new `rem` base (16px) define by the design system

### Patch Changes

- Updated dependencies [18c1d97]
- @talend/design-system@9.0.0

## 3.2.0

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/design-docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@talend/design-docs",
"version": "3.2.0",
"version": "4.0.0",
"description": "Package containing design.talend.com stories",
"homepage": "https://github.com/Talend/ui#readme",
"main": "src/index.ts",
Expand All @@ -23,7 +23,7 @@
"@algolia/autocomplete-js": "^1.12.2",
"@storybook/blocks": "^7.6.4",
"@storybook/react": "^7.6.4",
"@talend/design-system": "^8.8.0",
"@talend/design-system": "^9.0.0",
"@talend/design-tokens": "^2.11.0",
"@talend/storybook-docs": "^2.3.0",
"@talend/icons": "^7.3.1",
Expand Down
80 changes: 80 additions & 0 deletions packages/design-system/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,85 @@
# @talend/design-system

## 9.0.0

### Major Changes

- 18c1d97: **Breaking change**

What?

The setup of 1rem = 10px has been removed. 1rem = 16px is now the default value.

Why?

Qlik does not set it and use the default value of 1rem = 16px.
Using Coral component in Qlik integrations, we alter their ui by setting 1rem = 10px on the html element.

How?

You can use the following code to update all scss files in a folder, to convert rem values from 10px to 16px:

```javascript
const fs = require('fs');
const path = require('path');

// Get folder path from command-line arguments
const folderPath = process.argv[2];

if (!folderPath) {
console.error('Please provide a folder path as a command-line argument.');
process.exit(1);
}

// Regular expression to match and capture rem values (including potential negative values)
const remRegex = /(-?\d*\.?\d+)rem/g;

// Function to divide rem values by 1.6 and keep the 'rem' unit with minimal decimal places
const replaceRem = (match, value) => {
const result = (parseFloat(value) / 1.6).toFixed(4).replace(/\.?0+$/, '');
return result + 'rem';
};

// Function to process a single file
const processFile = filePath => {
const cssInput = fs.readFileSync(filePath, 'utf8');
const updatedCSS = cssInput.replace(remRegex, replaceRem);
fs.writeFileSync(filePath, updatedCSS, 'utf8');
console.log(`Updated: ${filePath}`);
};

// Function to recursively find all .scss files in the specified folder
const findAllScssFiles = folder => {
const files = fs.readdirSync(folder);
const scssFiles = [];

files.forEach(file => {
const filePath = path.join(folder, file);
const stat = fs.statSync(filePath);

if (stat.isDirectory()) {
scssFiles.push(...findAllScssFiles(filePath));
} else if (file.endsWith('.scss')) {
scssFiles.push(filePath);
}
});

return scssFiles;
};

// Find all .scss files in the specified folder
const scssFiles = findAllScssFiles(folderPath);

// Process each file
scssFiles.forEach(processFile);
```

To run the script, save it to a file with a .js extension (e.g., updateRemValues.js) and execute it using Node.js:

```bash
node updateRemValues.js /path/to/your/folder
```

## 8.11.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/design-system/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@talend/design-system",
"version": "8.11.1",
"version": "9.0.0",
"description": "Talend Design System",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
13 changes: 13 additions & 0 deletions packages/faceted-search/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 17.0.0

### Major Changes

- 18c1d97: `rem` values have been updated to correspond to the new `rem` base (16px) define by the design system

### Patch Changes

- Updated dependencies [18c1d97]
- Updated dependencies [18c1d97]
- @talend/react-components@15.0.0
- @talend/design-system@9.0.0

## 16.1.2

### Patch Changes
Expand Down
Loading

0 comments on commit 0990b4a

Please sign in to comment.