@abgov/jsonforms-components 2.26.0 → 2.27.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.js +2 -1
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -9513,9 +9513,10 @@ const ObjectArrayToolBar = /*#__PURE__*/React.memo(function TableToolbar({
|
|
|
9513
9513
|
children: jsx(GoAButton, Object.assign({
|
|
9514
9514
|
disabled: !enabled,
|
|
9515
9515
|
testId: `object-array-toolbar-${label}`,
|
|
9516
|
+
leadingIcon: "add",
|
|
9516
9517
|
"aria-label": `Add to button to ${(label === null || label === void 0 ? void 0 : label.toLowerCase()) || ''}`,
|
|
9517
9518
|
onClick: addItem(path, createDefaultValue(schema, rootSchema)),
|
|
9518
|
-
type: (_d = (_c = uischema.options) === null || _c === void 0 ? void 0 : _c.addButtonType) !== null && _d !== void 0 ? _d : '
|
|
9519
|
+
type: (_d = (_c = uischema.options) === null || _c === void 0 ? void 0 : _c.addButtonType) !== null && _d !== void 0 ? _d : 'secondary'
|
|
9519
9520
|
}, buttonUIProps, {
|
|
9520
9521
|
children: ((_e = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _e === void 0 ? void 0 : _e.addButtonText) || capitalizeFirstLetter(`Add ${arrayLabel}`)
|
|
9521
9522
|
}))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abgov/jsonforms-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.27.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",
|