playbook_ui_docs 15.2.0.pre.alpha.npmauth11386 → 15.2.0.pre.alpha.play2318draggablelistnoborder11263

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: cb1e80bbe8f3ef8edcba5948a6b40ee049fbe7b6450daec98dff7888bb112961
4
- data.tar.gz: c5c4e8f2d754a29946dadb99d7ea28f96feb71b03616f0e0b41b7f55ee3c35a2
3
+ metadata.gz: 335bd09fa33a13d238bb47568c51245c2c91622bbe26c2d102dc642395f4f529
4
+ data.tar.gz: 7fd15c7c545943ee7798ea14edc723e25b8d505be5a91d0da7ca7cd6358138ec
5
5
  SHA512:
6
- metadata.gz: 8fb21e167f5c8b7529ce670b5f5e08b7ba18a9d69453b2f65c8c639c7d67c702802f5e45eaba658d3ff3b9a3349bd0878b0378b21c2983d68bcb2fb19c7ccdb2
7
- data.tar.gz: cf870f7d63011ba4129d9c4f8a686b4127bd41b3a152014f6627b08d9a054ea91a605db726dafd6b6959223bf6d4c9cdc093ffd3c0cf62820cc81004a1bce861
6
+ metadata.gz: 1597abb73fdae65e052f7876925f173081155042387b016f5430833dcc93fe5e95717114ede81b75ba1d6edba194927d3f94da73e80da4d6b9fda368a5839c45
7
+ data.tar.gz: 772dde1fef5779582500b88a137afdc6b56518c6a8a22b14a21c0b6276e908417b965458229d27ca703c957722db0482e7429b3fb32d2579b21f25bb8b14e00e
@@ -1,7 +1,3 @@
1
- <%= pb_rails("caption", props: { margin_y: "md", text: "Button variants with loading" }) %>
2
- <%= pb_rails("button", props: { aria: { label: "Loading" }, loading: true, margin_right: "lg" }) %>
3
- <%= pb_rails("button", props: { aria: { label: "Loading" }, variant: "secondary", loading: true, margin_right: "lg" }) %>
4
- <%= pb_rails("button", props: { aria: { label: "Loading" }, variant: "link", loading: true, margin_right: "lg" }) %>
5
- <%= pb_rails("caption", props: { margin_y: "md", text: "Button sizes with loading" }) %>
6
- <%= pb_rails("button", props: { aria: { label: "Loading" }, loading: true, size: "sm", margin_right: "lg" }) %>
7
- <%= pb_rails("button", props: { aria: { label: "Loading" }, loading: true, size: "lg", margin_right: "lg" }) %>
1
+ <%= pb_rails("button", props: { aria: { label: "Loading" }, text: "Button Primary", loading: true, margin_right: "lg" }) %>
2
+ <%= pb_rails("button", props: { aria: { label: "Loading" }, text: "Button Primary", variant: "secondary", loading: true, margin_right: "lg" }) %>
3
+ <%= pb_rails("button", props: { aria: { label: "Loading" }, text: "Button Primary", variant: "link", loading: true, margin_right: "lg" }) %>
@@ -1,13 +1,8 @@
1
1
  import React from 'react'
2
2
  import Button from "../../pb_button/_button"
3
- import Caption from "../../pb_caption/_caption"
4
3
 
5
4
  const ButtonLoading = (props) => (
6
5
  <div>
7
- <Caption
8
- marginY="md"
9
- text="Button variants with loading"
10
- />
11
6
  <Button
12
7
  aria={{ label: 'Loading' }}
13
8
  loading
@@ -36,30 +31,6 @@ const ButtonLoading = (props) => (
36
31
  variant="link"
37
32
  {...props}
38
33
  />
39
- <br/>
40
- <Caption
41
- marginY="md"
42
- text="Button sizes with loading"
43
- />
44
- <Button
45
- aria={{ label: 'Loading' }}
46
- loading
47
- marginRight='lg'
48
- size="sm"
49
- tabIndex={0}
50
- text="Small Button"
51
- {...props}
52
- />
53
- {' '}
54
- <Button
55
- aria={{ label: 'Loading' }}
56
- loading
57
- marginRight='lg'
58
- size="lg"
59
- tabIndex={0}
60
- text="Small Button"
61
- {...props}
62
- />
63
34
  </div>
64
35
  )
65
36
 
@@ -101,7 +101,7 @@
101
101
  <%= form.typeahead :example_typeahead_validation_react, props: { options: example_typeahead_options, pills: true, label: "Example Typeahead (React Rendered)", placeholder: "Search for a user", required: true, validation: { message: "Please select a color." } } %>
102
102
  <%= form.typeahead :example_typeahead_validation_react_2, props: { options: example_typeahead_options, pills: true, label: "Example Typeahead 2 (React Rendered)", placeholder: "Search for a user", required: true } %>
103
103
  <%= form.text_field :example_text_field_validation, props: { label: true, required: true } %>
104
- <%= form.phone_number_field :example_phone_number_field_validation, props: { label: "Example phone field", hidden_inputs: true, required: true } %>
104
+ <%= form.phone_number_field :example_phone_number_field_validation, props: { label: "Example phone field", hidden_inputs: true } %>
105
105
  <%= form.email_field :example_email_field_validation, props: { label: true, required: true } %>
106
106
  <%= form.number_field :example_number_field_validation, props: { label: true, required: true } %>
107
107
  <%= form.search_field :example_project_number_validation, props: { label: true, required: true, validation: { pattern: "[0-9]{2}-[0-9]{5}", message: "Please enter a valid project number (example: 33-12345)." } } %>