@portnet/ui 0.1.11 → 0.1.13

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.
@@ -113,6 +113,15 @@ const PuiSearchPage = _ref2 => {
113
113
  loadingPosition: "start",
114
114
  children: "Rechercher"
115
115
  })
116
+ }), additionalActions && additionalActions.map((actionItem, index) => {
117
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiGrid.default, {
118
+ item: true,
119
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiButton.default, {
120
+ startIcon: actionItem.icon,
121
+ onClick: actionItem.action,
122
+ children: actionItem.name
123
+ })
124
+ }, index);
116
125
  })]
117
126
  }),
118
127
  children: _children
@@ -145,8 +154,7 @@ const PuiSearchPage = _ref2 => {
145
154
  loadingPosition: "start",
146
155
  children: "Rechercher"
147
156
  })
148
- }), additionalActions.map((actionItem, index) => {
149
- console.log('Rendering action:', actionItem);
157
+ }), additionalActions && additionalActions.map((actionItem, index) => {
150
158
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiGrid.default, {
151
159
  item: true,
152
160
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiButton.default, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@portnet/ui",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "description": "Portnet UI",
5
5
  "keywords": [
6
6
  "react",