playbook_ui_docs 14.2.0.pre.alpha.fixphonenumberinputflag3632 → 14.2.0.pre.alpha.play1490railsdialogdatafix3649

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c22ce03a2a7233e1a8c2dd691d45294b2f5f7ef3480a15619a72a73acb3b8c3b
4
- data.tar.gz: f7d9cd76048d356f4182176fc4840ef84860a0ddbb3ff3318df339025673cff3
3
+ metadata.gz: ece876c6243b230746458ef5d7ef39128eacf41d79bdfa97d82c9702cc12eb8b
4
+ data.tar.gz: b30767358d0bb68cb02dea0b3c2991365cee46b774ad32359a4fb4e8647a85c5
5
5
  SHA512:
6
- metadata.gz: 63f78a1b6377a97215715e95230dc9f0cb6c6da7ed0568cb0e8f8a452bb8ebef3a4705f3d8e0b3421b8331cbe46e2274ee869994f11637824fd1d7a05ea7e7c9
7
- data.tar.gz: b79695bab70d2b5b2f55045b7bc685ad28d44fe0288e8eaa542d7fadf8a3cb5bcce8cb25b63bacfe495f35886f9da2e8f59506f778c496c1aa0fb3c7914378da
6
+ metadata.gz: f092fe9c1b31f8466415f14bccc3aaa82bb261e86d3ad4d72c49e707c05bd4f3f13fc7ad81d7cabacbb2efe95eb0ff461ba98ef5bd713b1f9383e30c20f9b43c
7
+ data.tar.gz: 0e30c5a64317fe31c24ee2ac2084487e9b42d9401e2f401bd2050bb7cf98669e5a916cc474813df399f625af6c336e9bd2a699da48dc1399bff8de3cd515ecb3
@@ -0,0 +1,13 @@
1
+ <%= pb_rails("button", props: { text: "Open Dialog", data: {"open-dialog": "dialog-loading"} }) %>
2
+
3
+ <%= pb_rails("dialog", props: {
4
+ id:"dialog-loading",
5
+ size: "sm",
6
+ title: "Loading Exmaple",
7
+ text: "Make a loading request?",
8
+ cancel_button: "Cancel Button",
9
+ cancel_button_id: "cancel-button-loading",
10
+ confirm_button: "Okay",
11
+ confirm_button_id: "confirm-button-loading",
12
+ loading: true,
13
+ }) %>
@@ -0,0 +1,3 @@
1
+ Pressing the "Okay" button will trigger a loading state where the button content is replaced by a spinner icon and both buttons are disabled.
2
+
3
+ Currently, the loading state cannot be undone and will require a page refresh to reset the dialog.
@@ -10,6 +10,7 @@ examples:
10
10
  - dialog_stacked_alert: Stacked Button Alert
11
11
  - dialog_full_height: Full Height
12
12
  - dialog_full_height_placement: Full Height Placement
13
+ - dialog_loading: Loading
13
14
 
14
15
 
15
16
  react: