Skip to content

Commit 3bc0eaa

Browse files
authored
Merge pull request #209 from pegasystems/upgrade/25
Upgrade/25
2 parents dcf85a7 + 10235e0 commit 3bc0eaa

File tree

214 files changed

+14106
-17640
lines changed

Some content is hidden

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

214 files changed

+14106
-17640
lines changed

.eslintrc.json

Lines changed: 0 additions & 59 deletions
This file was deleted.

.github/workflows/validatepr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Validate PRs
33
permissions:
44
contents: read
55
pull-requests: write
6-
6+
77
on:
88
# Event for the workflow to run on
99
push:

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,5 +140,5 @@ dist
140140

141141
# library mode DXCB
142142
.store/
143-
Pega_ConstellationUIGallery/
144-
Pega_ConstellationUIGallery.zip
143+
Pega_UIGallery/
144+
Pega_UIGallery.zip

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ build
1212
CHANGELOG.md
1313
**/public
1414
*.svg
15+
Pega_UIGallery
16+
store
17+
src/components/**/*.json

.storybook/main.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,10 @@ const config: StorybookConfig = {
77
framework: '@storybook/react-webpack5',
88
staticDirs: ['./static'],
99
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
10-
addons: ['@storybook/addon-a11y', '@storybook/addon-essentials'],
11-
docs: {
12-
autodocs: true,
13-
},
10+
addons: ['@storybook/addon-a11y', '@storybook/addon-webpack5-compiler-babel', '@storybook/addon-docs'],
1411
typescript: {
1512
check: false,
13+
reactDocgen: 'react-docgen-typescript',
1614
},
1715
};
1816

.storybook/manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { addons } from '@storybook/manager-api';
1+
import { addons } from 'storybook/manager-api';
22
import myTheme from './theme';
33

44
addons.setConfig({

.storybook/preview.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { useEffect as useReactEffect } from 'react';
2-
import { configureActions } from '@storybook/addon-actions';
3-
import { css } from '@storybook/theming';
4-
import { useEffect as useStorybookEffect, useMemo as useStorybookMemo } from '@storybook/preview-api';
5-
import type { Preview } from '@storybook/react';
2+
import { configureActions } from 'storybook/actions';
3+
import { css } from 'storybook/theming';
4+
import { useEffect as useStorybookEffect, useMemo as useStorybookMemo } from 'storybook/preview-api';
5+
import type { Preview } from '@storybook/react-webpack5';
66
import {
77
Configuration,
88
ModalManager,
@@ -225,6 +225,8 @@ const preview: Preview = {
225225
},
226226
},
227227
},
228+
229+
tags: ['autodocs'],
228230
};
229231

230232
export default preview;

.storybook/theme.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { create } from '@storybook/theming';
1+
import { create } from 'storybook/theming';
22

33
const primaryColor = '#005EA7';
44
const secondaryColor = '#0076D1';

.stylelintrc.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,13 @@
66
"selector-max-combinators": null,
77
"selector-max-compound-selectors": null
88
},
9-
"ignoreFiles": ["node_modules/**", "lib/**", "!.storybook", ".storybook/public", "storybook-static/**"]
9+
"ignoreFiles": [
10+
"node_modules/**",
11+
"lib/**",
12+
"!.storybook",
13+
".storybook/public",
14+
"storybook-static/**",
15+
"Pega_UIGallery/**",
16+
"store/**"
17+
]
1018
}

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ Constellation's flexible architecture empowers advanced users (professional fron
44

55
This gallery provides a collection of ready-to-use and customizable component. Explore them directly or [delve into the source code](https://github.com/pegasystems/constellation-ui-gallery/tree/master/src/components) for deeper understanding. Use this resource to gain inspiration, best practices, and a solid foundation for implementing custom components.
66

7-
These components have been tested on Pega '23.1, '24.1, '24.2 and might not run older other versions of the Pega Platform
7+
These components have been tested on Pega '23.1, '24.1, '24.2 and '25.1 and might not run older other versions of the Pega Platform
88

99
- Version 1.x and branch release/1.x.x should be used for Pega '23
1010
- Version 2.x and branch release/2.0 should be used for Pega '24.1
11-
- Version 3.x and branch master should be used for Pega '24.2
11+
- Version 3.x and branch release/3.0 should be used for Pega '24.2
12+
- Version 4.x and branch master should be used for Pega '24.2
1213

1314
Older versions of the Pega Platform have not been tested and are not supported.
1415

0 commit comments

Comments
 (0)