playbook_ui 7.0.1.pre.alpha14 → 7.0.1.pre.alpha15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (225) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/playbook/application_controller.rb +0 -2
  3. data/app/pb_kits/playbook/_playbook.scss +1 -1
  4. data/app/pb_kits/playbook/data/menu.yml +5 -4
  5. data/app/pb_kits/playbook/index.js +4 -1
  6. data/app/pb_kits/playbook/pb_bar_graph/_bar_graph.html.erb +1 -12
  7. data/app/pb_kits/playbook/pb_bar_graph/bar_graph.rb +1 -1
  8. data/app/pb_kits/playbook/pb_body/body.rb +1 -1
  9. data/app/pb_kits/playbook/pb_button/_button_mixins.scss +1 -0
  10. data/app/pb_kits/playbook/pb_button_toolbar/_button_toolbar.jsx +3 -3
  11. data/app/pb_kits/playbook/pb_button_toolbar/_button_toolbar.scss +82 -90
  12. data/app/pb_kits/playbook/pb_button_toolbar/_button_toolbar_dark.scss +57 -0
  13. data/app/pb_kits/playbook/pb_button_toolbar/_button_toolbar_mixins.scss +27 -0
  14. data/app/pb_kits/playbook/pb_button_toolbar/button_toolbar.rb +4 -2
  15. data/app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_default.html.erb +17 -7
  16. data/app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_default.jsx +32 -9
  17. data/app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_secondary.html.erb +18 -7
  18. data/app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_secondary.jsx +37 -9
  19. data/app/pb_kits/playbook/pb_button_toolbar/docs/example.yml +3 -7
  20. data/app/pb_kits/playbook/pb_button_toolbar/docs/index.js +0 -2
  21. data/app/pb_kits/playbook/pb_caption/_caption.html.erb +7 -5
  22. data/app/pb_kits/playbook/pb_caption/docs/_caption_block.html.erb +11 -0
  23. data/app/pb_kits/playbook/pb_caption/docs/_caption_block.jsx +28 -0
  24. data/app/pb_kits/playbook/pb_caption/docs/example.yml +2 -0
  25. data/app/pb_kits/playbook/pb_caption/docs/index.js +1 -0
  26. data/app/pb_kits/playbook/pb_date_picker/_date_picker.html.erb +1 -2
  27. data/app/pb_kits/playbook/pb_date_picker/_date_picker.jsx +1 -3
  28. data/app/pb_kits/playbook/pb_date_picker/date_picker.rb +3 -2
  29. data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.js +34 -32
  30. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.html.erb +1 -2
  31. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx +1 -2
  32. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.md +1 -0
  33. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_format.html.erb +4 -0
  34. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_format.jsx +4 -0
  35. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_input.html.erb +9 -9
  36. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_input.jsx +8 -8
  37. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_input.md +3 -1
  38. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range.html.erb +1 -0
  39. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range.jsx +1 -0
  40. data/app/pb_kits/playbook/pb_date_picker/docs/example.yml +0 -4
  41. data/app/pb_kits/playbook/pb_date_picker/docs/index.js +0 -2
  42. data/app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.html.erb +8 -14
  43. data/app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.jsx +122 -39
  44. data/app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.scss +33 -2
  45. data/app/pb_kits/playbook/pb_date_range_inline/date_range_inline.rb +44 -9
  46. data/app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.html.erb +14 -1
  47. data/app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx +45 -1
  48. data/app/pb_kits/playbook/pb_distribution_bar/_distribution_bar.html.erb +1 -8
  49. data/app/pb_kits/playbook/pb_distribution_bar/distribution_bar.rb +7 -0
  50. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.html.erb +3 -2
  51. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.jsx +29 -15
  52. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss +10 -0
  53. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_close.html.erb +21 -0
  54. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_close.jsx +38 -0
  55. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_default.html.erb +2 -1
  56. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_default.jsx +1 -2
  57. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line.html.erb +1 -1
  58. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line.jsx +1 -1
  59. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line_dark.html.erb +1 -1
  60. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line_dark.jsx +1 -1
  61. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/example.yml +2 -0
  62. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/index.js +1 -0
  63. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/fixed_confirmation_toast.rb +7 -1
  64. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/index.js +18 -0
  65. data/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb +9 -6
  66. data/app/pb_kits/playbook/pb_form/docs/_form_form_with_validate.html.erb +1 -1
  67. data/app/pb_kits/playbook/pb_form/docs/_form_simple_form.html.erb +3 -3
  68. data/app/pb_kits/playbook/pb_form/docs/_form_simple_form_validate.html.erb +3 -3
  69. data/app/pb_kits/playbook/pb_form/form_builder/checkbox_field.rb +7 -2
  70. data/app/pb_kits/playbook/pb_form/form_builder/date_picker_field.rb +1 -0
  71. data/app/pb_kits/playbook/pb_line_graph/_line_graph.html.erb +1 -13
  72. data/app/pb_kits/playbook/pb_line_graph/line_graph.rb +1 -1
  73. data/app/pb_kits/playbook/pb_person_contact/_person_contact.jsx +7 -6
  74. data/app/pb_kits/playbook/pb_person_contact/docs/_person_contact_with_wrong_numbers.jsx +1 -0
  75. data/app/pb_kits/playbook/pb_popover/_popover.scss +6 -4
  76. data/app/pb_kits/playbook/pb_popover/index.js +3 -1
  77. data/app/pb_kits/playbook/pb_progress_step/_progress_step.jsx +3 -0
  78. data/app/pb_kits/playbook/pb_progress_step/_progress_step.scss +168 -33
  79. data/app/pb_kits/playbook/pb_progress_step/_progress_step_item.html.erb +3 -1
  80. data/app/pb_kits/playbook/pb_progress_step/_progress_step_item.jsx +10 -8
  81. data/app/pb_kits/playbook/pb_progress_step/docs/_description.md +1 -1
  82. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.html.erb +14 -16
  83. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.jsx +6 -3
  84. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tracker.html.erb +17 -1
  85. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tracker.jsx +17 -1
  86. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_vertical.jsx +10 -3
  87. data/app/pb_kits/playbook/pb_progress_step/progress_step.rb +11 -1
  88. data/app/pb_kits/playbook/pb_progress_step/progress_step_item.rb +1 -1
  89. data/app/pb_kits/playbook/pb_table/docs/_table_action_middle.html.erb +34 -0
  90. data/app/pb_kits/playbook/pb_table/docs/_table_action_middle.jsx +68 -0
  91. data/app/pb_kits/playbook/pb_table/docs/_table_action_middle.md +2 -0
  92. data/app/pb_kits/playbook/pb_table/docs/_table_icon_buttons.html.erb +61 -0
  93. data/app/pb_kits/playbook/pb_table/docs/_table_icon_buttons.jsx +89 -0
  94. data/app/pb_kits/playbook/pb_table/docs/_table_icon_buttons.md +1 -0
  95. data/app/pb_kits/playbook/pb_table/docs/_table_one_action.html.erb +34 -0
  96. data/app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx +68 -0
  97. data/app/pb_kits/playbook/pb_table/docs/_table_one_action.md +2 -0
  98. data/app/pb_kits/playbook/pb_table/docs/_table_two_actions.html.erb +43 -0
  99. data/app/pb_kits/playbook/pb_table/docs/_table_two_actions.jsx +80 -0
  100. data/app/pb_kits/playbook/pb_table/docs/_table_two_actions.md +1 -0
  101. data/app/pb_kits/playbook/pb_table/docs/_table_two_plus_actions.html.erb +34 -0
  102. data/app/pb_kits/playbook/pb_table/docs/_table_two_plus_actions.jsx +63 -0
  103. data/app/pb_kits/playbook/pb_table/docs/_table_two_plus_actions.md +1 -0
  104. data/app/pb_kits/playbook/pb_table/docs/example.yml +12 -0
  105. data/app/pb_kits/playbook/pb_table/docs/index.js +6 -0
  106. data/app/pb_kits/playbook/pb_time/_time.html.erb +17 -20
  107. data/app/pb_kits/playbook/pb_time/_time.jsx +40 -27
  108. data/app/pb_kits/playbook/pb_time/_time.scss +4 -24
  109. data/app/pb_kits/playbook/pb_time/docs/_time_align.jsx +4 -1
  110. data/app/pb_kits/playbook/pb_time/docs/_time_default.html.erb +11 -11
  111. data/app/pb_kits/playbook/pb_time/docs/_time_default.jsx +13 -1
  112. data/app/pb_kits/playbook/pb_time/docs/_time_sizes.jsx +4 -1
  113. data/app/pb_kits/playbook/pb_time/docs/_time_timestamp.jsx +3 -1
  114. data/app/pb_kits/playbook/pb_time/docs/_time_timezone.jsx +7 -2
  115. data/app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.scss +5 -5
  116. data/app/pb_kits/playbook/pb_title_detail/_title_detail.jsx +4 -4
  117. data/app/pb_kits/playbook/pb_toggle/docs/_toggle_options.html.erb +10 -0
  118. data/app/pb_kits/playbook/pb_toggle/docs/example.yml +1 -0
  119. data/app/pb_kits/playbook/pb_toggle/toggle.rb +5 -2
  120. data/app/pb_kits/playbook/pb_typeahead/_typeahead.html.erb +24 -20
  121. data/app/pb_kits/playbook/pb_typeahead/_typeahead.jsx +19 -1
  122. data/app/pb_kits/playbook/pb_typeahead/components/MultiValue.jsx +8 -1
  123. data/app/pb_kits/playbook/pb_typeahead/components/Option.jsx +21 -13
  124. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default.html.erb +1 -1
  125. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_context_dark.html.erb +1 -1
  126. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.html.erb +25 -0
  127. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx +0 -3
  128. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.md +8 -0
  129. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.html.erb +30 -0
  130. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.md +11 -0
  131. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_users.html.erb +25 -0
  132. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_users.jsx +0 -3
  133. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_users.md +1 -0
  134. data/app/pb_kits/playbook/pb_typeahead/docs/example.yml +3 -0
  135. data/app/pb_kits/playbook/pb_typeahead/typeahead.rb +24 -1
  136. data/app/pb_kits/playbook/react_rails_kits.js +6 -0
  137. data/app/pb_kits/playbook/tokens/_colors.scss +22 -23
  138. data/app/pb_kits/playbook/tokens/_typography.scss +4 -4
  139. data/app/pb_kits/playbook/tokens/index.scss +11 -0
  140. data/app/pb_kits/playbook/vendor.js +8 -0
  141. data/lib/generators/kit/kit_generator.rb +1 -1
  142. data/lib/playbook/engine.rb +1 -0
  143. data/lib/playbook/version.rb +1 -1
  144. data/lib/tasks/changelog.rake +14 -0
  145. data/lib/tasks/pb_release.rake +14 -3
  146. metadata +35 -81
  147. data/app/controllers/playbook/guides_controller.rb +0 -11
  148. data/app/controllers/playbook/pages_controller.rb +0 -99
  149. data/app/controllers/playbook/samples_controller.rb +0 -40
  150. data/app/pb_kits/playbook/packs/application.js +0 -55
  151. data/app/pb_kits/playbook/packs/examples.js +0 -182
  152. data/app/pb_kits/playbook/packs/main.scss +0 -12
  153. data/app/pb_kits/playbook/packs/samples.js +0 -21
  154. data/app/pb_kits/playbook/packs/site_styles/_samples.scss +0 -72
  155. data/app/pb_kits/playbook/packs/site_styles/_scaffold.scss +0 -43
  156. data/app/pb_kits/playbook/packs/site_styles/_site-style.scss +0 -146
  157. data/app/pb_kits/playbook/packs/site_styles/docs/_all.scss +0 -10
  158. data/app/pb_kits/playbook/packs/site_styles/docs/_bg_light_doc_example.scss +0 -7
  159. data/app/pb_kits/playbook/packs/site_styles/docs/_code_snippet.scss +0 -531
  160. data/app/pb_kits/playbook/packs/site_styles/docs/_color_utilities.scss +0 -92
  161. data/app/pb_kits/playbook/packs/site_styles/docs/_flex_examples.scss +0 -15
  162. data/app/pb_kits/playbook/packs/site_styles/docs/_kit_doc.scss +0 -148
  163. data/app/pb_kits/playbook/packs/site_styles/docs/_kits_examples.scss +0 -15
  164. data/app/pb_kits/playbook/packs/site_styles/docs/_markdown.scss +0 -88
  165. data/app/pb_kits/playbook/packs/site_styles/docs/_spacing_tokens.scss +0 -72
  166. data/app/pb_kits/playbook/pb_background/_background.html.erb +0 -14
  167. data/app/pb_kits/playbook/pb_background/_background.jsx +0 -64
  168. data/app/pb_kits/playbook/pb_background/_background.scss +0 -15
  169. data/app/pb_kits/playbook/pb_background/background.rb +0 -36
  170. data/app/pb_kits/playbook/pb_background/docs/_background_default.html.erb +0 -41
  171. data/app/pb_kits/playbook/pb_background/docs/_background_default.jsx +0 -75
  172. data/app/pb_kits/playbook/pb_background/docs/example.yml +0 -8
  173. data/app/pb_kits/playbook/pb_background/docs/index.js +0 -1
  174. data/app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_vertical.html.erb +0 -11
  175. data/app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_vertical.jsx +0 -29
  176. data/app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_vertical_secondary.html.erb +0 -11
  177. data/app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_vertical_secondary.jsx +0 -34
  178. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_allow_input.html.erb +0 -4
  179. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_allow_input.jsx +0 -13
  180. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_allow_input.md +0 -1
  181. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_dark.html.erb +0 -4
  182. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_dark.jsx +0 -13
  183. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_summary.jsx +0 -45
  184. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_summary.jsx +0 -27
  185. data/app/views/layouts/playbook/_mobile_hamburger.html.erb +0 -2
  186. data/app/views/layouts/playbook/_nav.html.erb +0 -37
  187. data/app/views/layouts/playbook/_sidebar.html.erb +0 -51
  188. data/app/views/layouts/playbook/application.html.erb +0 -26
  189. data/app/views/layouts/playbook/fullscreen.html.slim +0 -10
  190. data/app/views/layouts/playbook/grid.html.slim +0 -10
  191. data/app/views/layouts/playbook/samples.html.erb +0 -19
  192. data/app/views/playbook/guides/create_kit.html.slim +0 -16
  193. data/app/views/playbook/guides/create_kit/_file_naming.html.md +0 -2
  194. data/app/views/playbook/guides/create_kit/_generator.html.md +0 -6
  195. data/app/views/playbook/guides/create_kit/_kit_examples.html.md +0 -2
  196. data/app/views/playbook/guides/create_kit/_kit_rails.html.md +0 -2
  197. data/app/views/playbook/guides/create_kit/_kit_react.html.md +0 -2
  198. data/app/views/playbook/guides/create_kit/_layout.html.md +0 -2
  199. data/app/views/playbook/guides/create_kit/_view_objects.html.md +0 -2
  200. data/app/views/playbook/guides/create_kit/_writing_sass.md +0 -10
  201. data/app/views/playbook/guides/use_nitro.html.slim +0 -6
  202. data/app/views/playbook/guides/use_nitro/_local.html.md +0 -2
  203. data/app/views/playbook/guides/use_nitro/_nitro_components.html.md +0 -2
  204. data/app/views/playbook/guides/use_nitro/_versions.html.md +0 -2
  205. data/app/views/playbook/pages/fullscreen.html.slim +0 -10
  206. data/app/views/playbook/pages/grid.html.slim +0 -2
  207. data/app/views/playbook/pages/home.html.slim +0 -4
  208. data/app/views/playbook/pages/kit_category_show.html.erb +0 -14
  209. data/app/views/playbook/pages/kit_show.html.erb +0 -33
  210. data/app/views/playbook/pages/kits.html.erb +0 -12
  211. data/app/views/playbook/pages/principals/_getting_started.html.md +0 -30
  212. data/app/views/playbook/pages/principles.html.slim +0 -3
  213. data/app/views/playbook/pages/tokens.html.slim +0 -15
  214. data/app/views/playbook/pages/tokens/_pb_doc_spacing.html.slim +0 -61
  215. data/app/views/playbook/pages/utilities.html.slim +0 -116
  216. data/app/views/playbook/pages/utilities/_pb_doc_color.html.slim +0 -15
  217. data/app/views/playbook/samples/collection_detail/index.html.erb +0 -169
  218. data/app/views/playbook/samples/collection_detail/index.jsx +0 -372
  219. data/app/views/playbook/samples/dashboards/index.html.erb +0 -81
  220. data/app/views/playbook/samples/dashboards/index.jsx +0 -130
  221. data/app/views/playbook/samples/filter_table/index.html.erb +0 -348
  222. data/app/views/playbook/samples/filter_table/index.jsx +0 -433
  223. data/app/views/playbook/samples/registration/index.html.erb +0 -316
  224. data/app/views/playbook/samples/registration/index.jsx +0 -476
  225. data/app/views/playbook/samples/sample_show.html.erb +0 -36
@@ -1,116 +0,0 @@
1
- = pb_rails("title", props: { text: "Utilities", tag: "h1", size: 1 })
2
-
3
- br
4
- = pb_rails("title", props: { text: "Colors", tag: "h3", size: 3 })
5
-
6
- // Text ----------------------------
7
- = render :partial => "playbook/pages/utilities/pb_doc_color",
8
- locals:{ title: "Text Colors",
9
- usage: "Used for text",
10
- colors: [{name: "Default", variable: "text_lt_default"},
11
- {name: "Light", variable: "text_lt_light"},
12
- {name: "Lighter", variable: "text_lt_lighter"},
13
- {name: "Default Dk", variable: "text_dk_default", dark: true},
14
- {name: "Light Dk", variable: "text_dk_light", dark: true},
15
- {name: "Lighter Dk", variable: "text_dk_lighter", dark: true}]}
16
-
17
- // Backgrounds ---------------------
18
- = render :partial => "playbook/pages/utilities/pb_doc_color",
19
- locals:{ title: "Backgrounds",
20
- usage: "Used for backgrounds",
21
- colors: [{name: "Bg Light", variable: "bg_light"},
22
- {name: "Bg Dark", variable: "bg_dark"},
23
- {name: "Bg Gradient", class: "bg_gradient"}]}
24
-
25
- // Cards ---------------------------
26
- = render :partial => "playbook/pages/utilities/pb_doc_color",
27
- locals:{ title: "Cards",
28
- usage: "Used for card backgrounds",
29
- colors: [{name: "Card Light", variable: "card_light"},
30
- {name: "Card Dark", variable: "card_dark", dark: true}]}
31
-
32
- // Status --------------------------
33
- = render :partial => "playbook/pages/utilities/pb_doc_color",
34
- locals:{ title: "Status",
35
- usage: "Used for status indicators",
36
- colors: [{name: "Success", variable: "success"},
37
- {name: "Warning", variable: "warning"},
38
- {name: "Error", variable: "error"},
39
- {name: "Info", variable: "info"},
40
- {name: "Neutral", variable: "neutral"}]}
41
-
42
- // Data ----------------------------
43
- = render :partial => "playbook/pages/utilities/pb_doc_color",
44
- locals:{ title: "Data",
45
- usage: "Used in graphs, charts and stats",
46
- colors: [{name: "Data 1", variable: "data_1"},
47
- {name: "Data 2", variable: "data_2"},
48
- {name: "Data 3", variable: "data_3"},
49
- {name: "Data 4", variable: "data_4"},
50
- {name: "Data 5", variable: "data_5"},
51
- {name: "Data 6", variable: "data_6"},
52
- {name: "Data 7", variable: "data_7"},
53
- {name: "Data 8", variable: "data_8"}]}
54
-
55
- // Actions -------------------------
56
- = render :partial => "playbook/pages/utilities/pb_doc_color",
57
- locals:{ title: "Actions",
58
- usage: "Used for links and action buttons",
59
- colors: [{name: "Primary", variable: "primary_action"}]}
60
-
61
- // Active --------------------------
62
- = render :partial => "playbook/pages/utilities/pb_doc_color",
63
- locals:{ title: "Active",
64
- usage: "Used for active or selected states",
65
- colors: [{name: "Active Light", variable: "active_light"},
66
- {name: "Active Dark", variable: "active_dark", dark: true}]}
67
-
68
- // Border --------------------------
69
- = render :partial => "playbook/pages/utilities/pb_doc_color",
70
- locals:{ title: "Border",
71
- colors: [{name: "Border Light", variable: "border_light"},
72
- {name: "Border Dark", variable: "border_dark", dark: true}]}
73
-
74
- // Shadow --------------------------
75
- = render :partial => "playbook/pages/utilities/pb_doc_color",
76
- locals:{ title: "Shadow",
77
- colors: [{name: "Shadow", variable: "shadow"}]}
78
-
79
- // Products ------------------------
80
- = render :partial => "playbook/pages/utilities/pb_doc_color",
81
- locals:{ title: "Product Colors",
82
- usage: "Used for specific product indicators",
83
- colors: [{name: "Windows", variable: "windows"},
84
- {name: "Siding", variable: "siding"},
85
- {name: "Doors", variable: "doors"},
86
- {name: "Solar", variable: "solar"},
87
- {name: "Roofing", variable: "roofing"},
88
- {name: "Gutters", variable: "gutters"},
89
- {name: "Attic Insulation", variable: "insulation"}]}
90
-
91
- // Category ------------------------
92
- = render :partial => "playbook/pages/utilities/pb_doc_color",
93
- locals:{ title: "Category Colors",
94
- usage: "Used for categorization",
95
- colors: [{name: "Category 1", variable: "category_1"},
96
- {name: "Category 2", variable: "category_2"},
97
- {name: "Category 3", variable: "category_3"},
98
- {name: "Category 4", variable: "category_4"},
99
- {name: "Category 5", variable: "category_5"},
100
- {name: "Category 6", variable: "category_6"},
101
- {name: "Category 7", variable: "category_7"},
102
- {name: "Category 8", variable: "category_8"},
103
- {name: "Category 9", variable: "category_9"},
104
- {name: "Category 10", variable: "category_10"},
105
- {name: "Category 11", variable: "category_11"},
106
- {name: "Category 12", variable: "category_12"},
107
- {name: "Category 13", variable: "category_13"},
108
- {name: "Category 14", variable: "category_14"},
109
- {name: "Category 15", variable: "category_15"},
110
- {name: "Category 16", variable: "category_16"},
111
- {name: "Category 17", variable: "category_17"},
112
- {name: "Category 18", variable: "category_18"},
113
- {name: "Category 19", variable: "category_19"},
114
- {name: "Category 20", variable: "category_20"},
115
- {name: "Category 21", variable: "category_21"}]}
116
-
@@ -1,15 +0,0 @@
1
-
2
- br
3
- = pb_rails("title", props: { text: title, tag: "h4", size: 4 })
4
- - if defined?(usage) && usage.present?
5
- = pb_rails("body", props: {"tag": "p"})
6
- usage
7
-
8
- ul.pb--utlities-color
9
- - colors.each do |item|
10
- - variable = (defined?(item[:variable]) && !item[:variable].nil?) ? "$#{item[:variable]}" : ""
11
- - item[:dark] ||= false
12
- - item[:class] ||= item[:variable]
13
-
14
- li class=(item[:dark] == true ? "dark" : "") data-name="#{item[:name]}" data-variable="#{variable}"
15
- div class="pb--color_#{item[:class]}"
@@ -1,169 +0,0 @@
1
- <%= pb_rails("layout", props: {position: "left", size: "sm", collapse: "md", layout: "collection_detail" }) do %>
2
- <%= pb_rails("layout/sidebar") do %>
3
- <%= pb_rails("card", props: { padding: "none" }) do %>
4
- <%= pb_rails("caption", props: { text: "News Stories", size: 'lg', margin: "md" }) %>
5
- <%= pb_rails("section_separator") %>
6
- <%= pb_rails("nav", props: {link: "#", padding_top:"sm" }) do %>
7
- <%= pb_rails("nav/item", props: { text: "All News", link: "#" }) %>
8
- <%= pb_rails("nav/item", props: { text: "Top Stories", link: "#" }) %>
9
- <%= pb_rails("nav/item", props: { text: "National", link: "#", active: true }) %>
10
- <%= pb_rails("nav", props: {variant: "subtle", highlight: false }) do %>
11
- <%= pb_rails("nav/item", props: { text: "All", link: "#", active: true }) %>
12
- <%= pb_rails("nav/item", props: { text: "Planet Money", link: "#" }) %>
13
- <%= pb_rails("nav/item", props: { text: "Books", link: "#" }) %>
14
- <%= pb_rails("nav/item", props: { text: "Books, News, and Features", link: "#" }) %>
15
- <%= pb_rails("nav/item", props: { text: "Science", link: "#" }) %>
16
- <%= pb_rails("nav/item", props: { text: "Politics", link: "#" }) %>
17
- <%= pb_rails("nav/item", props: { text: "National Security", link: "#" }) %>
18
- <%= pb_rails("nav/item", props: { text: "Environment", link: "#" }) %>
19
- <%= pb_rails("nav/item", props: { text: "Shots - Health News", link: "#" }) %>
20
- <%= pb_rails("nav/item", props: { text: "Analysis", link: "#" }) %>
21
- <% end %>
22
- <%= pb_rails("nav/item", props: { text: "World", link: "#" }) %>
23
- <% end %>
24
- <% end %>
25
- <% end %>
26
-
27
- <%= pb_rails("layout/body") do %>
28
- <!-- START PLANET MONEY CARD -->
29
- <%= pb_rails("card", props: { padding: "none", header: true}) do %>
30
- <%= pb_rails("card/card_header", props: { padding: "sm" }) do %>
31
- <%= pb_rails("caption", props: { text: "Planet Money", dark: true }) %>
32
- <% end %>
33
- <%= pb_rails("card/card_body", props: { padding: "none" }) do %>
34
- <%= pb_rails("image", props: { url: "https://djenjyj46f9j9.cloudfront.net/items/292f0C2i3f2z2f2A0P0n/Screen%20Shot%202020-07-09%20at%201.23.31%20PM.png?X-CloudApp-Visitor-Id=3399053&v=ed16c3c4" }) %>
35
- <%= pb_rails("title", props: { text: "Where’d the Money Go, and Other Questions", tag: "h4", size: 4, padding: "sm" }) %>
36
- <%= pb_rails("section_separator") %>
37
- <%= pb_rails("flex", props: { padding: "sm", wrap: true }) do %>
38
- <%= pb_rails("body", props: {classname: "flex-item", margin_right: "md" }) do %>
39
- <%= pb_rails("icon_value", props: { icon: "share-alt", text: "391" }) %>
40
- <% end %>
41
- <%= pb_rails("body", props: {classname: "flex-item", margin_right: "md" }) do %>
42
- <%= pb_rails("icon_value", props: { icon: "eye", text: "2,039" }) %>
43
- <% end %>
44
- <%= pb_rails("body", props: {classname: "flex-item" }) do %>
45
- <%= pb_rails("icon_value", props: { icon: "comments", text: "89" }) %>
46
- <% end %>
47
- <% end %>
48
- <% end %>
49
- <% end %>
50
- <!-- END PLANET MONEY CARD -->
51
- <!-- START WORLD CARD -->
52
- <%= pb_rails("card", props: { padding: "none", header: true}) do %>
53
- <%= pb_rails("card/card_header", props: { padding: "sm", category_color: 2 }) do %>
54
- <%= pb_rails("caption", props: { text: "World", dark: true }) %>
55
- <% end %>
56
- <%= pb_rails("card/card_body", props: { padding: "none" }) do %>
57
- <%= pb_rails("image", props: { url: "https://djenjyj46f9j9.cloudfront.net/items/0n07340O0c3R0V0L1V0P/Screen%20Shot%202020-07-09%20at%201.41.26%20PM.png?X-CloudApp-Visitor-Id=3399053&v=b532b3f0" }) %>
58
- <%= pb_rails("title", props: { text: "U.K. Willing To Admit 3 Million If China Adopts Security Law", tag: "h4", size: 4, padding: "sm" }) %>
59
- <%= pb_rails("section_separator") %>
60
- <%= pb_rails("flex", props: { padding: "sm", wrap: true }) do %>
61
- <%= pb_rails("body", props: {classname: "flex-item", margin_right: "md" }) do %>
62
- <%= pb_rails("icon_value", props: { icon: "share-alt", text: "304" }) %>
63
- <% end %>
64
- <%= pb_rails("body", props: {classname: "flex-item", margin_right: "md" }) do %>
65
- <%= pb_rails("icon_value", props: { icon: "eye", text: "5,032" }) %>
66
- <% end %>
67
- <%= pb_rails("body", props: {classname: "flex-item" }) do %>
68
- <%= pb_rails("icon_value", props: { icon: "comments", text: "102" }) %>
69
- <% end %>
70
- <% end %>
71
- <% end %>
72
- <% end %>
73
- <!-- END WORLD CARD -->
74
- <!-- START BOOKS CARD -->
75
- <%= pb_rails("card", props: { padding: "none", header: true}) do %>
76
- <%= pb_rails("card/card_header", props: { padding: "sm", category_color: 3 }) do %>
77
- <%= pb_rails("caption", props: { text: "Books", dark: true }) %>
78
- <% end %>
79
- <%= pb_rails("card/card_body", props: { padding: "none" }) do %>
80
- <%= pb_rails("image", props: { url: "https://djenjyj46f9j9.cloudfront.net/items/1j2k1g3f2H2W2f1v3225/Screen%20Shot%202020-07-09%20at%201.42.32%20PM.png?X-CloudApp-Visitor-Id=3399053&v=2ab46cb6" }) %>
81
- <%= pb_rails("title", props: { text: "Opinion: Harry Potter's Magic Fades When His Creator Tweets", tag: "h4", size: 4, padding: "sm" }) %>
82
- <%= pb_rails("section_separator") %>
83
- <%= pb_rails("flex", props: { padding: "sm", wrap: true }) do %>
84
- <%= pb_rails("body", props: {classname: "flex-item", margin_right: "md" }) do %>
85
- <%= pb_rails("icon_value", props: { icon: "share-alt", text: "201" }) %>
86
- <% end %>
87
- <%= pb_rails("body", props: {classname: "flex-item", margin_right: "md" }) do %>
88
- <%= pb_rails("icon_value", props: { icon: "eye", text: "890" }) %>
89
- <% end %>
90
- <%= pb_rails("body", props: {classname: "flex-item" }) do %>
91
- <%= pb_rails("icon_value", props: { icon: "comments", text: "2" }) %>
92
- <% end %>
93
- <% end %>
94
- <% end %>
95
- <% end %>
96
- <!-- END BOOKS CARD -->
97
- <!-- START NATIONAL CARD -->
98
- <%= pb_rails("card", props: { padding: "none", header: true}) do %>
99
- <%= pb_rails("card/card_header", props: { padding: "sm", category_color: 4 }) do %>
100
- <%= pb_rails("caption", props: { text: "National", dark: true }) %>
101
- <% end %>
102
- <%= pb_rails("card/card_body", props: { padding: "none" }) do %>
103
- <%= pb_rails("image", props: { url: "https://djenjyj46f9j9.cloudfront.net/items/2j0G2k3I0f3W3a2c2q3o/Screen%20Shot%202020-07-09%20at%201.43.40%20PM.png?X-CloudApp-Visitor-Id=3399053&v=d2667a0b" }) %>
104
- <%= pb_rails("title", props: { text: "1st U.S. Woman To Walk In Space Dives To Deepest Point In Ocean", tag: "h4", size: 4, padding: "sm" }) %>
105
- <%= pb_rails("section_separator") %>
106
- <%= pb_rails("flex", props: { padding: "sm", wrap: true }) do %>
107
- <%= pb_rails("body", props: {classname: "flex-item", margin_right: "md" }) do %>
108
- <%= pb_rails("icon_value", props: { icon: "share-alt", text: "245" }) %>
109
- <% end %>
110
- <%= pb_rails("body", props: {classname: "flex-item", margin_right: "md" }) do %>
111
- <%= pb_rails("icon_value", props: { icon: "eye", text: "10,302" }) %>
112
- <% end %>
113
- <%= pb_rails("body", props: {classname: "flex-item" }) do %>
114
- <%= pb_rails("icon_value", props: { icon: "comments", text: "89" }) %>
115
- <% end %>
116
- <% end %>
117
- <% end %>
118
- <% end %>
119
- <!-- END NATIONAL CARD -->
120
- <!-- START BOOKS, NEWS, AND FEATURES CARD -->
121
- <%= pb_rails("card", props: { padding: "none", header: true}) do %>
122
- <%= pb_rails("card/card_header", props: { padding: "sm", category_color: 5 }) do %>
123
- <%= pb_rails("caption", props: { text: "Books, News, and Features", dark: true }) %>
124
- <% end %>
125
- <%= pb_rails("card/card_body", props: { padding: "none" }) do %>
126
- <%= pb_rails("image", props: { url: "https://djenjyj46f9j9.cloudfront.net/items/0m353s3A3I3B0w3N3W2U/Screen%20Shot%202020-07-09%20at%201.44.30%20PM.png?X-CloudApp-Visitor-Id=3399053&v=5b24787c" }) %>
127
- <%= pb_rails("title", props: { text: "Publishers Sue Internet Archive For Mass Copyright Infringement", tag: "h4", size: 4, padding: "sm" }) %>
128
- <%= pb_rails("section_separator") %>
129
- <%= pb_rails("flex", props: { padding: "sm", wrap: true }) do %>
130
- <%= pb_rails("body", props: {classname: "flex-item", margin_right: "md" }) do %>
131
- <%= pb_rails("icon_value", props: { icon: "share-alt", text: "84" }) %>
132
- <% end %>
133
- <%= pb_rails("body", props: {classname: "flex-item", margin_right: "md" }) do %>
134
- <%= pb_rails("icon_value", props: { icon: "eye", text: "5,592" }) %>
135
- <% end %>
136
- <%= pb_rails("body", props: {classname: "flex-item" }) do %>
137
- <%= pb_rails("icon_value", props: { icon: "comments", text: "104" }) %>
138
- <% end %>
139
- <% end %>
140
- <% end %>
141
- <% end %>
142
- <!-- END BOOKS, NEWS, AND FEATURES CARD -->
143
- <!-- START SCIENCE CARD -->
144
- <%= pb_rails("card", props: { padding: "none", header: true}) do %>
145
- <%= pb_rails("card/card_header", props: { padding: "sm", category_color: 6 }) do %>
146
- <%= pb_rails("caption", props: { text: "Science", dark: true }) %>
147
- <% end %>
148
- <%= pb_rails("card/card_body", props: { padding: "none" }) do %>
149
- <%= pb_rails("image", props: { url: "https://djenjyj46f9j9.cloudfront.net/items/0n1b1V1F4614343t3547/Screen%20Shot%202020-07-09%20at%201.45.26%20PM.png?X-CloudApp-Visitor-Id=3399053&v=a3cc4d20" }) %>
150
- <%= pb_rails("title", props: { text: "New Book Argues Migration Isn’t A Crisis — It’s The Solution", tag: "h4", size: 4, padding: "sm" }) %>
151
- <%= pb_rails("section_separator") %>
152
- <%= pb_rails("flex", props: { padding: "sm", wrap: true }) do %>
153
- <%= pb_rails("body", props: {classname: "flex-item", margin_right: "md" }) do %>
154
- <%= pb_rails("icon_value", props: { icon: "share-alt", text: "54" }) %>
155
- <% end %>
156
- <%= pb_rails("body", props: {classname: "flex-item", margin_right: "md" }) do %>
157
- <%= pb_rails("icon_value", props: { icon: "eye", text: "3,982" }) %>
158
- <% end %>
159
- <%= pb_rails("body", props: {classname: "flex-item" }) do %>
160
- <%= pb_rails("icon_value", props: { icon: "comments", text: "12" }) %>
161
- <% end %>
162
- <% end %>
163
- <% end %>
164
- <% end %>
165
- <!-- END SCIENCE CARD -->
166
- <% end %>
167
- <% end %>
168
-
169
-
@@ -1,372 +0,0 @@
1
- import React from 'react'
2
- import { Caption, Card, Flex, FlexItem, IconValue, Image, Layout, Nav, NavItem, SectionSeparator, Title } from '../../../../pb_kits/playbook'
3
-
4
- const CollectionDetail = () => (
5
- <div>
6
-
7
- <Layout
8
- layout="collection_detail"
9
- padding="lg"
10
- >
11
- <Card padding="none">
12
- <Caption
13
- padding="md"
14
- size="lg"
15
- text="News Stories"
16
- />
17
- <SectionSeparator />
18
- {
19
- <Nav
20
- link="#"
21
- marginTop="sm"
22
- orientation="vertical"
23
- >
24
- <NavItem
25
- link="#"
26
- text="All News"
27
- />
28
- <NavItem
29
- link="#"
30
- text="Top Stories"
31
- />
32
- <NavItem
33
- active
34
- link="#"
35
- text="National"
36
- />
37
- <Nav variant="subtle">
38
- <NavItem
39
- active
40
- link="#"
41
- text="All"
42
- />
43
- <NavItem
44
- link="#"
45
- text="Planet Money"
46
- />
47
- <NavItem
48
- link="#"
49
- text="Books"
50
- />
51
- <NavItem
52
- link="#"
53
- text="Books, News, and Features"
54
- />
55
- <NavItem
56
- link="#"
57
- text="Science"
58
- />
59
- <NavItem
60
- link="#"
61
- text="Politics"
62
- />
63
- <NavItem
64
- link="#"
65
- text="National Security"
66
- />
67
- <NavItem
68
- link="#"
69
- text="Environment"
70
- />
71
- <NavItem
72
- link="#"
73
- text="Shots - Health News"
74
- />
75
- <NavItem
76
- link="#"
77
- text="Analysis"
78
- />
79
- </Nav>
80
- <NavItem
81
- link="#"
82
- text="Files"
83
- />
84
- </Nav>
85
- }
86
- </Card>
87
-
88
- <Layout.Body>
89
- {/* START PLANET MONEY */}
90
- <Card padding="none">
91
- <Card.Header>
92
- <Caption
93
- dark
94
- text="Planet Money"
95
- />
96
- </Card.Header>
97
- <Card.Body padding="none">
98
- <Image url="https://djenjyj46f9j9.cloudfront.net/items/292f0C2i3f2z2f2A0P0n/Screen%20Shot%202020-07-09%20at%201.23.31%20PM.png?X-CloudApp-Visitor-Id=3399053&v=ed16c3c4" />
99
- <Title
100
- paddingLeft="sm"
101
- paddingTop="sm"
102
- size={4}
103
- tag="h4"
104
- text="Where’d the Money Go, and Other Questions"
105
- />
106
- <SectionSeparator paddingY="sm" />
107
- <Flex
108
- orientation="row"
109
- paddingBottom="sm"
110
- paddingX="sm"
111
- wrap
112
- >
113
- <FlexItem paddingRight="sm">
114
- { <IconValue
115
- icon="share-alt"
116
- text="391"
117
- /> }
118
- </FlexItem>
119
- <FlexItem paddingRight="sm">
120
- { <IconValue
121
- icon="eye"
122
- text="2,039"
123
- /> }
124
- </FlexItem>
125
- <FlexItem>
126
- { <IconValue
127
- icon="comments"
128
- text="89"
129
- /> }
130
- </FlexItem>
131
- </Flex>
132
- </Card.Body>
133
- </Card>
134
- {/* END PLANET MONEY */}
135
- {/* START WORLD CARD */}
136
- <Card padding="none">
137
- <Card.Header categoryColor={2}>
138
- <Caption
139
- dark
140
- text="World"
141
- />
142
- </Card.Header>
143
- <Card.Body padding="none">
144
- <Image url="https://djenjyj46f9j9.cloudfront.net/items/0n07340O0c3R0V0L1V0P/Screen%20Shot%202020-07-09%20at%201.41.26%20PM.png?X-CloudApp-Visitor-Id=3399053&v=b532b3f0" />
145
- <Title
146
- paddingLeft="sm"
147
- paddingTop="sm"
148
- size={4}
149
- tag="h4"
150
- text="U.K. Willing To Admit 3 Million If China Adopts Security Law"
151
- />
152
- <SectionSeparator paddingY="sm" />
153
- <Flex
154
- orientation="row"
155
- paddingBottom="sm"
156
- paddingX="sm"
157
- wrap
158
- >
159
- <FlexItem paddingRight="sm">
160
- { <IconValue
161
- icon="share-alt"
162
- text="304"
163
- /> }
164
- </FlexItem>
165
- <FlexItem paddingRight="sm">
166
- { <IconValue
167
- icon="eye"
168
- text="5,032"
169
- /> }
170
- </FlexItem>
171
- <FlexItem>
172
- { <IconValue
173
- icon="comments"
174
- text="102"
175
- /> }
176
- </FlexItem>
177
- </Flex>
178
- </Card.Body>
179
- </Card>
180
- {/* END WORLD CARD */}
181
- {/* START BOOKS CARD */}
182
- <Card padding="none">
183
- <Card.Header categoryColor={3}>
184
- <Caption
185
- dark
186
- text="Books"
187
- />
188
- </Card.Header>
189
- <Card.Body padding="none">
190
- <Image url="https://djenjyj46f9j9.cloudfront.net/items/1j2k1g3f2H2W2f1v3225/Screen%20Shot%202020-07-09%20at%201.42.32%20PM.png?X-CloudApp-Visitor-Id=3399053&v=2ab46cb6" />
191
- <Title
192
- paddingLeft="sm"
193
- paddingTop="sm"
194
- size={4}
195
- tag="h4"
196
- text="Opinion: Harry Potter's Magic Fades When His Creator Tweets"
197
- />
198
- <SectionSeparator paddingY="sm" />
199
- <Flex
200
- orientation="row"
201
- paddingBottom="sm"
202
- paddingX="sm"
203
- wrap
204
- >
205
- <FlexItem paddingRight="sm">
206
- { <IconValue
207
- icon="share-alt"
208
- text="201"
209
- /> }
210
- </FlexItem>
211
- <FlexItem paddingRight="sm">
212
- { <IconValue
213
- icon="eye"
214
- text="890"
215
- /> }
216
- </FlexItem>
217
- <FlexItem>
218
- { <IconValue
219
- icon="comments"
220
- text="2"
221
- /> }
222
- </FlexItem>
223
- </Flex>
224
- </Card.Body>
225
- </Card>
226
- {/* END BOOKS CARD */}
227
- {/* START NATIONAL CARD */}
228
- <Card padding="none">
229
- <Card.Header categoryColor={4}>
230
- <Caption
231
- dark
232
- text="National"
233
- />
234
- </Card.Header>
235
- <Card.Body padding="none">
236
- <Image url="https://djenjyj46f9j9.cloudfront.net/items/2j0G2k3I0f3W3a2c2q3o/Screen%20Shot%202020-07-09%20at%201.43.40%20PM.png?X-CloudApp-Visitor-Id=3399053&v=d2667a0b" />
237
- <Title
238
- paddingTop="sm"
239
- paddingX="sm"
240
- size={4}
241
- tag="h4"
242
- text="1st U.S. Woman To Walk In Space Dives To Deepest Point In Ocean"
243
- />
244
- <SectionSeparator paddingY="sm" />
245
- <Flex
246
- orientation="row"
247
- paddingBottom="sm"
248
- paddingX="sm"
249
- wrap
250
- >
251
- <FlexItem paddingRight="sm">
252
- { <IconValue
253
- icon="share-alt"
254
- text="245"
255
- /> }
256
- </FlexItem>
257
- <FlexItem paddingRight="sm">
258
- { <IconValue
259
- icon="eye"
260
- text="10,302"
261
- /> }
262
- </FlexItem>
263
- <FlexItem>
264
- { <IconValue
265
- icon="comments"
266
- text="89"
267
- /> }
268
- </FlexItem>
269
- </Flex>
270
- </Card.Body>
271
- </Card>
272
- {/* END NATIONAL CARD */}
273
- {/* START BOOKS, NEWS, AND FEATURES CARD */}
274
- <Card padding="none">
275
- <Card.Header categoryColor={5}>
276
- <Caption
277
- dark
278
- text="Books, News, and Features"
279
- />
280
- </Card.Header>
281
- <Card.Body padding="none">
282
- <Image url="https://djenjyj46f9j9.cloudfront.net/items/0m353s3A3I3B0w3N3W2U/Screen%20Shot%202020-07-09%20at%201.44.30%20PM.png?X-CloudApp-Visitor-Id=3399053&v=5b24787c" />
283
- <Title
284
- paddingLeft="sm"
285
- paddingTop="sm"
286
- size={4}
287
- tag="h4"
288
- text="Publishers Sue Internet Archive For Mass Copyright Infringement"
289
- />
290
- <SectionSeparator paddingY="sm" />
291
- <Flex
292
- orientation="row"
293
- paddingBottom="sm"
294
- paddingX="sm"
295
- wrap
296
- >
297
- <FlexItem paddingRight="sm">
298
- { <IconValue
299
- icon="share-alt"
300
- text="84"
301
- /> }
302
- </FlexItem>
303
- <FlexItem paddingRight="sm">
304
- { <IconValue
305
- icon="eye"
306
- text="5,592"
307
- /> }
308
- </FlexItem>
309
- <FlexItem>
310
- { <IconValue
311
- icon="comments"
312
- text="104"
313
- /> }
314
- </FlexItem>
315
- </Flex>
316
- </Card.Body>
317
- </Card>
318
- {/* END BOOKS, NEWS, AND FEATURES CARD */}
319
- {/* START SCIENCE CARD */}
320
- <Card padding="none">
321
- <Card.Header categoryColor={6}>
322
- <Caption
323
- dark
324
- text="Science"
325
- />
326
- </Card.Header>
327
- <Card.Body padding="none">
328
- <Image url="https://djenjyj46f9j9.cloudfront.net/items/0n1b1V1F4614343t3547/Screen%20Shot%202020-07-09%20at%201.45.26%20PM.png?X-CloudApp-Visitor-Id=3399053&v=a3cc4d20" />
329
- <Title
330
- paddingLeft="sm"
331
- paddingTop="sm"
332
- size={4}
333
- tag="h4"
334
- text="New Book Argues Migration Isn’t A Crisis — It’s The Solution"
335
- />
336
- <SectionSeparator paddingY="sm" />
337
- <Flex
338
- orientation="row"
339
- paddingBottom="sm"
340
- paddingX="sm"
341
- wrap
342
- >
343
- <FlexItem paddingRight="sm">
344
- { <IconValue
345
- icon="share-alt"
346
- text="54"
347
- /> }
348
- </FlexItem>
349
- <FlexItem paddingRight="sm">
350
- { <IconValue
351
- icon="eye"
352
- text="3,982"
353
- /> }
354
- </FlexItem>
355
- <FlexItem>
356
- { <IconValue
357
- icon="comments"
358
- text="12"
359
- /> }
360
- </FlexItem>
361
- </Flex>
362
- </Card.Body>
363
- </Card>
364
- {/* END SCIENCE CARD */}
365
-
366
- </Layout.Body>
367
-
368
- </Layout>
369
-
370
- </div>
371
- )
372
- export default CollectionDetail