@pingux/astro 2.148.0-alpha.1 → 2.148.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.
@@ -266,9 +266,13 @@ var WithPopoverMenu = function WithPopoverMenu() {
266
266
  }, "Open Modal"), state.isOpen && (0, _react2.jsx)(_index.Modal, {
267
267
  isOpen: state.isOpen,
268
268
  onClose: state.close
269
- }, (0, _react2.jsx)(_index.Box, {
269
+ }, (0, _react2.jsx)(_index.ModalHeader, {
270
+ hasCloseButton: true,
271
+ onClose: state.close,
272
+ title: "Lorem Ipsum"
273
+ }), (0, _react2.jsx)(_index.ModalBody, null, (0, _react2.jsx)(_index.Box, {
270
274
  gap: "lg"
271
- }, (0, _react2.jsx)(_index.Text, null, "Lorem ipsum dolor sit amet consectetur"), (0, _react2.jsx)(_index.PopoverMenu, null, (0, _react2.jsx)(_index.Button, null, "Click me"), (0, _react2.jsx)(_index.Menu, {
275
+ }, (0, _react2.jsx)(_index.PopoverMenu, null, (0, _react2.jsx)(_index.Button, null, "Click me"), (0, _react2.jsx)(_index.Menu, {
272
276
  onAction: function onAction() {
273
277
  return console.log('on action');
274
278
  }
@@ -281,7 +285,10 @@ var WithPopoverMenu = function WithPopoverMenu() {
281
285
  textValue: "delete"
282
286
  }, (0, _react2.jsx)(_index.Text, {
283
287
  color: "critical.bright"
284
- }, "Delete")))))));
288
+ }, "Delete")))))), (0, _react2.jsx)(_index.ModalFooter, {
289
+ onSubmit: state.close,
290
+ onCancel: state.close
291
+ })));
285
292
  };
286
293
  exports.WithPopoverMenu = WithPopoverMenu;
287
294
  WithInputField.parameters = {
@@ -248,9 +248,13 @@ export var WithPopoverMenu = function WithPopoverMenu() {
248
248
  }, "Open Modal"), state.isOpen && ___EmotionJSX(Modal, {
249
249
  isOpen: state.isOpen,
250
250
  onClose: state.close
251
- }, ___EmotionJSX(Box, {
251
+ }, ___EmotionJSX(ModalHeader, {
252
+ hasCloseButton: true,
253
+ onClose: state.close,
254
+ title: "Lorem Ipsum"
255
+ }), ___EmotionJSX(ModalBody, null, ___EmotionJSX(Box, {
252
256
  gap: "lg"
253
- }, ___EmotionJSX(Text, null, "Lorem ipsum dolor sit amet consectetur"), ___EmotionJSX(PopoverMenu, null, ___EmotionJSX(Button, null, "Click me"), ___EmotionJSX(Menu, {
257
+ }, ___EmotionJSX(PopoverMenu, null, ___EmotionJSX(Button, null, "Click me"), ___EmotionJSX(Menu, {
254
258
  onAction: function onAction() {
255
259
  return console.log('on action');
256
260
  }
@@ -263,7 +267,10 @@ export var WithPopoverMenu = function WithPopoverMenu() {
263
267
  textValue: "delete"
264
268
  }, ___EmotionJSX(Text, {
265
269
  color: "critical.bright"
266
- }, "Delete")))))));
270
+ }, "Delete")))))), ___EmotionJSX(ModalFooter, {
271
+ onSubmit: state.close,
272
+ onCancel: state.close
273
+ })));
267
274
  };
268
275
  WithInputField.parameters = {
269
276
  a11y: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pingux/astro",
3
- "version": "2.148.0-alpha.1",
3
+ "version": "2.148.0",
4
4
  "description": "React component library for Ping Identity's design system",
5
5
  "repository": {
6
6
  "type": "git",