@nnc-digital/nnc-design-system 1.0.0-beta18 → 1.0.0-beta19
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/build/index.esm.js +11 -4
- package/build/index.esm.js.map +1 -1
- package/build/index.js +11 -4
- package/build/index.js.map +1 -1
- package/build/index.mjs.js +11 -4
- package/build/index.mjs.js.map +1 -1
- package/build/library/library/components/NoResultsTemplate/NoResultsTemplate.d.ts +4 -0
- package/build/library/library/components/NoResultsTemplate/NoResultsTemplate.types.d.ts +6 -0
- package/build/library/library/components/NoResultsTemplate/index.d.ts +2 -0
- package/build/library/library/directory/DirectoryServiceList/DirectoryServiceList.types.d.ts +5 -0
- package/build/library/library/events/EventList/EventList.types.d.ts +5 -0
- package/build/src/library/components/NoResultsTemplate/NoResultsTemplate.d.ts +4 -0
- package/build/src/library/components/NoResultsTemplate/NoResultsTemplate.types.d.ts +6 -0
- package/build/src/library/components/NoResultsTemplate/index.d.ts +2 -0
- package/build/src/library/directory/DirectoryServiceList/DirectoryServiceList.types.d.ts +5 -0
- package/build/src/library/events/EventList/EventList.types.d.ts +5 -0
- package/package.json +1 -1
package/build/library/library/directory/DirectoryServiceList/DirectoryServiceList.types.d.ts
CHANGED
|
@@ -105,6 +105,11 @@ export interface DirectoryServiceListProps {
|
|
|
105
105
|
* Is the component in error state
|
|
106
106
|
*/
|
|
107
107
|
isError?: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* Custom HTML content to display when no results are found.
|
|
110
|
+
* If not provided, defaults to "No results found" message.
|
|
111
|
+
*/
|
|
112
|
+
noResultsContent?: string;
|
|
108
113
|
}
|
|
109
114
|
export interface DirectoryCategory {
|
|
110
115
|
/**
|
|
@@ -109,6 +109,11 @@ export interface EventListProps {
|
|
|
109
109
|
* Should old events be hidden automatically? Defaults to true.
|
|
110
110
|
*/
|
|
111
111
|
hideOldEvents?: boolean;
|
|
112
|
+
/**
|
|
113
|
+
* Custom HTML content to display when no events are found.
|
|
114
|
+
* If not provided, defaults to "No events found" message.
|
|
115
|
+
*/
|
|
116
|
+
noResultsContent?: string;
|
|
112
117
|
}
|
|
113
118
|
export interface EventCategory {
|
|
114
119
|
/**
|
|
@@ -105,6 +105,11 @@ export interface DirectoryServiceListProps {
|
|
|
105
105
|
* Is the component in error state
|
|
106
106
|
*/
|
|
107
107
|
isError?: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* Custom HTML content to display when no results are found.
|
|
110
|
+
* If not provided, defaults to "No results found" message.
|
|
111
|
+
*/
|
|
112
|
+
noResultsContent?: string;
|
|
108
113
|
}
|
|
109
114
|
export interface DirectoryCategory {
|
|
110
115
|
/**
|
|
@@ -109,6 +109,11 @@ export interface EventListProps {
|
|
|
109
109
|
* Should old events be hidden automatically? Defaults to true.
|
|
110
110
|
*/
|
|
111
111
|
hideOldEvents?: boolean;
|
|
112
|
+
/**
|
|
113
|
+
* Custom HTML content to display when no events are found.
|
|
114
|
+
* If not provided, defaults to "No events found" message.
|
|
115
|
+
*/
|
|
116
|
+
noResultsContent?: string;
|
|
112
117
|
}
|
|
113
118
|
export interface EventCategory {
|
|
114
119
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nnc-digital/nnc-design-system",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-beta19",
|
|
4
4
|
"description": "Design system for West & North Northamptonshire Councils, two unitary councils encompassing Wellingborough, Corby, Daventry, East Northants, Kettering, Northampton, Northamptonshire County and South Northants.",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"repository": {
|