playbook_ui_docs 14.3.0.pre.rc.7 → 14.3.0.pre.rc.9

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: e749149deb01109a68ff5869630b615499260c9709727288279f9876b4b4a9ba
4
- data.tar.gz: 65852b1b1cfdebfe03fd92fb94bc7fcc819cec0c5fa51effc8fbbb57ab5b4673
3
+ metadata.gz: 10dd1805c19de2e2bc2affdb5623debfdd0fbf8bd92187df9bea44c3757246b4
4
+ data.tar.gz: cf4eb66d0e1fa9dd96a8e3e395718e56f2400c1a9beb79e27ee69505fb3705ae
5
5
  SHA512:
6
- metadata.gz: 2ac03a33430589f06a485821a79b2330973db0741de8917ef1d9667b58dc1414aa52e2a246b7c1d8352204bcbee5559a01bd4aa228fcfd2753513e96ea38f139
7
- data.tar.gz: aeab7fbd4f1a1194f4cad633db82479d4c21ecfdcea6def1e4efca37e0df728f03d51b5a99f93e5f4fa208504bea6d583530d3e5f617b9f1a03f2e402ed72c85
6
+ metadata.gz: 2ff24a36f162f1f09572a438d9866e7809315cbc4b369ce90b8111683bee86f10b4400d432aa248cca0a48aba253253ebc64a261d6564d684af55410f4a90066
7
+ data.tar.gz: 612aabc194a3c503251498d943cdc83f326ce1ef919f4657fe4bd1ec2a17e5809b4f5b5b38fb21b2884fa0fedac6290a0637968dc512942cda238cff83cd18cc
@@ -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:
@@ -2,4 +2,4 @@
2
2
 
3
3
  <br/><br/>
4
4
 
5
- <%= pb_rails("hashtag", props: {text: "Open in a new Window", url: "https://google.com", type: "project", new_window: true}) %>
5
+ <%= pb_rails("hashtag", props: {text: "Open in a new Window", url: "https://google.com", type: "project", target: "_blank"}) %>
@@ -13,7 +13,7 @@ const HashtagLink = (props) => {
13
13
  <br />
14
14
  <br />
15
15
  <Hashtag
16
- newWindow
16
+ target="_blank"
17
17
  text="Open in a new window"
18
18
  type="project"
19
19
  url="https://google.com"
@@ -1 +1 @@
1
- Use the newWindow/new_window prop to control whether the link opens on the same page or a new tab (same page is the default behavior)
1
+ Use the `target` prop to control whether the link opens on the same or a new tab (same page is the default behavior). You can use any [web/standard](https://www.w3schools.com/tags/att_a_target.asp) values or a custom string to specify your link target.
@@ -5,7 +5,7 @@
5
5
  home_id: 8250263,
6
6
  home_url: "https://powerhrg.com/",
7
7
  house_style: "Colonial",
8
- new_window: true,
8
+ target: "_blank",
9
9
  state: "PA",
10
10
  zipcode: "19382",
11
11
  territory: "PHL",
@@ -11,8 +11,8 @@ const HomeAddressStreetLink= (props) => {
11
11
  homeId={8250263}
12
12
  homeUrl="https://powerhrg.com/"
13
13
  houseStyle="Colonial"
14
- newWindow
15
14
  state="PA"
15
+ target="_blank"
16
16
  territory="PHL"
17
17
  zipcode="19382"
18
18
  {...props}
@@ -1 +1 @@
1
- Use the `newWindow` / `new_window` prop to control whether the link opens on the same page or a new tab (same page is the default behavior)
1
+ Use the `target` prop to control whether the link opens on the same or a new tab (same page is the default behavior). You can use any [web/standard](https://www.w3schools.com/tags/att_a_target.asp) values or a custom string to specify your link target.