playbook_ui_docs 14.10.0.pre.rc.16 → 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: 68fe4605328d5a563ecea0b082312707eef9a40805b613ba09405c29f0ecc641
4
- data.tar.gz: 750a64782e7db9b73011c99ce284e8f61211d4affd5e4a10a3ae2629824bfbdd
3
+ metadata.gz: 68bfad42551cfd9ce261a41e7b169f677aff4376a53daec3931ccb0a62c3075f
4
+ data.tar.gz: e7a44d4cb2e93c4b56333eccef350d9377596355df35686936d67af1d7a6c47e
5
5
  SHA512:
6
- metadata.gz: a989a9a66454ef6a5da084001e80880309307b6c71c74b2b2f059be88aae834f5f6a53b44419209e0d05af1e3c8fcd053eed866413e047cef73836a750336c71
7
- data.tar.gz: 92f1ff4725a135fbc7aa0262f9a21b192c6ff2e3da172c4d273709349de1829c62db375f0af48caf9a11e516c776569452bfd57bec5b7f1ae3828990146bd6bd
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