playbook_ui_docs 16.9.0 → 16.10.0.pre.alpha.PLAY3053advancedtablebottompinnedrowsreact17469

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.
Files changed (226) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_pinned_rows.jsx +19 -2
  3. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_pinned_rows_react.md +2 -2
  4. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_row_styling.html.erb +4 -0
  5. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_row_styling.jsx +6 -2
  6. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_row_styling_rails.md +1 -0
  7. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_row_styling_react.md +1 -0
  8. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header.html.erb +36 -44
  9. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header.jsx +10 -19
  10. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header_rails.md +0 -4
  11. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header_react.md +3 -5
  12. data/app/pb_kits/playbook/pb_advanced_table/docs/_playground.json +2 -8
  13. data/app/pb_kits/playbook/pb_advanced_table/docs/_playground.overrides.json +1 -8
  14. data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +0 -1
  15. data/app/pb_kits/playbook/pb_advanced_table/docs/index.js +0 -1
  16. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_year_asc.html.erb +1 -0
  17. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_year_asc.jsx +15 -0
  18. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_year_asc.md +1 -0
  19. data/app/pb_kits/playbook/pb_date_picker/docs/_playground.json +1 -0
  20. data/app/pb_kits/playbook/pb_date_picker/docs/example.yml +2 -0
  21. data/app/pb_kits/playbook/pb_date_picker/docs/index.js +1 -0
  22. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_event_listeners_rails.md +1 -1
  23. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_independent_containers.html.erb +35 -0
  24. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_independent_containers_rails.md +8 -0
  25. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers_rails.md +3 -1
  26. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers_react.md +1 -1
  27. data/app/pb_kits/playbook/pb_draggable/docs/_playground.json +260 -19
  28. data/app/pb_kits/playbook/pb_draggable/docs/_playground.overrides.json +258 -13
  29. data/app/pb_kits/playbook/pb_draggable/docs/example.yml +1 -0
  30. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_custom_display_disabled_option.html.erb +93 -0
  31. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_custom_display_disabled_option.jsx +127 -0
  32. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_custom_display_disabled_option.md +1 -0
  33. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_disabled.html.erb +10 -0
  34. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_disabled.jsx +37 -0
  35. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_disabled_option.html.erb +10 -0
  36. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_disabled_option.jsx +37 -0
  37. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_disabled_option.md +1 -0
  38. data/app/pb_kits/playbook/pb_dropdown/docs/_playground.json +150 -237
  39. data/app/pb_kits/playbook/pb_dropdown/docs/_playground.overrides.json +58 -74
  40. data/app/pb_kits/playbook/pb_dropdown/docs/example.yml +6 -0
  41. data/app/pb_kits/playbook/pb_dropdown/docs/index.js +3 -0
  42. data/app/pb_kits/playbook/pb_file_upload/docs/_file_upload_remove_replace.html.erb +66 -0
  43. data/app/pb_kits/playbook/pb_file_upload/docs/_file_upload_remove_replace.jsx +53 -0
  44. data/app/pb_kits/playbook/pb_file_upload/docs/_file_upload_remove_replace.md +5 -0
  45. data/app/pb_kits/playbook/pb_file_upload/docs/_playground.json +2 -1
  46. data/app/pb_kits/playbook/pb_file_upload/docs/example.yml +3 -1
  47. data/app/pb_kits/playbook/pb_file_upload/docs/index.js +1 -0
  48. data/app/pb_kits/playbook/pb_filter/docs/_filter_interactive.html.erb +116 -0
  49. data/app/pb_kits/playbook/pb_filter/docs/_filter_interactive.md +12 -0
  50. data/app/pb_kits/playbook/pb_filter/docs/_filter_interactive_react.jsx +153 -0
  51. data/app/pb_kits/playbook/pb_filter/docs/_filter_interactive_react.md +10 -0
  52. data/app/pb_kits/playbook/pb_filter/docs/_filter_no_background.html.erb +1 -1
  53. data/app/pb_kits/playbook/pb_filter/docs/_playground.json +308 -5
  54. data/app/pb_kits/playbook/pb_filter/docs/_playground.overrides.json +312 -0
  55. data/app/pb_kits/playbook/pb_filter/docs/example.yml +2 -0
  56. data/app/pb_kits/playbook/pb_filter/docs/index.js +2 -1
  57. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_playground.json +210 -14
  58. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_playground.overrides.json +231 -0
  59. data/app/pb_kits/playbook/pb_flex/docs/_playground.json +297 -38
  60. data/app/pb_kits/playbook/pb_flex/docs/_playground.overrides.json +300 -40
  61. data/app/pb_kits/playbook/pb_form/docs/_form_with_required_indicator.html.erb +20 -19
  62. data/app/pb_kits/playbook/pb_form/docs/_playground.json +1 -13
  63. data/app/pb_kits/playbook/pb_form_group/docs/_playground.json +82 -5
  64. data/app/pb_kits/playbook/pb_form_group/docs/_playground.overrides.json +91 -0
  65. data/app/pb_kits/playbook/pb_form_pill/docs/_playground.json +155 -14
  66. data/app/pb_kits/playbook/pb_form_pill/docs/_playground.overrides.json +147 -0
  67. data/app/pb_kits/playbook/pb_full_screen/docs/_description.md +1 -0
  68. data/app/pb_kits/playbook/pb_full_screen/docs/_full_screen_content_padding.jsx +68 -0
  69. data/app/pb_kits/playbook/pb_full_screen/docs/_full_screen_content_padding.md +1 -0
  70. data/app/pb_kits/playbook/pb_full_screen/docs/_full_screen_custom_trigger.jsx +71 -0
  71. data/app/pb_kits/playbook/pb_full_screen/docs/_full_screen_custom_trigger.md +1 -0
  72. data/app/pb_kits/playbook/pb_full_screen/docs/_full_screen_default.html.erb +3 -0
  73. data/app/pb_kits/playbook/pb_full_screen/docs/_full_screen_default.jsx +63 -0
  74. data/app/pb_kits/playbook/pb_full_screen/docs/_full_screen_default.md +1 -0
  75. data/app/pb_kits/playbook/pb_full_screen/docs/_full_screen_header_text_styling.jsx +68 -0
  76. data/app/pb_kits/playbook/pb_full_screen/docs/_full_screen_header_text_styling.md +1 -0
  77. data/app/pb_kits/playbook/pb_full_screen/docs/_full_screen_sticky_header.jsx +68 -0
  78. data/app/pb_kits/playbook/pb_full_screen/docs/_full_screen_sticky_header.md +1 -0
  79. data/app/pb_kits/playbook/pb_full_screen/docs/_full_screen_table_and_filter.jsx +149 -0
  80. data/app/pb_kits/playbook/pb_full_screen/docs/_full_screen_table_and_filter.md +1 -0
  81. data/app/pb_kits/playbook/pb_full_screen/docs/_playground.json +155 -0
  82. data/app/pb_kits/playbook/pb_full_screen/docs/_playground.overrides.json +137 -0
  83. data/app/pb_kits/playbook/pb_full_screen/docs/example.yml +14 -0
  84. data/app/pb_kits/playbook/pb_full_screen/docs/index.js +6 -0
  85. data/app/pb_kits/playbook/pb_hashtag/docs/_playground.json +72 -11
  86. data/app/pb_kits/playbook/pb_hashtag/docs/_playground.overrides.json +75 -0
  87. data/app/pb_kits/playbook/pb_highlight/docs/_playground.json +75 -4
  88. data/app/pb_kits/playbook/pb_highlight/docs/_playground.overrides.json +75 -0
  89. data/app/pb_kits/playbook/pb_home_address_street/docs/_playground.json +138 -12
  90. data/app/pb_kits/playbook/pb_home_address_street/docs/_playground.overrides.json +162 -0
  91. data/app/pb_kits/playbook/pb_icon/docs/_icon_default.jsx +1 -1
  92. data/app/pb_kits/playbook/pb_icon/docs/_playground.json +66 -41
  93. data/app/pb_kits/playbook/pb_icon/docs/_playground.overrides.json +85 -27
  94. data/app/pb_kits/playbook/pb_icon_button/docs/_playground.json +111 -9
  95. data/app/pb_kits/playbook/pb_icon_button/docs/_playground.overrides.json +131 -0
  96. data/app/pb_kits/playbook/pb_icon_circle/docs/_playground.json +92 -7
  97. data/app/pb_kits/playbook/pb_icon_circle/docs/_playground.overrides.json +108 -0
  98. data/app/pb_kits/playbook/pb_icon_stat_value/docs/_playground.json +32 -17
  99. data/app/pb_kits/playbook/pb_icon_stat_value/docs/_playground.overrides.json +81 -8
  100. data/app/pb_kits/playbook/pb_icon_value/docs/_playground.json +28 -18
  101. data/app/pb_kits/playbook/pb_icon_value/docs/_playground.overrides.json +58 -9
  102. data/app/pb_kits/playbook/pb_image/docs/_playground.json +124 -47
  103. data/app/pb_kits/playbook/pb_image/docs/_playground.overrides.json +122 -47
  104. data/app/pb_kits/playbook/pb_label_pill/docs/_playground.json +68 -6
  105. data/app/pb_kits/playbook/pb_label_pill/docs/_playground.overrides.json +85 -0
  106. data/app/pb_kits/playbook/pb_label_value/docs/_playground.json +59 -36
  107. data/app/pb_kits/playbook/pb_label_value/docs/_playground.overrides.json +101 -30
  108. data/app/pb_kits/playbook/pb_layout/docs/_playground.json +216 -10
  109. data/app/pb_kits/playbook/pb_layout/docs/_playground.overrides.json +188 -0
  110. data/app/pb_kits/playbook/pb_legend/docs/_playground.json +60 -7
  111. data/app/pb_kits/playbook/pb_legend/docs/_playground.overrides.json +77 -0
  112. data/app/pb_kits/playbook/pb_list/docs/_playground.json +165 -17
  113. data/app/pb_kits/playbook/pb_list/docs/_playground.overrides.json +191 -0
  114. data/app/pb_kits/playbook/pb_loading_inline/docs/_loading_inline_color.html.erb +21 -0
  115. data/app/pb_kits/playbook/pb_loading_inline/docs/_loading_inline_color.jsx +55 -0
  116. data/app/pb_kits/playbook/pb_loading_inline/docs/_loading_inline_color.md +1 -0
  117. data/app/pb_kits/playbook/pb_loading_inline/docs/_playground.json +28 -1
  118. data/app/pb_kits/playbook/pb_loading_inline/docs/_playground.overrides.json +27 -1
  119. data/app/pb_kits/playbook/pb_loading_inline/docs/example.yml +2 -0
  120. data/app/pb_kits/playbook/pb_loading_inline/docs/index.js +1 -0
  121. data/app/pb_kits/playbook/pb_map/docs/_playground.json +164 -7
  122. data/app/pb_kits/playbook/pb_map/docs/_playground.overrides.json +180 -0
  123. data/app/pb_kits/playbook/pb_message/docs/_playground.json +114 -8
  124. data/app/pb_kits/playbook/pb_message/docs/_playground.overrides.json +144 -0
  125. data/app/pb_kits/playbook/pb_multi_level_select/docs/_playground.json +310 -61
  126. data/app/pb_kits/playbook/pb_multi_level_select/docs/_playground.overrides.json +327 -44
  127. data/app/pb_kits/playbook/pb_multiple_users/docs/_playground.json +35 -6
  128. data/app/pb_kits/playbook/pb_multiple_users/docs/_playground.overrides.json +35 -6
  129. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_playground.json +32 -21
  130. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_playground.overrides.json +32 -21
  131. data/app/pb_kits/playbook/pb_nav/docs/_playground.json +546 -18
  132. data/app/pb_kits/playbook/pb_nav/docs/_playground.overrides.json +561 -14
  133. data/app/pb_kits/playbook/pb_online_status/docs/_playground.json +18 -23
  134. data/app/pb_kits/playbook/pb_online_status/docs/_playground.overrides.json +18 -14
  135. data/app/pb_kits/playbook/pb_overlay/docs/_playground.json +133 -14
  136. data/app/pb_kits/playbook/pb_overlay/docs/_playground.overrides.json +154 -0
  137. data/app/pb_kits/playbook/pb_pagination/docs/_playground.json +35 -14
  138. data/app/pb_kits/playbook/pb_pagination/docs/_playground.overrides.json +35 -14
  139. data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_breached.html.erb +1 -1
  140. data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_common.html.erb +1 -1
  141. data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_meter_settings.html.erb +5 -5
  142. data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_strength_change.html.erb +1 -1
  143. data/app/pb_kits/playbook/pb_passphrase/docs/_playground.json +129 -14
  144. data/app/pb_kits/playbook/pb_passphrase/docs/_playground.overrides.json +148 -0
  145. data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_playground.json +378 -4
  146. data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_playground.overrides.json +245 -0
  147. data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_playground.json +215 -4
  148. data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_playground.overrides.json +224 -0
  149. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_playground.json +149 -4
  150. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_playground.overrides.json +162 -0
  151. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_playground.json +392 -4
  152. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_playground.overrides.json +212 -0
  153. data/app/pb_kits/playbook/pb_person/docs/_playground.json +27 -11
  154. data/app/pb_kits/playbook/pb_person/docs/_playground.overrides.json +34 -9
  155. data/app/pb_kits/playbook/pb_person_contact/docs/_playground.json +72 -21
  156. data/app/pb_kits/playbook/pb_person_contact/docs/_playground.overrides.json +71 -21
  157. data/app/pb_kits/playbook/pb_phone_number_input/docs/_playground.json +179 -21
  158. data/app/pb_kits/playbook/pb_phone_number_input/docs/_playground.overrides.json +180 -0
  159. data/app/pb_kits/playbook/pb_pill/docs/_playground.json +16 -49
  160. data/app/pb_kits/playbook/pb_pill/docs/_playground.overrides.json +33 -30
  161. data/app/pb_kits/playbook/pb_popover/docs/_playground.json +155 -46
  162. data/app/pb_kits/playbook/pb_popover/docs/_playground.overrides.json +162 -30
  163. data/app/pb_kits/playbook/pb_popover/docs/_popover_list.jsx +9 -11
  164. data/app/pb_kits/playbook/pb_progress_pills/docs/_playground.json +26 -13
  165. data/app/pb_kits/playbook/pb_progress_pills/docs/_playground.overrides.json +24 -6
  166. data/app/pb_kits/playbook/pb_progress_simple/docs/_playground.json +50 -17
  167. data/app/pb_kits/playbook/pb_progress_simple/docs/_playground.overrides.json +41 -7
  168. data/app/pb_kits/playbook/pb_progress_step/docs/_playground.json +197 -10
  169. data/app/pb_kits/playbook/pb_progress_step/docs/_playground.overrides.json +189 -0
  170. data/app/pb_kits/playbook/pb_radio/docs/_playground.json +80 -6
  171. data/app/pb_kits/playbook/pb_radio/docs/_playground.overrides.json +82 -3
  172. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_playground.json +152 -22
  173. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_playground.overrides.json +153 -0
  174. data/app/pb_kits/playbook/pb_select/docs/_playground.json +65 -19
  175. data/app/pb_kits/playbook/pb_select/docs/_playground.overrides.json +54 -14
  176. data/app/pb_kits/playbook/pb_selectable_card/docs/_playground.json +75 -82
  177. data/app/pb_kits/playbook/pb_selectable_card/docs/_playground.overrides.json +76 -76
  178. data/app/pb_kits/playbook/pb_selectable_card_icon/docs/_playground.json +105 -15
  179. data/app/pb_kits/playbook/pb_selectable_card_icon/docs/_playground.overrides.json +106 -0
  180. data/app/pb_kits/playbook/pb_selectable_icon/docs/_playground.json +37 -21
  181. data/app/pb_kits/playbook/pb_selectable_icon/docs/_playground.overrides.json +35 -18
  182. data/app/pb_kits/playbook/pb_selectable_list/docs/_playground.json +174 -12
  183. data/app/pb_kits/playbook/pb_selectable_list/docs/_playground.overrides.json +162 -10
  184. data/app/pb_kits/playbook/pb_skeleton_loading/docs/_playground.json +68 -6
  185. data/app/pb_kits/playbook/pb_skeleton_loading/docs/_playground.overrides.json +80 -0
  186. data/app/pb_kits/playbook/pb_source/docs/_playground.json +67 -6
  187. data/app/pb_kits/playbook/pb_source/docs/_playground.overrides.json +80 -0
  188. data/app/pb_kits/playbook/pb_star_rating/docs/_playground.json +28 -53
  189. data/app/pb_kits/playbook/pb_star_rating/docs/_playground.overrides.json +33 -32
  190. data/app/pb_kits/playbook/pb_stat_change/docs/_playground.json +15 -9
  191. data/app/pb_kits/playbook/pb_stat_change/docs/_playground.overrides.json +15 -5
  192. data/app/pb_kits/playbook/pb_stat_value/docs/_playground.json +19 -9
  193. data/app/pb_kits/playbook/pb_stat_value/docs/_playground.overrides.json +18 -7
  194. data/app/pb_kits/playbook/pb_table/docs/_playground.json +223 -21
  195. data/app/pb_kits/playbook/pb_table/docs/_playground.overrides.json +176 -0
  196. data/app/pb_kits/playbook/pb_text_input/docs/_playground.json +44 -5
  197. data/app/pb_kits/playbook/pb_text_input/docs/_playground.overrides.json +39 -3
  198. data/app/pb_kits/playbook/pb_textarea/docs/_playground.json +35 -3
  199. data/app/pb_kits/playbook/pb_textarea/docs/_playground.overrides.json +28 -3
  200. data/app/pb_kits/playbook/pb_time/docs/_playground.json +28 -14
  201. data/app/pb_kits/playbook/pb_time/docs/_playground.overrides.json +26 -13
  202. data/app/pb_kits/playbook/pb_time_picker/docs/_playground.json +36 -30
  203. data/app/pb_kits/playbook/pb_time_picker/docs/_playground.overrides.json +31 -26
  204. data/app/pb_kits/playbook/pb_time_range_inline/docs/_playground.json +63 -9
  205. data/app/pb_kits/playbook/pb_time_range_inline/docs/_playground.overrides.json +69 -0
  206. data/app/pb_kits/playbook/pb_time_stacked/docs/_playground.json +30 -9
  207. data/app/pb_kits/playbook/pb_time_stacked/docs/_playground.overrides.json +30 -9
  208. data/app/pb_kits/playbook/pb_timeline/docs/_playground.json +178 -6
  209. data/app/pb_kits/playbook/pb_timeline/docs/_playground.overrides.json +165 -0
  210. data/app/pb_kits/playbook/pb_timestamp/docs/_playground.json +36 -21
  211. data/app/pb_kits/playbook/pb_timestamp/docs/_playground.overrides.json +35 -20
  212. data/app/pb_kits/playbook/pb_toggle/docs/_playground.json +24 -13
  213. data/app/pb_kits/playbook/pb_toggle/docs/_playground.overrides.json +20 -12
  214. data/app/pb_kits/playbook/pb_tooltip/docs/_playground.json +42 -23
  215. data/app/pb_kits/playbook/pb_tooltip/docs/_playground.overrides.json +35 -15
  216. data/app/pb_kits/playbook/pb_typeahead/docs/_playground.json +124 -44
  217. data/app/pb_kits/playbook/pb_typeahead/docs/_playground.overrides.json +98 -31
  218. data/app/pb_kits/playbook/pb_user/docs/_playground.json +33 -15
  219. data/app/pb_kits/playbook/pb_user/docs/_playground.overrides.json +32 -15
  220. data/app/pb_kits/playbook/pb_user_badge/docs/_playground.json +26 -12
  221. data/app/pb_kits/playbook/pb_user_badge/docs/_playground.overrides.json +26 -9
  222. data/app/pb_kits/playbook/pb_weekday_stacked/docs/_playground.json +32 -5
  223. data/app/pb_kits/playbook/pb_weekday_stacked/docs/_playground.overrides.json +30 -4
  224. metadata +73 -4
  225. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_fullscreen.jsx +0 -92
  226. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_fullscreen.md +0 -3
@@ -15,26 +15,30 @@
15
15
  "props": { "status": "online", "size": "md" }
16
16
  },
17
17
  {
18
- "name": "Offline",
19
- "props": { "status": "offline", "size": "md" }
20
- },
21
- {
22
- "name": "Away",
23
- "props": { "status": "away", "size": "md" }
24
- },
25
- {
26
- "name": "Online · sm",
18
+ "name": "Size sm",
27
19
  "props": { "status": "online", "size": "sm" }
28
20
  },
29
- {
30
- "name": "Online · lg",
31
- "props": { "status": "online", "size": "lg" }
32
- },
33
21
  {
34
22
  "name": "No border",
35
23
  "props": { "status": "online", "size": "md", "noBorder": true }
36
24
  }
37
25
  ],
38
26
  "conditionals": {},
39
- "hints": {}
27
+ "hints": {
28
+ "status": {
29
+ "when": {},
30
+ "message": "status controls the dot color; semantic statuses like online, offline, error, warning, success, info, primary, and neutral are supported.",
31
+ "type": "info"
32
+ },
33
+ "size_sm": {
34
+ "presetName": "Size sm",
35
+ "message": "size changes the rendered indicator diameter. Use sm, md, or lg.",
36
+ "type": "info"
37
+ },
38
+ "no_border": {
39
+ "presetName": "No border",
40
+ "message": "noBorder removes the white ring around the status indicator.",
41
+ "type": "info"
42
+ }
43
+ }
40
44
  }
@@ -4,35 +4,154 @@
4
4
  "defaults": {
5
5
  "color": "card_light",
6
6
  "dynamic": false,
7
- "scrollBarNone": false
7
+ "scrollBarNone": false,
8
+ "gradient": true,
9
+ "layout": {
10
+ "bottom": "full"
11
+ },
12
+ "opacity": "opacity_6",
13
+ "fullScreen": false
8
14
  },
9
15
  "children": {
10
16
  "editable": true,
11
- "default": "Overlay content"
17
+ "default": "<Card padding=\"md\">\n <Body text=\"Overlay content\" />\n</Card>"
12
18
  },
13
19
  "groups": [
14
20
  {
15
- "name": "Props",
21
+ "name": "Appearance",
16
22
  "props": [
17
23
  "color",
18
- "dynamic",
19
- "gradient",
20
- "position",
21
- "size",
22
- "scrollBarNone",
23
- "fullScreen",
24
+ "opacity",
25
+ "gradient"
26
+ ]
27
+ },
28
+ {
29
+ "name": "Layout",
30
+ "props": [
24
31
  "layout",
25
- "opacity"
32
+ "fullScreen",
33
+ "scrollBarNone"
26
34
  ]
27
35
  }
28
36
  ],
29
37
  "presets": [
30
38
  {
31
39
  "name": "Default",
32
- "props": {},
33
- "children": "Overlay content"
40
+ "props": {
41
+ "color": "card_light",
42
+ "layout": {
43
+ "bottom": "full"
44
+ }
45
+ },
46
+ "children": "<Card padding=\"md\">\n <Body text=\"Overlay content\" />\n</Card>"
47
+ },
48
+ {
49
+ "name": "Black Gradient",
50
+ "structureMode": "standard",
51
+ "props": {
52
+ "color": "black",
53
+ "opacity": "opacity_6",
54
+ "layout": {
55
+ "bottom": "full"
56
+ }
57
+ },
58
+ "children": "<Background\n alt=\"Colorful abstract background\"\n backgroundPosition=\"center\"\n imageUrl=\"https://images.unsplash.com/photo-1528459801416-a9e53bbf4e17?ixlib=rb-1.2.1&auto=format&fit=crop&w=1200&q=80\"\n minHeight=\"320px\"\n width=\"100%\"\n>\n <Flex minHeight=\"320px\" orientation=\"column\" padding=\"lg\" vertical=\"center\">\n <Title dark size={3} text=\"Gradient Overlay\" />\n <Body color=\"light\" text=\"Full-width Background kit image with Overlay gradient.\" />\n </Flex>\n</Background>"
59
+ },
60
+ {
61
+ "name": "No Gradient",
62
+ "structureMode": "standard",
63
+ "props": {
64
+ "color": "black",
65
+ "gradient": false,
66
+ "opacity": "opacity_4",
67
+ "layout": {
68
+ "bottom": "full"
69
+ }
70
+ },
71
+ "children": "<Background\n alt=\"Colorful abstract background\"\n backgroundPosition=\"center\"\n imageUrl=\"https://images.unsplash.com/photo-1528459801416-a9e53bbf4e17?ixlib=rb-1.2.1&auto=format&fit=crop&w=1200&q=80\"\n minHeight=\"320px\"\n width=\"100%\"\n>\n <Flex minHeight=\"320px\" orientation=\"column\" padding=\"lg\" vertical=\"center\">\n <Title dark size={3} text=\"Flat Overlay\" />\n <Body color=\"light\" text=\"gradient={false} removes the fade treatment.\" />\n </Flex>\n</Background>"
72
+ },
73
+ {
74
+ "name": "Horizontal",
75
+ "props": {
76
+ "color": "card_light",
77
+ "layout": {
78
+ "x": "xl"
79
+ }
80
+ },
81
+ "children": "<Flex columnGap=\"lg\" orientation=\"row\" overflowX=\"auto\">\n <FlexItem fixedSize=\"160px\"><Card>{'Card 1'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 2'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 3'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 4'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 5'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 6'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 7'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 8'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 9'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 10'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 11'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 12'}</Card></FlexItem>\n</Flex>"
82
+ },
83
+ {
84
+ "name": "Full Screen",
85
+ "structureMode": "fullscreen",
86
+ "props": {
87
+ "color": "bg_dark",
88
+ "fullScreen": true,
89
+ "gradient": false,
90
+ "opacity": "opacity_4"
91
+ },
92
+ "children": "<FixedConfirmationToast\n closeable\n horizontal=\"center\"\n onClose={handleClose}\n open={open}\n status=\"tip\"\n text=\"Fullscreen overlay content\"\n vertical=\"top\"\n/>"
93
+ },
94
+ {
95
+ "name": "Hide Scrollbar",
96
+ "props": {
97
+ "color": "card_light",
98
+ "layout": {
99
+ "x": "xl"
100
+ },
101
+ "scrollBarNone": true
102
+ },
103
+ "children": "<Flex columnGap=\"lg\" orientation=\"row\" overflowX=\"auto\">\n <FlexItem fixedSize=\"160px\"><Card>{'Card 1'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 2'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 3'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 4'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 5'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 6'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 7'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 8'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 9'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 10'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 11'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 12'}</Card></FlexItem>\n</Flex>"
34
104
  }
35
105
  ],
36
- "conditionals": {},
37
- "hints": {}
106
+ "conditionals": {
107
+ "opacity": {
108
+ "requires": {
109
+ "gradient": false
110
+ }
111
+ }
112
+ },
113
+ "hints": {
114
+ "layout": {
115
+ "when": {},
116
+ "message": "layout controls overlay direction and size. Use keys like bottom, top, x, or y with token values like full, xl, or percentages.",
117
+ "type": "info"
118
+ },
119
+ "gradient": {
120
+ "presetName": "No Gradient",
121
+ "message": "gradient={false} removes the default gradient treatment and uses a flatter color overlay.",
122
+ "type": "info"
123
+ },
124
+ "fullscreen": {
125
+ "presetName": "Full Screen",
126
+ "message": "fullScreen changes the overlay to a fixed viewport layer; pair it with content that can close or explain the state.",
127
+ "type": "info"
128
+ },
129
+ "scrollbar": {
130
+ "presetName": "Hide Scrollbar",
131
+ "message": "scrollBarNone hides the scrollbar while preserving scrollable overflow content.",
132
+ "type": "info"
133
+ }
134
+ },
135
+ "structureModes": {
136
+ "default": "standard",
137
+ "modes": {
138
+ "standard": {
139
+ "label": "Standard",
140
+ "template": "<Overlay{{props}}>\n {{children}}\n</Overlay>"
141
+ },
142
+ "fullscreen": {
143
+ "label": "Fullscreen",
144
+ "template": "<>\n <Button\n onClick={() => setOpen(true)}\n text=\"Open Fullscreen Overlay\"\n variant=\"secondary\"\n />\n {open && (\n <Overlay{{props}}>\n {{children}}\n </Overlay>\n )}\n</>",
145
+ "wrapper": "const FullscreenOverlayExample = () => {\n const [open, setOpen] = useState(true)\n const handleClose = () => setOpen(false)\n\n return {{component}}\n}\n\n<FullscreenOverlayExample />",
146
+ "externalImports": [
147
+ "import React, { useState } from 'react'"
148
+ ]
149
+ }
150
+ }
151
+ },
152
+ "hiddenProps": [
153
+ "dynamic",
154
+ "position",
155
+ "size"
156
+ ]
38
157
  }
@@ -0,0 +1,154 @@
1
+ {
2
+ "structureModes": {
3
+ "default": "standard",
4
+ "modes": {
5
+ "standard": {
6
+ "label": "Standard",
7
+ "template": "<Overlay{{props}}>\n {{children}}\n</Overlay>"
8
+ },
9
+ "fullscreen": {
10
+ "label": "Fullscreen",
11
+ "template": "<>\n <Button\n onClick={() => setOpen(true)}\n text=\"Open Fullscreen Overlay\"\n variant=\"secondary\"\n />\n {open && (\n <Overlay{{props}}>\n {{children}}\n </Overlay>\n )}\n</>",
12
+ "wrapper": "const FullscreenOverlayExample = () => {\n const [open, setOpen] = useState(true)\n const handleClose = () => setOpen(false)\n\n return {{component}}\n}\n\n<FullscreenOverlayExample />",
13
+ "externalImports": [
14
+ "import React, { useState } from 'react'"
15
+ ]
16
+ }
17
+ }
18
+ },
19
+ "children": {
20
+ "editable": true,
21
+ "default": "<Card padding=\"md\">\n <Body text=\"Overlay content\" />\n</Card>"
22
+ },
23
+ "hiddenProps": [
24
+ "dynamic",
25
+ "position",
26
+ "size"
27
+ ],
28
+ "defaults": {
29
+ "color": "card_light",
30
+ "gradient": true,
31
+ "layout": {
32
+ "bottom": "full"
33
+ },
34
+ "opacity": "opacity_6",
35
+ "scrollBarNone": false,
36
+ "fullScreen": false
37
+ },
38
+ "groups": [
39
+ {
40
+ "name": "Appearance",
41
+ "props": [
42
+ "color",
43
+ "opacity",
44
+ "gradient"
45
+ ]
46
+ },
47
+ {
48
+ "name": "Layout",
49
+ "props": [
50
+ "layout",
51
+ "fullScreen",
52
+ "scrollBarNone"
53
+ ]
54
+ }
55
+ ],
56
+ "presets": [
57
+ {
58
+ "name": "Default",
59
+ "props": {
60
+ "color": "card_light",
61
+ "layout": {
62
+ "bottom": "full"
63
+ }
64
+ },
65
+ "children": "<Card padding=\"md\">\n <Body text=\"Overlay content\" />\n</Card>"
66
+ },
67
+ {
68
+ "name": "Black Gradient",
69
+ "structureMode": "standard",
70
+ "props": {
71
+ "color": "black",
72
+ "opacity": "opacity_6",
73
+ "layout": {
74
+ "bottom": "full"
75
+ }
76
+ },
77
+ "children": "<Background\n alt=\"Colorful abstract background\"\n backgroundPosition=\"center\"\n imageUrl=\"https://images.unsplash.com/photo-1528459801416-a9e53bbf4e17?ixlib=rb-1.2.1&auto=format&fit=crop&w=1200&q=80\"\n minHeight=\"320px\"\n width=\"100%\"\n>\n <Flex minHeight=\"320px\" orientation=\"column\" padding=\"lg\" vertical=\"center\">\n <Title dark size={3} text=\"Gradient Overlay\" />\n <Body color=\"light\" text=\"Full-width Background kit image with Overlay gradient.\" />\n </Flex>\n</Background>"
78
+ },
79
+ {
80
+ "name": "No Gradient",
81
+ "structureMode": "standard",
82
+ "props": {
83
+ "color": "black",
84
+ "gradient": false,
85
+ "opacity": "opacity_4",
86
+ "layout": {
87
+ "bottom": "full"
88
+ }
89
+ },
90
+ "children": "<Background\n alt=\"Colorful abstract background\"\n backgroundPosition=\"center\"\n imageUrl=\"https://images.unsplash.com/photo-1528459801416-a9e53bbf4e17?ixlib=rb-1.2.1&auto=format&fit=crop&w=1200&q=80\"\n minHeight=\"320px\"\n width=\"100%\"\n>\n <Flex minHeight=\"320px\" orientation=\"column\" padding=\"lg\" vertical=\"center\">\n <Title dark size={3} text=\"Flat Overlay\" />\n <Body color=\"light\" text=\"gradient={false} removes the fade treatment.\" />\n </Flex>\n</Background>"
91
+ },
92
+ {
93
+ "name": "Horizontal",
94
+ "props": {
95
+ "color": "card_light",
96
+ "layout": {
97
+ "x": "xl"
98
+ }
99
+ },
100
+ "children": "<Flex columnGap=\"lg\" orientation=\"row\" overflowX=\"auto\">\n <FlexItem fixedSize=\"160px\"><Card>{'Card 1'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 2'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 3'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 4'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 5'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 6'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 7'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 8'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 9'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 10'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 11'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 12'}</Card></FlexItem>\n</Flex>"
101
+ },
102
+ {
103
+ "name": "Full Screen",
104
+ "structureMode": "fullscreen",
105
+ "props": {
106
+ "color": "bg_dark",
107
+ "fullScreen": true,
108
+ "gradient": false,
109
+ "opacity": "opacity_4"
110
+ },
111
+ "children": "<FixedConfirmationToast\n closeable\n horizontal=\"center\"\n onClose={handleClose}\n open={open}\n status=\"tip\"\n text=\"Fullscreen overlay content\"\n vertical=\"top\"\n/>"
112
+ },
113
+ {
114
+ "name": "Hide Scrollbar",
115
+ "props": {
116
+ "color": "card_light",
117
+ "layout": {
118
+ "x": "xl"
119
+ },
120
+ "scrollBarNone": true
121
+ },
122
+ "children": "<Flex columnGap=\"lg\" orientation=\"row\" overflowX=\"auto\">\n <FlexItem fixedSize=\"160px\"><Card>{'Card 1'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 2'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 3'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 4'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 5'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 6'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 7'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 8'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 9'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 10'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 11'}</Card></FlexItem>\n <FlexItem fixedSize=\"160px\"><Card>{'Card 12'}</Card></FlexItem>\n</Flex>"
123
+ }
124
+ ],
125
+ "conditionals": {
126
+ "opacity": {
127
+ "requires": {
128
+ "gradient": false
129
+ }
130
+ }
131
+ },
132
+ "hints": {
133
+ "layout": {
134
+ "when": {},
135
+ "message": "layout controls overlay direction and size. Use keys like bottom, top, x, or y with token values like full, xl, or percentages.",
136
+ "type": "info"
137
+ },
138
+ "gradient": {
139
+ "presetName": "No Gradient",
140
+ "message": "gradient={false} removes the default gradient treatment and uses a flatter color overlay.",
141
+ "type": "info"
142
+ },
143
+ "fullscreen": {
144
+ "presetName": "Full Screen",
145
+ "message": "fullScreen changes the overlay to a fixed viewport layer; pair it with content that can close or explain the state.",
146
+ "type": "info"
147
+ },
148
+ "scrollbar": {
149
+ "presetName": "Hide Scrollbar",
150
+ "message": "scrollBarNone hides the scrollbar while preserving scrollable overflow content.",
151
+ "type": "info"
152
+ }
153
+ }
154
+ }
@@ -4,7 +4,8 @@
4
4
  "defaults": {
5
5
  "current": 1,
6
6
  "range": 5,
7
- "total": 10
7
+ "total": 10,
8
+ "onChange": "(page) => console.log('Page changed', page)"
8
9
  },
9
10
  "groups": [
10
11
  {
@@ -48,22 +49,42 @@
48
49
  }
49
50
  },
50
51
  {
51
- "name": "Last page",
52
+ "name": "Controlled",
53
+ "structureMode": "controlled",
52
54
  "props": {
53
- "current": 12,
54
- "total": 12,
55
- "range": 5
56
- }
57
- },
58
- {
59
- "name": "Wide window",
60
- "props": {
61
- "current": 25,
62
- "total": 50,
63
- "range": 9
55
+ "range": 5,
56
+ "total": 10
64
57
  }
65
58
  }
66
59
  ],
67
60
  "conditionals": {},
68
- "hints": {}
61
+ "hints": {
62
+ "range": {
63
+ "when": {},
64
+ "message": "range controls how many page numbers appear around the current page before first/last shortcuts are added.",
65
+ "type": "info"
66
+ },
67
+ "controlled": {
68
+ "presetName": "Controlled",
69
+ "message": "For React-controlled pagination, keep current in state and update it from onChange.",
70
+ "type": "info"
71
+ }
72
+ },
73
+ "structureModes": {
74
+ "default": "static",
75
+ "modes": {
76
+ "static": {
77
+ "label": "Static",
78
+ "template": "<Pagination{{props}} />"
79
+ },
80
+ "controlled": {
81
+ "label": "Controlled",
82
+ "template": "<Pagination\n current={currentPage}\n onChange={setCurrentPage}{{props}}\n/>",
83
+ "wrapper": "const PaginationPlayground = () => {\n const [currentPage, setCurrentPage] = useState(1)\n\n return {{component}}\n}\n\n<PaginationPlayground />",
84
+ "externalImports": [
85
+ "import React, { useState } from 'react'"
86
+ ]
87
+ }
88
+ }
89
+ }
69
90
  }
@@ -1,8 +1,26 @@
1
1
  {
2
+ "structureModes": {
3
+ "default": "static",
4
+ "modes": {
5
+ "static": {
6
+ "label": "Static",
7
+ "template": "<Pagination{{props}} />"
8
+ },
9
+ "controlled": {
10
+ "label": "Controlled",
11
+ "template": "<Pagination\n current={currentPage}\n onChange={setCurrentPage}{{props}}\n/>",
12
+ "wrapper": "const PaginationPlayground = () => {\n const [currentPage, setCurrentPage] = useState(1)\n\n return {{component}}\n}\n\n<PaginationPlayground />",
13
+ "externalImports": [
14
+ "import React, { useState } from 'react'"
15
+ ]
16
+ }
17
+ }
18
+ },
2
19
  "defaults": {
3
20
  "current": 1,
4
21
  "range": 5,
5
- "total": 10
22
+ "total": 10,
23
+ "onChange": "(page) => console.log('Page changed', page)"
6
24
  },
7
25
  "groups": [
8
26
  {
@@ -40,22 +58,25 @@
40
58
  }
41
59
  },
42
60
  {
43
- "name": "Last page",
44
- "props": {
45
- "current": 12,
46
- "total": 12,
47
- "range": 5
48
- }
49
- },
50
- {
51
- "name": "Wide window",
61
+ "name": "Controlled",
62
+ "structureMode": "controlled",
52
63
  "props": {
53
- "current": 25,
54
- "total": 50,
55
- "range": 9
64
+ "range": 5,
65
+ "total": 10
56
66
  }
57
67
  }
58
68
  ],
59
69
  "conditionals": {},
60
- "hints": {}
70
+ "hints": {
71
+ "range": {
72
+ "when": {},
73
+ "message": "range controls how many page numbers appear around the current page before first/last shortcuts are added.",
74
+ "type": "info"
75
+ },
76
+ "controlled": {
77
+ "presetName": "Controlled",
78
+ "message": "For React-controlled pagination, keep current in state and update it from onChange.",
79
+ "type": "info"
80
+ }
81
+ }
61
82
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  <%= pb_rails("progress_simple", props: { percent: 0, id: "bar_breached" }) %>
4
4
 
5
- <%= pb_rails("caption", props: { size: 'xs', text: "hello", id: "caption_breached" }) %>
5
+ <%= pb_rails("caption", props: { size: 'xs', text: "", id: "caption_breached" }) %>
6
6
 
7
7
  <script>
8
8
  window.addEventListener("load", () => {
@@ -7,7 +7,7 @@
7
7
 
8
8
  <%= pb_rails("progress_simple", props: { percent: 0, id: "bar_common" }) %>
9
9
 
10
- <%= pb_rails("caption", props: { size: 'xs', text: "hello", id: "caption_common" }) %>
10
+ <%= pb_rails("caption", props: { size: 'xs', text: "", id: "caption_common" }) %>
11
11
 
12
12
 
13
13
  <script>
@@ -2,7 +2,7 @@
2
2
 
3
3
  <%= pb_rails("progress_simple", props: { percent: 0, id: "def_bar" }) %>
4
4
 
5
- <%= pb_rails("caption", props: { size: 'xs', text: "hello", id: "def_caption" }) %>
5
+ <%= pb_rails("caption", props: { size: 'xs', text: "", id: "def_caption" }) %>
6
6
 
7
7
  <%= pb_rails("text_input", props: { label: "Calculated Strength", value: "0", disabled: true, id: "calc_strength" }) %>
8
8
 
@@ -10,25 +10,25 @@
10
10
 
11
11
  <%= pb_rails("progress_simple", props: { percent: 0, id: "min_5_bar" }) %>
12
12
 
13
- <%= pb_rails("caption", props: { size: 'xs', text: "hello", id: "min_5_caption" }) %>
13
+ <%= pb_rails("caption", props: { size: 'xs', text: "", id: "min_5_caption" }) %>
14
14
 
15
15
  <%= pb_rails("passphrase", props: { label: "Min length = 30", classname: "min_30" }) %>
16
16
 
17
17
  <%= pb_rails("progress_simple", props: { percent: 0, id: "min_30_bar" }) %>
18
18
 
19
- <%= pb_rails("caption", props: { size: 'xs', text: "hello", id: "min_30_caption" }) %>
19
+ <%= pb_rails("caption", props: { size: 'xs', text: "", id: "min_30_caption" }) %>
20
20
 
21
21
  <%= pb_rails("passphrase", props: { label: "Average Threshold = 1", classname: "avg_1" }) %>
22
22
 
23
23
  <%= pb_rails("progress_simple", props: { percent: 0, id: "avg_1_bar" }) %>
24
24
 
25
- <%= pb_rails("caption", props: { size: 'xs', text: "hello", id: "avg_1_caption" }) %>
25
+ <%= pb_rails("caption", props: { size: 'xs', text: "", id: "avg_1_caption" }) %>
26
26
 
27
27
  <%= pb_rails("passphrase", props: { label: "Strong Threshold = 4", classname: "strong_4" }) %>
28
28
 
29
29
  <%= pb_rails("progress_simple", props: { percent: 0, id: "strong_4_bar" }) %>
30
30
 
31
- <%= pb_rails("caption", props: { size: 'xs', text: "hello", id: "strong_4_caption" }) %>
31
+ <%= pb_rails("caption", props: { size: 'xs', text: "", id: "strong_4_caption" }) %>
32
32
 
33
33
 
34
34
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  <%= pb_rails("progress_simple", props: { percent: 0, id: "bar_change" }) %>
4
4
 
5
- <%= pb_rails("caption", props: { size: 'xs', text: "hello", id: "caption_change" }) %>
5
+ <%= pb_rails("caption", props: { size: 'xs', text: "", id: "caption_change" }) %>
6
6
 
7
7
  <%= pb_rails("text_input", props: { label: "Passphrase Strength", value: "0", disabled: true, id: "calc_strength_change" }) %>
8
8