Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
86efb73
chore: save
jmfrancois Jan 16, 2026
51817b2
fix: it start and display !
jmfrancois Jan 16, 2026
9697392
chore: save
jmfrancois Jan 16, 2026
3f8e6f5
fix: dataviz
jmfrancois Jan 16, 2026
bd3a8cc
fix: build
jmfrancois Jan 16, 2026
5a88b8b
chore: save
jmfrancois Jan 16, 2026
5ac111d
fix: design docs
jmfrancois Jan 16, 2026
c7e5b1d
fix: many errors
jmfrancois Jan 16, 2026
aeb6178
chore: add changeset
jmfrancois Jan 20, 2026
46ba8b6
docs: add missing changeset
jmfrancois Jan 20, 2026
bea41ff
fix: import of css and remove customize sass option
jmfrancois Jan 21, 2026
a026273
feat(eslint): only allow jsx into jsx files
jmfrancois Jan 22, 2026
750b213
chore: cleanup storybook cmf plugin
jmfrancois Jan 22, 2026
369a761
chore: save
jmfrancois Jan 26, 2026
1beddde
fix: components stories
jmfrancois Jan 26, 2026
9baca5f
fix: init storybook config
jmfrancois Jan 26, 2026
21d4f5a
fix: make containers display things !
jmfrancois Jan 26, 2026
e32f620
fix: re-add action;
jmfrancois Jan 26, 2026
248a711
fix: a few urls
jmfrancois Jan 26, 2026
86e4279
fix: almost done
jmfrancois Jan 26, 2026
c5b8c18
fix: save
jmfrancois Jan 26, 2026
2461053
chore(scripts): remove talend-scripts storybook commands
jmfrancois Jan 26, 2026
cc9c6dc
chore :update icons storybook
jmfrancois Jan 26, 2026
64c5024
fix(icons): modernize the script
jmfrancois Jan 26, 2026
f15754f
fix: modernize icons
jmfrancois Jan 26, 2026
a72d935
fix: update faceted search storybook config
jmfrancois Jan 26, 2026
9adad0b
fix: testdemo
jmfrancois Jan 26, 2026
82f51f8
Merge branch 'master' into jmfrancois/chore/update-storybook
jmfrancois Jan 26, 2026
1e9328c
chore: update CI
jmfrancois Jan 26, 2026
78a5409
chore: update wf files
jmfrancois Jan 26, 2026
7cf186c
fix: build
jmfrancois Jan 26, 2026
49c6807
fix: build esm first
jmfrancois Jan 26, 2026
155f33e
fix: add generate typeutils
jmfrancois Jan 27, 2026
778658d
fix: lint
jmfrancois Jan 27, 2026
c80d17c
test: update
jmfrancois Jan 27, 2026
a4c2ff3
docs: update changelog
jmfrancois Jan 27, 2026
cbe4632
chore: update changelog
jmfrancois Jan 27, 2026
bf489cc
chore: update icon release changelog
jmfrancois Jan 27, 2026
fb78eb9
chore: remove webpack from icons build
jmfrancois Jan 27, 2026
cb7dccc
Potential fix for code scanning alert no. 2709: Shell command built f…
jmfrancois Jan 27, 2026
24ab00d
docs: update changelog with breaking changes
jmfrancois Jan 27, 2026
906ccf8
chore: rename the package
jmfrancois Jan 27, 2026
980ae07
fix: use local icons
jmfrancois Jan 27, 2026
0dd3f3c
fix: icon bundles
jmfrancois Jan 27, 2026
e0581c7
docs: update form to remove require
jmfrancois Jan 27, 2026
92f9786
fix: integrate bootstrap-theme in storybook config
jmfrancois Jan 27, 2026
2748cc1
Merge branch 'master' into jmfrancois/chore/update-storybook
jmfrancois Jan 27, 2026
d207b21
docs: fix latest story
jmfrancois Jan 27, 2026
492f2d2
chore: update stories
jmfrancois Jan 27, 2026
e715eed
fix(Icons): filter
jmfrancois Jan 27, 2026
d8e7f16
fix: Modal and Forms
jmfrancois Jan 27, 2026
641a8ba
test: update snap
jmfrancois Jan 28, 2026
0c8e66f
fix: chromatic issue
franck-boncler2 Jan 28, 2026
73176da
fix: chromatic issue
franck-boncler2 Jan 28, 2026
3100e35
fix: padding in dialog
franck-boncler2 Jan 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions .changeset/cyan-lands-tickle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@talend/react-faceted-search': minor
'@talend/react-components': minor
'@talend/react-forms': minor
---

feat: migrate forgotten file to jsx file
5 changes: 5 additions & 0 deletions .changeset/dark-bags-accept.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@talend/icons': major
---

chore: refactor build to output more ESM.
7 changes: 7 additions & 0 deletions .changeset/deep-foxes-smoke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@talend/react-components': patch
---

fix: add type function to all withTranslation exported component

The goal here is to make type inference of typescript happy.
70 changes: 70 additions & 0 deletions .changeset/every-papers-tap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
---
'@talend/scripts-core': major
---

chore: remove storybook commands and integration

You should do the following to migrate:

in your package.json
```diff

"scripts": {
- "start": "talend-scripts start"
+ "start": "storybook dev"
Comment on lines +13 to +14
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only true for a lib, an app would want to keep its start script as it is and update whatever the storybook app

- "build-storybook": "talend-scripts build-storybook"
+ "build-storybook": "storybook build"
}

"dependencies": {
- "@talend/scripts-core": "^16.8.0",
+ "@talend/scripts-core": "^17.0.0",

- "@storybook/addon-actions": "^7.6.21",
- "@storybook/.*": "^7.6.21",
+ "@storybook/addon-a11y": "^10.1.11",
+ "@storybook/addon-links": "^10.1.11",
+ "@storybook/react": "^10.1.11",
+ "@storybook/react-vite": "^10.1.11",
- "@talend/scripts-config-storybook-lib": "^5.8.0",
+ "@talend/scripts-config-storybook-lib": "^6.0.0",
+ "storybook": "^10.1.11"
}
```

Then ensure you have update your `.storybook/main.js` and `.storybook/preview` files like this:

- rename to main.mjs to use ESM
- keep main.ts if it was already in TS.

```js
// .storybook/main.mjs
import { createMainConfig } from '@talend/scripts-config-storybook-lib/main';

export default createMainConfig({});
```

```js
// .storybook/preview.mjs
import { createPreviewConfig } from '@talend/scripts-config-storybook-lib/main';

const preview = createPreviewConfig({
parameters: {},
i18n: {
namespaces: [...tuiContainersNamespaces, ...tuiComponentsNamespaces, ...dsNamespaces],
remoteLocalesMap: {
'tui-containers':
'https://statics.cloud.talend.com/@talend/locales-tui-containers/9.1.3/locales/{{lng}}/{{ns}}.json',
'tui-components':
'https://statics.cloud.talend.com/@talend/locales-tui-components/16.0.1/locales/{{lng}}/{{ns}}.json',
'design-system':
'https://statics.cloud.talend.com/@talend/locales-design-system/7.15.1/locales/{{lng}}/{{ns}}.json',
},
},
cmf: {
modules: [cmfModule],
settings: settings,
},
});
```

5 changes: 5 additions & 0 deletions .changeset/fine-eels-admire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@talend/react-containers': patch
---

fix: migrate SelectObject scss to css
5 changes: 1 addition & 4 deletions .changeset/frank-moose-fly.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
---
'@talend/react-faceted-search': major
'@talend/react-storybook-cmf': major
'@talend/react-cmf-router': major
'@talend/react-components': major
'@talend/react-containers': major
'@talend/react-forms': major
'@talend/react-a11y': major
'@talend/react-cmf': major
---

No breaking in terms of API but may be some side effect in your config (like storybook)
No breaking in terms of API but may be some side effect in your config (like storybook) that can break your test or your build.
5 changes: 5 additions & 0 deletions .changeset/funky-seas-bathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@talend/react-cmf': patch
---

fix: check if window is defined
5 changes: 5 additions & 0 deletions .changeset/funny-garlics-yawn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@talend/react-storybook-cmf': major
---

feat: update to storybook 10
5 changes: 5 additions & 0 deletions .changeset/lovely-moments-work.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@talend/scripts-config-storybook-lib': major
---

feat: migrate to storybook 10
1 change: 0 additions & 1 deletion .changeset/moody-apples-notice.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"@talend/react-forms": patch
"@talend/storybook-docs": patch
"@talend/ui-storybook-one": patch
"@talend/scripts-config-storybook-lib": patch
---

chore: update storybook
5 changes: 5 additions & 0 deletions .changeset/moody-rabbits-post.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@talend/storybook-docs': major
---

feat: migrate to storybook 10
5 changes: 5 additions & 0 deletions .changeset/ninety-singers-lead.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@talend/eslint-config': major
---

only allow jsx into jsx files
5 changes: 5 additions & 0 deletions .changeset/red-parts-teach.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@talend/scripts-config-typescript': major
---

feat: set moduleResolution to bundler
5 changes: 5 additions & 0 deletions .changeset/shiny-cooks-itch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@talend/design-docs': minor
---

feat: migrate scss to css
5 changes: 5 additions & 0 deletions .changeset/strict-squids-sell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@talend/react-components': patch
---

fix: migrate Dialog.scss into css
9 changes: 6 additions & 3 deletions .github/actions/setup-node/action.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
name: 'Setup nodejs'
description: 'Setup nodejs'
author: 'Talend'
secrets:
inputs:
NPM_TOKEN:
description: 'The NPM token to use'
description: 'Token used for GitHub Packages auth (defaults to GITHUB_TOKEN)'
required: true

runs:
using: 'composite'
steps:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.tool-versions'
registry-url: 'https://npm.pkg.github.com/'
# set up auth to read in from env.NODE_AUTH_TOKEN.
registry-url: 'https://npm.pkg.github.com'
scope: '@talend'

- name: Install yarn
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pr-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:

- name: Install
run: yarn install --frozen-lockfile --ignore-scripts
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: eslint + stylelint
continue-on-error: true
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:

- name: Install
run: yarn install --frozen-lockfile
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Test
run: yarn test --coverage --coverageReporters json-summary
Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"@talend/scripts-config-prettier": "^12.5.0",
"@talend/scripts-core": "^16.8.0",
"@talend/scripts-yarn-workspace": "^2.2.0",
"baseline-browser-mapping": "^2.9.16",
"cross-env": "^7.0.3",
"cross-spawn": "^7.0.6",
"eslint": "^9.39.2",
Expand All @@ -29,12 +30,15 @@
"test:cov": "cross-env TZ=UTC talend-yarn-workspace run test:cov",
"test:demo": "talend-yarn-workspace run test:demo",
"test:cron": "talend-yarn-workspace run test:cron",
"start-one": "yarn workspace @talend/ui-storybook-one run start",
"start-components": "yarn workspace @talend/react-components run start",
"start-containers": "yarn workspace @talend/react-containers run start",
"start-dataviz": "yarn workspace @talend/react-dataviz run start",
"start-design-system": "yarn workspace @talend/design-system run start",
"start-stepper": "yarn workspace @talend/react-stepper run start",
"start-forms": "yarn workspace @talend/react-forms run start",
"start-theme": "yarn workspace @talend/bootstrap-theme run start",
"start-icons": "yarn workspace @talend/icons run start-storybook",
"changelog": "git log --pretty=\"format:%C(bold green)%ad%C(reset) %s\" --date=short --color",
"prepare": "husky install"
},
Expand Down
88 changes: 88 additions & 0 deletions packages/cmf/cmf.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
import type { ComponentType, ReactNode } from 'react';
import type { Store, Dispatch, AnyAction } from 'redux';

export interface CMFContext {
store: Store;
registry: any;
[extra: string]: any;
}

export interface SagaProps {
saga: (...args: any[]) => any;
sagaAttributes?: any;
children?: ReactNode;
}

export const App: ComponentType<any>;
export const Dispatcher: ComponentType<any>;
export const ErrorBoundary: ComponentType<any>;
export const Inject: ComponentType<any>;
export const RegistryProvider: ComponentType<any>;
export const Saga: ComponentType<SagaProps>;
export const CmfRegisteredSaga: ComponentType<SagaProps>;

export const actions: any;
export const action: (...args: any[]) => AnyAction;
export const actionCreator: {
register: (name: string, creator: (...args: any[]) => AnyAction, context?: any) => void;
unregister: (name: string) => void;
get: (name: string) => (...args: any[]) => AnyAction;
[id: string]: any;
};
export const bootstrap: (config?: any) => Promise<any>;
export const cmfConnect: (
mapStateToProps?: any,
mapDispatchToProps?: any,
mergeProps?: any,
options?: any,
) => (Component: ComponentType<any>) => ComponentType<any>;
export const cmfModule: any;
export const component: any;
export const componentState: any;
export const constants: any;
export const expression: any;
export const expressions: any;
export const localStorage: any;
export const matchPath: any;
export const middlewares: any;
export const onError: any;
export const reducers: any;
export const registry: any;
export const sagas: any;
export const selectors: any;
export const settings: any;
export const store: (...args: any[]) => Store;
export const mock: any;
export const useCMFContext: () => CMFContext;

export const getErrorMiddleware: any;
export const httpMiddleware: any;

declare const cmfDefault: {
action: typeof action;
actions: typeof actions;
actionCreator: typeof actionCreator;
bootstrap: typeof bootstrap;
component: typeof component;
connect: typeof cmfConnect;
constants: typeof constants;
CmfRegisteredSaga: typeof CmfRegisteredSaga;
expression: typeof expression;
expressions: typeof expressions;
middlewares: typeof middlewares;
module: typeof cmfModule;
onError: typeof onError;
registerInternals: (context?: any) => void;
registry: typeof registry;
router: {
matchPath: typeof matchPath;
};
Saga: typeof Saga;
saga: typeof sagas;
sagas: typeof sagas;
selectors: typeof selectors;
settings: typeof settings;
localStorage: typeof localStorage;
};

export default cmfDefault;
9 changes: 5 additions & 4 deletions packages/cmf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,17 @@
"exports": {
".": {
"import": "./lib-esm/index.js",
"require": "./lib/index.js"
"require": "./lib/index.js",
"types": "./cmf.d.ts"
},
"./lib/*": {
"import": "./lib-esm/*",
"require": "./lib/*"
"require": "./lib/*",
"types": "./cmf.d.ts"
}
},
"scripts": {
"build:lib:esm": "talend-scripts build --esm",
"build:lib": "talend-scripts build",
"build:lib": "talend-scripts build && talend-scripts build --esm",
"start": "echo nothing to start",
"test": "talend-scripts test",
"test:update": "talend-scripts test -u",
Expand Down
2 changes: 1 addition & 1 deletion packages/cmf/src/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const preReducers = [];
const enhancers = [];
const middlewares = [thunk, cmfMiddleware, onError.middleware];

if (window) {
if (typeof window !== 'undefined') {
// eslint-disable-next-line no-underscore-dangle
if (window.__REDUX_DEVTOOLS_EXTENSION__) {
// eslint-disable-next-line no-underscore-dangle
Expand Down
3 changes: 3 additions & 0 deletions packages/components/.storybook/main.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { createMainConfig } from '@talend/scripts-config-storybook-lib/main';

export default createMainConfig();
29 changes: 0 additions & 29 deletions packages/components/.storybook/preview.js

This file was deleted.

Loading
Loading