playbook_ui 15.2.0.pre.alpha.advancedtableicons11557 → 15.2.0.pre.alpha.buttonfix11269

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 (112) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/_playbook.scss +6 -4
  3. data/app/pb_kits/playbook/pb_advanced_table/Components/CustomCell.tsx +1 -3
  4. data/app/pb_kits/playbook/pb_advanced_table/advanced_table.html.erb +2 -2
  5. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_beta.md +1 -3
  6. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_beta_sort.html.erb +3 -3
  7. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_beta_subrow_headers.html.erb +3 -3
  8. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_collapsible_trail_rails.html.erb +2 -2
  9. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling.md +1 -1
  10. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling_column_headers_rails.html.erb +2 -2
  11. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling_rails.html.erb +2 -2
  12. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling_rails.md +1 -1
  13. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_row_styling_rails.md +1 -1
  14. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_row_styling_react.md +1 -1
  15. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_rails.html.erb +2 -2
  16. data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +0 -3
  17. data/app/pb_kits/playbook/pb_advanced_table/index.js +1 -5
  18. data/app/pb_kits/playbook/pb_advanced_table/table_body.rb +6 -6
  19. data/app/pb_kits/playbook/pb_advanced_table/table_header.rb +6 -6
  20. data/app/pb_kits/playbook/pb_advanced_table/table_row.html.erb +2 -3
  21. data/app/pb_kits/playbook/pb_advanced_table/table_row.rb +5 -49
  22. data/app/pb_kits/playbook/pb_collapsible/__snapshots__/collapsible.test.js.snap +2 -2
  23. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range_pattern.jsx +1 -1
  24. data/app/pb_kits/playbook/pb_draggable/_draggable.scss +0 -8
  25. data/app/pb_kits/playbook/pb_dropdown/index.js +1 -1
  26. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss +1 -0
  27. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.tsx +3 -5
  28. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_description.md +0 -2
  29. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/fixed_confirmation_toast.rb +1 -4
  30. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/fixed_confirmation_toast.test.js +0 -10
  31. data/app/pb_kits/playbook/pb_form/docs/_form_form_with_validate.html.erb +1 -1
  32. data/app/pb_kits/playbook/pb_icon/_icon.tsx +2 -1
  33. data/app/pb_kits/playbook/pb_icon/icon.rb +2 -1
  34. data/app/pb_kits/playbook/pb_list/item.html.erb +1 -1
  35. data/app/pb_kits/playbook/pb_pb_bar_graph/_pb_bar_graph.tsx +6 -8
  36. data/app/pb_kits/playbook/pb_pb_bar_graph/pb_bar_graph.rb +10 -7
  37. data/app/pb_kits/playbook/pb_pb_bar_graph/pbbargraph.test.jsx +1 -73
  38. data/app/pb_kits/playbook/pb_pb_circle_chart/_pb_circle_chart.tsx +1 -1
  39. data/app/pb_kits/playbook/pb_pb_circle_chart/pb_circle_chart.rb +10 -7
  40. data/app/pb_kits/playbook/pb_pb_circle_chart/pb_circle_chart.test.jsx +0 -47
  41. data/app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.tsx +22 -105
  42. data/app/pb_kits/playbook/pb_popover/docs/_popover_list.html.erb +2 -2
  43. data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/Toolbar.tsx +2 -41
  44. data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/ToolbarDropdown.tsx +0 -1
  45. data/app/pb_kits/playbook/pb_rich_text_editor/_rich_text_editor.tsx +20 -60
  46. data/app/pb_kits/playbook/pb_rich_text_editor/_tiptap_styles.scss +0 -36
  47. data/app/pb_kits/playbook/pb_rich_text_editor/docs/example.yml +2 -8
  48. data/app/pb_kits/playbook/pb_rich_text_editor/docs/index.js +0 -6
  49. data/app/pb_kits/playbook/pb_rich_text_editor/rich_text_editor.test.js +1 -127
  50. data/app/pb_kits/playbook/pb_selectable_list/selectable_list_item.html.erb +1 -1
  51. data/app/pb_kits/playbook/pb_timeline/_timeline.scss +233 -250
  52. data/app/pb_kits/playbook/pb_timeline/_timeline.tsx +1 -1
  53. data/app/pb_kits/playbook/pb_timeline/timeline.test.js +2 -2
  54. data/app/pb_kits/playbook/tokens/_positioning.scss +0 -1
  55. data/app/pb_kits/playbook/utilities/_positioning.scss +1 -6
  56. data/app/pb_kits/playbook/utilities/globalProps.ts +1 -3
  57. data/dist/chunks/{_line_graph-DtToukzQ.js → _line_graph-BxcVBQsJ.js} +1 -1
  58. data/dist/chunks/_typeahead-eZENQ_Y_.js +6 -0
  59. data/dist/chunks/{_weekday_stacked-DWHza5yt.js → _weekday_stacked-BhPyFGlS.js} +3 -3
  60. data/dist/chunks/vendor.js +1 -1
  61. data/dist/menu.yml +0 -6
  62. data/dist/playbook-doc.js +2 -2
  63. data/dist/playbook-rails-react-bindings.js +1 -1
  64. data/dist/playbook-rails.js +1 -1
  65. data/dist/playbook.css +1 -1
  66. data/lib/playbook/pagination_renderer.rb +2 -2
  67. data/lib/playbook/pb_forms_helper.rb +6 -7
  68. data/lib/playbook/version.rb +1 -1
  69. data/lib/playbook/z_index.rb +1 -1
  70. metadata +5 -46
  71. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_background_control_rails.html.erb +0 -39
  72. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_background_control_rails.md +0 -1
  73. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_padding_control_per_row_rails.html.erb +0 -51
  74. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_padding_control_per_row_rails.md +0 -1
  75. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_padding_control_rails.html.erb +0 -40
  76. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_padding_control_rails.md +0 -1
  77. data/app/pb_kits/playbook/pb_pb_line_graph/_pb_line_graph.scss +0 -3
  78. data/app/pb_kits/playbook/pb_pb_line_graph/_pb_line_graph.tsx +0 -61
  79. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_description.md +0 -3
  80. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_colors.html.erb +0 -34
  81. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_colors.jsx +0 -52
  82. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_colors.md +0 -5
  83. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_default.html.erb +0 -34
  84. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_default.jsx +0 -45
  85. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_height.html.erb +0 -47
  86. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_height.jsx +0 -64
  87. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_height.md +0 -3
  88. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_legend.html.erb +0 -24
  89. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_legend.jsx +0 -37
  90. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_legend_nonclickable.html.erb +0 -39
  91. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_legend_nonclickable.jsx +0 -45
  92. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_legend_position.html.erb +0 -86
  93. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_legend_position.jsx +0 -116
  94. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_legend_position.md +0 -11
  95. data/app/pb_kits/playbook/pb_pb_line_graph/docs/example.yml +0 -20
  96. data/app/pb_kits/playbook/pb_pb_line_graph/docs/index.js +0 -6
  97. data/app/pb_kits/playbook/pb_pb_line_graph/pbLineGraphTheme.ts +0 -125
  98. data/app/pb_kits/playbook/pb_pb_line_graph/pb_line_graph.html.erb +0 -1
  99. data/app/pb_kits/playbook/pb_pb_line_graph/pb_line_graph.rb +0 -25
  100. data/app/pb_kits/playbook/pb_pb_line_graph/pb_line_graph.test.jsx +0 -110
  101. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_attributes.jsx +0 -38
  102. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_attributes.md +0 -1
  103. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_focus.jsx +0 -34
  104. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_focus.md +0 -1
  105. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_inline.jsx +0 -37
  106. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_inline.md +0 -1
  107. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_simple.jsx +0 -37
  108. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_sticky.jsx +0 -38
  109. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_sticky.md +0 -1
  110. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_templates.jsx +0 -69
  111. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_templates.md +0 -1
  112. data/dist/chunks/_typeahead-nqpbB2ym.js +0 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6cb2388c16b10e1fb50d190edb64de13ddb59aaeeccf2b03d98691d1122bf3a0
4
- data.tar.gz: 66b65c235dce558a8759487c1e1ed2e02e61a36a967a99d49628290afb875dcd
3
+ metadata.gz: dd441e8b4c1d1123deb792c33923f58723d1d215a2e600d57fd794c1b7fc02b1
4
+ data.tar.gz: 1fe6118d87e309c21a2829d8eaf2289c5a858adfb3edfdb957d42924398df5ca
5
5
  SHA512:
6
- metadata.gz: 11d409bd621ad95e909a040ccd07acdfcf99e4634731cbfb80035ebdb4ce953471328f2f0526ef6e769f73839a8c69ee08f7de694d6ef0914550c27c880d4075
7
- data.tar.gz: e94cb2b6918f6c3311990fba18f5cd27b57397dd40283c5760af2a155d4c5edddb7c51aba3babb977dc91ec2da4461c0870235c204d609587f8f376aca7a54cc
6
+ metadata.gz: 23005df9552a84b78102f4be73435e0e03f4d9dff0eb3f434a9c4d0e8817f15e54aa2d8443a2433d86dd900c24abfd9d120838162d597eafdd5a3863f053e10d
7
+ data.tar.gz: '039709fb78e0cc12324d100ffa6a5da8649f4a05b406e1156050466a29742a960813cf42a70b2e871a81eb8c0460e54da407465ab8d3b53fd46407b5f5f4de8b'
@@ -1,3 +1,6 @@
1
+
2
+
3
+
1
4
  @import 'pb_advanced_table/advanced_table';
2
5
  @import 'pb_avatar/avatar';
3
6
  @import 'pb_background/background';
@@ -30,7 +33,6 @@
30
33
  @import 'pb_distribution_bar/distribution_bar';
31
34
  @import 'pb_draggable/draggable';
32
35
  @import 'pb_dropdown/dropdown';
33
- @import 'pb_empty_state/empty_state';
34
36
  @import 'pb_file_upload/file_upload';
35
37
  @import 'pb_filter/filter';
36
38
  @import 'pb_fixed_confirmation_toast/fixed_confirmation_toast';
@@ -68,9 +70,6 @@
68
70
  @import 'pb_overlay/overlay';
69
71
  @import 'pb_pagination/pagination';
70
72
  @import 'pb_passphrase/passphrase';
71
- @import 'pb_pb_bar_graph/pb_bar_graph';
72
- @import 'pb_pb_circle_chart/pb_circle_chart';
73
- @import 'pb_pb_line_graph/pb_line_graph';
74
73
  @import 'pb_person/person';
75
74
  @import 'pb_person_contact/person_contact';
76
75
  @import 'pb_phone_number_input/phone_number_input';
@@ -109,6 +108,9 @@
109
108
  @import 'pb_user/user';
110
109
  @import 'pb_user_badge/user_badge';
111
110
  @import 'pb_weekday_stacked/weekday_stacked';
111
+ @import 'pb_empty_state/empty_state';
112
+ @import 'pb_pb_bar_graph/pb_bar_graph';
113
+ @import 'pb_pb_circle_chart/pb_circle_chart';
112
114
  @import 'utilities/mixins';
113
115
  @import 'utilities/spacing';
114
116
  @import 'utilities/cursor';
@@ -71,14 +71,12 @@ export const CustomCell = ({
71
71
  >
72
72
  {row.getIsExpanded() ? (
73
73
  <Icon cursor="pointer"
74
- fixedWidth
75
74
  icon="circle-play"
76
75
  rotation={90}
77
76
  />
78
77
  ) : (
79
78
  <Icon cursor="pointer"
80
- fixedWidth
81
- icon="circle-play"
79
+ icon="circle-play"
82
80
  />
83
81
  )}
84
82
  </button>
@@ -11,8 +11,8 @@
11
11
  <% if content.present? %>
12
12
  <% content.presence %>
13
13
  <% else %>
14
- <%= pb_rails("advanced_table/table_header", props: { table_id: object.id, column_definitions: object.column_definitions, enable_toggle_expansion: object.enable_toggle_expansion, responsive: object.responsive, loading: object.loading, selectable_rows: object.selectable_rows, show_actions_bar: object.show_actions_bar }) %>
15
- <%= pb_rails("advanced_table/table_body", props: { table_id: object.id, table_data: object.table_data, column_definitions: object.column_definitions, responsive: object.responsive, loading: object.loading, selectable_rows: object.selectable_rows, enable_toggle_expansion: object.enable_toggle_expansion, row_styling: object.row_styling }) %>
14
+ <%= pb_rails("advanced_table/table_header", props: { id: object.id, column_definitions: object.column_definitions, enable_toggle_expansion: object.enable_toggle_expansion, responsive: object.responsive, loading: object.loading, selectable_rows: object.selectable_rows, show_actions_bar: object.show_actions_bar }) %>
15
+ <%= pb_rails("advanced_table/table_body", props: { id: object.id, table_data: object.table_data, column_definitions: object.column_definitions, responsive: object.responsive, loading: object.loading, selectable_rows: object.selectable_rows, enable_toggle_expansion: object.enable_toggle_expansion, row_styling: object.row_styling }) %>
16
16
  <% end %>
17
17
  <% end %>
18
18
  <% end %>
@@ -2,9 +2,7 @@ The AdvancedTable kit accepts tree data and automatically renders expansion cont
2
2
 
3
3
  ### id
4
4
 
5
- A unique `id` is required to allow the table functionality to work properly. Without it, certain functions like the action bar, expand/collapse caching, or selectable rows will not be able to properly reference the correct table.
6
-
7
- You must also set `table_id` when using subcomponents like `table_header` or `table_body`.
5
+ A unique `id` is required to allow the table functionality to work properly. Without it, certain functions like the action bar will not be able to properly reference the correct table.
8
6
 
9
7
  ### table_data
10
8
 
@@ -51,7 +51,7 @@
51
51
  ]
52
52
  %>
53
53
 
54
- <%= pb_rails("advanced_table", props: { id: "sort", table_data: @table_data, column_definitions: column_definitions, id: "beta_sort" }) do %>
55
- <%= pb_rails("advanced_table/table_header", props: { table_id: "sort", column_definitions: column_definitions }) %>
56
- <%= pb_rails("advanced_table/table_body", props: { table_id: "sort", table_data: @table_data, column_definitions: column_definitions, enable_toggle_expansion: "all" }) %>
54
+ <%= pb_rails("advanced_table", props: { table_data: @table_data, column_definitions: column_definitions, id: "beta_sort" }) do %>
55
+ <%= pb_rails("advanced_table/table_header", props: { column_definitions: column_definitions }) %>
56
+ <%= pb_rails("advanced_table/table_body", props: { id: "beta_sort", table_data: @table_data, column_definitions: column_definitions, enable_toggle_expansion: "all" }) %>
57
57
  <% end %>
@@ -34,7 +34,7 @@
34
34
  subrow_headers = ["Quarter", "Month", "Day"]
35
35
  %>
36
36
 
37
- <%= pb_rails("advanced_table", props: { id: "subrow-headers", table_data: @table_data, column_definitions: column_definitions, id: "test_table" }) do %>
38
- <%= pb_rails("advanced_table/table_header", props: { table_id: "subrow-headers", column_definitions: column_definitions }) %>
39
- <%= pb_rails("advanced_table/table_body", props: { table_id: "subrow-headers", table_data: @table_data, column_definitions: column_definitions, subrow_headers: subrow_headers, enable_toggle_expansion: "all" }) %>
37
+ <%= pb_rails("advanced_table", props: { table_data: @table_data, column_definitions: column_definitions, id: "test_table" }) do %>
38
+ <%= pb_rails("advanced_table/table_header", props: { column_definitions: column_definitions }) %>
39
+ <%= pb_rails("advanced_table/table_body", props: { id: "test_table", table_data: @table_data, column_definitions: column_definitions, subrow_headers: subrow_headers, enable_toggle_expansion: "all" }) %>
40
40
  <% end %>
@@ -31,6 +31,6 @@
31
31
  ] %>
32
32
 
33
33
  <%= pb_rails("advanced_table", props: { id: "collapsible_trail", table_data: @table_data, column_definitions: column_definitions }) do %>
34
- <%= pb_rails("advanced_table/table_header", props: { table_id: "collapsible_trail", column_definitions: column_definitions }) %>
35
- <%= pb_rails("advanced_table/table_body", props: { table_id: "collapsible_trail", table_data: @table_data, column_definitions: column_definitions, collapsible_trail: false }) %>
34
+ <%= pb_rails("advanced_table/table_header", props: { column_definitions: column_definitions }) %>
35
+ <%= pb_rails("advanced_table/table_body", props: { table_data: @table_data, column_definitions: column_definitions, collapsible_trail: false }) %>
36
36
  <% end %>
@@ -1,4 +1,4 @@
1
- The `columnStyling` prop is an optional item that can be used within `columnDefinitions` as shown in the code snippet below. It is an object that has several optional key/value pairs, this doc example highlights the following:
1
+ The `columnStyling` prop is an optional item that can be used within `columnDefinitions` as shown in the code snippet below. It is an object that has 2 optional key/value pairs:
2
2
 
3
3
  1) `headerAlignment`: This will allow you to control alignment of header content which is set to right aligned by default. you can set this to `left`, `right` or `center`.
4
4
 
@@ -58,6 +58,6 @@
58
58
  ] %>
59
59
 
60
60
  <%= pb_rails("advanced_table", props: { id: "column-styling-multi", table_data: @table_data, column_definitions: column_definitions }) do %>
61
- <%= pb_rails("advanced_table/table_header", props: { table_id: "column-styling-multi", column_definitions: column_definitions }) %>
62
- <%= pb_rails("advanced_table/table_body", props: { table_id: "column-styling-multi", table_data: @table_data, column_definitions: column_definitions }) %>
61
+ <%= pb_rails("advanced_table/table_header", props: { column_definitions: column_definitions }) %>
62
+ <%= pb_rails("advanced_table/table_body", props: { table_data: @table_data, column_definitions: column_definitions }) %>
63
63
  <% end %>
@@ -33,6 +33,6 @@
33
33
  ] %>
34
34
 
35
35
  <%= pb_rails("advanced_table", props: { id: "column-styling", table_data: @table_data, column_definitions: column_definitions }) do %>
36
- <%= pb_rails("advanced_table/table_header", props: { table_id: "column-styling", column_definitions: column_definitions }) %>
37
- <%= pb_rails("advanced_table/table_body", props: { table_id: "column-styling", table_data: @table_data, column_definitions: column_definitions }) %>
36
+ <%= pb_rails("advanced_table/table_header", props: { column_definitions: column_definitions }) %>
37
+ <%= pb_rails("advanced_table/table_body", props: { table_data: @table_data, column_definitions: column_definitions }) %>
38
38
  <% end %>
@@ -1,4 +1,4 @@
1
- The `column_styling` prop is an optional item that can be used within `column_definitions` as shown in the code snippet below. It is an object that has several optional key/value pairs, this doc example highlights the following:
1
+ The `column_styling` prop is an optional item that can be used within `column_definitions` as shown in the code snippet below. It is an object that has 2 optional key/value pairs:
2
2
 
3
3
  1) `header_alignment`: This will allow you to control alignment of header content which is set to right aligned by default. you can set this to `left`, `right` or `center`.
4
4
 
@@ -1,4 +1,4 @@
1
- The `row_styling` prop can be used in conjunction with row ids to control certain styling options on individual rows. It is an object that has several optional key/value pairs, this doc example highlights the following:
1
+ The `row_styling` prop can be used in conjunction with row ids to control certain styling options on individual rows. Currently, `row_styling` gives you 3 optional controls:
2
2
 
3
3
  - `background_color` : use this to control the background color of the row
4
4
  - `font_color`: use this to control font color for each row if needed, for example if using a darker background color.
@@ -1,4 +1,4 @@
1
- The `rowStyling` prop can be used in conjunction with row ids to control certain styling options on individual rows. It is an object that has several optional key/value pairs, this doc example highlights the following:
1
+ The `rowStyling` prop can be used in conjunction with row ids to control certain styling options on individual rows. Currently, `rowStyling` gives you 3 optional controls:
2
2
 
3
3
  - `backgroundColor` : use this to control the background color of the row
4
4
  - `fontColor`: use this to control font color for each row if needed, for example if using a darker background color.
@@ -34,6 +34,6 @@
34
34
  %>
35
35
 
36
36
  <%= pb_rails("advanced_table", props: { id: "selectable_rows", table_data: @table_data_with_id, column_definitions: column_definitions, selectable_rows: true }) do %>
37
- <%= pb_rails("advanced_table/table_header", props: { table_id: "selectable_rows", column_definitions: column_definitions, selectable_rows: true }) %>
38
- <%= pb_rails("advanced_table/table_body", props: { table_id: "selectable_rows", table_data: @table_data_with_id, column_definitions: column_definitions, subrow_headers: subrow_headers, enable_toggle_expansion: "all", selectable_rows: true }) %>
37
+ <%= pb_rails("advanced_table/table_header", props: { id: "selectable_rows", column_definitions: column_definitions, selectable_rows: true }) %>
38
+ <%= pb_rails("advanced_table/table_body", props: { id: "selectable_rows", table_data: @table_data_with_id, column_definitions: column_definitions, subrow_headers: subrow_headers, enable_toggle_expansion: "all", selectable_rows: true }) %>
39
39
  <% end %>
@@ -21,11 +21,8 @@ examples:
21
21
  - advanced_table_selectable_rows_header_rails: Selectable Rows (No Actions Bar)
22
22
  - advanced_table_scrollbar_none: Advanced Table Scrollbar None
23
23
  - advanced_table_row_styling: Row Styling
24
- - advanced_table_padding_control_per_row_rails: Padding Control using Row Styling
25
24
  - advanced_table_column_styling_rails: Column Styling
26
25
  - advanced_table_column_styling_column_headers_rails: Column Styling with Multiple Headers
27
- - advanced_table_padding_control_rails: Padding Control using Column Styling
28
- - advanced_table_background_control_rails: Background Control using Column Styling
29
26
  - advanced_table_column_border_color_rails: Column Group Border Color
30
27
 
31
28
 
@@ -331,12 +331,8 @@ export default class PbAdvancedTable extends PbEnhancedElement {
331
331
  // Split the dataContent to get all ancestor IDs, check against ExpandedRows
332
332
  const ancestorIds = dataContent.split("-").slice(0, -1);
333
333
 
334
- // Get the table_id from the child row's parent to construct proper prefixed IDs
335
- const parentRowId = childRow.dataset.rowParent;
336
- const tableId = parentRowId ? parentRowId.split('_').slice(0, -1).join('_') : '';
337
-
338
334
  const prefixedAncestorIds = ancestorIds.map(
339
- (id) => `${tableId}_${id}`
335
+ (id) => `${childRow.id}_${id}`
340
336
  );
341
337
  const allAncestorsExpanded = prefixedAncestorIds.every((id) =>
342
338
  PbAdvancedTable.expandedRows.has(id)
@@ -3,8 +3,8 @@
3
3
  module Playbook
4
4
  module PbAdvancedTable
5
5
  class TableBody < Playbook::KitBase
6
- prop :table_id, type: Playbook::Props::String,
7
- default: ""
6
+ prop :id, type: Playbook::Props::String,
7
+ default: ""
8
8
  prop :table_data, type: Playbook::Props::Array,
9
9
  default: []
10
10
  prop :column_definitions, type: Playbook::Props::Array,
@@ -53,7 +53,7 @@ module Playbook
53
53
  subrow_data_attributes = {
54
54
  advanced_table_content: subrow_ancestor_ids.join("-"),
55
55
  row_depth: current_depth,
56
- row_parent: "#{table_id}_#{ancestor_ids.last}",
56
+ row_parent: "#{id}_#{ancestor_ids.last}",
57
57
  }
58
58
  # Subrow header if applicable
59
59
  output << pb_rails("advanced_table/table_subrow_header", props: { row: row, column_definitions: leaf_columns, depth: current_depth, subrow_header: subrow_headers[current_depth - 1], collapsible_trail: collapsible_trail, classname: "toggle-content", responsive: responsive, subrow_data_attributes: subrow_data_attributes, last_row: last_row, immediate_parent_row_id: immediate_parent_row_id }) if is_first_child_of_subrow && enable_toggle_expansion == "all"
@@ -69,7 +69,7 @@ module Playbook
69
69
  end
70
70
 
71
71
  # Additional class and data attributes needed for toggle logic
72
- output << pb_rails("advanced_table/table_row", props: { table_id: table_id, row: row, column_definitions: leaf_columns, depth: current_depth, collapsible_trail: collapsible_trail, classname: additional_classes, table_data_attributes: current_data_attributes, responsive: responsive, loading: loading, selectable_rows: selectable_rows, row_id: row[:id], enable_toggle_expansion: enable_toggle_expansion, row_styling: row_styling, last_row: last_row, immediate_parent_row_id: immediate_parent_row_id })
72
+ output << pb_rails("advanced_table/table_row", props: { id: id, row: row, column_definitions: leaf_columns, depth: current_depth, collapsible_trail: collapsible_trail, classname: additional_classes, table_data_attributes: current_data_attributes, responsive: responsive, loading: loading, selectable_rows: selectable_rows, row_id: row[:id], enable_toggle_expansion: enable_toggle_expansion, row_styling: row_styling, last_row: last_row, immediate_parent_row_id: immediate_parent_row_id })
73
73
 
74
74
  if row[:children].present?
75
75
  row[:children].each do |child_row|
@@ -78,9 +78,9 @@ module Playbook
78
78
  data_content = new_ancestor_ids.join("-") + "-#{child_row.object_id}"
79
79
 
80
80
  child_data_attributes = {
81
- top_parent: "#{table_id}_#{top_parent_id}",
81
+ top_parent: "#{id}_#{top_parent_id}",
82
82
  row_depth: current_depth + 1,
83
- row_parent: "#{table_id}_#{immediate_parent_id}",
83
+ row_parent: "#{id}_#{immediate_parent_id}",
84
84
  advanced_table_content: data_content,
85
85
  }
86
86
 
@@ -3,8 +3,8 @@
3
3
  module Playbook
4
4
  module PbAdvancedTable
5
5
  class TableHeader < Playbook::KitBase
6
- prop :table_id, type: Playbook::Props::String,
7
- default: ""
6
+ prop :id, type: Playbook::Props::String,
7
+ default: ""
8
8
  prop :column_definitions, type: Playbook::Props::Array,
9
9
  default: []
10
10
  prop :enable_toggle_expansion, type: Playbook::Props::Enum,
@@ -58,10 +58,10 @@ module Playbook
58
58
  classname: additional_classes.join(" "),
59
59
  }) do
60
60
  pb_rails("checkbox", props: {
61
- id: "#{table_id ? "#{table_id}-" : ''}select-all-rows",
61
+ id: "#{id ? "#{id}-" : ''}select-all-rows",
62
62
  indeterminate_main: true,
63
63
  indeterminate_main_labels: ["", ""],
64
- name: "#{table_id ? "#{table_id}-" : ''}select-all-rows",
64
+ name: "#{id ? "#{id}-" : ''}select-all-rows",
65
65
  })
66
66
  end
67
67
  end
@@ -71,10 +71,10 @@ module Playbook
71
71
  def render_select_all_checkbox
72
72
  if selectable_rows
73
73
  pb_rails("checkbox", props: {
74
- id: "#{table_id ? "#{table_id}-" : ''}select-all-rows",
74
+ id: "#{id ? "#{id}-" : ''}select-all-rows",
75
75
  indeterminate_main: true,
76
76
  indeterminate_main_labels: ["", ""],
77
- name: "#{table_id ? "#{table_id}-" : ''}select-all-rows",
77
+ name: "#{id ? "#{id}-" : ''}select-all-rows",
78
78
  data: {
79
79
  action: "click->pb-advanced-table#toggleAllRowSelection",
80
80
  },
@@ -12,8 +12,7 @@
12
12
  <% end %>
13
13
  <% object.column_definitions.each_with_index do |column, index| %>
14
14
  <% next unless column[:accessor].present? %>
15
- <% component_info = object.cell_component_info(column, index, bg_color, font_color) %>
16
- <%= pb_rails(component_info[:name], props: component_info[:props]) do %>
15
+ <%= pb_rails("table/table_cell", props: { html_options: { style: { "background-color": bg_color, color: font_color } }, classname:object.td_classname(column, index)}) do %>
17
16
  <%= pb_rails("flex", props:{ align: "center", justify: object.justify_for(column, index), classname: object.loading ? "loading-cell" : "" }) do %>
18
17
  <% if collapsible_trail && index.zero? %>
19
18
  <% (1..depth).each do |i| %>
@@ -34,7 +33,7 @@
34
33
  <% end %>
35
34
  <% if object.row[:children].present? %>
36
35
  <button
37
- id="<%= "#{object.table_id}_#{object.row.object_id}" %>"
36
+ id="<%= "#{object.id}_#{object.row.object_id}" %>"
38
37
  class="gray-icon expand-toggle-icon"
39
38
  data-advanced-table="true"
40
39
  style="color: <%= button_color %>"
@@ -3,8 +3,8 @@
3
3
  module Playbook
4
4
  module PbAdvancedTable
5
5
  class TableRow < Playbook::KitBase
6
- prop :table_id, type: Playbook::Props::String,
7
- default: ""
6
+ prop :id, type: Playbook::Props::String,
7
+ default: ""
8
8
  prop :column_definitions, type: Playbook::Props::Array,
9
9
  default: []
10
10
  prop :row
@@ -46,53 +46,9 @@ module Playbook
46
46
  classes = %w[id-cell]
47
47
  classes << "last-cell" if column[:is_last_in_group]
48
48
  classes << "pinned-left" if index.zero? && is_pinned_left && responsive == "scroll"
49
-
50
- row_style = row_styling.find { |style| style[:row_id].to_s == row_id.to_s }
51
- row_padding = row_style&.[](:cell_padding)
52
-
53
- if column[:accessor].present?
54
- orig_def = find_column_def_by_accessor(column_definitions, column[:accessor])
55
- column_padding = orig_def[:column_styling][:cell_padding] if orig_def && orig_def[:column_styling].is_a?(Hash) && orig_def[:column_styling][:cell_padding].present?
56
- end
57
-
58
- classes << "p_#{row_padding}" if row_padding.present?
59
- classes << "p_#{column_padding}" if column_padding.present?
60
-
61
49
  classes.join(" ")
62
50
  end
63
51
 
64
- def cell_background_color(column)
65
- return nil unless column[:accessor].present?
66
-
67
- orig_def = find_column_def_by_accessor(column_definitions, column[:accessor])
68
- if orig_def && orig_def[:column_styling].is_a?(Hash) && orig_def[:column_styling][:cell_background_color].present?
69
- bg_color = orig_def[:column_styling][:cell_background_color]
70
- if bg_color.respond_to?(:call)
71
- bg_color.call(row)
72
- else
73
- bg_color
74
- end
75
- end
76
- end
77
-
78
- def has_custom_background_color?(column)
79
- cell_background_color(column).present?
80
- end
81
-
82
- # Uses a regular table/table_cell component if there is no custom background color; if there is a cell_background_color uses a background component with tag "td"
83
- def cell_component_info(column, index, bg_color, font_color)
84
- if has_custom_background_color?(column)
85
- custom_bg_color = cell_background_color(column)
86
- component_name = "background"
87
- component_props = { background_color: custom_bg_color, tag: "td", classname: td_classname(column, index) }
88
- else
89
- component_name = "table/table_cell"
90
- component_props = { html_options: { style: { "background-color": bg_color, color: font_color } }, classname: td_classname(column, index) }
91
- end
92
-
93
- { name: component_name, props: component_props }
94
- end
95
-
96
52
  def depth_accessors
97
53
  column_definitions.flat_map do |column|
98
54
  column[:cellAccessors] if column.key?(:cellAccessors)
@@ -102,13 +58,13 @@ module Playbook
102
58
  # Selectable Rows No Subrows - checkboxes in their own first cell
103
59
  def render_checkbox_cell
104
60
  if selectable_rows
105
- prefix = table_id ? "#{table_id}-" : ""
61
+ prefix = id ? "#{id}-" : ""
106
62
  pb_rails("table/table_cell", props: {
107
63
  classname: "checkbox-cell",
108
64
  }) do
109
65
  pb_rails("checkbox", props: {
110
66
  id: "#{prefix}select-row-#{row_id || row.object_id}",
111
- indeterminate_parent: "#{table_id ? "#{table_id}-" : ''}select-all-rows",
67
+ indeterminate_parent: "#{id ? "#{id}-" : ''}select-all-rows",
112
68
  name: "#{prefix}select-row-#{row_id || row.object_id}",
113
69
  data: {
114
70
  row_id: row_id || row.object_id.to_s,
@@ -122,7 +78,7 @@ module Playbook
122
78
  # Selectable Rows w/ Subrows - checkboxes part of toggleable first cell
123
79
  def render_row_checkbox
124
80
  if selectable_rows
125
- prefix = table_id ? "#{table_id}-" : ""
81
+ prefix = id ? "#{id}-" : ""
126
82
  indeterminate_parent =
127
83
  if depth.zero?
128
84
  "#{prefix}select-all-rows"
@@ -32,9 +32,9 @@ exports[`html structure is correct 1`] = `
32
32
  class="pb_custom_icon svg-inline--fa svg_lg svg_fw"
33
33
  color="currentColor"
34
34
  fill="none"
35
- height="1.5em"
35
+ height="auto"
36
36
  viewBox="0 0 30 25"
37
- width="1.5em"
37
+ width="auto"
38
38
  xmlns="http://www.w3.org/2000/svg"
39
39
  >
40
40
  <path
@@ -23,7 +23,7 @@ const DatePickerRangePattern = (props) => {
23
23
 
24
24
  <DatePicker
25
25
  pickerId="end-date-picker"
26
- placeholder="Select an End Date"
26
+ placeholder="Select a End Date"
27
27
  syncEndWith="quickpick-for-range"
28
28
  {...props}
29
29
  />
@@ -141,12 +141,4 @@
141
141
  }
142
142
  }
143
143
  }
144
-
145
- .pb_draggable_item:has(.pb_item_kit) {
146
- border-bottom: 1px solid $border_light;
147
- }
148
-
149
- .pb_draggable_item:has(.pb_item_kit):last-child {
150
- border-bottom: none;
151
- }
152
144
  }
@@ -522,7 +522,7 @@ export default class PbDropdown extends PbEnhancedElement {
522
522
  closeIcon.className = "pb_form_pill_close";
523
523
  closeIcon.innerHTML = `<svg class="pb_custom_icon svg-inline--fa svg_${
524
524
  this.formPillProps.size === "small" ? "xs" : "sm"
525
- } svg_fw" xmlns="http://www.w3.org/2000/svg" width="1.5em" viewBox="0 0 31 25"><path fill="currentColor" d="M23.0762 6.77734L17.4512 12.4023L23.0293 17.9805C23.498 18.4023 23.498 19.1055 23.0293 19.5273C22.6074 19.9961 21.9043 19.9961 21.4824 19.5273L15.8574 13.9492L10.2793 19.5273C9.85742 19.9961 9.1543 19.9961 8.73242 19.5273C8.26367 19.1055 8.26367 18.4023 8.73242 17.9336L14.3105 12.3555L8.73242 6.77734C8.26367 6.35547 8.26367 5.65234 8.73242 5.18359C9.1543 4.76172 9.85742 4.76172 10.3262 5.18359L15.9043 10.8086L21.4824 5.23047C21.9043 4.76172 22.6074 4.76172 23.0762 5.23047C23.498 5.65234 23.498 6.35547 23.0762 6.77734Z"/></svg>`;
525
+ } svg_fw" xmlns="http://www.w3.org/2000/svg" width="auto" height="auto" viewBox="0 0 31 25"><path fill="currentColor" d="M23.0762 6.77734L17.4512 12.4023L23.0293 17.9805C23.498 18.4023 23.498 19.1055 23.0293 19.5273C22.6074 19.9961 21.9043 19.9961 21.4824 19.5273L15.8574 13.9492L10.2793 19.5273C9.85742 19.9961 9.1543 19.9961 8.73242 19.5273C8.26367 19.1055 8.26367 18.4023 8.73242 17.9336L14.3105 12.3555L8.73242 6.77734C8.26367 6.35547 8.26367 5.65234 8.73242 5.18359C9.1543 4.76172 9.85742 4.76172 10.3262 5.18359L15.9043 10.8086L21.4824 5.23047C21.9043 4.76172 22.6074 4.76172 23.0762 5.23047C23.498 5.65234 23.498 6.35547 23.0762 6.77734Z"/></svg>`;
526
526
  pill.appendChild(closeIcon);
527
527
 
528
528
  closeIcon.addEventListener("click", (e) => {
@@ -40,6 +40,7 @@ $confirmation_toast_colors: (
40
40
 
41
41
  &.positioned_toast {
42
42
  position: fixed;
43
+ z-index: $z_10 !important;
43
44
  display: flex;
44
45
  justify-content: space-around;
45
46
  max-width: max-content;
@@ -1,7 +1,7 @@
1
1
  import React, { useEffect, useState } from "react";
2
2
  import classnames from "classnames";
3
3
 
4
- import { globalProps, GlobalProps } from "../utilities/globalProps";
4
+ import { globalProps } from "../utilities/globalProps";
5
5
  import { buildHtmlProps } from "../utilities/props";
6
6
  import { VoidCallback } from "../types";
7
7
 
@@ -31,8 +31,7 @@ type FixedConfirmationToastProps = {
31
31
  status?: "success" | "error" | "neutral" | "tip";
32
32
  text?: string;
33
33
  vertical?: "top" | "bottom";
34
- zIndex?: number | string;
35
- } & GlobalProps
34
+ };
36
35
 
37
36
  const FixedConfirmationToast = (props: FixedConfirmationToastProps): React.ReactElement => {
38
37
  const [showToast, toggleToast] = useState(true);
@@ -51,7 +50,6 @@ const FixedConfirmationToast = (props: FixedConfirmationToastProps): React.React
51
50
  status = "neutral",
52
51
  text,
53
52
  vertical,
54
- zIndex = 'max',
55
53
  } = props;
56
54
 
57
55
  const returnedIcon = icon || iconMap[status]
@@ -61,7 +59,7 @@ const FixedConfirmationToast = (props: FixedConfirmationToastProps): React.React
61
59
  `pb_fixed_confirmation_toast_kit_${status}${multiLine ? '_multi_line' : ''}`,
62
60
  { [`positioned_toast ${vertical} ${horizontal}`]: vertical && horizontal },
63
61
  `${iconClass}`,
64
- globalProps(props, { zIndex }),
62
+ globalProps(props),
65
63
  className
66
64
  );
67
65
 
@@ -1,4 +1,2 @@
1
1
 
2
2
  Fixed Confirmation Toast is used as an alert. Success is used when a user successfully completes an action. Error is used when there is an error and the user cannot proceed. Neutral is used to display information to a user to complete a task.
3
-
4
- **NOTE**: z index for Fixed Confirmation Toast is set to 'max' by default which has the value of `999999`. the z Index global prop can be used to override this if you want to set it to a different value.
@@ -60,10 +60,7 @@ module Playbook
60
60
  end
61
61
 
62
62
  def classname
63
- default_z_index = z_index.present? ? "" : " z_index_max"
64
- # IMPORTANT: the AutoClose class must be the last class in the string for JS to read it correctly
65
- # Changing the order will break the auto_close functionality
66
- generate_classname("pb_fixed_confirmation_toast_kit", status, multi_line_class) + close_class + position_class + icon_class + default_z_index + auto_close_class
63
+ generate_classname("pb_fixed_confirmation_toast_kit", status, multi_line_class) + close_class + position_class + auto_close_class + icon_class
67
64
  end
68
65
  end
69
66
  end
@@ -75,14 +75,4 @@ test('renders position when provided', () => {
75
75
  />
76
76
  );
77
77
  expect(container.querySelector('.positioned_toast')).toBeInTheDocument();
78
- });
79
-
80
- test('renders max zIndex by default', () => {
81
- const { container } = render(<FixedConfirmationToast />);
82
- expect(container.querySelector('.z_index_max')).toBeInTheDocument();
83
- });
84
-
85
- test('applies custom zIndex when provided', () => {
86
- const { container } = render(<FixedConfirmationToast zIndex={10} />);
87
- expect(container.querySelector('.z_index_10')).toBeInTheDocument();
88
78
  });
@@ -101,7 +101,7 @@
101
101
  <%= form.typeahead :example_typeahead_validation_react, props: { options: example_typeahead_options, pills: true, label: "Example Typeahead (React Rendered)", placeholder: "Search for a user", required: true, validation: { message: "Please select a color." } } %>
102
102
  <%= form.typeahead :example_typeahead_validation_react_2, props: { options: example_typeahead_options, pills: true, label: "Example Typeahead 2 (React Rendered)", placeholder: "Search for a user", required: true } %>
103
103
  <%= form.text_field :example_text_field_validation, props: { label: true, required: true } %>
104
- <%= form.phone_number_field :example_phone_number_field_validation, props: { label: "Example phone field", hidden_inputs: true, required: true } %>
104
+ <%= form.phone_number_field :example_phone_number_field_validation, props: { label: "Example phone field", hidden_inputs: true } %>
105
105
  <%= form.email_field :example_email_field_validation, props: { label: true, required: true } %>
106
106
  <%= form.number_field :example_number_field_validation, props: { label: true, required: true } %>
107
107
  <%= form.search_field :example_project_number_validation, props: { label: true, required: true, validation: { pattern: "[0-9]{2}-[0-9]{5}", message: "Please enter a valid project number (example: 33-12345)." } } %>
@@ -235,7 +235,8 @@ const Icon = (props: IconProps) => {
235
235
  ...htmlProps,
236
236
  className: classes,
237
237
  id,
238
- width: '1.5em',
238
+ width: 'auto',
239
+ height: 'auto',
239
240
  ...(props.tabIndex !== undefined && { tabIndex }),
240
241
  })
241
242
  }
@@ -110,7 +110,8 @@ module Playbook
110
110
  svg["class"] = %w[pb_custom_icon svg-inline--fa].concat([object.custom_icon_classname]).join(" ")
111
111
  svg["id"] = object.id
112
112
  svg["data"] = object.data
113
- svg["width"] = "1.5em"
113
+ svg["height"] = "auto"
114
+ svg["width"] = "auto"
114
115
  svg["tabindex"] = object.tabindex
115
116
  fill_color = object.color || "currentColor"
116
117
  doc.at_css("path")["fill"] = fill_color
@@ -11,7 +11,7 @@
11
11
  <% if object.drag_handle %>
12
12
  <span style="vertical-align: middle;">
13
13
  <%= pb_rails("body") do %>
14
- <svg width="14em" viewBox="0 0 31 25" fill="none" xmlns="http://www.w3.org/2000/svg" color="currentColor" class="pb_custom_icon svg-inline--fa vertical_align_middle svg_fw"><path d="M12.904 6.355a1.48 1.48 0 01-1.5-1.5c0-.796.656-1.5 1.5-1.5.797 0 1.5.704 1.5 1.5 0 .844-.703 1.5-1.5 1.5zm0 7.5a1.48 1.48 0 01-1.5-1.5c0-.796.656-1.5 1.5-1.5.797 0 1.5.704 1.5 1.5 0 .844-.703 1.5-1.5 1.5zm1.5 6c0 .844-.703 1.5-1.5 1.5a1.48 1.48 0 01-1.5-1.5c0-.796.656-1.5 1.5-1.5.797 0 1.5.704 1.5 1.5zm4.5-13.5a1.48 1.48 0 01-1.5-1.5c0-.796.657-1.5 1.5-1.5.797 0 1.5.704 1.5 1.5 0 .844-.703 1.5-1.5 1.5zm1.5 6c0 .844-.703 1.5-1.5 1.5a1.48 1.48 0 01-1.5-1.5c0-.796.657-1.5 1.5-1.5.797 0 1.5.704 1.5 1.5zm-1.5 9a1.48 1.48 0 01-1.5-1.5c0-.796.657-1.5 1.5-1.5.797 0 1.5.704 1.5 1.5 0 .844-.703 1.5-1.5 1.5z" fill="#242B42"></path></svg>
14
+ <svg width="auto" height="auto" viewBox="0 0 31 25" fill="none" xmlns="http://www.w3.org/2000/svg" color="currentColor" class="pb_custom_icon svg-inline--fa vertical_align_middle svg_fw"><path d="M12.904 6.355a1.48 1.48 0 01-1.5-1.5c0-.796.656-1.5 1.5-1.5.797 0 1.5.704 1.5 1.5 0 .844-.703 1.5-1.5 1.5zm0 7.5a1.48 1.48 0 01-1.5-1.5c0-.796.656-1.5 1.5-1.5.797 0 1.5.704 1.5 1.5 0 .844-.703 1.5-1.5 1.5zm1.5 6c0 .844-.703 1.5-1.5 1.5a1.48 1.48 0 01-1.5-1.5c0-.796.656-1.5 1.5-1.5.797 0 1.5.704 1.5 1.5zm4.5-13.5a1.48 1.48 0 01-1.5-1.5c0-.796.657-1.5 1.5-1.5.797 0 1.5.704 1.5 1.5 0 .844-.703 1.5-1.5 1.5zm1.5 6c0 .844-.703 1.5-1.5 1.5a1.48 1.48 0 01-1.5-1.5c0-.796.657-1.5 1.5-1.5.797 0 1.5.704 1.5 1.5zm-1.5 9a1.48 1.48 0 01-1.5-1.5c0-.796.657-1.5 1.5-1.5.797 0 1.5.704 1.5 1.5 0 .844-.703 1.5-1.5 1.5z" fill="#242B42"></path></svg>
15
15
  <% end %>
16
16
  </span>
17
17
  <% end %>