@pega/custom-dx-components 0.23.32 → 0.23.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/package.json +1 -1
  2. package/src/tasks/create/templates/Constellation/Field/Boolean/index.tsx.mustache +0 -2
  3. package/src/tasks/create/templates/Constellation/Field/Date/index.tsx.mustache +0 -2
  4. package/src/tasks/create/templates/Constellation/Field/DateTime/index.tsx.mustache +0 -2
  5. package/src/tasks/create/templates/Constellation/Field/Decimal/index.tsx.mustache +0 -2
  6. package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/index.tsx.mustache +0 -2
  7. package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/index.tsx.mustache +0 -2
  8. package/src/tasks/create/templates/Constellation/Field/Integer/index.tsx.mustache +0 -2
  9. package/src/tasks/create/templates/Constellation/Field/Picklist/index.tsx.mustache +0 -2
  10. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/index.tsx.mustache +0 -2
  11. package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/index.tsx.mustache +0 -2
  12. package/src/tasks/create/templates/Constellation/Field/Text/index.tsx.mustache +0 -2
  13. package/src/tasks/create/templates/Constellation/Field/Text-Email/index.tsx.mustache +0 -2
  14. package/src/tasks/create/templates/Constellation/Field/Text-Input/index.tsx.mustache +0 -2
  15. package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/index.tsx.mustache +0 -2
  16. package/src/tasks/create/templates/Constellation/Field/Text-Phone/index.tsx.mustache +0 -2
  17. package/src/tasks/create/templates/Constellation/Field/Text-URL/index.tsx.mustache +0 -2
  18. package/src/tasks/create/templates/Constellation/Field/TimeofDay/index.tsx.mustache +0 -2
  19. package/src/tasks/create/templates/Constellation/Template/DETAILS/index.tsx.mustache +0 -2
  20. package/src/tasks/create/templates/Constellation/Template/DETAILS-region/index.tsx.mustache +0 -2
  21. package/src/tasks/create/templates/Constellation/Template/FORM/index.tsx.mustache +0 -2
  22. package/src/tasks/create/templates/Constellation/Template/FORM-region/index.tsx.mustache +0 -2
  23. package/src/tasks/create/templates/Constellation/Template/PAGE/index.tsx.mustache +0 -2
  24. package/src/tasks/create/templates/Constellation/Widget/CASE/index.tsx.mustache +0 -2
  25. package/src/tasks/create/templates/Constellation/Widget/PAGE/index.tsx.mustache +0 -2
  26. package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/index.tsx.mustache +0 -2
  27. package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/index.tsx.mustache +0 -2
  28. package/src/tasks/init/template/package.json.mustache +1 -1
  29. package/tests/assets/components/create/Pega_DXIL_MyTestText/index.tsx +0 -2
  30. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/index.tsx +0 -2
  31. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/index.tsx +0 -2
  32. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/index.tsx +0 -2
  33. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/index.tsx +0 -2
  34. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/index.tsx +0 -2
  35. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/index.tsx +0 -2
  36. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/index.tsx +0 -2
  37. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/index.tsx +0 -2
  38. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/index.tsx +0 -2
  39. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/index.tsx +0 -2
  40. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/index.tsx +0 -2
  41. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/index.tsx +0 -2
  42. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/index.tsx +0 -2
  43. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/index.tsx +0 -2
  44. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/index.tsx +0 -2
  45. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/index.tsx +0 -2
  46. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/index.tsx +0 -2
  47. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/index.tsx +0 -2
  48. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/index.tsx +0 -2
  49. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/index.tsx +0 -2
  50. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/index.tsx +0 -2
  51. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/index.tsx +0 -2
  52. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/index.tsx +0 -2
  53. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/index.tsx +0 -2
  54. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/index.tsx +0 -2
  55. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/index.tsx +0 -2
  56. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/index.tsx +0 -2
  57. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/index.tsx +0 -2
  58. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/index.tsx +0 -2
  59. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/index.tsx +0 -2
  60. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/index.tsx +0 -2
  61. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/index.tsx +0 -2
  62. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/index.tsx +0 -2
  63. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/index.tsx +0 -2
  64. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/index.tsx +0 -2
  65. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/index.tsx +0 -2
  66. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/index.tsx +0 -2
  67. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/index.tsx +0 -2
  68. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/index.tsx +0 -2
  69. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/index.tsx +0 -2
  70. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/index.tsx +0 -2
  71. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/index.tsx +0 -2
  72. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/index.tsx +0 -2
  73. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/index.tsx +0 -2
  74. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/index.tsx +0 -2
  75. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/index.tsx +0 -2
  76. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/index.tsx +0 -2
  77. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/index.tsx +0 -2
  78. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/index.tsx +0 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pega/custom-dx-components",
3
- "version": "0.23.32",
3
+ "version": "0.23.33",
4
4
  "description": "Utility for building custom UI components",
5
5
  "bin": "./bin/index.js",
6
6
  "scripts": {
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import {
4
2
  Checkbox as CosmosCheckbox,
5
3
  CheckboxGroup,
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useEffect, useState } from 'react';
4
2
  import { DateInput, FieldValueList, DateTimeDisplay, Text, } from '@pega/cosmos-react-core';
5
3
  import PropTypes from 'prop-types';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useEffect, useState } from 'react';
4
2
  import { DateTimeInput, FieldValueList, DateTimeDisplay, Text } from "@pega/cosmos-react-core";
5
3
  import PropTypes from "prop-types";
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useState, useEffect, useRef } from 'react';
4
2
  import { NumberInput, NumberDisplay, CurrencyDisplay, FieldValueList, Text } from '@pega/cosmos-react-core';
5
3
  import PropTypes from 'prop-types';
@@ -1,6 +1,4 @@
1
1
 
2
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
3
- import React from 'react';
4
2
  import { useState, useEffect } from 'react';
5
3
  import {
6
4
  CurrencyInput as CosmosCurrency,
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useState, useEffect, useRef } from 'react';
4
2
  import {
5
3
  NumberInput,
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useState, useEffect, useRef } from 'react';
4
2
  import { NumberInput, NumberDisplay, Slider, FieldValueList, CurrencyDisplay, Text } from '@pega/cosmos-react-core';
5
3
  import PropTypes from 'prop-types';
@@ -1,6 +1,4 @@
1
1
  /* eslint-disable react-hooks/exhaustive-deps */
2
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
3
- import React from 'react';
4
2
  // @ts-nocheck
5
3
  import { useState, useEffect, useRef } from 'react';
6
4
  import { Select, Option, FieldValueList, Text } from '@pega/cosmos-react-core';
@@ -1,7 +1,5 @@
1
1
  /* eslint-disable react-hooks/exhaustive-deps */
2
2
  /* eslint-disable sonarjs/cognitive-complexity */
3
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
4
- import React from 'react';
5
3
  import { useEffect, useRef, useState, memo, useMemo, type MutableRefObject, type SetStateAction } from 'react';
6
4
  import { ComboBox, menuHelpers, debounce, throttle, Button, Icon, type MenuGroupProps, type MenuItemProps } from '@pega/cosmos-react-core';
7
5
  import PropTypes from 'prop-types';
@@ -1,6 +1,4 @@
1
1
  /* eslint-disable no-nested-ternary */
2
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
3
- import React from 'react';
4
2
  import { useMemo } from 'react';
5
3
  import PropTypes from 'prop-types';
6
4
  import { RadioButton, RadioButtonGroup } from '@pega/cosmos-react-core';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import PropTypes from 'prop-types';
4
2
  import { Input } from '@pega/cosmos-react-core';
5
3
 
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useState, useEffect, useRef } from 'react';
4
2
  import { Input, EmailDisplay, FieldValueList, Text, URLDisplay, PhoneDisplay } from '@pega/cosmos-react-core';
5
3
  import PropTypes from 'prop-types';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useEffect, useState, useRef } from 'react';
4
2
  import { Input, FieldValueList, Text, EmailDisplay, PhoneDisplay, URLDisplay } from '@pega/cosmos-react-core';
5
3
  import PropTypes from 'prop-types';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useState, useEffect, useRef } from 'react';
4
2
  import { TextArea as CosmosTextArea, FieldValueList, ParagraphDisplay, Text, EmailDisplay, PhoneDisplay, URLDisplay } from '@pega/cosmos-react-core';
5
3
  import PropTypes from 'prop-types';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useState, useEffect, useRef } from 'react';
4
2
  import {
5
3
  PhoneInput as CosmosPhone,
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useState, useEffect, useRef} from "react";
4
2
  import { Input, FieldValueList, Text } from "@pega/cosmos-react-core";
5
3
  import PropTypes from "prop-types";
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useEffect, useState } from 'react';
4
2
  import { TimeInput, FieldValueList, DateTimeDisplay, Text } from '@pega/cosmos-react-core';
5
3
  import PropTypes from 'prop-types';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { Fragment } from 'react';
4
2
  import { Grid, Flex, FieldGroup } from '@pega/cosmos-react-core';
5
3
  import PropTypes from 'prop-types';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { Fragment } from 'react';
4
2
  import { Grid, Flex, FieldGroup } from '@pega/cosmos-react-core';
5
3
  import PropTypes from 'prop-types';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { Grid, FieldGroup } from '@pega/cosmos-react-core';
4
2
  import PropTypes from 'prop-types';
5
3
 
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { Grid, Flex, FieldGroup } from '@pega/cosmos-react-core';
4
2
  import PropTypes from 'prop-types';
5
3
 
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useMemo, Children } from 'react';
4
2
  import PropTypes from 'prop-types';
5
3
  import { OneColumnPage as OneColumn } from '@pega/cosmos-react-core';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useState, useEffect } from 'react';
4
2
  import PropTypes from 'prop-types';
5
3
  import { Table, Text } from '@pega/cosmos-react-core';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import PropTypes from 'prop-types';
4
2
  import { AppAnnouncement as PegaAppAnnouncement } from '@pega/cosmos-react-work';
5
3
  import type { PConnFieldProps } from './PConnProps';
@@ -1,6 +1,4 @@
1
1
 
2
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
3
- import React from 'react';
4
2
  /* eslint-disable no-nested-ternary */
5
3
  import { Fragment } from 'react';
6
4
  import { DateTimeDisplay, Card, CardHeader, CardContent, Flex } from '@pega/cosmos-react-core';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { Fragment } from 'react';
4
2
  import { DateTimeDisplay, Card, CardHeader, CardContent, Flex } from '@pega/cosmos-react-core';
5
3
  import PropTypes from 'prop-types';
@@ -69,7 +69,7 @@
69
69
  },
70
70
  "devDependencies": {
71
71
  "@pega/configs": "^0.6.0",
72
- "@pega/custom-dx-components": "0.23.32",
72
+ "@pega/custom-dx-components": "0.23.33",
73
73
  "@pega/pcore-pconnect-typedefs": "2.0.0",
74
74
  "@storybook/addon-actions": "^7.6.7",
75
75
  "@storybook/addon-essentials": "^7.6.7",
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import PropTypes from 'prop-types';
4
2
  import { Input } from '@pega/cosmos-react-core';
5
3
 
@@ -1,7 +1,5 @@
1
1
  /* eslint-disable react-hooks/exhaustive-deps */
2
2
  /* eslint-disable sonarjs/cognitive-complexity */
3
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
4
- import React from 'react';
5
3
  import { useEffect, useRef, useState, memo, useMemo, type MutableRefObject, type SetStateAction } from 'react';
6
4
  import { ComboBox, menuHelpers, debounce, throttle, Button, Icon, type MenuGroupProps, type MenuItemProps } from '@pega/cosmos-react-core';
7
5
  import PropTypes from 'prop-types';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import {
4
2
  Checkbox as CosmosCheckbox,
5
3
  CheckboxGroup,
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useState, useEffect } from 'react';
4
2
  import PropTypes from 'prop-types';
5
3
  import { Table, Text } from '@pega/cosmos-react-core';
@@ -1,6 +1,4 @@
1
1
 
2
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
3
- import React from 'react';
4
2
  import { useState, useEffect } from 'react';
5
3
  import {
6
4
  CurrencyInput as CosmosCurrency,
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useEffect, useState } from 'react';
4
2
  import { DateInput, FieldValueList, DateTimeDisplay, Text, } from '@pega/cosmos-react-core';
5
3
  import PropTypes from 'prop-types';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useEffect, useState } from 'react';
4
2
  import { DateTimeInput, FieldValueList, DateTimeDisplay, Text } from "@pega/cosmos-react-core";
5
3
  import PropTypes from "prop-types";
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useState, useEffect, useRef } from 'react';
4
2
  import { NumberInput, NumberDisplay, CurrencyDisplay, FieldValueList, Text } from '@pega/cosmos-react-core';
5
3
  import PropTypes from 'prop-types';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { Fragment } from 'react';
4
2
  import { Grid, Flex, FieldGroup } from '@pega/cosmos-react-core';
5
3
  import PropTypes from 'prop-types';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useState, useEffect, useRef } from 'react';
4
2
  import { Input, EmailDisplay, FieldValueList, Text, URLDisplay, PhoneDisplay } from '@pega/cosmos-react-core';
5
3
  import PropTypes from 'prop-types';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { Grid, FieldGroup } from '@pega/cosmos-react-core';
4
2
  import PropTypes from 'prop-types';
5
3
 
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useState, useEffect, useRef } from 'react';
4
2
  import { NumberInput, NumberDisplay, Slider, FieldValueList, CurrencyDisplay, Text } from '@pega/cosmos-react-core';
5
3
  import PropTypes from 'prop-types';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useMemo, Children } from 'react';
4
2
  import PropTypes from 'prop-types';
5
3
  import { OneColumnPage as OneColumn } from '@pega/cosmos-react-core';
@@ -1,6 +1,4 @@
1
1
 
2
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
3
- import React from 'react';
4
2
  /* eslint-disable no-nested-ternary */
5
3
  import { Fragment } from 'react';
6
4
  import { DateTimeDisplay, Card, CardHeader, CardContent, Flex } from '@pega/cosmos-react-core';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import PropTypes from 'prop-types';
4
2
  import { AppAnnouncement as PegaAppAnnouncement } from '@pega/cosmos-react-work';
5
3
  import type { PConnFieldProps } from './PConnProps';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useState, useEffect, useRef } from 'react';
4
2
  import { TextArea as CosmosTextArea, FieldValueList, ParagraphDisplay, Text, EmailDisplay, PhoneDisplay, URLDisplay } from '@pega/cosmos-react-core';
5
3
  import PropTypes from 'prop-types';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useState, useEffect, useRef } from 'react';
4
2
  import {
5
3
  NumberInput,
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useState, useEffect, useRef } from 'react';
4
2
  import {
5
3
  PhoneInput as CosmosPhone,
@@ -1,6 +1,4 @@
1
1
  /* eslint-disable react-hooks/exhaustive-deps */
2
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
3
- import React from 'react';
4
2
  // @ts-nocheck
5
3
  import { useState, useEffect, useRef } from 'react';
6
4
  import { Select, Option, FieldValueList, Text } from '@pega/cosmos-react-core';
@@ -1,6 +1,4 @@
1
1
  /* eslint-disable no-nested-ternary */
2
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
3
- import React from 'react';
4
2
  import { useMemo } from 'react';
5
3
  import PropTypes from 'prop-types';
6
4
  import { RadioButton, RadioButtonGroup } from '@pega/cosmos-react-core';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import PropTypes from 'prop-types';
4
2
  import { Input } from '@pega/cosmos-react-core';
5
3
 
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useEffect, useState, useRef } from 'react';
4
2
  import { Input, FieldValueList, Text, EmailDisplay, PhoneDisplay, URLDisplay } from '@pega/cosmos-react-core';
5
3
  import PropTypes from 'prop-types';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useEffect, useState } from 'react';
4
2
  import { TimeInput, FieldValueList, DateTimeDisplay, Text } from '@pega/cosmos-react-core';
5
3
  import PropTypes from 'prop-types';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { Fragment } from 'react';
4
2
  import { Grid, Flex, FieldGroup } from '@pega/cosmos-react-core';
5
3
  import PropTypes from 'prop-types';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { Grid, Flex, FieldGroup } from '@pega/cosmos-react-core';
4
2
  import PropTypes from 'prop-types';
5
3
 
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useState, useEffect, useRef} from "react";
4
2
  import { Input, FieldValueList, Text } from "@pega/cosmos-react-core";
5
3
  import PropTypes from "prop-types";
@@ -1,7 +1,5 @@
1
1
  /* eslint-disable react-hooks/exhaustive-deps */
2
2
  /* eslint-disable sonarjs/cognitive-complexity */
3
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
4
- import React from 'react';
5
3
  import { useEffect, useRef, useState, memo, useMemo, type MutableRefObject, type SetStateAction } from 'react';
6
4
  import { ComboBox, menuHelpers, debounce, throttle, Button, Icon, type MenuGroupProps, type MenuItemProps } from '@pega/cosmos-react-core';
7
5
  import PropTypes from 'prop-types';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import {
4
2
  Checkbox as CosmosCheckbox,
5
3
  CheckboxGroup,
@@ -1,6 +1,4 @@
1
1
 
2
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
3
- import React from 'react';
4
2
  import { useState, useEffect } from 'react';
5
3
  import {
6
4
  CurrencyInput as CosmosCurrency,
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useEffect, useState } from 'react';
4
2
  import { DateInput, FieldValueList, DateTimeDisplay, Text, } from '@pega/cosmos-react-core';
5
3
  import PropTypes from 'prop-types';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useEffect, useState } from 'react';
4
2
  import { DateTimeInput, FieldValueList, DateTimeDisplay, Text } from "@pega/cosmos-react-core";
5
3
  import PropTypes from "prop-types";
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useState, useEffect, useRef } from 'react';
4
2
  import { NumberInput, NumberDisplay, CurrencyDisplay, FieldValueList, Text } from '@pega/cosmos-react-core';
5
3
  import PropTypes from 'prop-types';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { Fragment } from 'react';
4
2
  import { Grid, Flex, FieldGroup } from '@pega/cosmos-react-core';
5
3
  import PropTypes from 'prop-types';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useState, useEffect, useRef } from 'react';
4
2
  import { Input, EmailDisplay, FieldValueList, Text, URLDisplay, PhoneDisplay } from '@pega/cosmos-react-core';
5
3
  import PropTypes from 'prop-types';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { Grid, FieldGroup } from '@pega/cosmos-react-core';
4
2
  import PropTypes from 'prop-types';
5
3
 
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useState, useEffect, useRef } from 'react';
4
2
  import { NumberInput, NumberDisplay, Slider, FieldValueList, CurrencyDisplay, Text } from '@pega/cosmos-react-core';
5
3
  import PropTypes from 'prop-types';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useMemo, Children } from 'react';
4
2
  import PropTypes from 'prop-types';
5
3
  import { OneColumnPage as OneColumn } from '@pega/cosmos-react-core';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { Fragment } from 'react';
4
2
  import { DateTimeDisplay, Card, CardHeader, CardContent, Flex } from '@pega/cosmos-react-core';
5
3
  import PropTypes from 'prop-types';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import PropTypes from 'prop-types';
4
2
  import { AppAnnouncement as PegaAppAnnouncement } from '@pega/cosmos-react-work';
5
3
  import type { PConnFieldProps } from './PConnProps';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useState, useEffect, useRef } from 'react';
4
2
  import { TextArea as CosmosTextArea, FieldValueList, ParagraphDisplay, Text, EmailDisplay, PhoneDisplay, URLDisplay } from '@pega/cosmos-react-core';
5
3
  import PropTypes from 'prop-types';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useState, useEffect, useRef } from 'react';
4
2
  import {
5
3
  NumberInput,
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useState, useEffect, useRef } from 'react';
4
2
  import {
5
3
  PhoneInput as CosmosPhone,
@@ -1,6 +1,4 @@
1
1
  /* eslint-disable react-hooks/exhaustive-deps */
2
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
3
- import React from 'react';
4
2
  // @ts-nocheck
5
3
  import { useState, useEffect, useRef } from 'react';
6
4
  import { Select, Option, FieldValueList, Text } from '@pega/cosmos-react-core';
@@ -1,6 +1,4 @@
1
1
  /* eslint-disable no-nested-ternary */
2
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
3
- import React from 'react';
4
2
  import { useMemo } from 'react';
5
3
  import PropTypes from 'prop-types';
6
4
  import { RadioButton, RadioButtonGroup } from '@pega/cosmos-react-core';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import PropTypes from 'prop-types';
4
2
  import { Input } from '@pega/cosmos-react-core';
5
3
 
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useEffect, useState, useRef } from 'react';
4
2
  import { Input, FieldValueList, Text, EmailDisplay, PhoneDisplay, URLDisplay } from '@pega/cosmos-react-core';
5
3
  import PropTypes from 'prop-types';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useEffect, useState } from 'react';
4
2
  import { TimeInput, FieldValueList, DateTimeDisplay, Text } from '@pega/cosmos-react-core';
5
3
  import PropTypes from 'prop-types';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { Fragment } from 'react';
4
2
  import { Grid, Flex, FieldGroup } from '@pega/cosmos-react-core';
5
3
  import PropTypes from 'prop-types';
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { Grid, Flex, FieldGroup } from '@pega/cosmos-react-core';
4
2
  import PropTypes from 'prop-types';
5
3
 
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import React from 'react';
3
1
  import { useState, useEffect, useRef} from "react";
4
2
  import { Input, FieldValueList, Text } from "@pega/cosmos-react-core";
5
3
  import PropTypes from "prop-types";