playbook_ui_docs 14.9.0.pre.rc.11 → 14.9.0.pre.rc.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4b11c2914a6946617494ccc3a839735bea447a02b9c9540db61a665f9044accf
4
- data.tar.gz: 46ca1d26653f44182d7da6f588dd9b400667a4358d670dcdd0046f07fa19e811
3
+ metadata.gz: b0ca9a1f03aeda74d1aa9e6c67fe9211a3afee203f63d6ec938d2f54e45aa733
4
+ data.tar.gz: e406a8127b4e0a104a98f999ab839dacd5b588dce2fa149c420f90207eadd945
5
5
  SHA512:
6
- metadata.gz: d5a40ee3d3da9be2c33320d2cf17aeb7e45ce83538b946966423140260e8e19b3194a31e820872a28748f37ce75e73bbb42ede9305d9067910c1b9164c65da84
7
- data.tar.gz: a414e5e40c1644096d7fc0a5d35145af98483851e44999c922a932de4879c5da32a001750738c6f7a59be64926156a5f8e6b7b818763e3f6df8be80e55d3c2f6
6
+ metadata.gz: 4f81bf349b1ea54c6a11efae3fe4337a1262e6d79963e2ef87756c9b5662c1a9710a070f504cdc0d864c5488acef0223916d1ad798fd82427b0494fa58254910
7
+ data.tar.gz: 3a2d2231b62f9f713fd04e9444d27b4b566cccd266f7a240b88e8b5f18aafbe5fdbe7004861a2706b24cdd4dd52e1ec604bfb17a9d3066aa154383205ef95e90
@@ -2,4 +2,5 @@
2
2
  <%= pb_rails("button", props: { text: "Button Secondary", variant: "secondary", margin_right: "lg" }) %>
3
3
  <%= pb_rails("button", props: { text: "Button Link", variant: "link", margin_right: "lg" }) %>
4
4
  <%= pb_rails("button", props: { text: "Button Disabled", disabled: true, margin_right: "lg" }) %>
5
+ <%= pb_rails("button", props: { text: "Button Danger", variant: "danger", margin_right: "lg" }) %>
5
6
 
@@ -34,6 +34,14 @@ const ButtonDefault = (props) => (
34
34
  text='Button Disabled'
35
35
  {...props}
36
36
  />
37
+ <Button
38
+ marginRight='lg'
39
+ onClick={() => alert("button clicked!")}
40
+ tabIndex={0}
41
+ text='Button Danger'
42
+ variant='danger'
43
+ {...props}
44
+ />
37
45
  </div>
38
46
  )
39
47
 
@@ -1 +1 @@
1
- The primary button is used for the most important button on the page. Secondary buttons can be used for actions that are less important. Button links can be helpful for buttons that do not need a lot of attention drawn to them. Disabled buttons are used when you don't want the user to click the button.
1
+ The primary button is used for the most important button on the page. Secondary buttons can be used for actions that are less important. Button links can be helpful for buttons that do not need a lot of attention drawn to them. Disabled buttons are used when you don't want the user to click the button. Danger buttons are used to indicate destructive actions such as deleting.