@portnet/ui 0.1.10 → 0.1.12
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.
|
@@ -102,9 +102,9 @@ const PuiSearchPage = _ref2 => {
|
|
|
102
102
|
color: "tertiary",
|
|
103
103
|
children: "Effacer"
|
|
104
104
|
})
|
|
105
|
-
}), /*#__PURE__*/(0, _jsxRuntime.
|
|
105
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_PuiGrid.default, {
|
|
106
106
|
item: true,
|
|
107
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiButton.default, {
|
|
107
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiButton.default, {
|
|
108
108
|
startIcon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiIcon.default, {
|
|
109
109
|
type: "rechercher",
|
|
110
110
|
size: "small"
|
|
@@ -112,7 +112,16 @@ const PuiSearchPage = _ref2 => {
|
|
|
112
112
|
onClick: submitForm,
|
|
113
113
|
loadingPosition: "start",
|
|
114
114
|
children: "Rechercher"
|
|
115
|
-
})
|
|
115
|
+
}), additionalActions && additionalActions.map((actionItem, index) => {
|
|
116
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiGrid.default, {
|
|
117
|
+
item: true,
|
|
118
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiButton.default, {
|
|
119
|
+
startIcon: actionItem.icon,
|
|
120
|
+
onClick: actionItem.action,
|
|
121
|
+
children: actionItem.name
|
|
122
|
+
})
|
|
123
|
+
}, index);
|
|
124
|
+
})]
|
|
116
125
|
})]
|
|
117
126
|
}),
|
|
118
127
|
children: _children
|
|
@@ -145,16 +154,16 @@ const PuiSearchPage = _ref2 => {
|
|
|
145
154
|
loadingPosition: "start",
|
|
146
155
|
children: "Rechercher"
|
|
147
156
|
})
|
|
148
|
-
}), additionalActions.map((actionItem, index) =>
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
})
|
|
157
|
-
}
|
|
157
|
+
}), additionalActions && additionalActions.map((actionItem, index) => {
|
|
158
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiGrid.default, {
|
|
159
|
+
item: true,
|
|
160
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiButton.default, {
|
|
161
|
+
startIcon: actionItem.icon,
|
|
162
|
+
onClick: actionItem.action,
|
|
163
|
+
children: actionItem.name
|
|
164
|
+
})
|
|
165
|
+
}, index);
|
|
166
|
+
})]
|
|
158
167
|
}),
|
|
159
168
|
children: _children
|
|
160
169
|
})
|