playbook_ui 13.19.0.pre.alpha.PBNTR211tablekitsubcomponentsreact2318 → 13.19.0.pre.alpha.play1141iconkitusinglibrary2264

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/index.js +1 -1
  3. data/app/pb_kits/playbook/pb_advanced_table/_advanced_table.tsx +4 -4
  4. data/app/pb_kits/playbook/pb_table/_table.tsx +67 -99
  5. data/app/pb_kits/playbook/pb_table/_table_row.tsx +47 -0
  6. data/app/pb_kits/playbook/pb_table/docs/_table_side_highlight.jsx +25 -24
  7. data/app/pb_kits/playbook/pb_table/docs/example.yml +0 -7
  8. data/app/pb_kits/playbook/pb_table/docs/index.js +0 -3
  9. data/app/pb_kits/playbook/pb_table/styles/_content.scss +3 -3
  10. data/app/pb_kits/playbook/pb_table/styles/_desktop_collapse.scss +15 -15
  11. data/app/pb_kits/playbook/pb_table/styles/_headers.scss +3 -3
  12. data/app/pb_kits/playbook/pb_table/styles/_hover.scss +11 -11
  13. data/app/pb_kits/playbook/pb_table/styles/_mobile.scss +15 -15
  14. data/app/pb_kits/playbook/pb_table/styles/_mobile_collapse.scss +15 -15
  15. data/app/pb_kits/playbook/pb_table/styles/_reset.scss +3 -3
  16. data/app/pb_kits/playbook/pb_table/styles/_side_highlight.scss +2 -2
  17. data/app/pb_kits/playbook/pb_table/styles/_single-line.scss +4 -4
  18. data/app/pb_kits/playbook/pb_table/styles/_sticky_header.scss +2 -2
  19. data/app/pb_kits/playbook/pb_table/styles/_striped.scss +4 -4
  20. data/app/pb_kits/playbook/pb_table/styles/_structure.scss +8 -22
  21. data/app/pb_kits/playbook/pb_table/styles/_table-card.scss +7 -7
  22. data/app/pb_kits/playbook/pb_table/styles/_table-dark.scss +14 -14
  23. data/app/pb_kits/playbook/pb_table/styles/_table_header.scss +2 -2
  24. data/app/pb_kits/playbook/pb_table/styles/_tablet_collapse.scss +15 -15
  25. data/app/pb_kits/playbook/pb_table/styles/_vertical_border.scss +4 -3
  26. data/app/pb_kits/playbook/pb_table/table.html.erb +2 -12
  27. data/app/pb_kits/playbook/pb_table/table.rb +0 -3
  28. data/app/pb_kits/playbook/pb_table/table.test.js +1 -142
  29. data/app/pb_kits/playbook/pb_table/table_header.html.erb +39 -49
  30. data/app/pb_kits/playbook/pb_table/table_header.rb +1 -8
  31. data/app/pb_kits/playbook/pb_table/table_row.html.erb +7 -17
  32. data/app/pb_kits/playbook/pb_table/table_row.rb +1 -8
  33. data/dist/playbook-rails.js +6 -6
  34. data/lib/playbook/version.rb +1 -1
  35. metadata +3 -20
  36. data/app/pb_kits/playbook/pb_table/SubKits/_table_body.tsx +0 -64
  37. data/app/pb_kits/playbook/pb_table/SubKits/_table_cell.tsx +0 -66
  38. data/app/pb_kits/playbook/pb_table/SubKits/_table_head.tsx +0 -64
  39. data/app/pb_kits/playbook/pb_table/SubKits/_table_header.tsx +0 -66
  40. data/app/pb_kits/playbook/pb_table/SubKits/_table_row.tsx +0 -74
  41. data/app/pb_kits/playbook/pb_table/SubKits/index.tsx +0 -5
  42. data/app/pb_kits/playbook/pb_table/docs/_table_div.html.erb +0 -34
  43. data/app/pb_kits/playbook/pb_table/docs/_table_div.jsx +0 -47
  44. data/app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents.html.erb +0 -34
  45. data/app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents.jsx +0 -47
  46. data/app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents_as_divs.html.erb +0 -34
  47. data/app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents_as_divs.jsx +0 -48
  48. data/app/pb_kits/playbook/pb_table/table_body.html.erb +0 -17
  49. data/app/pb_kits/playbook/pb_table/table_body.rb +0 -15
  50. data/app/pb_kits/playbook/pb_table/table_cell.html.erb +0 -17
  51. data/app/pb_kits/playbook/pb_table/table_cell.rb +0 -17
  52. data/app/pb_kits/playbook/pb_table/table_head.html.erb +0 -17
  53. data/app/pb_kits/playbook/pb_table/table_head.rb +0 -15
@@ -1,17 +0,0 @@
1
- <% if object.tag == "table" %>
2
- <%= content_tag(:tbody,
3
- aria: object.aria,
4
- class: object.classname,
5
- data: object.data,
6
- id: object.id) do %>
7
- <%= content.presence %>
8
- <% end %>
9
- <% else %>
10
- <%= content_tag(:div,
11
- aria: object.aria,
12
- class: object.classname,
13
- data: object.data,
14
- id: object.id) do %>
15
- <%= content.presence %>
16
- <% end %>
17
- <% end %>
@@ -1,15 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Playbook
4
- module PbTable
5
- class TableBody < Playbook::KitBase
6
- prop :tag, type: Playbook::Props::Enum,
7
- values: %w[table div],
8
- default: "table"
9
-
10
- def classname
11
- generate_classname("pb_table_tbody")
12
- end
13
- end
14
- end
15
- end
@@ -1,17 +0,0 @@
1
- <% if object.tag == "table" %>
2
- <%= content_tag(:td,
3
- aria: object.aria,
4
- class: object.classname,
5
- data: object.data,
6
- id: object.id) do %>
7
- <%= content.presence || object.text %>
8
- <% end %>
9
- <% else %>
10
- <%= content_tag(:div,
11
- aria: object.aria,
12
- class: object.classname,
13
- data: object.data,
14
- id: object.id) do %>
15
- <%= content.presence || object.text %>
16
- <% end %>
17
- <% end %>
@@ -1,17 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Playbook
4
- module PbTable
5
- class TableCell < Playbook::KitBase
6
- prop :tag, type: Playbook::Props::Enum,
7
- values: %w[table div],
8
- default: "table"
9
- prop :text, type: Playbook::Props::String,
10
- default: ""
11
-
12
- def classname
13
- generate_classname("pb_table_td")
14
- end
15
- end
16
- end
17
- end
@@ -1,17 +0,0 @@
1
- <% if object.tag == "table" %>
2
- <%= content_tag(:thead,
3
- aria: object.aria,
4
- class: object.classname,
5
- data: object.data,
6
- id: object.id) do %>
7
- <%= content.presence %>
8
- <% end %>
9
- <% else %>
10
- <%= content_tag(:div,
11
- aria: object.aria,
12
- class: object.classname,
13
- data: object.data,
14
- id: object.id) do %>
15
- <%= content.presence %>
16
- <% end %>
17
- <% end %>
@@ -1,15 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Playbook
4
- module PbTable
5
- class TableHead < Playbook::KitBase
6
- prop :tag, type: Playbook::Props::Enum,
7
- values: %w[table div],
8
- default: "table"
9
-
10
- def classname
11
- generate_classname("pb_table_thead")
12
- end
13
- end
14
- end
15
- end