playbook_ui_docs 13.28.0.pre.alpha.play829selectablecardalignment2978 → 13.28.0

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui_docs
3
3
  version: !ruby/object:Gem::Version
4
- version: 13.28.0.pre.alpha.play829selectablecardalignment2978
4
+ version: 13.28.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX
8
8
  - Power Devs
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-05-28 00:00:00.000000000 Z
12
+ date: 2024-05-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: playbook_ui
@@ -35,8 +35,6 @@ extra_rdoc_files: []
35
35
  files:
36
36
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_beta.html.erb
37
37
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_beta.md
38
- - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_beta_subrow_headers.html.erb
39
- - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_beta_subrow_headers.md
40
38
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_collapsible_trail.jsx
41
39
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_collapsible_trail.md
42
40
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_default.jsx
@@ -1883,7 +1881,7 @@ homepage: https://playbook.powerapp.cloud/
1883
1881
  licenses:
1884
1882
  - ISC
1885
1883
  metadata: {}
1886
- post_install_message:
1884
+ post_install_message:
1887
1885
  rdoc_options: []
1888
1886
  require_paths:
1889
1887
  - lib
@@ -1899,7 +1897,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1899
1897
  version: '0'
1900
1898
  requirements: []
1901
1899
  rubygems_version: 3.5.3
1902
- signing_key:
1900
+ signing_key:
1903
1901
  specification_version: 4
1904
1902
  summary: Playbook Design System Docs
1905
1903
  test_files: []
@@ -1,40 +0,0 @@
1
- <%
2
- column_definitions = [
3
- {
4
- accessor: "year",
5
- label: "Year",
6
- cellAccessors: ["quarter", "month", "day"],
7
- },
8
- {
9
- accessor: "newEnrollments",
10
- label: "New Enrollments",
11
- },
12
- {
13
- accessor: "scheduledMeetings",
14
- label: "Scheduled Meetings",
15
- },
16
- {
17
- accessor: "attendanceRate",
18
- label: "Attendance Rate",
19
- },
20
- {
21
- accessor: "completedClasses",
22
- label: "Completed Classes",
23
- },
24
- {
25
- accessor: "classCompletionRate",
26
- label: "Class Completion Rate",
27
- },
28
- {
29
- accessor: "graduatedStudents",
30
- label: "Graduated Students",
31
- }
32
- ]
33
-
34
- subrow_headers = ["Quarter", "Month", "Day"]
35
- %>
36
-
37
- <%= pb_rails("advanced_table", props: { table_data: @table_data, column_definitions: column_definitions }) do %>
38
- <%= pb_rails("advanced_table/table_header", props: { column_definitions: column_definitions }) %>
39
- <%= pb_rails("advanced_table/table_body", props: { id: "subrow_headers", table_data: @table_data, column_definitions: column_definitions, subrow_headers: subrow_headers, enable_toggle_expansion: "all" }) %>
40
- <% end %>
@@ -1,3 +0,0 @@
1
- `subrow_headers` is an optional prop that if present will add header rows at each level of the nested data. The prop takes an array of strings, each string being the text for each header row. The array of strings must be in the order in which they need to be rendered in the UI according to depth.
2
-
3
- `enable_toggle_expansion` is an additional optional prop that can be used in conjunction with the subRowHeaders prop. `enable_toggle_expansion` is a string that can be "all", "header" or "none". If set to "all", the toggle exapansion button will appear in the table header as well as in the subRow headers. If set to "header" button will only appear in header and NOT in subRow headers. This is set to "header" by default.