playbook_ui_docs 14.14.0.pre.rc.4 → 14.14.0.pre.rc.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (23) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_default.html.erb +1 -0
  3. data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_default.jsx +7 -0
  4. data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_default.md +1 -0
  5. data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_full_width.html.erb +1 -0
  6. data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_full_width.jsx +18 -0
  7. data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_full_width_rails.md +1 -0
  8. data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_full_width_react.md +1 -0
  9. data/app/pb_kits/playbook/pb_progress_pills/docs/example.yml +2 -0
  10. data/app/pb_kits/playbook/pb_progress_pills/docs/index.js +1 -0
  11. data/dist/playbook-doc.js +1 -1
  12. metadata +7 -13
  13. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_actions.html.erb +0 -19
  14. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_actions.jsx +0 -26
  15. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_default.html.erb +0 -10
  16. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_default.jsx +0 -17
  17. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_on_click.jsx +0 -19
  18. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_onclick.html.erb +0 -16
  19. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_placement.html.erb +0 -35
  20. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_placement.jsx +0 -42
  21. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_tooltip.html.erb +0 -13
  22. data/app/pb_kits/playbook/pb_avatar_action_button/docs/example.yml +0 -15
  23. data/app/pb_kits/playbook/pb_avatar_action_button/docs/index.js +0 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f270b29c635bca418f611e62f1bd4c74e27e946cd66a76a22e26bbd1612460fd
4
- data.tar.gz: aaefeec03cf4b40f9a3e4f5006e2ad9e3b760f8ff5f37e3053e184963dd7581f
3
+ metadata.gz: 77cd42e1868ed0ad1a450bb0579d120934b00ec06f7bf261f0c8436fd1278313
4
+ data.tar.gz: c877bcd73fedd3075afb24a25d1866b11b466c4546732b277d8e1540245bd098
5
5
  SHA512:
6
- metadata.gz: 5d912f8c5ca639993f1bb25f4cc40365006adf0973e43b4b705828a53d27129e7630aeb842a38488676095260bb08b34bfb37d0e8be17d4c796e84cfc331b4bd
7
- data.tar.gz: 5bbabba7c251d673ffc49f4104e7dbb4675514e50f908bae29d84bf7e531cf0fc5aaff883149ce24dc9ede9b6d9e6072a0b974d7ab2e99f585e99555ef7a211d
6
+ metadata.gz: bb428dae24ab5608cce026261b099f17c7258d6c1d2ed7c84073344a4cd58f83c2703e402e6ff8073999878bac38c7301c3f2cdfadd5f7792d247aefde26a796
7
+ data.tar.gz: 04f3bdc3bf9a64b978df5e9747f5b92f6e4736e781e9e9814e0ece2861054cbf5f5ce6f8ef0434dd435ac5927cdf77923fd2d56cf5de2d6ffd3ad0a7964410e1
@@ -1 +1,2 @@
1
1
  <%= pb_rails("progress_pills", props: { aria: { label: "2 out of 3 steps complete" }, steps: 3, active: 2 }) %>
2
+ <%= pb_rails("progress_pills", props: { aria: { label: "9 out of 18 steps complete" }, steps: 18, active: 9, margin_top: "md" }) %>
@@ -10,6 +10,13 @@ const ProgressPillsDefault = (props) => {
10
10
  steps={3}
11
11
  {...props}
12
12
  />
13
+ <ProgressPills
14
+ active={9}
15
+ aria={{ label: '9 out of 18 steps complete' }}
16
+ marginTop="md"
17
+ steps={18}
18
+ {...props}
19
+ />
13
20
  </>
14
21
  )
15
22
  }
@@ -0,0 +1 @@
1
+ Progress pills start at `45px` wide if the container allows, but will shrink down to `1px` as the container gets smaller. Resize this window to see each pill shrink.
@@ -0,0 +1 @@
1
+ <%= pb_rails("progress_pills", props: { aria: { label: "2 out of 5 steps complete" }, steps: 5, active: 2, full_width_pill: true }) %>
@@ -0,0 +1,18 @@
1
+ import React from 'react'
2
+ import ProgressPills from '../_progress_pills'
3
+
4
+ const ProgressPillsFullWidth = (props) => {
5
+ return (
6
+ <>
7
+ <ProgressPills
8
+ active={2}
9
+ aria={{ label: '2 out of 5 steps complete' }}
10
+ fullWidthPill
11
+ steps={5}
12
+ {...props}
13
+ />
14
+ </>
15
+ )
16
+ }
17
+
18
+ export default ProgressPillsFullWidth
@@ -0,0 +1 @@
1
+ Pass `full_width_pill: true` to the Progress Pill kit to get true 100% full width pills. The kit will take up the full width of the container that it is in.
@@ -0,0 +1 @@
1
+ Pass `fullWidthPill` to the Progress Pill kit to get true 100% full width pills. The kit will take up the full width of the container that it is in.
@@ -3,9 +3,11 @@ examples:
3
3
  rails:
4
4
  - progress_pills_default: Default
5
5
  - progress_pills_status: Status
6
+ - progress_pills_full_width: Full Container Width
6
7
 
7
8
 
8
9
 
9
10
  react:
10
11
  - progress_pills_default: Default
11
12
  - progress_pills_status: Status
13
+ - progress_pills_full_width: Full Container Width
@@ -1,2 +1,3 @@
1
1
  export { default as ProgressPillsDefault } from './_progress_pills_default.jsx'
2
2
  export { default as ProgressPillsStatus } from './_progress_pills_status.jsx'
3
+ export { default as ProgressPillsFullWidth } from './_progress_pills_full_width.jsx'