@digigov/react-core 2.2.3-govgr-3925.26-05-26-12-20 → 2.2.3
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/Accordion/index.web.d.ts +10 -0
- package/AccordionSectionSummaryHeading/index.d.ts +4 -0
- package/CHANGELOG.md +9 -1
- package/TableDataCell/index.d.ts +12 -0
- package/index.js +1 -1
- package/package.json +3 -3
- package/registry.d.ts +1 -1
- package/registry.js +2 -2
- package/src/Accordion/index.web.tsx +1 -1
- package/src/AccordionSectionSummaryHeading/index.tsx +1 -1
- package/src/TableDataCell/index.tsx +2 -2
- package/src/registry.ts +2 -2
package/Accordion/index.web.d.ts
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BaseProps } from '../Base/index.js';
|
|
3
3
|
export interface AccordionProps extends BaseProps<'div'> {
|
|
4
|
+
/**
|
|
5
|
+
* horizontalBorders is optional.
|
|
6
|
+
* If 'none', Accordion will have no borders.
|
|
7
|
+
* If 'top', Accordion will have a border on top.
|
|
8
|
+
* If 'bottom', Accordion will have a border on bottom.
|
|
9
|
+
* @value none
|
|
10
|
+
* @value top
|
|
11
|
+
* @value bottom
|
|
12
|
+
* @default top
|
|
13
|
+
*/
|
|
4
14
|
horizontalBorders?: 'none' | 'top' | 'bottom';
|
|
5
15
|
/**
|
|
6
16
|
* summaryColor is optional.
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BaseProps } from '../Base/index.js';
|
|
3
3
|
export interface AccordionSectionSummaryHeadingProps extends BaseProps<'h2'> {
|
|
4
|
+
/**
|
|
5
|
+
* The type of the icon to be displayed on the right side of the heading.
|
|
6
|
+
* @default 'default'
|
|
7
|
+
*/
|
|
4
8
|
variant?: 'default' | 'arrows';
|
|
5
9
|
}
|
|
6
10
|
/**
|
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
# Change Log - @digigov/react-core
|
|
2
2
|
|
|
3
|
-
<!-- This log was last generated on
|
|
3
|
+
<!-- This log was last generated on Thu, 28 May 2026 09:16:18 GMT and should not be manually modified. -->
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 2.2.3
|
|
8
|
+
|
|
9
|
+
Thu, 28 May 2026 09:16:18 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- fix(react-core): fix comments in components props (kbrani@admin.grnet.gr)
|
|
14
|
+
|
|
7
15
|
## 2.2.1
|
|
8
16
|
|
|
9
17
|
Fri, 15 May 2026 10:38:56 GMT
|
package/TableDataCell/index.d.ts
CHANGED
|
@@ -31,7 +31,19 @@ export interface TableDataCellProps extends BaseProps<'td'> {
|
|
|
31
31
|
* @default undefined
|
|
32
32
|
*/
|
|
33
33
|
highlight?: 'warning' | 'error';
|
|
34
|
+
/**
|
|
35
|
+
* highlightAssistiveText is optional.
|
|
36
|
+
* Use this prop to add assistive text for screen readers when the highlight prop is used.
|
|
37
|
+
* This text will be visually hidden.
|
|
38
|
+
* @default undefined
|
|
39
|
+
*/
|
|
34
40
|
highlightAssistiveText?: string;
|
|
41
|
+
/**
|
|
42
|
+
* maxWidthWithOverflow is optional.
|
|
43
|
+
* Use this prop to set max-width of the cell and allow overflow when the content is too long.
|
|
44
|
+
* This is used in combination with the TableFloatingScroll component to allow horizontal scrolling of the table when there are cells with long content.
|
|
45
|
+
* @default false
|
|
46
|
+
*/
|
|
35
47
|
maxWidthWithOverflow?: boolean;
|
|
36
48
|
}
|
|
37
49
|
/**
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digigov/react-core",
|
|
3
|
-
"version": "2.2.3
|
|
3
|
+
"version": "2.2.3",
|
|
4
4
|
"description": "@digigov react core components",
|
|
5
5
|
"author": "GRNET Developers <devs@lists.grnet.gr>",
|
|
6
6
|
"license": "BSD-2-Clause",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"react-native-svg": "^15.2.0",
|
|
18
18
|
"expo-router": "^3.5.14",
|
|
19
19
|
"nativewind": "^4.1.1",
|
|
20
|
-
"@digigov/css": "2.2.3
|
|
21
|
-
"@digigov/react-icons": "2.2.3
|
|
20
|
+
"@digigov/css": "2.2.3",
|
|
21
|
+
"@digigov/react-icons": "2.2.3"
|
|
22
22
|
},
|
|
23
23
|
"peerDependenciesMeta": {
|
|
24
24
|
"react-native": {
|
package/registry.d.ts
CHANGED
|
@@ -37,8 +37,8 @@ declare const _default: {
|
|
|
37
37
|
'@digigov/react-core/Bottom': {};
|
|
38
38
|
'@digigov/react-core/BottomInfo': {};
|
|
39
39
|
'@digigov/react-core/BottomInfoContainer': {};
|
|
40
|
-
'@digigov/react-core/Breadcrumbs': {};
|
|
41
40
|
'@digigov/react-core/BottomInfoContent': {};
|
|
41
|
+
'@digigov/react-core/Breadcrumbs': {};
|
|
42
42
|
'@digigov/react-core/BreadcrumbsList': {};
|
|
43
43
|
'@digigov/react-core/BreadcrumbsListItemLinkBase': {};
|
|
44
44
|
'@digigov/react-core/BreadcrumbsListItemWrapper': {};
|
package/registry.js
CHANGED
|
@@ -36,8 +36,8 @@ import * as __WEBPACK_EXTERNAL_MODULE__Blockquote_index_js_9f9375e2__ from "./Bl
|
|
|
36
36
|
import * as __WEBPACK_EXTERNAL_MODULE__Bottom_index_js_75736bbf__ from "./Bottom/index.js";
|
|
37
37
|
import * as __WEBPACK_EXTERNAL_MODULE__BottomInfo_index_js_72d9481e__ from "./BottomInfo/index.js";
|
|
38
38
|
import * as __WEBPACK_EXTERNAL_MODULE__BottomInfoContainer_index_js_692b8134__ from "./BottomInfoContainer/index.js";
|
|
39
|
-
import * as __WEBPACK_EXTERNAL_MODULE__Breadcrumbs_index_js_608fed4a__ from "./Breadcrumbs/index.js";
|
|
40
39
|
import * as __WEBPACK_EXTERNAL_MODULE__BottomInfoContent_index_js_957a9725__ from "./BottomInfoContent/index.js";
|
|
40
|
+
import * as __WEBPACK_EXTERNAL_MODULE__Breadcrumbs_index_js_608fed4a__ from "./Breadcrumbs/index.js";
|
|
41
41
|
import * as __WEBPACK_EXTERNAL_MODULE__BreadcrumbsList_index_js_ecf26583__ from "./BreadcrumbsList/index.js";
|
|
42
42
|
import * as __WEBPACK_EXTERNAL_MODULE__BreadcrumbsListItemLinkBase_index_js_2390c03a__ from "./BreadcrumbsListItemLinkBase/index.js";
|
|
43
43
|
import * as __WEBPACK_EXTERNAL_MODULE__BreadcrumbsListItemWrapper_index_js_8e289c47__ from "./BreadcrumbsListItemWrapper/index.js";
|
|
@@ -310,8 +310,8 @@ const registry = {
|
|
|
310
310
|
'@digigov/react-core/Bottom': lazyImport(__WEBPACK_EXTERNAL_MODULE__Bottom_index_js_75736bbf__),
|
|
311
311
|
'@digigov/react-core/BottomInfo': lazyImport(__WEBPACK_EXTERNAL_MODULE__BottomInfo_index_js_72d9481e__),
|
|
312
312
|
'@digigov/react-core/BottomInfoContainer': lazyImport(__WEBPACK_EXTERNAL_MODULE__BottomInfoContainer_index_js_692b8134__),
|
|
313
|
-
'@digigov/react-core/Breadcrumbs': lazyImport(__WEBPACK_EXTERNAL_MODULE__Breadcrumbs_index_js_608fed4a__),
|
|
314
313
|
'@digigov/react-core/BottomInfoContent': lazyImport(__WEBPACK_EXTERNAL_MODULE__BottomInfoContent_index_js_957a9725__),
|
|
314
|
+
'@digigov/react-core/Breadcrumbs': lazyImport(__WEBPACK_EXTERNAL_MODULE__Breadcrumbs_index_js_608fed4a__),
|
|
315
315
|
'@digigov/react-core/BreadcrumbsList': lazyImport(__WEBPACK_EXTERNAL_MODULE__BreadcrumbsList_index_js_ecf26583__),
|
|
316
316
|
'@digigov/react-core/BreadcrumbsListItemLinkBase': lazyImport(__WEBPACK_EXTERNAL_MODULE__BreadcrumbsListItemLinkBase_index_js_2390c03a__),
|
|
317
317
|
'@digigov/react-core/BreadcrumbsListItemWrapper': lazyImport(__WEBPACK_EXTERNAL_MODULE__BreadcrumbsListItemWrapper_index_js_8e289c47__),
|
|
@@ -3,7 +3,7 @@ import clsx from 'clsx';
|
|
|
3
3
|
import Base, { BaseProps } from '@digigov/react-core/Base';
|
|
4
4
|
|
|
5
5
|
export interface AccordionProps extends BaseProps<'div'> {
|
|
6
|
-
|
|
6
|
+
/**
|
|
7
7
|
* horizontalBorders is optional.
|
|
8
8
|
* If 'none', Accordion will have no borders.
|
|
9
9
|
* If 'top', Accordion will have a border on top.
|
|
@@ -3,7 +3,7 @@ import clsx from 'clsx';
|
|
|
3
3
|
import Base, { BaseProps } from '@digigov/react-core/Base';
|
|
4
4
|
|
|
5
5
|
export interface AccordionSectionSummaryHeadingProps extends BaseProps<'h2'> {
|
|
6
|
-
|
|
6
|
+
/**
|
|
7
7
|
* The type of the icon to be displayed on the right side of the heading.
|
|
8
8
|
* @default 'default'
|
|
9
9
|
*/
|
|
@@ -37,7 +37,7 @@ export interface TableDataCellProps extends BaseProps<'td'> {
|
|
|
37
37
|
*/
|
|
38
38
|
highlight?: 'warning' | 'error';
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
/**
|
|
41
41
|
* highlightAssistiveText is optional.
|
|
42
42
|
* Use this prop to add assistive text for screen readers when the highlight prop is used.
|
|
43
43
|
* This text will be visually hidden.
|
|
@@ -45,7 +45,7 @@ export interface TableDataCellProps extends BaseProps<'td'> {
|
|
|
45
45
|
*/
|
|
46
46
|
highlightAssistiveText?: string;
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
/**
|
|
49
49
|
* maxWidthWithOverflow is optional.
|
|
50
50
|
* Use this prop to set max-width of the cell and allow overflow when the content is too long.
|
|
51
51
|
* This is used in combination with the TableFloatingScroll component to allow horizontal scrolling of the table when there are cells with long content.
|
package/src/registry.ts
CHANGED
|
@@ -37,8 +37,8 @@ import * as _digigov_react_core_Blockquote from "@digigov/react-core/Blockquote"
|
|
|
37
37
|
import * as _digigov_react_core_Bottom from "@digigov/react-core/Bottom";
|
|
38
38
|
import * as _digigov_react_core_BottomInfo from "@digigov/react-core/BottomInfo";
|
|
39
39
|
import * as _digigov_react_core_BottomInfoContainer from "@digigov/react-core/BottomInfoContainer";
|
|
40
|
-
import * as _digigov_react_core_Breadcrumbs from "@digigov/react-core/Breadcrumbs";
|
|
41
40
|
import * as _digigov_react_core_BottomInfoContent from "@digigov/react-core/BottomInfoContent";
|
|
41
|
+
import * as _digigov_react_core_Breadcrumbs from "@digigov/react-core/Breadcrumbs";
|
|
42
42
|
import * as _digigov_react_core_BreadcrumbsList from "@digigov/react-core/BreadcrumbsList";
|
|
43
43
|
import * as _digigov_react_core_BreadcrumbsListItemLinkBase from "@digigov/react-core/BreadcrumbsListItemLinkBase";
|
|
44
44
|
import * as _digigov_react_core_BreadcrumbsListItemWrapper from "@digigov/react-core/BreadcrumbsListItemWrapper";
|
|
@@ -320,8 +320,8 @@ export default {
|
|
|
320
320
|
'@digigov/react-core/Bottom': lazyImport(_digigov_react_core_Bottom),
|
|
321
321
|
'@digigov/react-core/BottomInfo': lazyImport(_digigov_react_core_BottomInfo),
|
|
322
322
|
'@digigov/react-core/BottomInfoContainer': lazyImport(_digigov_react_core_BottomInfoContainer),
|
|
323
|
-
'@digigov/react-core/Breadcrumbs': lazyImport(_digigov_react_core_Breadcrumbs),
|
|
324
323
|
'@digigov/react-core/BottomInfoContent': lazyImport(_digigov_react_core_BottomInfoContent),
|
|
324
|
+
'@digigov/react-core/Breadcrumbs': lazyImport(_digigov_react_core_Breadcrumbs),
|
|
325
325
|
'@digigov/react-core/BreadcrumbsList': lazyImport(_digigov_react_core_BreadcrumbsList),
|
|
326
326
|
'@digigov/react-core/BreadcrumbsListItemLinkBase': lazyImport(_digigov_react_core_BreadcrumbsListItemLinkBase),
|
|
327
327
|
'@digigov/react-core/BreadcrumbsListItemWrapper': lazyImport(_digigov_react_core_BreadcrumbsListItemWrapper),
|