row_id string | task string | component string | split string | system string | user string | assistant string | files_in_input list | files_in_output list | license string | source_url string | source_url_input string | pega_version string | char_count int64 | token_count int64 | validation_ok bool |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b6d2cded4c517f29 | full_component_bundle | Pega_Extensions_MarkdownInput | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate every companion file for `Pega_Extensions_MarkdownInput` (everything except `index.tsx`) based on the spec below.
<file path="Docs.mdx">
import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
The Mar... | <file path="config.json">
{
"name": "Pega_Extensions_MarkdownInput",
"label": "Markdown editor",
"description": "Markdown editor",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensions",
"allowedApplications": [],
"componentKey": "Pega_Extensions_MarkdownInput",
"type": "Field",
"subtyp... | [
"src/components/Pega_Extensions_MarkdownInput/Docs.mdx"
] | [
"src/components/Pega_Extensions_MarkdownInput/config.json",
"src/components/Pega_Extensions_MarkdownInput/demo.test.tsx",
"src/components/Pega_Extensions_MarkdownInput/demo.stories.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_MarkdownInput/Docs.mdx | 25.1 | 8,631 | 2,157 | true | |
fc22fa720ca1ecce | implementation_to_test | Pega_Extensions_BannerInput | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate a Jest + React Testing Library test (`demo.test.tsx`) for `Pega_Extensions_BannerInput`. Mock `getPConnect` as needed.
<file path="index.tsx">
import { withConfiguration, Icon, HTML, registerIcon } from '@pega/cosmos-react-core';
import { useTheme } from 'styled-components';
import * as warnSolidIcon from '@p... | import React from 'react';
import { render, screen } from '@testing-library/react';
import { composeStories } from '@storybook/react';
import * as DemoStories from './demo.stories';
const { Default } = composeStories(DemoStories);
test('renders a Banner Input component with default args', async () => {
render(<Defa... | [
"src/components/Pega_Extensions_BannerInput/index.tsx"
] | [
"src/components/Pega_Extensions_BannerInput/demo.test.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_BannerInput/demo.test.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_BannerInput/index.tsx | 25.1 | 4,606 | 1,151 | true |
c3918097286c7bfc | implementation_to_config | Pega_Extensions_DynamicHierarchicalForm | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `config.json` (Pega Designer metadata) for `Pega_Extensions_DynamicHierarchicalForm` based on this implementation.
<file path="index.tsx">
import { useState, useEffect, useRef, useMemo } from 'react';
import {
withConfiguration,
Button,
EmptyState,
FieldGroup,
Flex,
Progress,
TabPanel,
Tab... | {
"name": "Pega_Extensions_DynamicHierarchicalForm",
"label": "Dynamic Hierarchical Form",
"description": "Dynamic Hierarchical Form",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensions",
"allowedApplications": [],
"componentKey": "Pega_Extensions_DynamicHierarchicalForm",
"type": "Tem... | [
"src/components/Pega_Extensions_DynamicHierarchicalForm/index.tsx"
] | [
"src/components/Pega_Extensions_DynamicHierarchicalForm/config.json"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_DynamicHierarchicalForm/config.json | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_DynamicHierarchicalForm/index.tsx | 25.1 | 14,776 | 3,694 | true |
b9b98785322d605d | docs_to_implementation | Pega_Extensions_ImageCarousel | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `index.tsx` for `Pega_Extensions_ImageCarousel` matching the spec below.
<file path="Docs.mdx">
import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
The Image Carousel Component is a dynamic an... | import { withConfiguration } from '@pega/cosmos-react-core';
import { useState, useEffect, useCallback } from 'react';
import { SliderContainer, SliderWrapper } from './styles';
import SlideItem from './SlideItem';
import SliderControls from './Controls';
import DotsNavigation from './DotsNavigation';
import '../shared... | [
"src/components/Pega_Extensions_ImageCarousel/Docs.mdx",
"src/components/Pega_Extensions_ImageCarousel/config.json"
] | [
"src/components/Pega_Extensions_ImageCarousel/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_ImageCarousel/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_ImageCarousel/Docs.mdx | 25.1 | 16,053 | 4,013 | true |
ec55bfb015f941be | config_to_implementation | Pega_Extensions_ExpandableTable | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `index.tsx` for `Pega_Extensions_ExpandableTable` that satisfies this Pega Designer config.
<file path="config.json">
{
"name": "Pega_Extensions_ExpandableTable",
"label": "Expandable Table",
"description": "Read-only table with expandable rows for viewing embedded data object details",
"organizat... | import { Fragment, useState, useEffect, useCallback } from 'react';
import {
withConfiguration,
Progress,
Text,
createUID,
Button,
Icon,
registerIcon,
CardContent,
Card,
} from '@pega/cosmos-react-core';
import StyledPegaExtensionsExpandableTableWrapper from './styles';
import * as caretDownIcon from ... | [
"src/components/Pega_Extensions_ExpandableTable/config.json"
] | [
"src/components/Pega_Extensions_ExpandableTable/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_ExpandableTable/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_ExpandableTable/config.json | 25.1 | 11,572 | 2,893 | true |
f8227e8bdee4e018 | implementation_to_config | Pega_Extensions_ImageMagnify | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `config.json` (Pega Designer metadata) for `Pega_Extensions_ImageMagnify` based on this implementation.
<file path="index.tsx">
import { withConfiguration } from '@pega/cosmos-react-core';
import {
MOUSE_ACTIVATION,
SideBySideMagnifier,
MagnifierContainer,
MagnifierPreview,
MagnifierZoom,
} from... | {
"name": "Pega_Extensions_ImageMagnify",
"label": "Image Magnify",
"description": "Image Magnify",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensions",
"allowedApplications": [],
"componentKey": "Pega_Extensions_ImageMagnify",
"type": "Field",
"subtype": "Text-URL",
"icon": "image... | [
"src/components/Pega_Extensions_ImageMagnify/index.tsx"
] | [
"src/components/Pega_Extensions_ImageMagnify/config.json"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_ImageMagnify/config.json | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_ImageMagnify/index.tsx | 25.1 | 15,799 | 3,949 | true |
4f83d695387cbb5a | config_to_implementation | Pega_Extensions_SignatureCapture | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `index.tsx` for `Pega_Extensions_SignatureCapture` that satisfies this Pega Designer config.
<file path="config.json">
{
"name": "Pega_Extensions_SignatureCapture",
"label": "Signature Capture",
"description": "Signature Capture",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensi... | import { useEffect, useState, useRef } from 'react';
import { withConfiguration, Image, Button, Flex, FormField, FormControl } from '@pega/cosmos-react-core';
import SignaturePad from 'signature_pad';
import Signature from './Signature';
import { StyledButtonsWrapper, StyledSignatureContent, StyledSignatureReadOnlyCont... | [
"src/components/Pega_Extensions_SignatureCapture/config.json"
] | [
"src/components/Pega_Extensions_SignatureCapture/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_SignatureCapture/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_SignatureCapture/config.json | 25.1 | 9,173 | 2,293 | true |
9e3c76d6fb7c7f6c | implementation_to_test | Pega_Extensions_QRCode | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate a Jest + React Testing Library test (`demo.test.tsx`) for `Pega_Extensions_QRCode`. Mock `getPConnect` as needed.
<file path="index.tsx">
import { useEffect, useState, type SyntheticEvent } from 'react';
import { withConfiguration, Flex, FormControl, FormField, QRCode, Text } from '@pega/cosmos-react-core';
i... | import React from 'react';
import { render, screen } from '@testing-library/react';
import { composeStories } from '@storybook/react';
import * as DemoStories from './demo.stories';
const { Default } = composeStories(DemoStories);
test('renders QR Code with default args', async () => {
const { container } = render(... | [
"src/components/Pega_Extensions_QRCode/index.tsx"
] | [
"src/components/Pega_Extensions_QRCode/demo.test.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_QRCode/demo.test.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_QRCode/index.tsx | 25.1 | 5,452 | 1,363 | true |
425848ac3f480633 | config_to_implementation | Pega_Extensions_Scheduler | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `index.tsx` for `Pega_Extensions_Scheduler` that satisfies this Pega Designer config.
<file path="config.json">
{
"name": "Pega_Extensions_Scheduler",
"label": "Scheduler",
"description": "Scheduler",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensions",
"allowedApplications":... | import { useEffect, useState, useRef, type MouseEvent } from 'react';
import { withConfiguration, FormControl, Flex, FormField, Link, useTheme, ErrorState } from '@pega/cosmos-react-core';
import { type EventContentArg } from '@fullcalendar/core';
import FullCalendar from '@fullcalendar/react';
import timeGridPlugin fr... | [
"src/components/Pega_Extensions_Scheduler/config.json"
] | [
"src/components/Pega_Extensions_Scheduler/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_Scheduler/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_Scheduler/config.json | 25.1 | 10,371 | 2,592 | true |
f007a8343cabc89b | full_component_bundle | Pega_Extensions_OrgBuilder | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate every companion file for `Pega_Extensions_OrgBuilder` (everything except `index.tsx`) based on the spec below.
<file path="Docs.mdx">
import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
<Primary /... | <file path="config.json">
{
"name": "Pega_Extensions_OrgBuilder",
"label": "Org Builder",
"description": "Org Builder",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensions",
"allowedApplications": [],
"componentKey": "Pega_Extensions_OrgBuilder",
"type": "Widget",
"subtype": [
"PA... | [
"src/components/Pega_Extensions_OrgBuilder/Docs.mdx"
] | [
"src/components/Pega_Extensions_OrgBuilder/config.json",
"src/components/Pega_Extensions_OrgBuilder/demo.test.tsx",
"src/components/Pega_Extensions_OrgBuilder/demo.stories.tsx",
"src/components/Pega_Extensions_OrgBuilder/styles.ts",
"src/components/Pega_Extensions_OrgBuilder/localizations.json"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_OrgBuilder/Docs.mdx | 25.1 | 16,838 | 4,209 | true | |
35c9f46036131858 | docs_to_implementation | Pega_Extensions_NetworkDiagram | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `index.tsx` for `Pega_Extensions_NetworkDiagram` matching the spec below.
<file path="Docs.mdx">
import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
The Network Diagram component allows to rep... | import { useEffect, useMemo, useState } from 'react';
import {
withConfiguration,
registerIcon,
Icon,
Text,
Card,
CardHeader,
CardContent,
Button,
useTheme,
} from '@pega/cosmos-react-core';
import ReactFlow, {
useNodesState,
useEdgesState,
useReactFlow,
ReactFlowProvider,
MiniMap,
Control... | [
"src/components/Pega_Extensions_NetworkDiagram/Docs.mdx",
"src/components/Pega_Extensions_NetworkDiagram/config.json"
] | [
"src/components/Pega_Extensions_NetworkDiagram/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_NetworkDiagram/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_NetworkDiagram/Docs.mdx | 25.1 | 13,535 | 3,383 | true |
2ff6a4d90d945969 | implementation_to_docs | Pega_Extensions_DisplayAttachments | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate `Docs.mdx` (Storybook MDX documentation) for `Pega_Extensions_DisplayAttachments` based on this implementation.
<file path="index.tsx">
import { useState, useRef, useCallback, useEffect } from 'react';
import {
withConfiguration,
registerIcon,
Button,
Icon,
CardHeader,
CardContent,
Modal,
Flex... | import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
The Display Attachments allows to render the attachments in a read-only mode. This widget is not a replacement of the attachment widget since it does not ... | [
"src/components/Pega_Extensions_DisplayAttachments/index.tsx"
] | [
"src/components/Pega_Extensions_DisplayAttachments/Docs.mdx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_DisplayAttachments/Docs.mdx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_DisplayAttachments/index.tsx | 25.1 | 15,322 | 3,830 | true |
c39a39ce4001c85a | implementation_to_story | Pega_Extensions_DynamicHierarchicalForm | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate a Storybook CSF3 story (`demo.stories.tsx`) for `Pega_Extensions_DynamicHierarchicalForm`. Mock `getPConnect` in `argTypes`.
<file path="index.tsx">
import { useState, useEffect, useRef, useMemo } from 'react';
import {
withConfiguration,
Button,
EmptyState,
FieldGroup,
Flex,
Progress,
TabPanel,... | import type { StoryObj } from '@storybook/react-webpack5';
import { PegaExtensionsDynamicHierarchicalForm, type DynamicHierarchicalFormProps } from './index';
import { Checkbox, CheckboxGroup, Grid, Input, RadioButton, RadioButtonGroup, TextArea } from '@pega/cosmos-react-core';
type configInfo = {
values?: Array<an... | [
"src/components/Pega_Extensions_DynamicHierarchicalForm/index.tsx"
] | [
"src/components/Pega_Extensions_DynamicHierarchicalForm/demo.stories.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_DynamicHierarchicalForm/demo.stories.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_DynamicHierarchicalForm/index.tsx | 25.1 | 21,298 | 5,324 | true |
d4e4d0fec75e940b | requirement_to_implementation | Pega_Extensions_FieldGroupAsRow | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Implement `Pega_Extensions_FieldGroupAsRow` in Pega Constellation DX style.
Implement the Pega Constellation DX component `Pega_Extensions_FieldGroupAsRow`.
Purpose: Field Group As Row
Exposed props:
- `heading` (TEXT) — Label
- `A` (CONTENTPICKER) — Region A
Constraints:
- Folder name and componentKey: `Pega_Extens... | import { withConfiguration, FieldGroup, Flex, useTheme } from '@pega/cosmos-react-core';
import StyledPegaExtensionsFieldGroupAsRowWrapper from './styles';
import '../shared/create-nonce';
type FieldGroupAsRowProps = {
heading: string;
children: any;
};
export const PegaExtensionsFieldGroupAsRow = (props: FieldGr... | [
"src/components/Pega_Extensions_FieldGroupAsRow/Docs.mdx",
"src/components/Pega_Extensions_FieldGroupAsRow/config.json"
] | [
"src/components/Pega_Extensions_FieldGroupAsRow/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_FieldGroupAsRow/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_FieldGroupAsRow/Docs.mdx | 25.1 | 3,612 | 903 | true |
9ccb4054bddcd401 | full_component_bundle | Pega_Extensions_CardGallery | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate every companion file for `Pega_Extensions_CardGallery` (everything except `index.tsx`) based on the spec below.
<file path="Docs.mdx">
import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
The Card ... | <file path="config.json">
{
"name": "Pega_Extensions_CardGallery",
"label": "Card Gallery",
"description": "Card Gallery",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensions",
"allowedApplications": [],
"componentKey": "Pega_Extensions_CardGallery",
"type": "Widget",
"subtype": [
... | [
"src/components/Pega_Extensions_CardGallery/Docs.mdx"
] | [
"src/components/Pega_Extensions_CardGallery/config.json",
"src/components/Pega_Extensions_CardGallery/demo.test.tsx",
"src/components/Pega_Extensions_CardGallery/demo.stories.tsx",
"src/components/Pega_Extensions_CardGallery/styles.ts",
"src/components/Pega_Extensions_CardGallery/localizations.json",
"src... | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_CardGallery/Docs.mdx | 25.1 | 21,743 | 5,435 | true | |
669fafd1e1484f1f | implementation_to_test | Pega_Extensions_IframeWrapper | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate a Jest + React Testing Library test (`demo.test.tsx`) for `Pega_Extensions_IframeWrapper`. Mock `getPConnect` as needed.
<file path="index.tsx">
import { withConfiguration } from '@pega/cosmos-react-core';
import '../shared/create-nonce';
import { useEffect, useRef, useState } from 'react';
type IframeWrappe... | import React from 'react';
import { render, screen } from '@testing-library/react';
import { composeStories } from '@storybook/react';
import * as DemoStories from './demo.stories';
const { Default } = composeStories(DemoStories);
test('renders IFrame Wrapper component with default args', async () => {
render(<Defa... | [
"src/components/Pega_Extensions_IframeWrapper/index.tsx"
] | [
"src/components/Pega_Extensions_IframeWrapper/demo.test.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_IframeWrapper/demo.test.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_IframeWrapper/index.tsx | 25.1 | 4,521 | 1,130 | true |
db0c8bfe6bf76f22 | implementation_to_test | Pega_Extensions_FieldGroupAsRow | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate a Jest + React Testing Library test (`demo.test.tsx`) for `Pega_Extensions_FieldGroupAsRow`. Mock `getPConnect` as needed.
<file path="index.tsx">
import { withConfiguration, FieldGroup, Flex, useTheme } from '@pega/cosmos-react-core';
import StyledPegaExtensionsFieldGroupAsRowWrapper from './styles';
import ... | import React from 'react';
import { render, screen } from '@testing-library/react';
import { composeStories } from '@storybook/react';
import * as DemoStories from './demo.stories';
const { Default } = composeStories(DemoStories);
test('renders FieldGroupAsRow component with default args', async () => {
render(<Def... | [
"src/components/Pega_Extensions_FieldGroupAsRow/index.tsx"
] | [
"src/components/Pega_Extensions_FieldGroupAsRow/demo.test.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_FieldGroupAsRow/demo.test.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_FieldGroupAsRow/index.tsx | 25.1 | 3,749 | 937 | true |
bc792d0fe1510be9 | implementation_to_docs | Pega_Extensions_ImageCarousel | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate `Docs.mdx` (Storybook MDX documentation) for `Pega_Extensions_ImageCarousel` based on this implementation.
<file path="index.tsx">
import { withConfiguration } from '@pega/cosmos-react-core';
import { useState, useEffect, useCallback } from 'react';
import { SliderContainer, SliderWrapper } from './styles';
i... | import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
The Image Carousel Component is a dynamic and flexible Carousel designed for Pega Constellation applications. It fetches images from a Data Page as a sour... | [
"src/components/Pega_Extensions_ImageCarousel/index.tsx"
] | [
"src/components/Pega_Extensions_ImageCarousel/Docs.mdx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_ImageCarousel/Docs.mdx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_ImageCarousel/index.tsx | 25.1 | 11,376 | 2,844 | true |
d4f3d24a995dae7e | full_component_bundle | Pega_Extensions_RangeSlider | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate every companion file for `Pega_Extensions_RangeSlider` (everything except `index.tsx`) based on the spec below.
<file path="Docs.mdx">
import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
The Range... | <file path="config.json">
{
"name": "Pega_Extensions_RangeSlider",
"label": "Range Slider",
"description": "Range Slider",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensions",
"allowedApplications": [],
"componentKey": "Pega_Extensions_RangeSlider",
"type": "Template",
"subtype": "DE... | [
"src/components/Pega_Extensions_RangeSlider/Docs.mdx"
] | [
"src/components/Pega_Extensions_RangeSlider/config.json",
"src/components/Pega_Extensions_RangeSlider/demo.test.tsx",
"src/components/Pega_Extensions_RangeSlider/demo.stories.tsx",
"src/components/Pega_Extensions_RangeSlider/styles.ts",
"src/components/Pega_Extensions_RangeSlider/localizations.json"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_RangeSlider/Docs.mdx | 25.1 | 15,011 | 3,752 | true | |
0be30a5246d93aed | docs_to_implementation | Pega_Extensions_JapaneseInput | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `index.tsx` for `Pega_Extensions_JapaneseInput` matching the spec below.
<file path="Docs.mdx">
import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
Japanese input component has the following f... | import { type FC } from 'react';
import { useEffect, useState, useRef } from 'react';
import {
Input,
Text,
withConfiguration,
type InputProps,
type FormControlProps,
type TestIdProp,
useTestIds,
createTestIds,
withTestIds,
} from '@pega/cosmos-react-core';
import '../shared/create-nonce';
import {
... | [
"src/components/Pega_Extensions_JapaneseInput/Docs.mdx",
"src/components/Pega_Extensions_JapaneseInput/config.json"
] | [
"src/components/Pega_Extensions_JapaneseInput/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_JapaneseInput/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_JapaneseInput/Docs.mdx | 25.1 | 11,845 | 2,961 | true |
9cc6d85d4c43e747 | config_to_implementation | Pega_Extensions_DisplayAttachments | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `index.tsx` for `Pega_Extensions_DisplayAttachments` that satisfies this Pega Designer config.
<file path="config.json">
{
"name": "Pega_Extensions_DisplayAttachments",
"label": "Display Attachments",
"description": "Display the attachments for a specific category",
"organization": "Pega",
"vers... | import { useState, useRef, useCallback, useEffect } from 'react';
import {
withConfiguration,
registerIcon,
Button,
Icon,
CardHeader,
CardContent,
Modal,
Flex,
Text,
EmptyState,
useModalManager,
SummaryList,
SummaryItem,
Lightbox,
Grid,
getMimeTypeFromFile,
useTheme,
} from '@pega/cosm... | [
"src/components/Pega_Extensions_DisplayAttachments/config.json"
] | [
"src/components/Pega_Extensions_DisplayAttachments/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_DisplayAttachments/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_DisplayAttachments/config.json | 25.1 | 15,802 | 3,950 | true |
a9e11fcad9721dfc | config_to_implementation | Pega_Extensions_CompareTableLayout | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `index.tsx` for `Pega_Extensions_CompareTableLayout` that satisfies this Pega Designer config.
<file path="config.json">
{
"name": "Pega_Extensions_CompareTableLayout",
"label": "Comparison Table Layout",
"description": "Comparison Table Layout",
"organization": "Pega",
"version": "4.0.4",
"li... | import { useState, useEffect } from 'react';
import {
withConfiguration,
FieldGroup,
FieldValueList,
RadioButtonGroup,
Progress,
RadioButton,
Text,
createUID,
Icon,
registerIcon,
useTheme,
Checkbox,
} from '@pega/cosmos-react-core';
import StyledPegaExtensionsCompareTableLayoutWrapper, { Selecte... | [
"src/components/Pega_Extensions_CompareTableLayout/config.json"
] | [
"src/components/Pega_Extensions_CompareTableLayout/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_CompareTableLayout/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_CompareTableLayout/config.json | 25.1 | 14,044 | 3,511 | true |
dbc80c77310dab9c | requirement_to_implementation | Pega_Extensions_TaskList | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Implement `Pega_Extensions_TaskList` in Pega Constellation DX style.
Implement the Pega Constellation DX component `Pega_Extensions_TaskList`.
Purpose: TaskList
Exposed props:
- `heading` (TEXT) — Heading
- `dataPage` (TEXT) — Data Page name
- `?` (GROUP) — Conditions
Constraints:
- Folder name and componentKey: `Pe... | import { useEffect, useRef, useState } from 'react';
import {
Banner,
Button,
Card,
CardContent,
CardHeader,
createUID,
Input,
Progress,
withConfiguration,
} from '@pega/cosmos-react-core';
import { Container, StyledAddTask } from './styles';
import TaskElement from './Task';
import '../shared/create-... | [
"src/components/Pega_Extensions_TaskList/Docs.mdx",
"src/components/Pega_Extensions_TaskList/config.json"
] | [
"src/components/Pega_Extensions_TaskList/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_TaskList/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_TaskList/Docs.mdx | 25.1 | 6,422 | 1,605 | true |
05e37de2e7325007 | implementation_to_story | Pega_Extensions_ImageMagnify | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate a Storybook CSF3 story (`demo.stories.tsx`) for `Pega_Extensions_ImageMagnify`. Mock `getPConnect` in `argTypes`.
<file path="index.tsx">
import { withConfiguration } from '@pega/cosmos-react-core';
import {
MOUSE_ACTIVATION,
SideBySideMagnifier,
MagnifierContainer,
MagnifierPreview,
MagnifierZoom,
... | import type { StoryObj } from '@storybook/react-webpack5';
import { PegaExtensionsImageMagnify } from './index';
export default {
title: 'Fields/Image Magnify',
argTypes: {
getPConnect: {
table: {
disable: true,
},
},
customWidth: {
if: { arg: 'widthSel', eq: 'widthpx' },
... | [
"src/components/Pega_Extensions_ImageMagnify/index.tsx"
] | [
"src/components/Pega_Extensions_ImageMagnify/demo.stories.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_ImageMagnify/demo.stories.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_ImageMagnify/index.tsx | 25.1 | 10,265 | 2,566 | true |
112fd3759df446fe | config_to_implementation | Pega_Extensions_KanbanBoard | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `index.tsx` for `Pega_Extensions_KanbanBoard` that satisfies this Pega Designer config.
<file path="config.json">
{
"name": "Pega_Extensions_KanbanBoard",
"label": "Kanban Board",
"description": "Kanban board",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensions",
"allowedAppl... | import { useEffect, useState } from 'react';
import {
withConfiguration,
registerIcon,
Text,
Card,
CardHeader,
Progress,
Button,
Icon,
} from '@pega/cosmos-react-core';
import { DragDropContext, type DropResult } from '@hello-pangea/dnd';
import { loadDetails, updateGroupValue } from './utils';
import {... | [
"src/components/Pega_Extensions_KanbanBoard/config.json"
] | [
"src/components/Pega_Extensions_KanbanBoard/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_KanbanBoard/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_KanbanBoard/config.json | 25.1 | 11,740 | 2,935 | true |
6866716305f9764d | implementation_to_story | Pega_Extensions_GanttChart | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate a Storybook CSF3 story (`demo.stories.tsx`) for `Pega_Extensions_GanttChart`. Mock `getPConnect` in `argTypes`.
<file path="index.tsx">
import { useEffect, useState, useMemo, type MouseEventHandler, type FC, useCallback } from 'react';
import { type Task as GTRTask } from 'gantt-task-react';
import { Gantt } ... | import type { StoryObj } from '@storybook/react-webpack5';
import { PegaExtensionsGanttChart } from './index';
import { DateTimeDisplay, FieldValueList, Link } from '@pega/cosmos-react-core';
export default {
title: 'Widgets/Gantt Chart',
argTypes: {
detailsDataPage: {
table: {
disable: true,
... | [
"src/components/Pega_Extensions_GanttChart/index.tsx"
] | [
"src/components/Pega_Extensions_GanttChart/demo.stories.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_GanttChart/demo.stories.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_GanttChart/index.tsx | 25.1 | 26,638 | 6,659 | true |
c3eacd44d945c061 | implementation_to_config | Pega_Extensions_OAuthConnect | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `config.json` (Pega Designer metadata) for `Pega_Extensions_OAuthConnect` based on this implementation.
<file path="index.tsx">
import { useCallback, useEffect, useState } from 'react';
import {
Button,
Card,
DateTimeDisplay,
Flex,
Icon,
registerIcon,
Text,
withConfiguration,
} from '@pega... | {
"name": "Pega_Extensions_OAuthConnect",
"label": "OAuth Connect",
"description": "Allows to integrate external applications into Constellation UI using OAuth 2.0 authorization code grant flow",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensions",
"allowedApplications": [],
"componentKe... | [
"src/components/Pega_Extensions_OAuthConnect/index.tsx"
] | [
"src/components/Pega_Extensions_OAuthConnect/config.json"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_OAuthConnect/config.json | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_OAuthConnect/index.tsx | 25.1 | 8,977 | 2,244 | true |
33aae7952f3c0636 | requirement_to_implementation | Pega_Extensions_CheckboxTrigger | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Implement `Pega_Extensions_CheckboxTrigger` in Pega Constellation DX style.
Implement the Pega Constellation DX component `Pega_Extensions_CheckboxTrigger`.
Purpose: Checkbox Trigger
Exposed props:
- `labelOption` (SELECT) — Label value (default: "custom")
- `label` (VALUEINPUT) — Custom label value
- `dataPage` (TEX... | import { useEffect, useState, useRef, type MouseEvent } from 'react';
import { withConfiguration, Checkbox, Text } from '@pega/cosmos-react-core';
import '../shared/create-nonce';
export type CheckboxTriggerProps = {
getPConnect?: any;
label: string;
dataPage: string;
value?: boolean;
helperText?: string;
... | [
"src/components/Pega_Extensions_CheckboxTrigger/Docs.mdx",
"src/components/Pega_Extensions_CheckboxTrigger/config.json"
] | [
"src/components/Pega_Extensions_CheckboxTrigger/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_CheckboxTrigger/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_CheckboxTrigger/Docs.mdx | 25.1 | 7,238 | 1,809 | true |
90bcaecca709e6f1 | implementation_to_docs | Pega_Extensions_PasswordInput | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate `Docs.mdx` (Storybook MDX documentation) for `Pega_Extensions_PasswordInput` based on this implementation.
<file path="index.tsx">
import { useEffect, useState, useRef, type MouseEvent } from 'react';
import { withConfiguration, Input, Text } from '@pega/cosmos-react-core';
import '../shared/create-nonce';
t... | import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
This field-level component allows to render a text field as a 'password' type.
<Primary />
## Props
<Controls />
| [
"src/components/Pega_Extensions_PasswordInput/index.tsx"
] | [
"src/components/Pega_Extensions_PasswordInput/Docs.mdx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_PasswordInput/Docs.mdx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_PasswordInput/index.tsx | 25.1 | 5,880 | 1,470 | true |
2a6f745770275c14 | implementation_to_config | Pega_Extensions_CheckboxTrigger | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `config.json` (Pega Designer metadata) for `Pega_Extensions_CheckboxTrigger` based on this implementation.
<file path="index.tsx">
import { useEffect, useState, useRef, type MouseEvent } from 'react';
import { withConfiguration, Checkbox, Text } from '@pega/cosmos-react-core';
import '../shared/create-non... | {
"name": "Pega_Extensions_CheckboxTrigger",
"label": "Checkbox Trigger",
"description": "Checkbox Trigger",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensions",
"allowedApplications": [],
"componentKey": "Pega_Extensions_CheckboxTrigger",
"type": "Field",
"subtype": "Boolean",
"ic... | [
"src/components/Pega_Extensions_CheckboxTrigger/index.tsx"
] | [
"src/components/Pega_Extensions_CheckboxTrigger/config.json"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_CheckboxTrigger/config.json | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_CheckboxTrigger/index.tsx | 25.1 | 9,010 | 2,252 | true |
b14044fb723b7c7b | config_to_implementation | Pega_Extensions_TaskList | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `index.tsx` for `Pega_Extensions_TaskList` that satisfies this Pega Designer config.
<file path="config.json">
{
"name": "Pega_Extensions_TaskList",
"label": "TaskList",
"description": "TaskList",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensions",
"allowedApplications": [],... | import { useEffect, useRef, useState } from 'react';
import {
Banner,
Button,
Card,
CardContent,
CardHeader,
createUID,
Input,
Progress,
withConfiguration,
} from '@pega/cosmos-react-core';
import { Container, StyledAddTask } from './styles';
import TaskElement from './Task';
import '../shared/create-... | [
"src/components/Pega_Extensions_TaskList/config.json"
] | [
"src/components/Pega_Extensions_TaskList/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_TaskList/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_TaskList/config.json | 25.1 | 6,805 | 1,701 | true |
8c6b87a08238d911 | implementation_to_docs | Pega_Extensions_NetworkDiagram | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate `Docs.mdx` (Storybook MDX documentation) for `Pega_Extensions_NetworkDiagram` based on this implementation.
<file path="index.tsx">
import { useEffect, useMemo, useState } from 'react';
import {
withConfiguration,
registerIcon,
Icon,
Text,
Card,
CardHeader,
CardContent,
Button,
useTheme,
} f... | import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
The Network Diagram component allows to represent a complex tree diagram of relationship between different object types. The objects are represented as no... | [
"src/components/Pega_Extensions_NetworkDiagram/index.tsx"
] | [
"src/components/Pega_Extensions_NetworkDiagram/Docs.mdx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_NetworkDiagram/Docs.mdx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_NetworkDiagram/index.tsx | 25.1 | 11,653 | 2,913 | true |
334a9a78a80d9eef | implementation_to_story | Pega_Extensions_KanbanBoard | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate a Storybook CSF3 story (`demo.stories.tsx`) for `Pega_Extensions_KanbanBoard`. Mock `getPConnect` in `argTypes`.
<file path="index.tsx">
import { useEffect, useState } from 'react';
import {
withConfiguration,
registerIcon,
Text,
Card,
CardHeader,
Progress,
Button,
Icon,
} from '@pega/cosmos-r... | import type { StoryObj } from '@storybook/react-webpack5';
import { DateTimeDisplay, FieldValueItem } from '@pega/cosmos-react-core';
import { Details, DetailsList } from '@pega/cosmos-react-work';
import { PegaExtensionsKanbanBoard } from './index';
export default {
title: 'Widgets/Kanban Board',
argTypes: {
... | [
"src/components/Pega_Extensions_KanbanBoard/index.tsx"
] | [
"src/components/Pega_Extensions_KanbanBoard/demo.stories.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_KanbanBoard/demo.stories.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_KanbanBoard/index.tsx | 25.1 | 17,809 | 4,452 | true |
f1700e4e75675897 | implementation_to_config | Pega_Extensions_GanttChart | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `config.json` (Pega Designer metadata) for `Pega_Extensions_GanttChart` based on this implementation.
<file path="index.tsx">
import { useEffect, useState, useMemo, type MouseEventHandler, type FC, useCallback } from 'react';
import { type Task as GTRTask } from 'gantt-task-react';
import { Gantt } from '... | {
"name": "Pega_Extensions_GanttChart",
"label": "Gantt Chart",
"description": "Gantt Chart",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensions",
"allowedApplications": [],
"componentKey": "Pega_Extensions_GanttChart",
"type": "Widget",
"subtype": [
"PAGE",
"CASE"
],
"ic... | [
"src/components/Pega_Extensions_GanttChart/index.tsx"
] | [
"src/components/Pega_Extensions_GanttChart/config.json"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_GanttChart/config.json | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_GanttChart/index.tsx | 25.1 | 19,861 | 4,965 | true |
5cfcd4bc65789b6b | docs_to_implementation | Pega_Extensions_CaseLauncher | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `index.tsx` for `Pega_Extensions_CaseLauncher` matching the spec below.
<file path="Docs.mdx">
import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
The Case Launcher widget allows you to create... | import { withConfiguration, Card, CardHeader, CardContent, CardFooter, Text, Button } from '@pega/cosmos-react-core';
import StyledCard from './styles';
import '../shared/create-nonce';
// interface for props
export type CaseLauncherProps = {
/** Card heading */
heading: string;
/** Description of the case launc... | [
"src/components/Pega_Extensions_CaseLauncher/Docs.mdx",
"src/components/Pega_Extensions_CaseLauncher/config.json"
] | [
"src/components/Pega_Extensions_CaseLauncher/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_CaseLauncher/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_CaseLauncher/Docs.mdx | 25.1 | 5,904 | 1,476 | true |
6bc4b83cf4f6e74a | implementation_to_story | Pega_Extensions_JawLayout | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate a Storybook CSF3 story (`demo.stories.tsx`) for `Pega_Extensions_JawLayout`. Mock `getPConnect` in `argTypes`.
<file path="index.tsx">
import { useState, useEffect } from 'react';
import { withConfiguration, Progress, Text } from '@pega/cosmos-react-core';
import getAllFields from './utils';
import DentalChar... | import type { Meta, StoryObj } from '@storybook/react-webpack5';
import { useState } from 'react';
import { PegaExtensionsJawLayout } from './index';
import localizations from './localizations.json';
const meta: Meta<typeof PegaExtensionsJawLayout> = {
title: 'Templates/Jaw Layout',
component: PegaExtensionsJawLay... | [
"src/components/Pega_Extensions_JawLayout/index.tsx"
] | [
"src/components/Pega_Extensions_JawLayout/demo.stories.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_JawLayout/demo.stories.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_JawLayout/index.tsx | 25.1 | 10,253 | 2,563 | true |
ae78480450ca418a | implementation_to_docs | Pega_Extensions_OrgBuilder | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate `Docs.mdx` (Storybook MDX documentation) for `Pega_Extensions_OrgBuilder` based on this implementation.
<file path="index.tsx">
import { useState } from 'react';
import { withConfiguration, Text, Card, CardHeader, CardContent, Button, Icon } from '@pega/cosmos-react-core';
import StyledPegaExtensionsOrgBuild... | import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
<Primary />
## Props
<Controls />
| [
"src/components/Pega_Extensions_OrgBuilder/index.tsx"
] | [
"src/components/Pega_Extensions_OrgBuilder/Docs.mdx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_OrgBuilder/Docs.mdx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_OrgBuilder/index.tsx | 25.1 | 5,046 | 1,261 | true |
9d1173b70ba4ed32 | full_component_bundle | Pega_Extensions_TaskList | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate every companion file for `Pega_Extensions_TaskList` (everything except `index.tsx`) based on the spec below.
<file path="Docs.mdx">
import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
## Overview
The Task Li... | <file path="config.json">
{
"name": "Pega_Extensions_TaskList",
"label": "TaskList",
"description": "TaskList",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensions",
"allowedApplications": [],
"componentKey": "Pega_Extensions_TaskList",
"type": "Widget",
"subtype": [
"PAGE",
"... | [
"src/components/Pega_Extensions_TaskList/Docs.mdx"
] | [
"src/components/Pega_Extensions_TaskList/config.json",
"src/components/Pega_Extensions_TaskList/demo.test.tsx",
"src/components/Pega_Extensions_TaskList/demo.stories.tsx",
"src/components/Pega_Extensions_TaskList/styles.ts",
"src/components/Pega_Extensions_TaskList/localizations.json"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_TaskList/Docs.mdx | 25.1 | 7,831 | 1,957 | true | |
ff39e47f08123ee3 | implementation_to_story | Pega_Extensions_CameraCapture | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate a Storybook CSF3 story (`demo.stories.tsx`) for `Pega_Extensions_CameraCapture`. Mock `getPConnect` in `argTypes`.
<file path="index.tsx">
import { useRef, useState, useEffect, useCallback, useMemo } from 'react';
import { Card, CardContent, Flex, Button, Input, withConfiguration } from '@pega/cosmos-react-co... | import type { StoryObj } from '@storybook/react-webpack5';
import { PegaExtensionsCameraCapture } from './index';
export default {
title: 'Widgets/Camera',
component: PegaExtensionsCameraCapture,
argTypes: {
buttonText: {
control: 'text',
},
getPConnect: {
table: { disable: true },
},... | [
"src/components/Pega_Extensions_CameraCapture/index.tsx"
] | [
"src/components/Pega_Extensions_CameraCapture/demo.stories.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_CameraCapture/demo.stories.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_CameraCapture/index.tsx | 25.1 | 12,974 | 3,243 | true |
ca13743caeb8aeb7 | implementation_to_story | Pega_Extensions_CheckboxTrigger | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate a Storybook CSF3 story (`demo.stories.tsx`) for `Pega_Extensions_CheckboxTrigger`. Mock `getPConnect` in `argTypes`.
<file path="index.tsx">
import { useEffect, useState, useRef, type MouseEvent } from 'react';
import { withConfiguration, Checkbox, Text } from '@pega/cosmos-react-core';
import '../shared/crea... | import type { StoryObj } from '@storybook/react-webpack5';
import { PegaExtensionsCheckboxTrigger, type CheckboxTriggerProps } from './index';
export default {
title: 'Fields/Checkbox Trigger',
argTypes: {
fieldMetadata: {
table: {
disable: true,
},
},
additionalProps: {
table... | [
"src/components/Pega_Extensions_CheckboxTrigger/index.tsx"
] | [
"src/components/Pega_Extensions_CheckboxTrigger/demo.stories.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_CheckboxTrigger/demo.stories.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_CheckboxTrigger/index.tsx | 25.1 | 9,722 | 2,430 | true |
daefe4a65f715c13 | requirement_to_implementation | Pega_Extensions_StatusBadge | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Implement `Pega_Extensions_StatusBadge` in Pega Constellation DX style.
Implement the Pega Constellation DX component `Pega_Extensions_StatusBadge`.
Purpose: Status Badge
Exposed props:
- `labelOption` (SELECT) — Label value (default: "custom")
- `label` (VALUEINPUT) — Custom label value
- `inputProperty` (PROPERTY) ... | import { withConfiguration, Status, type StatusProps } from '@pega/cosmos-react-core';
import '../shared/create-nonce';
type StatusBadgeProps = {
/** The value to display in the status badge */
inputProperty: string;
/** Regex expression to match the Info status
*/
infoStatus?: string;
/** Regex expressi... | [
"src/components/Pega_Extensions_StatusBadge/Docs.mdx",
"src/components/Pega_Extensions_StatusBadge/config.json"
] | [
"src/components/Pega_Extensions_StatusBadge/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_StatusBadge/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_StatusBadge/Docs.mdx | 25.1 | 4,772 | 1,193 | true |
8f00ee34491e0764 | config_to_implementation | Pega_Extensions_MaskedInput | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `index.tsx` for `Pega_Extensions_MaskedInput` that satisfies this Pega Designer config.
<file path="config.json">
{
"name": "Pega_Extensions_MaskedInput",
"label": "Masked Input",
"description": "Masked Input",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensions",
"allowedAppl... | import { useEffect, useState, useRef, type MouseEvent } from 'react';
import { withConfiguration, Input, Text } from '@pega/cosmos-react-core';
import IMask, { type FactoryArg, type InputMaskElement } from 'imask';
import '../shared/create-nonce';
export type MaskedInputProps = {
getPConnect?: any;
label: string;
... | [
"src/components/Pega_Extensions_MaskedInput/config.json"
] | [
"src/components/Pega_Extensions_MaskedInput/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_MaskedInput/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_MaskedInput/config.json | 25.1 | 8,805 | 2,201 | true |
bf2557c5cf446d79 | implementation_to_config | Pega_Extensions_DisplayAttachments | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `config.json` (Pega Designer metadata) for `Pega_Extensions_DisplayAttachments` based on this implementation.
<file path="index.tsx">
import { useState, useRef, useCallback, useEffect } from 'react';
import {
withConfiguration,
registerIcon,
Button,
Icon,
CardHeader,
CardContent,
Modal,
Fl... | {
"name": "Pega_Extensions_DisplayAttachments",
"label": "Display Attachments",
"description": "Display the attachments for a specific category",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensions",
"allowedApplications": [],
"componentKey": "Pega_Extensions_DisplayAttachments",
"type"... | [
"src/components/Pega_Extensions_DisplayAttachments/index.tsx"
] | [
"src/components/Pega_Extensions_DisplayAttachments/config.json"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_DisplayAttachments/config.json | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_DisplayAttachments/index.tsx | 25.1 | 15,814 | 3,953 | true |
572dbc43e4867189 | implementation_to_config | Pega_Extensions_JapaneseInput | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `config.json` (Pega Designer metadata) for `Pega_Extensions_JapaneseInput` based on this implementation.
<file path="index.tsx">
import { type FC } from 'react';
import { useEffect, useState, useRef } from 'react';
import {
Input,
Text,
withConfiguration,
type InputProps,
type FormControlProps,
... | {
"name": "Pega_Extensions_JapaneseInput",
"label": "Japanese Input",
"description": "Japanese input component that supports Hiragana to Katakana, Full-Width to Half-Width, Lowercase to Uppercase, and Japanese Era to Gregorian conversions.",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensions... | [
"src/components/Pega_Extensions_JapaneseInput/index.tsx"
] | [
"src/components/Pega_Extensions_JapaneseInput/config.json"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_JapaneseInput/config.json | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_JapaneseInput/index.tsx | 25.1 | 10,565 | 2,641 | true |
bd287aaeff726bcc | full_component_bundle | Pega_Extensions_SecureRichText | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate every companion file for `Pega_Extensions_SecureRichText` (everything except `index.tsx`) based on the spec below.
<file path="Docs.mdx">
import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
The Se... | <file path="config.json">
{
"name": "Pega_Extensions_SecureRichText",
"label": "Secure rich text editor",
"description": "Secure rich text editor",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensions",
"allowedApplications": [],
"componentKey": "Pega_Extensions_SecureRichText",
"type": ... | [
"src/components/Pega_Extensions_SecureRichText/Docs.mdx"
] | [
"src/components/Pega_Extensions_SecureRichText/config.json",
"src/components/Pega_Extensions_SecureRichText/demo.test.tsx",
"src/components/Pega_Extensions_SecureRichText/demo.stories.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_SecureRichText/Docs.mdx | 25.1 | 11,302 | 2,825 | true | |
4fb7a5ce34befd2b | implementation_to_docs | Pega_Extensions_JawLayout | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate `Docs.mdx` (Storybook MDX documentation) for `Pega_Extensions_JawLayout` based on this implementation.
<file path="index.tsx">
import { useState, useEffect } from 'react';
import { withConfiguration, Progress, Text } from '@pega/cosmos-react-core';
import getAllFields from './utils';
import DentalChart from '... | import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Jaw Layout
The **Jaw Layout** component displays teeth in a dental arch, allowing users to view and update tooth statuses interactively. It is designed for use in ... | [
"src/components/Pega_Extensions_JawLayout/index.tsx"
] | [
"src/components/Pega_Extensions_JawLayout/Docs.mdx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_JawLayout/Docs.mdx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_JawLayout/index.tsx | 25.1 | 8,294 | 2,073 | true |
2e681dfe6539b405 | implementation_to_config | Pega_Extensions_Meter | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `config.json` (Pega Designer metadata) for `Pega_Extensions_Meter` based on this implementation.
<file path="index.tsx">
import { withConfiguration, useTheme, FieldGroup, Flex, FormField, createUID } from '@pega/cosmos-react-core';
import '../shared/create-nonce';
import { StyledFieldGroupElementMeter, St... | {
"name": "Pega_Extensions_Meter",
"label": "Meter",
"description": "Meter",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensions",
"allowedApplications": [],
"componentKey": "Pega_Extensions_Meter",
"type": "Field",
"subtype": "Decimal-Percentage",
"properties": [
{
"name"... | [
"src/components/Pega_Extensions_Meter/index.tsx"
] | [
"src/components/Pega_Extensions_Meter/config.json"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_Meter/config.json | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_Meter/index.tsx | 25.1 | 10,081 | 2,520 | true |
e3736aaed85e9394 | full_component_bundle | Pega_Extensions_IframeWrapper | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate every companion file for `Pega_Extensions_IframeWrapper` (everything except `index.tsx`) based on the spec below.
<file path="Docs.mdx">
import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
This fi... | <file path="config.json">
{
"name": "Pega_Extensions_IframeWrapper",
"label": "IFrame Wrapper",
"description": "IFrame Wrapper",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensions",
"allowedApplications": [],
"componentKey": "Pega_Extensions_IframeWrapper",
"type": "Field",
"subtype"... | [
"src/components/Pega_Extensions_IframeWrapper/Docs.mdx"
] | [
"src/components/Pega_Extensions_IframeWrapper/config.json",
"src/components/Pega_Extensions_IframeWrapper/demo.test.tsx",
"src/components/Pega_Extensions_IframeWrapper/demo.stories.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_IframeWrapper/Docs.mdx | 25.1 | 6,400 | 1,600 | true | |
0b730a3bf577b7bf | full_component_bundle | Pega_Extensions_FormFullWidth | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate every companion file for `Pega_Extensions_FormFullWidth` (everything except `index.tsx`) based on the spec below.
<file path="Docs.mdx">
import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
This co... | <file path="config.json">
{
"name": "Pega_Extensions_FormFullWidth",
"label": "Form Full Width",
"description": "Form Full Width",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensions",
"allowedApplications": [],
"componentKey": "Pega_Extensions_FormFullWidth",
"type": "Template",
"sub... | [
"src/components/Pega_Extensions_FormFullWidth/Docs.mdx"
] | [
"src/components/Pega_Extensions_FormFullWidth/config.json",
"src/components/Pega_Extensions_FormFullWidth/demo.test.tsx",
"src/components/Pega_Extensions_FormFullWidth/demo.stories.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_FormFullWidth/Docs.mdx | 25.1 | 7,214 | 1,803 | true | |
7299ed2d05a633ec | implementation_to_config | Pega_Extensions_SignatureCapture | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `config.json` (Pega Designer metadata) for `Pega_Extensions_SignatureCapture` based on this implementation.
<file path="index.tsx">
import { useEffect, useState, useRef } from 'react';
import { withConfiguration, Image, Button, Flex, FormField, FormControl } from '@pega/cosmos-react-core';
import Signatur... | {
"name": "Pega_Extensions_SignatureCapture",
"label": "Signature Capture",
"description": "Signature Capture",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensions",
"allowedApplications": [],
"componentKey": "Pega_Extensions_SignatureCapture",
"type": "Field",
"subtype": "Text",
"p... | [
"src/components/Pega_Extensions_SignatureCapture/index.tsx"
] | [
"src/components/Pega_Extensions_SignatureCapture/config.json"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_SignatureCapture/config.json | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_SignatureCapture/index.tsx | 25.1 | 9,185 | 2,296 | true |
a149061abddc2b83 | implementation_to_test | Pega_Extensions_OrgBuilder | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate a Jest + React Testing Library test (`demo.test.tsx`) for `Pega_Extensions_OrgBuilder`. Mock `getPConnect` as needed.
<file path="index.tsx">
import { useState } from 'react';
import { withConfiguration, Text, Card, CardHeader, CardContent, Button, Icon } from '@pega/cosmos-react-core';
import StyledPegaExte... | import React from 'react';
import { render, screen } from '@testing-library/react';
import { composeStories } from '@storybook/react';
import * as DemoStories from './demo.stories';
const { Default } = composeStories(DemoStories);
test('renders Org Builder with default args', async () => {
render(<Default />);
ex... | [
"src/components/Pega_Extensions_OrgBuilder/index.tsx"
] | [
"src/components/Pega_Extensions_OrgBuilder/demo.test.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_OrgBuilder/demo.test.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_OrgBuilder/index.tsx | 25.1 | 5,390 | 1,347 | true |
dcbde96880ab461e | full_component_bundle | Pega_Extensions_BannerInput | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate every companion file for `Pega_Extensions_BannerInput` (everything except `index.tsx`) based on the spec below.
<file path="Docs.mdx">
import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
The banne... | <file path="config.json">
{
"name": "Pega_Extensions_BannerInput",
"label": "Banner Input",
"description": "Banner Input",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensions",
"allowedApplications": [],
"componentKey": "Pega_Extensions_BannerInput",
"type": "Field",
"subtype": "Text-... | [
"src/components/Pega_Extensions_BannerInput/Docs.mdx"
] | [
"src/components/Pega_Extensions_BannerInput/config.json",
"src/components/Pega_Extensions_BannerInput/demo.test.tsx",
"src/components/Pega_Extensions_BannerInput/demo.stories.tsx",
"src/components/Pega_Extensions_BannerInput/styles.ts"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_BannerInput/Docs.mdx | 25.1 | 7,495 | 1,873 | true | |
d92972bd85abf8e4 | implementation_to_config | Pega_Extensions_HierarchicalFormAsTasks | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `config.json` (Pega Designer metadata) for `Pega_Extensions_HierarchicalFormAsTasks` based on this implementation.
<file path="index.tsx">
import { withConfiguration, FieldGroup, Button, Flex } from '@pega/cosmos-react-core';
import { useEffect, useState } from 'react';
import { HideButtonsForm, StyledTas... | {
"name": "Pega_Extensions_HierarchicalFormAsTasks",
"label": "Hierarchical Form as Tasks",
"description": "Hierarchical Form as Tasks",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensions",
"allowedApplications": [],
"componentKey": "Pega_Extensions_HierarchicalFormAsTasks",
"type": "T... | [
"src/components/Pega_Extensions_HierarchicalFormAsTasks/index.tsx"
] | [
"src/components/Pega_Extensions_HierarchicalFormAsTasks/config.json"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_HierarchicalFormAsTasks/config.json | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_HierarchicalFormAsTasks/index.tsx | 25.1 | 8,220 | 2,055 | true |
76de5a6886d4e1bd | implementation_to_story | Pega_Extensions_CardGallery | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate a Storybook CSF3 story (`demo.stories.tsx`) for `Pega_Extensions_CardGallery`. Mock `getPConnect` in `argTypes`.
<file path="index.tsx">
import { useEffect, useMemo, useRef, useState, type ReactNode } from 'react';
import {
withConfiguration,
registerIcon,
Text,
Card,
CardHeader,
Progress,
Butto... | import type { StoryObj } from '@storybook/react-webpack5';
import { FieldValueItem, DateTimeDisplay } from '@pega/cosmos-react-core';
import { Details, DetailsList } from '@pega/cosmos-react-work';
import { PegaExtensionsCardGallery } from './index';
export default {
title: 'Widgets/Card Gallery',
argTypes: {
... | [
"src/components/Pega_Extensions_CardGallery/index.tsx"
] | [
"src/components/Pega_Extensions_CardGallery/demo.stories.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_CardGallery/demo.stories.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_CardGallery/index.tsx | 25.1 | 22,445 | 5,611 | true |
d453c76d0089e0a4 | requirement_to_implementation | Pega_Extensions_RangeSlider | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Implement `Pega_Extensions_RangeSlider` in Pega Constellation DX style.
Implement the Pega Constellation DX component `Pega_Extensions_RangeSlider`.
Purpose: Range Slider
Exposed props:
- `minValueProperty` (PROPERTY) — Minimum Value Property
- `maxValueProperty` (PROPERTY) — Maximum Value Property
- `min` (NUMBER) —... | import { useCallback, useEffect, useRef, useState, type CSSProperties } from 'react';
import { withConfiguration, Flex, cap, useDirection, CurrencyDisplay, FieldGroup } from '@pega/cosmos-react-core';
import '../shared/create-nonce';
import {
StyledMinValue,
StyledBar,
StyledSlider,
StyledThumb,
StyledMinTrac... | [
"src/components/Pega_Extensions_RangeSlider/Docs.mdx",
"src/components/Pega_Extensions_RangeSlider/config.json"
] | [
"src/components/Pega_Extensions_RangeSlider/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_RangeSlider/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_RangeSlider/Docs.mdx | 25.1 | 14,517 | 3,629 | true |
c6032063d7ad0106 | implementation_to_test | Pega_Extensions_Scheduler | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate a Jest + React Testing Library test (`demo.test.tsx`) for `Pega_Extensions_Scheduler`. Mock `getPConnect` as needed.
<file path="index.tsx">
import { useEffect, useState, useRef, type MouseEvent } from 'react';
import { withConfiguration, FormControl, Flex, FormField, Link, useTheme, ErrorState } from '@pega/... | import React from 'react';
import { render, screen } from '@testing-library/react';
import { composeStories } from '@storybook/react';
import * as DemoStories from './demo.stories';
const { Default } = composeStories(DemoStories);
test('renders Scheduler component with default args', async () => {
render(<Default /... | [
"src/components/Pega_Extensions_Scheduler/index.tsx"
] | [
"src/components/Pega_Extensions_Scheduler/demo.test.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_Scheduler/demo.test.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_Scheduler/index.tsx | 25.1 | 9,592 | 2,398 | true |
4aa86fbff97ff201 | full_component_bundle | Pega_Extensions_StatusBadge | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate every companion file for `Pega_Extensions_StatusBadge` (everything except `index.tsx`) based on the spec below.
<file path="Docs.mdx">
import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
This fiel... | <file path="config.json">
{
"name": "Pega_Extensions_StatusBadge",
"label": "Status Badge",
"description": "Status Badge",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensions",
"allowedApplications": [],
"componentKey": "Pega_Extensions_StatusBadge",
"type": "Field",
"subtype": "Text"... | [
"src/components/Pega_Extensions_StatusBadge/Docs.mdx"
] | [
"src/components/Pega_Extensions_StatusBadge/config.json",
"src/components/Pega_Extensions_StatusBadge/demo.test.tsx",
"src/components/Pega_Extensions_StatusBadge/demo.stories.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_StatusBadge/Docs.mdx | 25.1 | 7,310 | 1,827 | true | |
67ebe804a2e0b11d | config_to_implementation | Pega_Extensions_StarRatingInput | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `index.tsx` for `Pega_Extensions_StarRatingInput` that satisfies this Pega Designer config.
<file path="config.json">
{
"name": "Pega_Extensions_StarRatingInput",
"label": "Rating",
"description": "Star Rating Input",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensions",
"allo... | import { useEffect, useState, useRef, type MouseEvent, useCallback } from 'react';
import {
withConfiguration,
Rating,
Flex,
Icon,
cap,
useDirection,
FormField,
FormControl,
} from '@pega/cosmos-react-core';
import '../shared/create-nonce';
import { StyledFlexWrapper, StyledStarRatingMetaInfo, StyledSta... | [
"src/components/Pega_Extensions_StarRatingInput/config.json"
] | [
"src/components/Pega_Extensions_StarRatingInput/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_StarRatingInput/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_StarRatingInput/config.json | 25.1 | 13,553 | 3,388 | true |
ac736b77933a3172 | implementation_to_docs | Pega_Extensions_ImageMagnify | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate `Docs.mdx` (Storybook MDX documentation) for `Pega_Extensions_ImageMagnify` based on this implementation.
<file path="index.tsx">
import { withConfiguration } from '@pega/cosmos-react-core';
import {
MOUSE_ACTIVATION,
SideBySideMagnifier,
MagnifierContainer,
MagnifierPreview,
MagnifierZoom,
} from '... | import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
The Image Magnify component provides image magnification features. Users can zoom in on images either by hovering over them or by clicking/double-clicking... | [
"src/components/Pega_Extensions_ImageMagnify/index.tsx"
] | [
"src/components/Pega_Extensions_ImageMagnify/Docs.mdx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_ImageMagnify/Docs.mdx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_ImageMagnify/index.tsx | 25.1 | 8,430 | 2,107 | true |
2e2b29c0707467a2 | full_component_bundle | Pega_Extensions_MaskedInput | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate every companion file for `Pega_Extensions_MaskedInput` (everything except `index.tsx`) based on the spec below.
<file path="Docs.mdx">
import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
The maske... | <file path="config.json">
{
"name": "Pega_Extensions_MaskedInput",
"label": "Masked Input",
"description": "Masked Input",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensions",
"allowedApplications": [],
"componentKey": "Pega_Extensions_MaskedInput",
"type": "Field",
"subtype": "Text"... | [
"src/components/Pega_Extensions_MaskedInput/Docs.mdx"
] | [
"src/components/Pega_Extensions_MaskedInput/config.json",
"src/components/Pega_Extensions_MaskedInput/demo.test.tsx",
"src/components/Pega_Extensions_MaskedInput/demo.stories.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_MaskedInput/Docs.mdx | 25.1 | 10,498 | 2,624 | true | |
18db546fc50246e4 | requirement_to_implementation | Pega_Extensions_CameraCapture | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Implement `Pega_Extensions_CameraCapture` in Pega Constellation DX style.
Implement the Pega Constellation DX component `Pega_Extensions_CameraCapture`.
Purpose: Camera Capture
Exposed props:
- `buttonText` (TEXT) — Button text
Constraints:
- Folder name and componentKey: `Pega_Extensions_CameraCapture`
- Imports fr... | import { useRef, useState, useEffect, useCallback, useMemo } from 'react';
import { Card, CardContent, Flex, Button, Input, withConfiguration } from '@pega/cosmos-react-core';
import StyledPegaExtensionsCameraCaptureWrapper from './styles';
import '../shared/create-nonce';
type CameraComponentProps = {
buttonText: s... | [
"src/components/Pega_Extensions_CameraCapture/Docs.mdx",
"src/components/Pega_Extensions_CameraCapture/config.json"
] | [
"src/components/Pega_Extensions_CameraCapture/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_CameraCapture/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_CameraCapture/Docs.mdx | 25.1 | 12,501 | 3,125 | true |
fdf004c203aa910c | implementation_to_story | Pega_Extensions_ImageCarousel | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate a Storybook CSF3 story (`demo.stories.tsx`) for `Pega_Extensions_ImageCarousel`. Mock `getPConnect` in `argTypes`.
<file path="index.tsx">
import { withConfiguration } from '@pega/cosmos-react-core';
import { useState, useEffect, useCallback } from 'react';
import { SliderContainer, SliderWrapper } from './st... | import type { StoryObj } from '@storybook/react-webpack5';
import { PegaExtensionsImageCarousel } from './index';
export default {
title: 'Widgets/Image Carousel',
argTypes: {
datasource: {
table: {
disable: true,
},
},
getPConnect: {
table: {
disable: true,
},
... | [
"src/components/Pega_Extensions_ImageCarousel/index.tsx"
] | [
"src/components/Pega_Extensions_ImageCarousel/demo.stories.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_ImageCarousel/demo.stories.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_ImageCarousel/index.tsx | 25.1 | 9,534 | 2,383 | true |
daf71fe37dd9ac31 | implementation_to_test | Pega_Extensions_DisplayAttachments | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate a Jest + React Testing Library test (`demo.test.tsx`) for `Pega_Extensions_DisplayAttachments`. Mock `getPConnect` as needed.
<file path="index.tsx">
import { useState, useRef, useCallback, useEffect } from 'react';
import {
withConfiguration,
registerIcon,
Button,
Icon,
CardHeader,
CardContent,
... | import React from 'react';
import { fireEvent, render, screen } from '@testing-library/react';
import { composeStories } from '@storybook/react';
import * as DemoStories from './demo.stories';
const { Default, Tiles } = composeStories(DemoStories);
test('renders DisplayAttachments component with default args', async ... | [
"src/components/Pega_Extensions_DisplayAttachments/index.tsx"
] | [
"src/components/Pega_Extensions_DisplayAttachments/demo.test.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_DisplayAttachments/demo.test.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_DisplayAttachments/index.tsx | 25.1 | 15,167 | 3,791 | true |
a86075714f726a65 | full_component_bundle | Pega_Extensions_QRCode | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate every companion file for `Pega_Extensions_QRCode` (everything except `index.tsx`) based on the spec below.
<file path="Docs.mdx">
import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
The QRCode fie... | <file path="config.json">
{
"name": "Pega_Extensions_QRCode",
"label": "QRCode",
"description": "QRCode",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensions",
"allowedApplications": [],
"componentKey": "Pega_Extensions_QRCode",
"type": "Field",
"subtype": "Text",
"properties": [
... | [
"src/components/Pega_Extensions_QRCode/Docs.mdx"
] | [
"src/components/Pega_Extensions_QRCode/config.json",
"src/components/Pega_Extensions_QRCode/demo.test.tsx",
"src/components/Pega_Extensions_QRCode/demo.stories.tsx",
"src/components/Pega_Extensions_QRCode/styles.ts"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_QRCode/Docs.mdx | 25.1 | 7,261 | 1,815 | true | |
0ff6a50e5b7477fd | config_to_implementation | Pega_Extensions_ImageMagnify | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `index.tsx` for `Pega_Extensions_ImageMagnify` that satisfies this Pega Designer config.
<file path="config.json">
{
"name": "Pega_Extensions_ImageMagnify",
"label": "Image Magnify",
"description": "Image Magnify",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensions",
"allowed... | import { withConfiguration } from '@pega/cosmos-react-core';
import {
MOUSE_ACTIVATION,
SideBySideMagnifier,
MagnifierContainer,
MagnifierPreview,
MagnifierZoom,
} from 'react-image-magnifiers';
import '../shared/create-nonce';
import LightboxImage from './LightboxImage';
export type PegaExtensionsImageMagni... | [
"src/components/Pega_Extensions_ImageMagnify/config.json"
] | [
"src/components/Pega_Extensions_ImageMagnify/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_ImageMagnify/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_ImageMagnify/config.json | 25.1 | 15,787 | 3,946 | true |
45059668007ccb24 | implementation_to_test | Pega_Extensions_DynamicHierarchicalForm | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate a Jest + React Testing Library test (`demo.test.tsx`) for `Pega_Extensions_DynamicHierarchicalForm`. Mock `getPConnect` as needed.
<file path="index.tsx">
import { useState, useEffect, useRef, useMemo } from 'react';
import {
withConfiguration,
Button,
EmptyState,
FieldGroup,
Flex,
Progress,
Tab... | import React from 'react';
import { render, screen } from '@testing-library/react';
import { composeStories } from '@storybook/react';
import * as DemoStories from './demo.stories';
const { Default } = composeStories(DemoStories);
test('renders Dynamic Hierarchical Form component with default args', async () => {
r... | [
"src/components/Pega_Extensions_DynamicHierarchicalForm/index.tsx"
] | [
"src/components/Pega_Extensions_DynamicHierarchicalForm/demo.test.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_DynamicHierarchicalForm/demo.test.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_DynamicHierarchicalForm/index.tsx | 25.1 | 14,194 | 3,548 | true |
51555b3b22b7c4d4 | config_to_implementation | Pega_Extensions_LangSwitch | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `index.tsx` for `Pega_Extensions_LangSwitch` that satisfies this Pega Designer config.
<file path="config.json">
{
"name": "Pega_Extensions_LangSwitch",
"label": "Language Switch",
"description": "Render a language and timezone switcher in a widget",
"organization": "Pega",
"version": "4.0.4",
... | import { type ChangeEvent, useEffect, useMemo, useState } from 'react';
import { Card, CardContent, CardHeader, type MenuItemProps, Text, withConfiguration } from '@pega/cosmos-react-core';
import '../shared/create-nonce';
import {
DEFAULT_HEADING,
DEFAULT_HELPER_TEXT,
DEFAULT_LANGUAGE_ERROR_MESSAGE,
DEFAULT_SW... | [
"src/components/Pega_Extensions_LangSwitch/config.json"
] | [
"src/components/Pega_Extensions_LangSwitch/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_LangSwitch/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_LangSwitch/config.json | 25.1 | 14,295 | 3,573 | true |
1494902ca76a5ddd | full_component_bundle | Pega_Extensions_Shortcuts | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate every companion file for `Pega_Extensions_Shortcuts` (everything except `index.tsx`) based on the spec below.
<file path="Docs.mdx">
import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
The Shortcu... | <file path="config.json">
{
"name": "Pega_Extensions_Shortcuts",
"label": "Shortcuts",
"description": "Render a list of shortcuts in a widget",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensions",
"allowedApplications": [],
"componentKey": "Pega_Extensions_Shortcuts",
"type": "Widget",... | [
"src/components/Pega_Extensions_Shortcuts/Docs.mdx"
] | [
"src/components/Pega_Extensions_Shortcuts/config.json",
"src/components/Pega_Extensions_Shortcuts/demo.test.tsx",
"src/components/Pega_Extensions_Shortcuts/demo.stories.tsx",
"src/components/Pega_Extensions_Shortcuts/styles.ts"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_Shortcuts/Docs.mdx | 25.1 | 7,904 | 1,976 | true | |
fd0d5ccc49752095 | requirement_to_implementation | Pega_Extensions_CaseReference | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Implement `Pega_Extensions_CaseReference` in Pega Constellation DX style.
Implement the Pega Constellation DX component `Pega_Extensions_CaseReference`.
Purpose: Case reference
Exposed props:
- `labelOption` (SELECT) — Label value (default: "custom")
- `label` (VALUEINPUT) — Custom label value
- `selectionProperty` (... | import { type MouseEvent } from 'react';
import { withConfiguration, Link } from '@pega/cosmos-react-core';
import '../shared/create-nonce';
type ActionableButtonProps = {
value: string;
selectionProperty: string;
getPConnect: any;
refCaseClassName: string;
allowPreview: boolean;
};
export const PegaExtensi... | [
"src/components/Pega_Extensions_CaseReference/Docs.mdx",
"src/components/Pega_Extensions_CaseReference/config.json"
] | [
"src/components/Pega_Extensions_CaseReference/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_CaseReference/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_CaseReference/Docs.mdx | 25.1 | 4,700 | 1,175 | true |
350848e8a20d9c45 | config_to_implementation | Pega_Extensions_TrendDisplay | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `index.tsx` for `Pega_Extensions_TrendDisplay` that satisfies this Pega Designer config.
<file path="config.json">
{
"name": "Pega_Extensions_TrendDisplay",
"label": "Trend Display",
"description": "Trend Display",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensions",
"allowed... | import {
withConfiguration,
FormField,
createUID,
CurrencyDisplay,
NoValue,
Icon,
Text,
registerIcon,
} from '@pega/cosmos-react-core';
import '../shared/create-nonce';
import TrendDisplayWrapper from './styles';
import { useState } from 'react';
import TrendGraph from './TrendGraph';
import { useTheme... | [
"src/components/Pega_Extensions_TrendDisplay/config.json"
] | [
"src/components/Pega_Extensions_TrendDisplay/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_TrendDisplay/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_TrendDisplay/config.json | 25.1 | 13,897 | 3,474 | true |
4d0fe8d8572b6006 | implementation_to_docs | Pega_Extensions_TrendDisplay | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate `Docs.mdx` (Storybook MDX documentation) for `Pega_Extensions_TrendDisplay` based on this implementation.
<file path="index.tsx">
import {
withConfiguration,
FormField,
createUID,
CurrencyDisplay,
NoValue,
Icon,
Text,
registerIcon,
} from '@pega/cosmos-react-core';
import '../shared/create-non... | import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
This component is a flexible component that can render a currency value or a string using different custom color - It can also display a trend of the valu... | [
"src/components/Pega_Extensions_TrendDisplay/index.tsx"
] | [
"src/components/Pega_Extensions_TrendDisplay/Docs.mdx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_TrendDisplay/Docs.mdx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_TrendDisplay/index.tsx | 25.1 | 9,742 | 2,435 | true |
cb121300f773e0e5 | requirement_to_implementation | Pega_Extensions_CardGallery | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Implement `Pega_Extensions_CardGallery` in Pega Constellation DX style.
Implement the Pega Constellation DX component `Pega_Extensions_CardGallery`.
Purpose: Card Gallery
Exposed props:
- `heading` (TEXT) — Heading
- `useInDashboard` (BOOLEAN) — Set to true if you are using in a dashboard - use a queryable data page ... | import { useEffect, useMemo, useRef, useState, type ReactNode } from 'react';
import {
withConfiguration,
registerIcon,
Text,
Card,
CardHeader,
Progress,
Button,
Icon,
EmptyState,
ErrorState,
Flex,
} from '@pega/cosmos-react-core';
import { Task } from './Task';
import { loadDetails, getFilters } ... | [
"src/components/Pega_Extensions_CardGallery/Docs.mdx",
"src/components/Pega_Extensions_CardGallery/config.json"
] | [
"src/components/Pega_Extensions_CardGallery/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_CardGallery/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_CardGallery/Docs.mdx | 25.1 | 12,007 | 3,001 | true |
ce9393d31eb544c5 | implementation_to_docs | Pega_Extensions_CheckboxTrigger | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate `Docs.mdx` (Storybook MDX documentation) for `Pega_Extensions_CheckboxTrigger` based on this implementation.
<file path="index.tsx">
import { useEffect, useState, useRef, type MouseEvent } from 'react';
import { withConfiguration, Checkbox, Text } from '@pega/cosmos-react-core';
import '../shared/create-nonce... | import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
The Checkbox Trigger is a special case component that is aimed to address a limitation in Constellation UI with data objects. While Constellation UI suppo... | [
"src/components/Pega_Extensions_CheckboxTrigger/index.tsx"
] | [
"src/components/Pega_Extensions_CheckboxTrigger/Docs.mdx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_CheckboxTrigger/Docs.mdx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_CheckboxTrigger/index.tsx | 25.1 | 8,453 | 2,113 | true |
38069d62459e27e5 | docs_to_implementation | Pega_Extensions_LangSwitch | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `index.tsx` for `Pega_Extensions_LangSwitch` matching the spec below.
<file path="Docs.mdx">
import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
Renders a consumer-friendly language and timezo... | import { type ChangeEvent, useEffect, useMemo, useState } from 'react';
import { Card, CardContent, CardHeader, type MenuItemProps, Text, withConfiguration } from '@pega/cosmos-react-core';
import '../shared/create-nonce';
import {
DEFAULT_HEADING,
DEFAULT_HELPER_TEXT,
DEFAULT_LANGUAGE_ERROR_MESSAGE,
DEFAULT_SW... | [
"src/components/Pega_Extensions_LangSwitch/Docs.mdx",
"src/components/Pega_Extensions_LangSwitch/config.json"
] | [
"src/components/Pega_Extensions_LangSwitch/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_LangSwitch/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_LangSwitch/Docs.mdx | 25.1 | 16,951 | 4,237 | true |
d9dd10387f5585cf | requirement_to_implementation | Pega_Extensions_NetworkDiagram | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Implement `Pega_Extensions_NetworkDiagram` in Pega Constellation DX style.
Implement the Pega Constellation DX component `Pega_Extensions_NetworkDiagram`.
Purpose: Network Diagram
Exposed props:
- `heading` (TEXT) — Heading
- `dataPage` (TEXT) — Data Page name
- `selectionProperty` (PROPERTY) — Selection Property
- `... | import { useEffect, useMemo, useState } from 'react';
import {
withConfiguration,
registerIcon,
Icon,
Text,
Card,
CardHeader,
CardContent,
Button,
useTheme,
} from '@pega/cosmos-react-core';
import ReactFlow, {
useNodesState,
useEdgesState,
useReactFlow,
ReactFlowProvider,
MiniMap,
Control... | [
"src/components/Pega_Extensions_NetworkDiagram/Docs.mdx",
"src/components/Pega_Extensions_NetworkDiagram/config.json"
] | [
"src/components/Pega_Extensions_NetworkDiagram/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_NetworkDiagram/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_NetworkDiagram/Docs.mdx | 25.1 | 10,919 | 2,729 | true |
6f9347b24ba04d49 | implementation_to_docs | Pega_Extensions_ExpandableTable | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate `Docs.mdx` (Storybook MDX documentation) for `Pega_Extensions_ExpandableTable` based on this implementation.
<file path="index.tsx">
import { Fragment, useState, useEffect, useCallback } from 'react';
import {
withConfiguration,
Progress,
Text,
createUID,
Button,
Icon,
registerIcon,
CardConten... | import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
The **Expandable Table** renders an embedded data list as a read-only table. Each row includes an expand / collapse toggle in the first column that loads ... | [
"src/components/Pega_Extensions_ExpandableTable/index.tsx"
] | [
"src/components/Pega_Extensions_ExpandableTable/Docs.mdx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_ExpandableTable/Docs.mdx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_ExpandableTable/index.tsx | 25.1 | 14,039 | 3,509 | true |
eeff8977ee578237 | docs_to_implementation | Pega_Extensions_OrgBuilder | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `index.tsx` for `Pega_Extensions_OrgBuilder` matching the spec below.
<file path="Docs.mdx">
import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
<Primary />
## Props
<Controls />
</file>
<f... | import { useState } from 'react';
import { withConfiguration, Text, Card, CardHeader, CardContent, Button, Icon } from '@pega/cosmos-react-core';
import StyledPegaExtensionsOrgBuilder from './styles';
import { OrganizationBuilder } from './OrganizationBuilder';
import * as resetIcon from '@pega/cosmos-react-core/lib/c... | [
"src/components/Pega_Extensions_OrgBuilder/Docs.mdx",
"src/components/Pega_Extensions_OrgBuilder/config.json"
] | [
"src/components/Pega_Extensions_OrgBuilder/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_OrgBuilder/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_OrgBuilder/Docs.mdx | 25.1 | 6,464 | 1,616 | true |
0f58ebc30c5a4769 | implementation_to_docs | Pega_Extensions_IframeWrapper | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate `Docs.mdx` (Storybook MDX documentation) for `Pega_Extensions_IframeWrapper` based on this implementation.
<file path="index.tsx">
import { withConfiguration } from '@pega/cosmos-react-core';
import '../shared/create-nonce';
import { useEffect, useRef, useState } from 'react';
type IframeWrapperProps = {
/... | import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
This field-level component allows to render an iframe - the url of the iframe is set to the value of the input field
The height can be set to a fixed hei... | [
"src/components/Pega_Extensions_IframeWrapper/index.tsx"
] | [
"src/components/Pega_Extensions_IframeWrapper/Docs.mdx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_IframeWrapper/Docs.mdx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_IframeWrapper/index.tsx | 25.1 | 5,637 | 1,409 | true |
c7e3baad46b0e38c | implementation_to_test | Pega_Extensions_NetworkDiagram | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate a Jest + React Testing Library test (`demo.test.tsx`) for `Pega_Extensions_NetworkDiagram`. Mock `getPConnect` as needed.
<file path="index.tsx">
import { useEffect, useMemo, useState } from 'react';
import {
withConfiguration,
registerIcon,
Icon,
Text,
Card,
CardHeader,
CardContent,
Button,
... | import React from 'react';
import { render, screen } from '@testing-library/react';
import { composeStories } from '@storybook/react';
import * as DemoStories from './demo.stories';
const { Default } = composeStories(DemoStories);
test('renders Network Diagram with default args', async () => {
const { container } =... | [
"src/components/Pega_Extensions_NetworkDiagram/index.tsx"
] | [
"src/components/Pega_Extensions_NetworkDiagram/demo.test.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_NetworkDiagram/demo.test.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_NetworkDiagram/index.tsx | 25.1 | 10,800 | 2,700 | true |
0d1e5645d9980176 | requirement_to_implementation | Pega_Extensions_CompareTableLayout | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Implement `Pega_Extensions_CompareTableLayout` in Pega Constellation DX style.
Implement the Pega Constellation DX component `Pega_Extensions_CompareTableLayout`.
Purpose: Comparison Table Layout
Exposed props:
- `heading` (TEXT) — Label
- `displayFormat` (SELECT) — Display format
- `currencyFormat` (SELECT) — Curren... | import { useState, useEffect } from 'react';
import {
withConfiguration,
FieldGroup,
FieldValueList,
RadioButtonGroup,
Progress,
RadioButton,
Text,
createUID,
Icon,
registerIcon,
useTheme,
Checkbox,
} from '@pega/cosmos-react-core';
import StyledPegaExtensionsCompareTableLayoutWrapper, { Selecte... | [
"src/components/Pega_Extensions_CompareTableLayout/Docs.mdx",
"src/components/Pega_Extensions_CompareTableLayout/config.json"
] | [
"src/components/Pega_Extensions_CompareTableLayout/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_CompareTableLayout/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_CompareTableLayout/Docs.mdx | 25.1 | 13,001 | 3,250 | true |
dd7364fca15b9eac | requirement_to_implementation | Pega_Extensions_Scheduler | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Implement `Pega_Extensions_Scheduler` in Pega Constellation DX style.
Implement the Pega Constellation DX component `Pega_Extensions_Scheduler`.
Purpose: Scheduler
Exposed props:
- `labelOption` (SELECT) — Label value (default: "custom")
- `label` (VALUEINPUT) — Custom label value
- `?` (GROUP) — Conditions
- `?` (GR... | import { useEffect, useState, useRef, type MouseEvent } from 'react';
import { withConfiguration, FormControl, Flex, FormField, Link, useTheme, ErrorState } from '@pega/cosmos-react-core';
import { type EventContentArg } from '@fullcalendar/core';
import FullCalendar from '@fullcalendar/react';
import timeGridPlugin fr... | [
"src/components/Pega_Extensions_Scheduler/Docs.mdx",
"src/components/Pega_Extensions_Scheduler/config.json"
] | [
"src/components/Pega_Extensions_Scheduler/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_Scheduler/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_Scheduler/Docs.mdx | 25.1 | 9,432 | 2,358 | true |
0e6f656e67d53265 | docs_to_implementation | Pega_Extensions_RangeSlider | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `index.tsx` for `Pega_Extensions_RangeSlider` matching the spec below.
<file path="Docs.mdx">
import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
The Range slider allows to filter a set of obj... | import { useCallback, useEffect, useRef, useState, type CSSProperties } from 'react';
import { withConfiguration, Flex, cap, useDirection, CurrencyDisplay, FieldGroup } from '@pega/cosmos-react-core';
import '../shared/create-nonce';
import {
StyledMinValue,
StyledBar,
StyledSlider,
StyledThumb,
StyledMinTrac... | [
"src/components/Pega_Extensions_RangeSlider/Docs.mdx",
"src/components/Pega_Extensions_RangeSlider/config.json"
] | [
"src/components/Pega_Extensions_RangeSlider/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_RangeSlider/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_RangeSlider/Docs.mdx | 25.1 | 16,301 | 4,075 | true |
2e0c696ee30bcef5 | implementation_to_story | Pega_Extensions_JapaneseInput | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate a Storybook CSF3 story (`demo.stories.tsx`) for `Pega_Extensions_JapaneseInput`. Mock `getPConnect` in `argTypes`.
<file path="index.tsx">
import { type FC } from 'react';
import { useEffect, useState, useRef } from 'react';
import {
Input,
Text,
withConfiguration,
type InputProps,
type FormControlP... | import type { Meta, StoryObj } from '@storybook/react-webpack5';
import { PegaExtensionsJapaneseInput } from './index';
const meta: Meta<typeof PegaExtensionsJapaneseInput> = {
title: 'Fields/Japanese Input',
component: PegaExtensionsJapaneseInput,
excludeStories: /.*Data$/,
parameters: {
a11y: {
co... | [
"src/components/Pega_Extensions_JapaneseInput/index.tsx"
] | [
"src/components/Pega_Extensions_JapaneseInput/demo.stories.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_JapaneseInput/demo.stories.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_JapaneseInput/index.tsx | 25.1 | 8,954 | 2,238 | true |
4310d7ae9cb6dcde | full_component_bundle | Pega_Extensions_FormWithVerticalStepper | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate every companion file for `Pega_Extensions_FormWithVerticalStepper` (everything except `index.tsx`) based on the spec below.
<file path="Docs.mdx">
import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overvie... | <file path="config.json">
{
"name": "Pega_Extensions_FormWithVerticalStepper",
"label": "Form with Vertical Stepper",
"description": "Form with Vertical Stepper",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensions",
"componentKey": "Pega_Extensions_FormWithVerticalStepper",
"type": "Temp... | [
"src/components/Pega_Extensions_FormWithVerticalStepper/Docs.mdx"
] | [
"src/components/Pega_Extensions_FormWithVerticalStepper/config.json",
"src/components/Pega_Extensions_FormWithVerticalStepper/demo.test.tsx",
"src/components/Pega_Extensions_FormWithVerticalStepper/demo.stories.tsx",
"src/components/Pega_Extensions_FormWithVerticalStepper/styles.ts",
"src/components/Pega_Ex... | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_FormWithVerticalStepper/Docs.mdx | 25.1 | 15,699 | 3,924 | true | |
6d8fdaeefc516c53 | docs_to_implementation | Pega_Extensions_StatusBadge | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `index.tsx` for `Pega_Extensions_StatusBadge` matching the spec below.
<file path="Docs.mdx">
import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
This field-level component allows to render a ... | import { withConfiguration, Status, type StatusProps } from '@pega/cosmos-react-core';
import '../shared/create-nonce';
type StatusBadgeProps = {
/** The value to display in the status badge */
inputProperty: string;
/** Regex expression to match the Info status
*/
infoStatus?: string;
/** Regex expressi... | [
"src/components/Pega_Extensions_StatusBadge/Docs.mdx",
"src/components/Pega_Extensions_StatusBadge/config.json"
] | [
"src/components/Pega_Extensions_StatusBadge/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_StatusBadge/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_StatusBadge/Docs.mdx | 25.1 | 7,756 | 1,939 | true |
28058c15ce05a222 | implementation_to_docs | Pega_Extensions_CaseLauncher | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate `Docs.mdx` (Storybook MDX documentation) for `Pega_Extensions_CaseLauncher` based on this implementation.
<file path="index.tsx">
import { withConfiguration, Card, CardHeader, CardContent, CardFooter, Text, Button } from '@pega/cosmos-react-core';
import StyledCard from './styles';
import '../shared/create-no... | import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
The Case Launcher widget allows you to create and open a single defined case by clicking the widget button. The widget consists of a card, a header, a cas... | [
"src/components/Pega_Extensions_CaseLauncher/index.tsx"
] | [
"src/components/Pega_Extensions_CaseLauncher/Docs.mdx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_CaseLauncher/Docs.mdx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_CaseLauncher/index.tsx | 25.1 | 4,367 | 1,091 | true |
cce8425d9bf3e420 | config_to_implementation | Pega_Extensions_FormWithVerticalStepper | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `index.tsx` for `Pega_Extensions_FormWithVerticalStepper` that satisfies this Pega Designer config.
<file path="config.json">
{
"name": "Pega_Extensions_FormWithVerticalStepper",
"label": "Form with Vertical Stepper",
"description": "Form with Vertical Stepper",
"organization": "Pega",
"version"... | import { Grid, Flex, FieldGroup, withConfiguration } from '@pega/cosmos-react-core';
import type { PegaExtensionsFormWithVerticalStepperProps } from './types';
import '../shared/create-nonce';
import VerticalNavbar from './VerticalNavbar';
import ActionButtons from './ActionButtons';
import StyledPegaExtensionsFormWi... | [
"src/components/Pega_Extensions_FormWithVerticalStepper/config.json"
] | [
"src/components/Pega_Extensions_FormWithVerticalStepper/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_FormWithVerticalStepper/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_FormWithVerticalStepper/config.json | 25.1 | 5,793 | 1,448 | true |
879ace6ca479aa79 | implementation_to_docs | Pega_Extensions_DynamicHierarchicalForm | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate `Docs.mdx` (Storybook MDX documentation) for `Pega_Extensions_DynamicHierarchicalForm` based on this implementation.
<file path="index.tsx">
import { useState, useEffect, useRef, useMemo } from 'react';
import {
withConfiguration,
Button,
EmptyState,
FieldGroup,
Flex,
Progress,
TabPanel,
Tabs,... | import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
The DynamicHierarchicalForm template is designed for utilization within a form template. Its core function is to allow users to choose from a multitude of... | [
"src/components/Pega_Extensions_DynamicHierarchicalForm/index.tsx"
] | [
"src/components/Pega_Extensions_DynamicHierarchicalForm/Docs.mdx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_DynamicHierarchicalForm/Docs.mdx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_DynamicHierarchicalForm/index.tsx | 25.1 | 16,129 | 4,032 | true |
37d3b1a920fc59ba | docs_to_implementation | Pega_Extensions_StarRatingInput | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `index.tsx` for `Pega_Extensions_StarRatingInput` matching the spec below.
<file path="Docs.mdx">
import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
This field-level component allows to rende... | import { useEffect, useState, useRef, type MouseEvent, useCallback } from 'react';
import {
withConfiguration,
Rating,
Flex,
Icon,
cap,
useDirection,
FormField,
FormControl,
} from '@pega/cosmos-react-core';
import '../shared/create-nonce';
import { StyledFlexWrapper, StyledStarRatingMetaInfo, StyledSta... | [
"src/components/Pega_Extensions_StarRatingInput/Docs.mdx",
"src/components/Pega_Extensions_StarRatingInput/config.json"
] | [
"src/components/Pega_Extensions_StarRatingInput/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_StarRatingInput/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_StarRatingInput/Docs.mdx | 25.1 | 13,856 | 3,464 | true |
09c420213b828b7a | implementation_to_story | Pega_Extensions_Toggle | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate a Storybook CSF3 story (`demo.stories.tsx`) for `Pega_Extensions_Toggle`. Mock `getPConnect` in `argTypes`.
<file path="index.tsx">
import { useEffect, useState, useRef, type ChangeEvent } from 'react';
import { withConfiguration, Switch, Text, FormField } from '@pega/cosmos-react-core';
import '../shared/cre... | import type { StoryObj } from '@storybook/react-webpack5';
import { PegaExtensionsToggle, type ToggleProps } from './index';
export default {
title: 'Fields/Toggle',
argTypes: {
hideLabel: {
control: 'boolean',
},
fieldMetadata: {
table: {
disable: true,
},
},
addition... | [
"src/components/Pega_Extensions_Toggle/index.tsx"
] | [
"src/components/Pega_Extensions_Toggle/demo.stories.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_Toggle/demo.stories.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_Toggle/index.tsx | 25.1 | 8,562 | 2,140 | true |
6a4a96ebd67a9ba0 | docs_to_implementation | Pega_Extensions_DynamicHierarchicalForm | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `index.tsx` for `Pega_Extensions_DynamicHierarchicalForm` matching the spec below.
<file path="Docs.mdx">
import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
The DynamicHierarchicalForm templa... | import { useState, useEffect, useRef, useMemo } from 'react';
import {
withConfiguration,
Button,
EmptyState,
FieldGroup,
Flex,
Progress,
TabPanel,
Tabs,
ComboBox,
menuHelpers,
type MenuItemProps,
type ComboBoxProps,
} from '@pega/cosmos-react-core';
import getAllFields from './utils';
import { ... | [
"src/components/Pega_Extensions_DynamicHierarchicalForm/Docs.mdx",
"src/components/Pega_Extensions_DynamicHierarchicalForm/config.json"
] | [
"src/components/Pega_Extensions_DynamicHierarchicalForm/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_DynamicHierarchicalForm/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_DynamicHierarchicalForm/Docs.mdx | 25.1 | 17,349 | 4,337 | true |
768169f9185fb0f1 | requirement_to_implementation | Pega_Extensions_ExpandableTable | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Implement `Pega_Extensions_ExpandableTable` in Pega Constellation DX style.
Implement the Pega Constellation DX component `Pega_Extensions_ExpandableTable`.
Purpose: Read-only table with expandable rows for viewing embedded data object details
Exposed props:
- `A` (CONTENTPICKER) — Region A (Columns)
- `detailViewNam... | import { Fragment, useState, useEffect, useCallback } from 'react';
import {
withConfiguration,
Progress,
Text,
createUID,
Button,
Icon,
registerIcon,
CardContent,
Card,
} from '@pega/cosmos-react-core';
import StyledPegaExtensionsExpandableTableWrapper from './styles';
import * as caretDownIcon from ... | [
"src/components/Pega_Extensions_ExpandableTable/Docs.mdx",
"src/components/Pega_Extensions_ExpandableTable/config.json"
] | [
"src/components/Pega_Extensions_ExpandableTable/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_ExpandableTable/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_ExpandableTable/Docs.mdx | 25.1 | 11,348 | 2,837 | true |
52056a21dd476fdf | implementation_to_config | Pega_Extensions_Toggle | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `config.json` (Pega Designer metadata) for `Pega_Extensions_Toggle` based on this implementation.
<file path="index.tsx">
import { useEffect, useState, useRef, type ChangeEvent } from 'react';
import { withConfiguration, Switch, Text, FormField } from '@pega/cosmos-react-core';
import '../shared/create-no... | {
"name": "Pega_Extensions_Toggle",
"label": "Toggle",
"description": "Boolean field rendered as a switch",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensions",
"allowedApplications": [],
"componentKey": "Pega_Extensions_Toggle",
"type": "Field",
"subtype": "Boolean",
"icon": "imag... | [
"src/components/Pega_Extensions_Toggle/index.tsx"
] | [
"src/components/Pega_Extensions_Toggle/config.json"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_Toggle/config.json | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_Toggle/index.tsx | 25.1 | 10,219 | 2,554 | true |
11fd9502e22d09ef | config_to_implementation | Pega_Extensions_EditableTableLayout | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `index.tsx` for `Pega_Extensions_EditableTableLayout` that satisfies this Pega Designer config.
<file path="config.json">
{
"name": "Pega_Extensions_EditableTableLayout",
"label": "Editable Table Layout",
"description": "Editable Table Layout",
"organization": "Pega",
"version": "4.0.4",
"libr... | import { useState, useEffect } from 'react';
import {
withConfiguration,
Progress,
Text,
createUID,
Button,
Icon,
registerIcon,
CardContent,
Card,
Flex,
} from '@pega/cosmos-react-core';
import StyledPegaExtensionsEditableTableLayoutWrapper from './styles';
import * as trashIcon from '@pega/cosmos-r... | [
"src/components/Pega_Extensions_EditableTableLayout/config.json"
] | [
"src/components/Pega_Extensions_EditableTableLayout/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_EditableTableLayout/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_EditableTableLayout/config.json | 25.1 | 10,201 | 2,550 | true |
757b61e592290842 | config_to_implementation | Pega_Extensions_UtilityList | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `index.tsx` for `Pega_Extensions_UtilityList` that satisfies this Pega Designer config.
<file path="config.json">
{
"name": "Pega_Extensions_UtilityList",
"label": "Utility List",
"description": "List of objects for the utility column",
"organization": "Pega",
"version": "4.0.4",
"library": "E... | import { useState, useRef, useEffect, type ReactNode } from 'react';
import {
withConfiguration,
registerIcon,
Modal,
Flex,
useModalManager,
SummaryList,
MetaList,
type SummaryListItem,
type ModalMethods,
type ModalProps,
} from '@pega/cosmos-react-core';
import * as polarisIcon from '@pega/cosmos-r... | [
"src/components/Pega_Extensions_UtilityList/config.json"
] | [
"src/components/Pega_Extensions_UtilityList/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_UtilityList/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_UtilityList/config.json | 25.1 | 8,391 | 2,097 | true |
bf8170b96a036ab0 | full_component_bundle | Pega_Extensions_StarRatingInput | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate every companion file for `Pega_Extensions_StarRatingInput` (everything except `index.tsx`) based on the spec below.
<file path="Docs.mdx">
import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
This ... | <file path="config.json">
{
"name": "Pega_Extensions_StarRatingInput",
"label": "Rating",
"description": "Star Rating Input",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensions",
"allowedApplications": [],
"componentKey": "Pega_Extensions_StarRatingInput",
"type": "Field",
"subtype":... | [
"src/components/Pega_Extensions_StarRatingInput/Docs.mdx"
] | [
"src/components/Pega_Extensions_StarRatingInput/config.json",
"src/components/Pega_Extensions_StarRatingInput/demo.test.tsx",
"src/components/Pega_Extensions_StarRatingInput/demo.stories.tsx",
"src/components/Pega_Extensions_StarRatingInput/styles.ts"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_StarRatingInput/Docs.mdx | 25.1 | 8,931 | 2,232 | true | |
fa095af5338a886f | docs_to_implementation | Pega_Extensions_AutoSave | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `index.tsx` for `Pega_Extensions_AutoSave` matching the spec below.
<file path="Docs.mdx">
import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
This component will auto-save a specific input fi... | import { useEffect } from 'react';
import '../shared/create-nonce';
type AutoSaveProps = {
propertyName: string;
getPConnect: any;
};
export const PegaExtensionsAutoSave = (props: AutoSaveProps) => {
const { getPConnect, propertyName = '' } = props;
const pConn = getPConnect();
useEffect(() => {
if (!p... | [
"src/components/Pega_Extensions_AutoSave/Docs.mdx",
"src/components/Pega_Extensions_AutoSave/config.json"
] | [
"src/components/Pega_Extensions_AutoSave/index.ts"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_AutoSave/index.ts | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_AutoSave/Docs.mdx | 25.1 | 6,132 | 1,533 | true |
50c359f80c49926b | full_component_bundle | Pega_Extensions_Meter | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate every companion file for `Pega_Extensions_Meter` (everything except `index.tsx`) based on the spec below.
<file path="Docs.mdx">
import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks';
import * as DemoStories from './demo.stories';
<Meta of={DemoStories} />
# Overview
Meters are visu... | <file path="config.json">
{
"name": "Pega_Extensions_Meter",
"label": "Meter",
"description": "Meter",
"organization": "Pega",
"version": "4.0.4",
"library": "Extensions",
"allowedApplications": [],
"componentKey": "Pega_Extensions_Meter",
"type": "Field",
"subtype": "Decimal-Percentage",
"propert... | [
"src/components/Pega_Extensions_Meter/Docs.mdx"
] | [
"src/components/Pega_Extensions_Meter/config.json",
"src/components/Pega_Extensions_Meter/demo.test.tsx",
"src/components/Pega_Extensions_Meter/demo.stories.tsx",
"src/components/Pega_Extensions_Meter/styles.ts"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_Meter/Docs.mdx | 25.1 | 11,171 | 2,792 | true | |
df1ab993d8650e54 | implementation_to_test | Pega_Extensions_KanbanBoard | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate a Jest + React Testing Library test (`demo.test.tsx`) for `Pega_Extensions_KanbanBoard`. Mock `getPConnect` as needed.
<file path="index.tsx">
import { useEffect, useState } from 'react';
import {
withConfiguration,
registerIcon,
Text,
Card,
CardHeader,
Progress,
Button,
Icon,
} from '@pega/co... | import React from 'react';
import { render, screen } from '@testing-library/react';
import { composeStories } from '@storybook/react';
import * as DemoStories from './demo.stories';
const { Default } = composeStories(DemoStories);
test('renders Kanban component with default args', async () => {
render(<Default />);... | [
"src/components/Pega_Extensions_KanbanBoard/index.tsx"
] | [
"src/components/Pega_Extensions_KanbanBoard/demo.test.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_KanbanBoard/demo.test.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_KanbanBoard/index.tsx | 25.1 | 10,327 | 2,581 | true |
c6b977f60c84cc33 | config_to_implementation | Pega_Extensions_OAuthConnect | train | You are an expert Pega Constellation DX component author. You produce ready-to-publish custom UI components for the Pega Platform that follow the project's strict folder, naming, and coding conventions.
A Constellation DX component lives under `src/components/Pega_Extensions_<Name>/` and contains these files:
- `inde... | Generate the `index.tsx` for `Pega_Extensions_OAuthConnect` that satisfies this Pega Designer config.
<file path="config.json">
{
"name": "Pega_Extensions_OAuthConnect",
"label": "OAuth Connect",
"description": "Allows to integrate external applications into Constellation UI using OAuth 2.0 authorization code gr... | import { useCallback, useEffect, useState } from 'react';
import {
Button,
Card,
DateTimeDisplay,
Flex,
Icon,
registerIcon,
Text,
withConfiguration,
} from '@pega/cosmos-react-core';
import { StyledSummaryListHeader, StyledSummaryListContent } from './styles';
import '../shared/create-nonce';
import * ... | [
"src/components/Pega_Extensions_OAuthConnect/config.json"
] | [
"src/components/Pega_Extensions_OAuthConnect/index.tsx"
] | apache-2.0 | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_OAuthConnect/index.tsx | https://github.com/pegasystems/constellation-ui-gallery/blob/ec4e69f6de1092bf0f276f0659ba90a7ed60675b/src/components/Pega_Extensions_OAuthConnect/config.json | 25.1 | 8,965 | 2,241 | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.