@digigov/react-core 0.23.1 → 0.25.0
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.
- package/AccessibilityIcon/index.d.ts +0 -6
- package/AccessibilityTextIcon/index.d.ts +0 -6
- package/AccordionSection/index.d.ts +0 -9
- package/AccordionSectionSummary/index.d.ts +1 -2
- package/AccordionSectionSummary/index.js +2 -5
- package/ArrowIcon/index.d.ts +0 -5
- package/BackLink/index.d.ts +0 -4
- package/Base/index.d.ts +1 -2
- package/BurgerIcon/index.d.ts +0 -6
- package/Button/index.d.ts +0 -4
- package/CHANGELOG.md +21 -1
- package/CallToAction/index.d.ts +0 -1
- package/CaretContainer/__snapshots__/index.test.tsx.snap +16 -0
- package/CaretContainer/index.d.ts +11 -0
- package/CaretContainer/index.js +40 -0
- package/CaretContainer/index.test.d.ts +1 -0
- package/CaretContainer/index.test.js +15 -0
- package/CaretIcon/index.d.ts +0 -1
- package/CheckIcon/index.d.ts +0 -6
- package/CheckboxConditional/index.js +5 -5
- package/CheckboxItem/index.d.ts +0 -13
- package/CheckboxItem/index.js +5 -4
- package/CloseIcon/index.d.ts +0 -6
- package/DateInputItem/index.d.ts +0 -4
- package/FileUpload/index.d.ts +0 -8
- package/FooterImage/index.d.ts +0 -4
- package/FooterLink/index.d.ts +0 -4
- package/FooterLink/index.js +2 -4
- package/FooterList/index.d.ts +1 -1
- package/GlobeIcon/index.d.ts +0 -6
- package/Grid/index.d.ts +1 -2
- package/HeaderLogo/index.d.ts +0 -4
- package/HeaderSecondaryLogo/index.d.ts +0 -4
- package/HeaderTitle/index.d.ts +0 -4
- package/HeaderTitle/index.js +1 -1
- package/HellenicRepublicLogo/index.d.ts +0 -5
- package/Hidden/index.d.ts +0 -1
- package/MoreVertIcon/index.d.ts +0 -6
- package/NavListItemLink/index.d.ts +0 -5
- package/NotificationBannerLink/index.d.ts +0 -4
- package/NotificationBannerLink/index.js +3 -3
- package/PhaseBannerHeaderContainer/index.d.ts +1 -3
- package/RadioConditional/index.js +5 -5
- package/RadioItem/index.d.ts +0 -13
- package/RadioItem/index.js +4 -2
- package/SelectContainer/index.d.ts +0 -4
- package/SelectOption/index.d.ts +0 -8
- package/SingleCharacterInputItem/index.d.ts +0 -5
- package/SkipLink/index.d.ts +0 -1
- package/Table/index.d.ts +7 -1
- package/Table/index.js +4 -2
- package/TabsListItem/index.d.ts +0 -4
- package/TextArea/index.d.ts +0 -8
- package/TextInput/index.d.ts +0 -4
- package/UncheckIcon/index.d.ts +0 -6
- package/es/AccordionSectionSummary/index.js +2 -5
- package/es/CaretContainer/__snapshots__/index.test.tsx.snap +16 -0
- package/es/CaretContainer/index.js +24 -0
- package/es/CaretContainer/index.test.js +9 -0
- package/es/CheckboxConditional/index.js +3 -5
- package/es/CheckboxItem/index.js +4 -4
- package/es/FooterLink/index.js +2 -4
- package/es/HeaderTitle/index.js +1 -1
- package/es/NotificationBannerLink/index.js +3 -3
- package/es/RadioConditional/index.js +3 -5
- package/es/RadioItem/index.js +3 -2
- package/es/Table/index.js +4 -2
- package/es/index.js +1 -0
- package/es/registry.js +2 -0
- package/esm/AccordionSectionSummary/index.js +2 -5
- package/esm/CaretContainer/__snapshots__/index.test.tsx.snap +16 -0
- package/esm/CaretContainer/index.js +24 -0
- package/esm/CaretContainer/index.test.js +9 -0
- package/esm/CheckboxConditional/index.js +3 -5
- package/esm/CheckboxItem/index.js +4 -4
- package/esm/FooterLink/index.js +2 -4
- package/esm/HeaderTitle/index.js +1 -1
- package/esm/NotificationBannerLink/index.js +3 -3
- package/esm/RadioConditional/index.js +3 -5
- package/esm/RadioItem/index.js +3 -2
- package/esm/Table/index.js +4 -2
- package/esm/index.js +2 -1
- package/esm/registry.js +2 -0
- package/index.d.ts +1 -0
- package/index.js +13 -0
- package/package.json +2 -2
- package/registry.d.ts +1 -0
- package/registry.js +3 -0
- package/src/AccessibilityIcon/index.tsx +2 -9
- package/src/AccessibilityTextIcon/index.tsx +1 -8
- package/src/AccordionSection/index.tsx +1 -7
- package/src/AccordionSectionSummary/index.tsx +2 -8
- package/src/ArrowIcon/index.tsx +0 -5
- package/src/BackLink/index.tsx +2 -7
- package/src/Base/index.tsx +1 -1
- package/src/BurgerIcon/index.tsx +0 -6
- package/src/Button/index.tsx +1 -6
- package/src/CallToAction/index.tsx +5 -4
- package/src/CaretContainer/__snapshots__/index.test.tsx.snap +16 -0
- package/src/CaretContainer/index.test.tsx +8 -0
- package/src/CaretContainer/index.tsx +29 -0
- package/src/CaretIcon/index.tsx +0 -1
- package/src/CheckIcon/index.tsx +2 -8
- package/src/CheckboxConditional/index.tsx +5 -13
- package/src/CheckboxItem/index.tsx +6 -20
- package/src/CloseIcon/index.tsx +2 -8
- package/src/DateInputItem/index.tsx +0 -4
- package/src/Fieldset/index.tsx +1 -2
- package/src/FileUpload/index.tsx +7 -12
- package/src/FooterImage/index.tsx +1 -6
- package/src/FooterLink/index.tsx +2 -8
- package/src/FooterList/index.tsx +1 -1
- package/src/GlobeIcon/index.tsx +0 -6
- package/src/Grid/index.tsx +1 -2
- package/src/HeaderLogo/index.tsx +0 -4
- package/src/HeaderSecondaryLogo/index.tsx +0 -6
- package/src/HeaderTitle/index.tsx +2 -7
- package/src/HellenicRepublicLogo/index.tsx +24 -29
- package/src/Hidden/index.tsx +0 -1
- package/src/MoreVertIcon/index.tsx +1 -8
- package/src/NavListItemLink/index.tsx +0 -5
- package/src/NotificationBannerLink/index.tsx +2 -7
- package/src/PhaseBannerHeaderContainer/index.tsx +1 -4
- package/src/RadioConditional/index.tsx +5 -13
- package/src/RadioItem/index.tsx +5 -19
- package/src/SelectContainer/index.tsx +1 -6
- package/src/SelectOption/index.tsx +1 -11
- package/src/SingleCharacterInputItem/index.tsx +0 -5
- package/src/SkipLink/index.tsx +1 -3
- package/src/Table/index.tsx +10 -0
- package/src/TabsListItem/index.tsx +0 -5
- package/src/TextArea/index.tsx +0 -10
- package/src/TextInput/index.tsx +0 -5
- package/src/UncheckIcon/index.tsx +1 -8
- package/src/index.ts +1 -0
- package/src/registry.js +2 -0
package/src/TextArea/index.tsx
CHANGED
|
@@ -3,16 +3,6 @@ import Base, { BaseProps } from '@digigov/react-core/Base';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
|
|
5
5
|
export interface TextAreaProps extends BaseProps<'textarea'> {
|
|
6
|
-
/**
|
|
7
|
-
* name is optional but strongly recommended.
|
|
8
|
-
*/
|
|
9
|
-
name?: string;
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* row is optional. The default value is 6.
|
|
13
|
-
*/
|
|
14
|
-
rows?: 4 | 5 | 6 | 7 | 8;
|
|
15
|
-
|
|
16
6
|
/**
|
|
17
7
|
* error is optional. The default value is false.
|
|
18
8
|
* Use this prop when there is an error at the input.
|
package/src/TextInput/index.tsx
CHANGED
|
@@ -3,11 +3,6 @@ import Base, { BaseProps } from '@digigov/react-core/Base';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
|
|
5
5
|
export interface TextInputProps extends BaseProps<'input'> {
|
|
6
|
-
/**
|
|
7
|
-
* name is optional but strongly recommended.
|
|
8
|
-
*/
|
|
9
|
-
name?: string;
|
|
10
|
-
|
|
11
6
|
/**
|
|
12
7
|
* characterWidth is optional.
|
|
13
8
|
*/
|
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import SvgIcon, { SvgIconProps } from '@digigov/react-core/SvgIcon';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
|
-
export interface UncheckIconProps extends SvgIconProps {
|
|
5
|
-
/**
|
|
6
|
-
* ref is optional.
|
|
7
|
-
* ref prop declares the reference of the svg icon component.
|
|
8
|
-
* It can be used to to access the DOM element and the React element.
|
|
9
|
-
*/
|
|
10
|
-
ref?: React.Ref<SVGSVGElement>;
|
|
11
|
-
}
|
|
4
|
+
export interface UncheckIconProps extends SvgIconProps {}
|
|
12
5
|
/**
|
|
13
6
|
* Use UnUncheckIcon component when you need a uncheck/decline icon.
|
|
14
7
|
*/
|
package/src/index.ts
CHANGED
|
@@ -24,6 +24,7 @@ export * from '@digigov/react-core/Card';
|
|
|
24
24
|
export * from '@digigov/react-core/CardAction';
|
|
25
25
|
export * from '@digigov/react-core/CardHeading';
|
|
26
26
|
export * from '@digigov/react-core/CardText';
|
|
27
|
+
export * from '@digigov/react-core/CaretContainer';
|
|
27
28
|
export * from '@digigov/react-core/CaretIcon';
|
|
28
29
|
export * from '@digigov/react-core/Checkbox';
|
|
29
30
|
export * from '@digigov/react-core/CheckboxConditional';
|
package/src/registry.js
CHANGED
|
@@ -26,6 +26,7 @@ import * as _digigov_react_core_Card from '@digigov/react-core/Card';
|
|
|
26
26
|
import * as _digigov_react_core_CardAction from '@digigov/react-core/CardAction';
|
|
27
27
|
import * as _digigov_react_core_CardHeading from '@digigov/react-core/CardHeading';
|
|
28
28
|
import * as _digigov_react_core_CardText from '@digigov/react-core/CardText';
|
|
29
|
+
import * as _digigov_react_core_CaretContainer from '@digigov/react-core/CaretContainer';
|
|
29
30
|
import * as _digigov_react_core_CaretIcon from '@digigov/react-core/CaretIcon';
|
|
30
31
|
import * as _digigov_react_core_Checkbox from '@digigov/react-core/Checkbox';
|
|
31
32
|
import * as _digigov_react_core_CheckboxConditional from '@digigov/react-core/CheckboxConditional';
|
|
@@ -207,6 +208,7 @@ export default {
|
|
|
207
208
|
'@digigov/react-core/CardAction': lazyImport(_digigov_react_core_CardAction),
|
|
208
209
|
'@digigov/react-core/CardHeading': lazyImport(_digigov_react_core_CardHeading),
|
|
209
210
|
'@digigov/react-core/CardText': lazyImport(_digigov_react_core_CardText),
|
|
211
|
+
'@digigov/react-core/CaretContainer': lazyImport(_digigov_react_core_CaretContainer),
|
|
210
212
|
'@digigov/react-core/CaretIcon': lazyImport(_digigov_react_core_CaretIcon),
|
|
211
213
|
'@digigov/react-core/Checkbox': lazyImport(_digigov_react_core_Checkbox),
|
|
212
214
|
'@digigov/react-core/CheckboxConditional': lazyImport(_digigov_react_core_CheckboxConditional),
|