@abgov/jsonforms-components 1.48.1 → 1.49.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/index.esm.css +16 -0
- package/index.esm.js +2 -1
- package/package.json +1 -1
- package/src/lib/Additional/HelpContent.d.ts +1 -0
package/index.esm.css
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/* This css file is here to override any parent/root css files
|
|
2
|
+
that add spacing, sizes, color that the help content uses
|
|
3
|
+
to display markdown content it uses.
|
|
4
|
+
*/
|
|
5
|
+
li > ul,
|
|
6
|
+
li > ol,
|
|
7
|
+
li > ul,
|
|
8
|
+
li > ol {
|
|
9
|
+
padding-left: var(--goa-space-m) !important;
|
|
10
|
+
margin-top: initial;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
em {
|
|
14
|
+
font-size: var(--goa-typography-body-s) !important;
|
|
15
|
+
color: var(--goa-color-text-default) !important;
|
|
16
|
+
}
|
package/index.esm.js
CHANGED
|
@@ -8273,7 +8273,8 @@ const HelpContentComponent = _a => {
|
|
|
8273
8273
|
if (helpText === undefined) return '';
|
|
8274
8274
|
if (typeof helpText === 'string') return helpText;
|
|
8275
8275
|
if (Array.isArray(helpText)) {
|
|
8276
|
-
|
|
8276
|
+
//Two spaces after the text inserts a line break in markdown.
|
|
8277
|
+
const data = helpText.join(' \n');
|
|
8277
8278
|
return data;
|
|
8278
8279
|
}
|
|
8279
8280
|
return '';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abgov/jsonforms-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.49.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Government of Alberta - React renderers for JSON Forms based on the design system.",
|
|
6
6
|
"repository": "https://github.com/GovAlta/adsp-monorepo",
|