playbook_ui_docs 14.10.0.pre.rc.17 → 14.10.0.pre.rc.18

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a93718948746a9b4e25dcfadebfa0c3b9c0fc74b60a03b384ed32cf2888376a4
4
- data.tar.gz: eb4884e1235ee2debbbf10a8c8d209202c6b3e4eb3b9bf11d210d3aff8bfaa2f
3
+ metadata.gz: 68bfad42551cfd9ce261a41e7b169f677aff4376a53daec3931ccb0a62c3075f
4
+ data.tar.gz: e7a44d4cb2e93c4b56333eccef350d9377596355df35686936d67af1d7a6c47e
5
5
  SHA512:
6
- metadata.gz: 6b919ef18fe44c29cd6d5453357e88e241cb66b496b43f3fb5db68e26a687d72f9463b1d5ed228c698da9b23e05cc290e06647cbb3d188388a71396ffbd83438
7
- data.tar.gz: 32acd29b9d131bd25008eb491abffe6a923f46092dbcafaf7d082e68b21af7b43084a21739a0e22f63271ca453c0fe020a759696111df80a1e18cb1bb73bd6fa
6
+ metadata.gz: c08b7ebd416faca1e8c52fb3a0131663d1e58cbfa1b4481d78a86ac151733ba7c4c9158692afd74e265771ca3b5bc458c2828e37e34fb940b0b24e16d3b2bf83
7
+ data.tar.gz: c48d1eebc0ad3bceeaf43101a4c8f3d4d7108f1b958ee12aa7c346feb7609922f26499e2430a6e1311868c2a5b9d143c064500ee9ec6bc6fc99600b095879485
@@ -0,0 +1,36 @@
1
+ <% column_definitions = [
2
+ {
3
+ accessor: "year",
4
+ label: "Year",
5
+ cellAccessors: ["quarter", "month", "day"],
6
+ },
7
+ {
8
+ accessor: "newEnrollments",
9
+ label: "New Enrollments",
10
+ },
11
+ {
12
+ accessor: "scheduledMeetings",
13
+ label: "Scheduled Meetings",
14
+ },
15
+ {
16
+ accessor: "attendanceRate",
17
+ label: "Attendance Rate",
18
+ },
19
+ {
20
+ accessor: "completedClasses",
21
+ label: "Completed Classes",
22
+ },
23
+ {
24
+ accessor: "classCompletionRate",
25
+ label: "Class Completion Rate",
26
+ },
27
+ {
28
+ accessor: "graduatedStudents",
29
+ label: "Graduated Students",
30
+ }
31
+ ] %>
32
+
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: { column_definitions: column_definitions }) %>
35
+ <%= pb_rails("advanced_table/table_body", props: { table_data: @table_data, column_definitions: column_definitions, collapsible_trail: false }) %>
36
+ <% end %>
@@ -0,0 +1 @@
1
+ `collapsible_trail` is an optional prop that is set to 'true' by default. If set to 'false', it will remove the trail on the left of the rows when subRows are toggled open.
@@ -2,6 +2,7 @@ examples:
2
2
  rails:
3
3
  - advanced_table_beta: Default (Required Props)
4
4
  - advanced_table_beta_subrow_headers: SubRow Headers
5
+ - advanced_table_collapsible_trail_rails: Collapsible Trail
5
6
  - advanced_table_beta_sort: Enable Sorting
6
7
  - advanced_table_custom_cell_rails: Custom Components for Cells
7
8