playbook_ui 13.14.0.pre.alpha.play1101betaicons1825 → 13.14.0.pre.alpha.play1106filter1748

Sign up to get free protection for your applications and to get access to all the features.
Files changed (207) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/_playbook.scss +0 -1
  3. data/app/pb_kits/playbook/index.js +1 -2
  4. data/app/pb_kits/playbook/pb_avatar/_avatar.tsx +5 -5
  5. data/app/pb_kits/playbook/pb_avatar_action_button/_avatar_action_button.tsx +3 -3
  6. data/app/pb_kits/playbook/pb_background/_background.tsx +9 -9
  7. data/app/pb_kits/playbook/pb_badge/_badge.tsx +2 -2
  8. data/app/pb_kits/playbook/pb_bar_graph/_bar_graph.tsx +3 -3
  9. data/app/pb_kits/playbook/pb_body/_body.scss +5 -0
  10. data/app/pb_kits/playbook/pb_body/_body.tsx +9 -5
  11. data/app/pb_kits/playbook/pb_body/_body_mixins.scss +20 -0
  12. data/app/pb_kits/playbook/pb_body/body.rb +8 -1
  13. data/app/pb_kits/playbook/pb_bread_crumbs/_bread_crumb_item.tsx +4 -3
  14. data/app/pb_kits/playbook/pb_bread_crumbs/_bread_crumbs.tsx +3 -3
  15. data/app/pb_kits/playbook/pb_button/_button.tsx +37 -40
  16. data/app/pb_kits/playbook/pb_button/docs/_button_props_swift.md +0 -11
  17. data/app/pb_kits/playbook/pb_button/docs/example.yml +0 -1
  18. data/app/pb_kits/playbook/pb_button_toolbar/_button_toolbar.tsx +3 -3
  19. data/app/pb_kits/playbook/pb_caption/_caption.tsx +1 -1
  20. data/app/pb_kits/playbook/pb_card/_card.tsx +2 -2
  21. data/app/pb_kits/playbook/pb_card/docs/_card_background.jsx +4 -5
  22. data/app/pb_kits/playbook/pb_checkbox/_checkbox.tsx +3 -3
  23. data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.tsx +9 -9
  24. data/app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.tsx +1 -1
  25. data/app/pb_kits/playbook/pb_collapsible/_collapsible.tsx +7 -5
  26. data/app/pb_kits/playbook/pb_collapsible/_helper_functions.ts +2 -2
  27. data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleContent.tsx +4 -5
  28. data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleMain.tsx +12 -16
  29. data/app/pb_kits/playbook/pb_contact/_contact.tsx +3 -3
  30. data/app/pb_kits/playbook/pb_currency/_currency.tsx +2 -2
  31. data/app/pb_kits/playbook/pb_dashboard/pbChartsColorsHelper.ts +1 -1
  32. data/app/pb_kits/playbook/pb_dashboard/pbChartsDarkTheme.ts +57 -4
  33. data/app/pb_kits/playbook/pb_dashboard/pbChartsLightTheme.ts +57 -4
  34. data/app/pb_kits/playbook/pb_dashboard/themeTypes.ts +16 -20
  35. data/app/pb_kits/playbook/pb_dashboard_value/_dashboard_value.tsx +1 -1
  36. data/app/pb_kits/playbook/pb_date/_date.tsx +7 -7
  37. data/app/pb_kits/playbook/pb_date_picker/_date_picker.tsx +1 -1
  38. data/app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.tsx +2 -2
  39. data/app/pb_kits/playbook/pb_date_range_stacked/_date_range_stacked.tsx +2 -2
  40. data/app/pb_kits/playbook/pb_date_stacked/_date_stacked.tsx +8 -8
  41. data/app/pb_kits/playbook/pb_date_time/_date_time.tsx +2 -2
  42. data/app/pb_kits/playbook/pb_date_time_stacked/_date_time_stacked.tsx +1 -1
  43. data/app/pb_kits/playbook/pb_date_year_stacked/_date_year_stacked.tsx +2 -2
  44. data/app/pb_kits/playbook/pb_date_year_stacked/date_year_stacked.test.js +3 -6
  45. data/app/pb_kits/playbook/pb_detail/_detail.scss +2 -2
  46. data/app/pb_kits/playbook/pb_detail/_detail.tsx +5 -5
  47. data/app/pb_kits/playbook/pb_detail/detail.rb +1 -1
  48. data/app/pb_kits/playbook/pb_detail/detail.test.jsx +2 -2
  49. data/app/pb_kits/playbook/pb_dialog/_close_icon.tsx +2 -2
  50. data/app/pb_kits/playbook/pb_dialog/_dialog.tsx +34 -42
  51. data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_body.tsx +1 -1
  52. data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_footer.tsx +5 -4
  53. data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_header.tsx +4 -4
  54. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_full_height.jsx +4 -8
  55. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_full_height_placement.jsx +4 -8
  56. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_scrollable.jsx +2 -4
  57. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_status.jsx +1 -1
  58. data/app/pb_kits/playbook/pb_dialog/docs/example.yml +0 -7
  59. data/app/pb_kits/playbook/pb_distribution_bar/_distribution_bar.tsx +5 -5
  60. data/app/pb_kits/playbook/pb_file_upload/_file_upload.tsx +1 -1
  61. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.tsx +1 -1
  62. data/app/pb_kits/playbook/pb_flex/_flex.tsx +1 -1
  63. data/app/pb_kits/playbook/pb_flex/_flex_item.tsx +1 -1
  64. data/app/pb_kits/playbook/pb_form_group/_form_group.tsx +1 -1
  65. data/app/pb_kits/playbook/pb_form_pill/_form_pill.tsx +1 -1
  66. data/app/pb_kits/playbook/pb_gauge/_gauge.tsx +1 -1
  67. data/app/pb_kits/playbook/pb_hashtag/_hashtag.tsx +1 -1
  68. data/app/pb_kits/playbook/pb_highlight/_highlight.tsx +1 -1
  69. data/app/pb_kits/playbook/pb_home_address_street/_home_address_street.tsx +1 -1
  70. data/app/pb_kits/playbook/pb_icon/_icon.tsx +1 -1
  71. data/app/pb_kits/playbook/pb_icon_circle/_icon_circle.tsx +1 -1
  72. data/app/pb_kits/playbook/pb_icon_stat_value/_icon_stat_value.tsx +1 -1
  73. data/app/pb_kits/playbook/pb_icon_value/_icon_value.tsx +1 -1
  74. data/app/pb_kits/playbook/pb_image/_image.tsx +1 -1
  75. data/app/pb_kits/playbook/pb_label_pill/_label_pill.tsx +1 -1
  76. data/app/pb_kits/playbook/pb_label_value/_label_value.tsx +1 -1
  77. data/app/pb_kits/playbook/pb_layout/_layout.tsx +1 -1
  78. data/app/pb_kits/playbook/pb_legend/_legend.tsx +1 -1
  79. data/app/pb_kits/playbook/pb_lightbox/Header/_lightbox_header.tsx +1 -1
  80. data/app/pb_kits/playbook/pb_lightbox/_lightbox.tsx +1 -1
  81. data/app/pb_kits/playbook/pb_line_graph/_line_graph.tsx +1 -1
  82. data/app/pb_kits/playbook/pb_list/_list.tsx +1 -1
  83. data/app/pb_kits/playbook/pb_list/_list_item.tsx +1 -1
  84. data/app/pb_kits/playbook/pb_loading_inline/_loading_inline.tsx +1 -1
  85. data/app/pb_kits/playbook/pb_map/_map.tsx +1 -1
  86. data/app/pb_kits/playbook/pb_message/_message.tsx +1 -1
  87. data/app/pb_kits/playbook/pb_message/_message_mention.tsx +1 -1
  88. data/app/pb_kits/playbook/pb_multi_level_select/_multi_level_select.tsx +1 -1
  89. data/app/pb_kits/playbook/pb_multiple_users/_multiple_users.tsx +1 -1
  90. data/app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.tsx +1 -1
  91. data/app/pb_kits/playbook/pb_nav/_item.tsx +1 -1
  92. data/app/pb_kits/playbook/pb_nav/_nav.tsx +1 -1
  93. data/app/pb_kits/playbook/pb_online_status/_online_status.tsx +1 -1
  94. data/app/pb_kits/playbook/pb_passphrase/_passphrase.tsx +1 -1
  95. data/app/pb_kits/playbook/pb_person/_person.tsx +1 -1
  96. data/app/pb_kits/playbook/pb_person/docs/example.yml +0 -4
  97. data/app/pb_kits/playbook/pb_person_contact/_person_contact.tsx +1 -1
  98. data/app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.tsx +1 -1
  99. data/app/pb_kits/playbook/pb_pill/_pill.tsx +1 -1
  100. data/app/pb_kits/playbook/pb_popover/_popover.tsx +1 -1
  101. data/app/pb_kits/playbook/pb_popover/index.ts +1 -1
  102. data/app/pb_kits/playbook/pb_progress_pills/_progress_pills.tsx +1 -1
  103. data/app/pb_kits/playbook/pb_progress_simple/_progress_simple.tsx +1 -1
  104. data/app/pb_kits/playbook/pb_progress_step/_progress_step.tsx +1 -1
  105. data/app/pb_kits/playbook/pb_progress_step/_progress_step_item.tsx +1 -1
  106. data/app/pb_kits/playbook/pb_radio/_radio.tsx +1 -1
  107. data/app/pb_kits/playbook/pb_rich_text_editor/_rich_text_editor.tsx +1 -1
  108. data/app/pb_kits/playbook/pb_section_separator/_section_separator.tsx +1 -1
  109. data/app/pb_kits/playbook/pb_select/_select.tsx +1 -1
  110. data/app/pb_kits/playbook/pb_select/docs/example.yml +0 -5
  111. data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.tsx +1 -1
  112. data/app/pb_kits/playbook/pb_selectable_card_icon/_selectable_card_icon.tsx +1 -1
  113. data/app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.tsx +1 -1
  114. data/app/pb_kits/playbook/pb_selectable_list/_item.tsx +1 -1
  115. data/app/pb_kits/playbook/pb_selectable_list/_selectable_list.tsx +1 -1
  116. data/app/pb_kits/playbook/pb_source/_source.tsx +1 -1
  117. data/app/pb_kits/playbook/pb_star_rating/_star_rating.tsx +1 -1
  118. data/app/pb_kits/playbook/pb_stat_change/_stat_change.tsx +1 -1
  119. data/app/pb_kits/playbook/pb_stat_value/_stat_value.tsx +1 -1
  120. data/app/pb_kits/playbook/pb_table/_table.tsx +1 -1
  121. data/app/pb_kits/playbook/pb_table/_table_row.tsx +1 -1
  122. data/app/pb_kits/playbook/pb_text_input/_text_input.tsx +1 -1
  123. data/app/pb_kits/playbook/pb_textarea/_textarea.tsx +1 -1
  124. data/app/pb_kits/playbook/pb_time/_time.tsx +1 -1
  125. data/app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.tsx +1 -1
  126. data/app/pb_kits/playbook/pb_time_stacked/_time_stacked.tsx +1 -1
  127. data/app/pb_kits/playbook/pb_timeline/_item.tsx +1 -1
  128. data/app/pb_kits/playbook/pb_timeline/_timeline.tsx +1 -1
  129. data/app/pb_kits/playbook/pb_timestamp/_timestamp.tsx +1 -1
  130. data/app/pb_kits/playbook/pb_title/_title.scss +5 -0
  131. data/app/pb_kits/playbook/pb_title/_title.tsx +5 -2
  132. data/app/pb_kits/playbook/pb_title/_title_mixin.scss +19 -0
  133. data/app/pb_kits/playbook/pb_title/title.rb +9 -2
  134. data/app/pb_kits/playbook/pb_title_count/_title_count.tsx +1 -1
  135. data/app/pb_kits/playbook/pb_title_detail/_title_detail.tsx +1 -1
  136. data/app/pb_kits/playbook/pb_toggle/_toggle.tsx +1 -1
  137. data/app/pb_kits/playbook/pb_tooltip/_tooltip.tsx +1 -1
  138. data/app/pb_kits/playbook/pb_treemap_chart/_treemap_chart.tsx +1 -1
  139. data/app/pb_kits/playbook/pb_typeahead/_typeahead.tsx +1 -1
  140. data/app/pb_kits/playbook/pb_user/_user.tsx +1 -1
  141. data/app/pb_kits/playbook/pb_user/docs/example.yml +0 -7
  142. data/app/pb_kits/playbook/pb_user_badge/_user_badge.tsx +1 -1
  143. data/app/pb_kits/playbook/pb_walkthrough/_walkthrough.tsx +1 -1
  144. data/app/pb_kits/playbook/pb_weekday_stacked/_weekday_stacked.tsx +1 -1
  145. data/app/pb_kits/playbook/utilities/globalProps.ts +2 -13
  146. data/app/pb_kits/playbook/utilities/props.ts +2 -2
  147. data/dist/playbook-rails.js +5 -5
  148. data/lib/playbook/classnames.rb +0 -1
  149. data/lib/playbook/kit_base.rb +0 -2
  150. data/lib/playbook/version.rb +1 -1
  151. metadata +2 -58
  152. data/app/pb_kits/playbook/pb_beta_icon/_icon.scss +0 -12
  153. data/app/pb_kits/playbook/pb_beta_icon/_icon.tsx +0 -164
  154. data/app/pb_kits/playbook/pb_beta_icon/docs/_description.md +0 -1
  155. data/app/pb_kits/playbook/pb_beta_icon/docs/_footer.md +0 -2
  156. data/app/pb_kits/playbook/pb_beta_icon/docs/_icon_animate.html.erb +0 -3
  157. data/app/pb_kits/playbook/pb_beta_icon/docs/_icon_animate.jsx +0 -35
  158. data/app/pb_kits/playbook/pb_beta_icon/docs/_icon_animate.md +0 -1
  159. data/app/pb_kits/playbook/pb_beta_icon/docs/_icon_border.html.erb +0 -1
  160. data/app/pb_kits/playbook/pb_beta_icon/docs/_icon_border.jsx +0 -19
  161. data/app/pb_kits/playbook/pb_beta_icon/docs/_icon_border_swift.md +0 -7
  162. data/app/pb_kits/playbook/pb_beta_icon/docs/_icon_custom.html.erb +0 -16
  163. data/app/pb_kits/playbook/pb_beta_icon/docs/_icon_custom.jsx +0 -34
  164. data/app/pb_kits/playbook/pb_beta_icon/docs/_icon_custom.md +0 -19
  165. data/app/pb_kits/playbook/pb_beta_icon/docs/_icon_default.html.erb +0 -1
  166. data/app/pb_kits/playbook/pb_beta_icon/docs/_icon_default.jsx +0 -17
  167. data/app/pb_kits/playbook/pb_beta_icon/docs/_icon_default_swift.md +0 -7
  168. data/app/pb_kits/playbook/pb_beta_icon/docs/_icon_fa_kit.html.erb +0 -1
  169. data/app/pb_kits/playbook/pb_beta_icon/docs/_icon_fa_kit.jsx +0 -21
  170. data/app/pb_kits/playbook/pb_beta_icon/docs/_icon_fa_kit.md +0 -7
  171. data/app/pb_kits/playbook/pb_beta_icon/docs/_icon_flip.html.erb +0 -3
  172. data/app/pb_kits/playbook/pb_beta_icon/docs/_icon_flip.jsx +0 -33
  173. data/app/pb_kits/playbook/pb_beta_icon/docs/_icon_flip_swift.md +0 -11
  174. data/app/pb_kits/playbook/pb_beta_icon/docs/_icon_props_swift.md +0 -8
  175. data/app/pb_kits/playbook/pb_beta_icon/docs/_icon_pull.html.erb +0 -2
  176. data/app/pb_kits/playbook/pb_beta_icon/docs/_icon_pull.jsx +0 -26
  177. data/app/pb_kits/playbook/pb_beta_icon/docs/_icon_pull.md +0 -1
  178. data/app/pb_kits/playbook/pb_beta_icon/docs/_icon_rotate.html.erb +0 -3
  179. data/app/pb_kits/playbook/pb_beta_icon/docs/_icon_rotate.jsx +0 -33
  180. data/app/pb_kits/playbook/pb_beta_icon/docs/_icon_rotate_swift.md +0 -11
  181. data/app/pb_kits/playbook/pb_beta_icon/docs/_icon_sizes.html.erb +0 -16
  182. data/app/pb_kits/playbook/pb_beta_icon/docs/_icon_sizes.jsx +0 -133
  183. data/app/pb_kits/playbook/pb_beta_icon/docs/_icon_sizes_swift.md +0 -46
  184. data/app/pb_kits/playbook/pb_beta_icon/docs/example.yml +0 -30
  185. data/app/pb_kits/playbook/pb_beta_icon/docs/index.js +0 -9
  186. data/app/pb_kits/playbook/pb_beta_icon/icon.html.erb +0 -15
  187. data/app/pb_kits/playbook/pb_beta_icon/icon.rb +0 -153
  188. data/app/pb_kits/playbook/pb_beta_icon/icon.test.js +0 -155
  189. data/app/pb_kits/playbook/pb_button/docs/_button_reaction_swift.md +0 -26
  190. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_default_swift.md +0 -11
  191. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_props_table.md +0 -13
  192. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_sizes_swift.md +0 -18
  193. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_status_swift.md +0 -14
  194. data/app/pb_kits/playbook/pb_person/docs/_person_default_swift.md +0 -8
  195. data/app/pb_kits/playbook/pb_person/docs/_person_props_swift.md +0 -5
  196. data/app/pb_kits/playbook/pb_select/docs/_select_default_swift.md +0 -15
  197. data/app/pb_kits/playbook/pb_select/docs/_select_error_swift.md +0 -18
  198. data/app/pb_kits/playbook/pb_select/docs/_select_props_table.md +0 -8
  199. data/app/pb_kits/playbook/pb_user/docs/_user_horizontal_swift.md +0 -37
  200. data/app/pb_kits/playbook/pb_user/docs/_user_props_table.md +0 -10
  201. data/app/pb_kits/playbook/pb_user/docs/_user_size_swift.md +0 -35
  202. data/app/pb_kits/playbook/pb_user/docs/_user_text_only_swift.md +0 -27
  203. data/app/pb_kits/playbook/pb_user/docs/_user_vertical_size_swift.md +0 -35
  204. data/app/pb_kits/playbook/tokens/exports/exports.d.ts +0 -1
  205. data/app/pb_kits/playbook/utilities/_truncate.scss +0 -20
  206. data/app/pb_kits/playbook/utilities/test/globalProps/truncate.test.js +0 -21
  207. data/lib/playbook/truncate.rb +0 -29
@@ -36,7 +36,6 @@ module Playbook
36
36
  border_radius_props,
37
37
  text_align_props,
38
38
  overflow_props,
39
- truncate_props,
40
39
  ].compact.join(" ")
41
40
  end
42
41
 
@@ -24,7 +24,6 @@ require "playbook/hover"
24
24
  require "playbook/border_radius"
25
25
  require "playbook/text_align"
26
26
  require "playbook/overflow"
27
- require "playbook/truncate"
28
27
 
29
28
  module Playbook
30
29
  class KitBase < ViewComponent::Base
@@ -54,7 +53,6 @@ module Playbook
54
53
  include Playbook::BorderRadius
55
54
  include Playbook::TextAlign
56
55
  include Playbook::Overflow
57
- include Playbook::Truncate
58
56
 
59
57
  prop :id
60
58
  prop :data, type: Playbook::Props::HashProp, default: {}
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "13.14.0"
5
- VERSION = "13.14.0.pre.alpha.play1101betaicons1825"
5
+ VERSION = "13.14.0.pre.alpha.play1106filter1748"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 13.14.0.pre.alpha.play1101betaicons1825
4
+ version: 13.14.0.pre.alpha.play1106filter1748
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-01-05 00:00:00.000000000 Z
12
+ date: 2023-12-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -383,43 +383,6 @@ files:
383
383
  - app/pb_kits/playbook/pb_bar_graph/docs/_description.md
384
384
  - app/pb_kits/playbook/pb_bar_graph/docs/example.yml
385
385
  - app/pb_kits/playbook/pb_bar_graph/docs/index.js
386
- - app/pb_kits/playbook/pb_beta_icon/_icon.scss
387
- - app/pb_kits/playbook/pb_beta_icon/_icon.tsx
388
- - app/pb_kits/playbook/pb_beta_icon/docs/_description.md
389
- - app/pb_kits/playbook/pb_beta_icon/docs/_footer.md
390
- - app/pb_kits/playbook/pb_beta_icon/docs/_icon_animate.html.erb
391
- - app/pb_kits/playbook/pb_beta_icon/docs/_icon_animate.jsx
392
- - app/pb_kits/playbook/pb_beta_icon/docs/_icon_animate.md
393
- - app/pb_kits/playbook/pb_beta_icon/docs/_icon_border.html.erb
394
- - app/pb_kits/playbook/pb_beta_icon/docs/_icon_border.jsx
395
- - app/pb_kits/playbook/pb_beta_icon/docs/_icon_border_swift.md
396
- - app/pb_kits/playbook/pb_beta_icon/docs/_icon_custom.html.erb
397
- - app/pb_kits/playbook/pb_beta_icon/docs/_icon_custom.jsx
398
- - app/pb_kits/playbook/pb_beta_icon/docs/_icon_custom.md
399
- - app/pb_kits/playbook/pb_beta_icon/docs/_icon_default.html.erb
400
- - app/pb_kits/playbook/pb_beta_icon/docs/_icon_default.jsx
401
- - app/pb_kits/playbook/pb_beta_icon/docs/_icon_default_swift.md
402
- - app/pb_kits/playbook/pb_beta_icon/docs/_icon_fa_kit.html.erb
403
- - app/pb_kits/playbook/pb_beta_icon/docs/_icon_fa_kit.jsx
404
- - app/pb_kits/playbook/pb_beta_icon/docs/_icon_fa_kit.md
405
- - app/pb_kits/playbook/pb_beta_icon/docs/_icon_flip.html.erb
406
- - app/pb_kits/playbook/pb_beta_icon/docs/_icon_flip.jsx
407
- - app/pb_kits/playbook/pb_beta_icon/docs/_icon_flip_swift.md
408
- - app/pb_kits/playbook/pb_beta_icon/docs/_icon_props_swift.md
409
- - app/pb_kits/playbook/pb_beta_icon/docs/_icon_pull.html.erb
410
- - app/pb_kits/playbook/pb_beta_icon/docs/_icon_pull.jsx
411
- - app/pb_kits/playbook/pb_beta_icon/docs/_icon_pull.md
412
- - app/pb_kits/playbook/pb_beta_icon/docs/_icon_rotate.html.erb
413
- - app/pb_kits/playbook/pb_beta_icon/docs/_icon_rotate.jsx
414
- - app/pb_kits/playbook/pb_beta_icon/docs/_icon_rotate_swift.md
415
- - app/pb_kits/playbook/pb_beta_icon/docs/_icon_sizes.html.erb
416
- - app/pb_kits/playbook/pb_beta_icon/docs/_icon_sizes.jsx
417
- - app/pb_kits/playbook/pb_beta_icon/docs/_icon_sizes_swift.md
418
- - app/pb_kits/playbook/pb_beta_icon/docs/example.yml
419
- - app/pb_kits/playbook/pb_beta_icon/docs/index.js
420
- - app/pb_kits/playbook/pb_beta_icon/icon.html.erb
421
- - app/pb_kits/playbook/pb_beta_icon/icon.rb
422
- - app/pb_kits/playbook/pb_beta_icon/icon.test.js
423
386
  - app/pb_kits/playbook/pb_body/_body.scss
424
387
  - app/pb_kits/playbook/pb_body/_body.tsx
425
388
  - app/pb_kits/playbook/pb_body/_body_mixins.scss
@@ -497,7 +460,6 @@ files:
497
460
  - app/pb_kits/playbook/pb_button/docs/_button_reaction.html.erb
498
461
  - app/pb_kits/playbook/pb_button/docs/_button_reaction.jsx
499
462
  - app/pb_kits/playbook/pb_button/docs/_button_reaction.md
500
- - app/pb_kits/playbook/pb_button/docs/_button_reaction_swift.md
501
463
  - app/pb_kits/playbook/pb_button/docs/_button_size.html.erb
502
464
  - app/pb_kits/playbook/pb_button/docs/_button_size.jsx
503
465
  - app/pb_kits/playbook/pb_button/docs/_button_size.md
@@ -979,14 +941,12 @@ files:
979
941
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_default.html.erb
980
942
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_default.jsx
981
943
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_default.md
982
- - app/pb_kits/playbook/pb_dialog/docs/_dialog_default_swift.md
983
944
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_full_height.html.erb
984
945
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_full_height.jsx
985
946
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_full_height.md
986
947
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_full_height_placement.html.erb
987
948
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_full_height_placement.jsx
988
949
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_full_height_placement.md
989
- - app/pb_kits/playbook/pb_dialog/docs/_dialog_props_table.md
990
950
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_scrollable.html.erb
991
951
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_scrollable.jsx
992
952
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_scrollable.md
@@ -997,14 +957,12 @@ files:
997
957
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_should_close_on_overlay.md
998
958
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_sizes.html.erb
999
959
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_sizes.jsx
1000
- - app/pb_kits/playbook/pb_dialog/docs/_dialog_sizes_swift.md
1001
960
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_stacked_alert.html.erb
1002
961
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_stacked_alert.jsx
1003
962
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_stacked_alert.md
1004
963
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_status.html.erb
1005
964
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_status.jsx
1006
965
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_status.md
1007
- - app/pb_kits/playbook/pb_dialog/docs/_dialog_status_swift.md
1008
966
  - app/pb_kits/playbook/pb_dialog/docs/example.yml
1009
967
  - app/pb_kits/playbook/pb_dialog/docs/index.js
1010
968
  - app/pb_kits/playbook/pb_distribution_bar/_distribution_bar.scss
@@ -1772,8 +1730,6 @@ files:
1772
1730
  - app/pb_kits/playbook/pb_person/docs/_person_default.html.erb
1773
1731
  - app/pb_kits/playbook/pb_person/docs/_person_default.jsx
1774
1732
  - app/pb_kits/playbook/pb_person/docs/_person_default.md
1775
- - app/pb_kits/playbook/pb_person/docs/_person_default_swift.md
1776
- - app/pb_kits/playbook/pb_person/docs/_person_props_swift.md
1777
1733
  - app/pb_kits/playbook/pb_person/docs/example.yml
1778
1734
  - app/pb_kits/playbook/pb_person/docs/index.js
1779
1735
  - app/pb_kits/playbook/pb_person/person.html.erb
@@ -2024,7 +1980,6 @@ files:
2024
1980
  - app/pb_kits/playbook/pb_select/docs/_select_custom_select.jsx
2025
1981
  - app/pb_kits/playbook/pb_select/docs/_select_default.html.erb
2026
1982
  - app/pb_kits/playbook/pb_select/docs/_select_default.jsx
2027
- - app/pb_kits/playbook/pb_select/docs/_select_default_swift.md
2028
1983
  - app/pb_kits/playbook/pb_select/docs/_select_disabled.html.erb
2029
1984
  - app/pb_kits/playbook/pb_select/docs/_select_disabled.jsx
2030
1985
  - app/pb_kits/playbook/pb_select/docs/_select_disabled_options.html.erb
@@ -2032,7 +1987,6 @@ files:
2032
1987
  - app/pb_kits/playbook/pb_select/docs/_select_error.html.erb
2033
1988
  - app/pb_kits/playbook/pb_select/docs/_select_error.jsx
2034
1989
  - app/pb_kits/playbook/pb_select/docs/_select_error.md
2035
- - app/pb_kits/playbook/pb_select/docs/_select_error_swift.md
2036
1990
  - app/pb_kits/playbook/pb_select/docs/_select_inline.html.erb
2037
1991
  - app/pb_kits/playbook/pb_select/docs/_select_inline.jsx
2038
1992
  - app/pb_kits/playbook/pb_select/docs/_select_inline_compact.html.erb
@@ -2040,7 +1994,6 @@ files:
2040
1994
  - app/pb_kits/playbook/pb_select/docs/_select_multiple.html.erb
2041
1995
  - app/pb_kits/playbook/pb_select/docs/_select_multiple.jsx
2042
1996
  - app/pb_kits/playbook/pb_select/docs/_select_multiple.md
2043
- - app/pb_kits/playbook/pb_select/docs/_select_props_table.md
2044
1997
  - app/pb_kits/playbook/pb_select/docs/_select_required.html.erb
2045
1998
  - app/pb_kits/playbook/pb_select/docs/_select_required.jsx
2046
1999
  - app/pb_kits/playbook/pb_select/docs/_select_value_text_same.html.erb
@@ -2606,19 +2559,14 @@ files:
2606
2559
  - app/pb_kits/playbook/pb_user/docs/_user_block_content_subtitle_react.md
2607
2560
  - app/pb_kits/playbook/pb_user/docs/_user_default.html.erb
2608
2561
  - app/pb_kits/playbook/pb_user/docs/_user_default.jsx
2609
- - app/pb_kits/playbook/pb_user/docs/_user_horizontal_swift.md
2610
- - app/pb_kits/playbook/pb_user/docs/_user_props_table.md
2611
2562
  - app/pb_kits/playbook/pb_user/docs/_user_size.html.erb
2612
2563
  - app/pb_kits/playbook/pb_user/docs/_user_size.jsx
2613
- - app/pb_kits/playbook/pb_user/docs/_user_size_swift.md
2614
2564
  - app/pb_kits/playbook/pb_user/docs/_user_subtitle.html.erb
2615
2565
  - app/pb_kits/playbook/pb_user/docs/_user_subtitle.jsx
2616
2566
  - app/pb_kits/playbook/pb_user/docs/_user_text_only.html.erb
2617
2567
  - app/pb_kits/playbook/pb_user/docs/_user_text_only.jsx
2618
- - app/pb_kits/playbook/pb_user/docs/_user_text_only_swift.md
2619
2568
  - app/pb_kits/playbook/pb_user/docs/_user_vertical_size.html.erb
2620
2569
  - app/pb_kits/playbook/pb_user/docs/_user_vertical_size.jsx
2621
- - app/pb_kits/playbook/pb_user/docs/_user_vertical_size_swift.md
2622
2570
  - app/pb_kits/playbook/pb_user/docs/_user_with_territory.html.erb
2623
2571
  - app/pb_kits/playbook/pb_user/docs/_user_with_territory.jsx
2624
2572
  - app/pb_kits/playbook/pb_user/docs/example.yml
@@ -2697,7 +2645,6 @@ files:
2697
2645
  - app/pb_kits/playbook/tokens/exports/_shadows.scss
2698
2646
  - app/pb_kits/playbook/tokens/exports/_spacing.scss
2699
2647
  - app/pb_kits/playbook/tokens/exports/_typography.scss
2700
- - app/pb_kits/playbook/tokens/exports/exports.d.ts
2701
2648
  - app/pb_kits/playbook/tokens/index.scss
2702
2649
  - app/pb_kits/playbook/utilities/_background_colors.scss
2703
2650
  - app/pb_kits/playbook/utilities/_border_radius.scss
@@ -2716,7 +2663,6 @@ files:
2716
2663
  - app/pb_kits/playbook/utilities/_shadow.scss
2717
2664
  - app/pb_kits/playbook/utilities/_spacing.scss
2718
2665
  - app/pb_kits/playbook/utilities/_text_align.scss
2719
- - app/pb_kits/playbook/utilities/_truncate.scss
2720
2666
  - app/pb_kits/playbook/utilities/flexbox_global_props/_align_content.scss
2721
2667
  - app/pb_kits/playbook/utilities/flexbox_global_props/_align_items.scss
2722
2668
  - app/pb_kits/playbook/utilities/flexbox_global_props/_align_self.scss
@@ -2744,7 +2690,6 @@ files:
2744
2690
  - app/pb_kits/playbook/utilities/test/globalProps/justifyContent.test.js
2745
2691
  - app/pb_kits/playbook/utilities/test/globalProps/justifySelf.test.js
2746
2692
  - app/pb_kits/playbook/utilities/test/globalProps/order.test.js
2747
- - app/pb_kits/playbook/utilities/test/globalProps/truncate.test.js
2748
2693
  - app/pb_kits/playbook/utilities/text.ts
2749
2694
  - app/pb_kits/playbook/utilities/validEmojiChecker.ts
2750
2695
  - dist/menu.yml
@@ -2807,7 +2752,6 @@ files:
2807
2752
  - lib/playbook/shadow.rb
2808
2753
  - lib/playbook/spacing.rb
2809
2754
  - lib/playbook/text_align.rb
2810
- - lib/playbook/truncate.rb
2811
2755
  - lib/playbook/version.rb
2812
2756
  - lib/playbook/z_index.rb
2813
2757
  - lib/playbook_ui.rb
@@ -1,12 +0,0 @@
1
- // Rails custom icon styles
2
- svg.pb_custom_icon {
3
- width: 1em;
4
- fill: currentColor;
5
- path {
6
- fill: currentColor;
7
- }
8
- }
9
-
10
- .pb_icon_kit_emoji {
11
- font-family: monospace;
12
- }
@@ -1,164 +0,0 @@
1
- import React from 'react'
2
- import classnames from 'classnames'
3
- import { buildAriaProps, buildDataProps, buildHtmlProps } from '../utilities/props'
4
- import { GlobalProps, globalProps } from '../utilities/globalProps'
5
- import { isValidEmoji } from '../utilities/validEmojiChecker'
6
-
7
- export type IconSizes = "lg"
8
- | "xs"
9
- | "sm"
10
- | "1x"
11
- | "2x"
12
- | "3x"
13
- | "4x"
14
- | "5x"
15
- | "6x"
16
- | "7x"
17
- | "8x"
18
- | "9x"
19
- | "10x"
20
- | ""
21
-
22
- type IconProps = {
23
- aria?: {[key: string]: string},
24
- border?: string,
25
- className?: string,
26
- customIcon?: {[key: string] :SVGElement},
27
- data?: {[key: string]: string},
28
- fixedWidth?: boolean,
29
- flip?: "horizontal" | "vertical" | "both" | "none",
30
- icon: string,
31
- htmlOptions?: {[key: string]: string | number | boolean | (() => void)},
32
- id?: string,
33
- inverse?: boolean,
34
- listItem?: boolean,
35
- pull?: "left" | "right" | "none",
36
- pulse?: boolean,
37
- rotation?: 90 | 180 | 270,
38
- size?: IconSizes,
39
- fontStyle?: 'far' | 'fas' | 'fab' | 'fak',
40
- spin?: boolean,
41
- } & GlobalProps
42
-
43
- const flipMap = {
44
- horizontal: 'fa-flip-horizontal',
45
- vertical: 'fa-flip-vertical',
46
- both: 'fa-flip-horizontal fa-flip-vertical',
47
- none: ""
48
- }
49
-
50
- const Icon = (props: IconProps) => {
51
- const {
52
- aria = {},
53
- border = false,
54
- className,
55
- customIcon,
56
- data = {},
57
- fixedWidth = true,
58
- flip = "none",
59
- htmlOptions = {},
60
- icon,
61
- id,
62
- inverse = false,
63
- listItem = false,
64
- pull,
65
- pulse = false,
66
- rotation,
67
- size,
68
- fontStyle = 'far',
69
- spin = false,
70
- } = props
71
-
72
- const faClasses = {
73
- 'fa-border': border,
74
- 'fa-fw': fixedWidth,
75
- 'fa-inverse': inverse,
76
- 'fa-li': listItem,
77
- 'fa-pulse': pulse,
78
- 'fa-spin': spin,
79
- [`fa-${size}`]: size,
80
- [`fa-pull-${pull}`]: pull,
81
- [`fa-rotate-${rotation}`]: rotation,
82
-
83
- }
84
-
85
- // Lets check and see if the icon prop is referring to a custom Power icon...
86
- // If so, then set fa-icon to "custom"
87
- // this ensures the JS will not do any further operations
88
- // faClasses[`fa-${icon}`] = customIcon ? 'custom' : icon
89
- if (!customIcon) faClasses[`fa-${icon}`] = icon
90
-
91
- const classes = classnames(
92
- flipMap[flip],
93
- 'pb_icon_kit',
94
- customIcon ? '' : fontStyle,
95
- faClasses,
96
- globalProps(props),
97
- className
98
- )
99
-
100
- const classesEmoji = classnames(
101
- 'pb_icon_kit_emoji',
102
- globalProps(props),
103
- className
104
- )
105
-
106
- aria.label ? null : aria.label = `${icon} icon`
107
- const ariaProps: {[key: string]: any} = buildAriaProps(aria)
108
- const dataProps: {[key: string]: any} = buildDataProps(data)
109
- const htmlProps = buildHtmlProps(htmlOptions)
110
-
111
- // Add a conditional here to show only the SVG if custom
112
- const displaySVG = (customIcon: any) => {
113
- if (customIcon)
114
- return (
115
- <>
116
- {
117
- React.cloneElement(customIcon, {
118
- ...dataProps,
119
- ...htmlProps,
120
- className: classes,
121
- id,
122
- })
123
- }
124
- </>
125
- )
126
- else if (isValidEmoji(icon))
127
- return (
128
- <>
129
- <span
130
- {...dataProps}
131
- {...htmlProps}
132
- className={classesEmoji}
133
- id={id}
134
- >
135
- {icon}
136
- </span>
137
- </>
138
- )
139
-
140
- else
141
- return (
142
- <>
143
- <i
144
- {...dataProps}
145
- {...htmlProps}
146
- className={classes}
147
- id={id}
148
- />
149
- <span
150
- {...ariaProps}
151
- hidden
152
- />
153
- </>
154
- )
155
- }
156
-
157
- return (
158
- <>
159
- {displaySVG(customIcon)}
160
- </>
161
- )
162
- }
163
-
164
- export default Icon
@@ -1 +0,0 @@
1
- An icon is a graphic symbol that represents an object (ie a file) or a function. They can be used to give the user feedback.
@@ -1,2 +0,0 @@
1
- ### Things to Avoid
2
- Be careful of use cases where there should be a clickable area around the icon. Icon Circle Button may need to be used instead.
@@ -1,3 +0,0 @@
1
- <p><%= pb_rails("icon", props: { icon: "spinner", spin: true, fixed_width: true, size: "2x" }) %> <span>Spin</span></p>
2
- <br/>
3
- <p><%= pb_rails("icon", props: { icon: "spinner", pulse: true, fixed_width: true, size: "2x" }) %> <span>Pulse</span></p>
@@ -1,35 +0,0 @@
1
- import React from 'react'
2
-
3
- import Icon from '../_icon'
4
-
5
- const IconAnimate = (props) => {
6
- return (
7
- <div>
8
- <p>
9
- <Icon
10
- fixedWidth
11
- icon="spinner"
12
- size="2x"
13
- spin
14
- {...props}
15
- />
16
- {' '}
17
- <span>{'Spin'}</span>
18
- </p>
19
- <br />
20
- <p>
21
- <Icon
22
- fixedWidth
23
- icon="spinner"
24
- pulse
25
- size="2x"
26
- {...props}
27
- />
28
- {' '}
29
- <span>{'Pulse'}</span>
30
- </p>
31
- </div>
32
- )
33
- }
34
-
35
- export default IconAnimate
@@ -1 +0,0 @@
1
- A spinner icon can show a user that something is loading or saving.
@@ -1 +0,0 @@
1
- <%= pb_rails("icon", props: { icon: "user", border: true, fixed_width: true, size: "2x" }) %>
@@ -1,19 +0,0 @@
1
- import React from 'react'
2
-
3
- import Icon from '../_icon'
4
-
5
- const IconBorder = (props) => {
6
- return (
7
- <div>
8
- <Icon
9
- border
10
- fixedWidth
11
- icon="user"
12
- size="2x"
13
- {...props}
14
- />
15
- </div>
16
- )
17
- }
18
-
19
- export default IconBorder
@@ -1,7 +0,0 @@
1
- ![card-border](https://github.com/powerhome/playbook/assets/92755007/442640c8-1b4f-455d-8517-5ca5cd120664)
2
-
3
- ```swift
4
-
5
- PbBetaIcon(FontAwesome.user, border: true)
6
-
7
- ```
@@ -1,16 +0,0 @@
1
- <%# SVG fill color inherited from css color property %>
2
- <div class="icon-wrapper">
3
-
4
- <% svg_url = "https://upload.wikimedia.org/wikipedia/commons/3/3b/Wrench_font_awesome.svg" %>
5
- <p><%= pb_rails("icon", props: { custom_icon: svg_url } ) %></p>
6
- <p><%= pb_rails("icon", props: { rotation: 90, custom_icon: svg_url, size: "2x" } ) %></p>
7
- <p><%= pb_rails("icon", props: { spin: true, custom_icon: svg_url, size: "3x" } ) %></p>
8
- <p><%= pb_rails("icon", props: { size: "5x", custom_icon: svg_url } ) %></p>
9
- <p><%= pb_rails("icon", props: { flip: "horizontal", size: "5x", custom_icon: svg_url } ) %></p>
10
-
11
- <%= pb_rails("body", props: {
12
- text: "Custom icons are compatible with other icon props (size, rotation,
13
- spin, flip, etc). Their SVG fill colors will be inherited from
14
- parent element's css color properties."
15
- } ) %>
16
- </div>
@@ -1,34 +0,0 @@
1
- import React from 'react'
2
- import { Icon } from '../../'
3
-
4
- // import Icons as config from 'power-icons'
5
- const config = {
6
- moon: (
7
- <svg
8
- ariaHidden="true"
9
- focusable="false"
10
- role="img"
11
- viewBox="0 0 512 512"
12
- xmlns="http://www.w3.org/2000/svg"
13
- >
14
- <path
15
- d="M448 0H64C28.7 0 0 28.7 0 64v288c0 35.3 28.7 64 64 64h96v84c0 7.1 5.8 12 12 12 2.4 0 4.9-.7 7.1-2.4L304 416h144c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64zm16 352c0 8.8-7.2 16-16 16H288l-12.8 9.6L208 428v-60H64c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16h384c8.8 0 16 7.2 16 16v288zM336 184h-56v-56c0-8.8-7.2-16-16-16h-16c-8.8 0-16 7.2-16 16v56h-56c-8.8 0-16 7.2-16 16v16c0 8.8 7.2 16 16 16h56v56c0 8.8 7.2 16 16 16h16c8.8 0 16-7.2 16-16v-56h56c8.8 0 16-7.2 16-16v-16c0-8.8-7.2-16-16-16z"
16
- fill="currentColor"
17
- />
18
- </svg>
19
- ),
20
- }
21
-
22
- const IconCustom = (props) => {
23
- return (
24
- <div>
25
- <Icon
26
- customIcon={config.moon}
27
- size="7x"
28
- {...props}
29
- />
30
- </div>
31
- )
32
- }
33
-
34
- export default IconCustom
@@ -1,19 +0,0 @@
1
- # Tips for Custom Icons
2
-
3
- When using custom icons it is important to introduce a "clean" SVG. In order to ensure these custom icons perform as intended within your kit(s), ensure these things have been modified from the original SVG markup:
4
-
5
- Attributes must be React compatible e.g. <code>xmlns:xlink</code> should be <code>xmlnsXlink</code> and so on. <strong>There should be no hyphenated attributes and no semi-colons!.</strong>
6
-
7
- Fill colors with regards to <code>g</code> or <code>path</code> nodes, e.g. <code>fill="black"</code>, should be replaced with <code>currentColor</code> ala <code>fill="currentColor"</code>. Your mileage may vary depending on the complexity of your SVG.
8
-
9
- Pay attention to your custom icon's dimensions and `viewBox` attribute. It is best to use a `viewBox="0 0 512 512"` starting point __when designing instead of trying to retrofit the viewbox afterwards__!
10
-
11
- You must source *your own SVG into component/view* you are working on. This can easily be done in programmatic and maintainable ways.
12
-
13
- ### React
14
-
15
- So long as you have a valid React `<SVG>` node, you can send it as the `customIcon` prop and the kit will take care of the rest.
16
-
17
- ### Rails
18
-
19
- Some Rails applications use only webpack(er) which means using `image_url` will be successful over `image_path` in most cases especially development where Webpack Dev Server is serving assets over HTTP. Rails applications still using Asset Pipeline may use `image_path` or `image_url`. Of course, YMMV depending on any custom configurations in your Rails application.
@@ -1 +0,0 @@
1
- <%= pb_rails("icon", props: { icon: "user", fixed_width: true }) %>
@@ -1,17 +0,0 @@
1
- import React from 'react'
2
-
3
- import Icon from '../_icon'
4
-
5
- const IconDefault = (props) => {
6
- return (
7
- <div>
8
- <Icon
9
- fixedWidth
10
- icon="user"
11
- {...props}
12
- />
13
- </div>
14
- )
15
- }
16
-
17
- export default IconDefault
@@ -1,7 +0,0 @@
1
- ![card-default](https://github.com/powerhome/playbook/assets/92755007/8c7e5454-1d42-4d13-9107-ffc5773a136a)
2
-
3
- ```swift
4
-
5
- PbBetaIcon.fontAwesome(.user, size: .x1)
6
-
7
- ```
@@ -1 +0,0 @@
1
- <%= pb_rails("icon", props: { icon: "powergon", font_style: "fak", fixed_width: true, size: "5x" }) %>
@@ -1,21 +0,0 @@
1
- import React from 'react'
2
-
3
- import Icon from '../_icon'
4
-
5
- import '../../../../../../playbook-website/app/javascript/scripts/custom-icons'
6
-
7
- const IconFaKit = (props) => {
8
- return (
9
- <div>
10
- <Icon
11
- {...props}
12
- fixedWidth
13
- fontStyle="fak"
14
- icon="powergon"
15
- size="5x"
16
- />
17
- </div>
18
- )
19
- }
20
-
21
- export default IconFaKit
@@ -1,7 +0,0 @@
1
- Our Icon kit allows integration with [FontAwesome's custom kit](https://fontawesome.com/v6/docs/web/setup/use-kit#contentHeader) functionality out-of-the-box.
2
-
3
- All you need to do is 3 things:
4
- 1) Import your custom-icon.js file as outlined in the FontAwesome docs.
5
- 2) Use our fontStyle prop called "fak" so that our Icon component knows you are using a "fa-kit" icon.
6
- 3) Pass in your FaKit name as a string to our icon prop (This is the name that you designated when you uploaded the icon on their site).
7
-
@@ -1,3 +0,0 @@
1
- <%= pb_rails("icon", props: { icon: "question-circle", fixed_width: true, flip: "horizontal", size: "2x" }) %>
2
- <%= pb_rails("icon", props: { icon: "question-circle", fixed_width: true, flip: "vertical", size: "2x" }) %>
3
- <%= pb_rails("icon", props: { icon: "question-circle", fixed_width: true, flip: "both", size: "2x" }) %>
@@ -1,33 +0,0 @@
1
- import React from 'react'
2
-
3
- import Icon from '../_icon'
4
-
5
- const IconFlip = (props) => {
6
- return (
7
- <div>
8
- <Icon
9
- fixedWidth
10
- flip="horizontal"
11
- icon="question-circle"
12
- size="2x"
13
- {...props}
14
- />
15
- <Icon
16
- fixedWidth
17
- flip="vertical"
18
- icon="question-circle"
19
- size="2x"
20
- {...props}
21
- />
22
- <Icon
23
- fixedWidth
24
- flip="both"
25
- icon="question-circle"
26
- size="2x"
27
- {...props}
28
- />
29
- </div>
30
- )
31
- }
32
-
33
- export default IconFlip