playbook_ui 14.24.0.pre.alpha.PLAY2360circleiconbuttonvariantdatabug9438 → 14.24.0.pre.alpha.PLAY19989342
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.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_advanced_table/_advanced_table.scss +0 -34
- data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_advanced_table/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_advanced_table/table_row.rb +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/table_subrow_header.rb +1 -1
- data/app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.html.erb +1 -10
- data/app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb +0 -2
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/example.yml +0 -1
- data/app/pb_kits/playbook/pb_table/styles/_vertical_border.scss +1 -49
- data/dist/menu.yml +1 -1
- data/dist/playbook-doc.js +1 -1
- data/dist/playbook.css +1 -1
- data/lib/playbook/version.rb +1 -1
- metadata +2 -6
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers_vertical_border.html.erb +0 -43
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers_vertical_border.jsx +0 -64
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_input_options.html.erb +0 -24
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_input_options.md +0 -3
data/lib/playbook/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: playbook_ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 14.24.0.pre.alpha.
|
4
|
+
version: 14.24.0.pre.alpha.PLAY19989342
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Power UX
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2025-08-
|
12
|
+
date: 2025-08-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|
@@ -308,8 +308,6 @@ files:
|
|
308
308
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers_multiple.html.erb
|
309
309
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers_multiple.jsx
|
310
310
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers_multiple.md
|
311
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers_vertical_border.html.erb
|
312
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers_vertical_border.jsx
|
313
311
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling.jsx
|
314
312
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling.md
|
315
313
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling_column_headers.jsx
|
@@ -812,8 +810,6 @@ files:
|
|
812
810
|
- app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_click.jsx
|
813
811
|
- app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_default.html.erb
|
814
812
|
- app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_default.jsx
|
815
|
-
- app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_input_options.html.erb
|
816
|
-
- app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_input_options.md
|
817
813
|
- app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_link.html.erb
|
818
814
|
- app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_link.jsx
|
819
815
|
- app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_link.md
|
@@ -1,43 +0,0 @@
|
|
1
|
-
<% column_definitions = [
|
2
|
-
{
|
3
|
-
accessor: "year",
|
4
|
-
label: "Year",
|
5
|
-
cellAccessors: ["quarter", "month", "day"],
|
6
|
-
},
|
7
|
-
{
|
8
|
-
label: "Enrollment Data",
|
9
|
-
columns: [
|
10
|
-
{
|
11
|
-
accessor: "newEnrollments",
|
12
|
-
label: "New Enrollments",
|
13
|
-
},
|
14
|
-
{
|
15
|
-
accessor: "scheduledMeetings",
|
16
|
-
label: "Scheduled Meetings",
|
17
|
-
},
|
18
|
-
],
|
19
|
-
},
|
20
|
-
{
|
21
|
-
label: "Performance Data",
|
22
|
-
columns: [
|
23
|
-
{
|
24
|
-
accessor: "attendanceRate",
|
25
|
-
label: "Attendance Rate",
|
26
|
-
},
|
27
|
-
{
|
28
|
-
accessor: "completedClasses",
|
29
|
-
label: "Completed Classes",
|
30
|
-
},
|
31
|
-
{
|
32
|
-
accessor: "classCompletionRate",
|
33
|
-
label: "Class Completion Rate",
|
34
|
-
},
|
35
|
-
{
|
36
|
-
accessor: "graduatedStudents",
|
37
|
-
label: "Graduated Students",
|
38
|
-
},
|
39
|
-
],
|
40
|
-
},
|
41
|
-
] %>
|
42
|
-
|
43
|
-
<%= pb_rails("advanced_table", props: { id: "table_multi_headers_vertical_borders", table_data: @table_data, column_definitions: column_definitions, table_props: { vertical_border: true } }) %>
|
data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers_vertical_border.jsx
DELETED
@@ -1,64 +0,0 @@
|
|
1
|
-
import React from "react"
|
2
|
-
import AdvancedTable from '../../pb_advanced_table/_advanced_table'
|
3
|
-
import MOCK_DATA from "./advanced_table_mock_data.json"
|
4
|
-
|
5
|
-
const AdvancedTableColumnHeadersVerticalBorder = (props) => {
|
6
|
-
const columnDefinitions = [
|
7
|
-
{
|
8
|
-
accessor: "year",
|
9
|
-
label: "Year",
|
10
|
-
cellAccessors: ["quarter", "month", "day"],
|
11
|
-
},
|
12
|
-
{
|
13
|
-
label: "Enrollment Data",
|
14
|
-
columns: [
|
15
|
-
{
|
16
|
-
accessor: "newEnrollments",
|
17
|
-
label: "New Enrollments",
|
18
|
-
},
|
19
|
-
{
|
20
|
-
accessor: "scheduledMeetings",
|
21
|
-
label: "Scheduled Meetings",
|
22
|
-
},
|
23
|
-
],
|
24
|
-
},
|
25
|
-
{
|
26
|
-
label: "Performance Data",
|
27
|
-
columns: [
|
28
|
-
{
|
29
|
-
accessor: "attendanceRate",
|
30
|
-
label: "Attendance Rate",
|
31
|
-
},
|
32
|
-
{
|
33
|
-
accessor: "completedClasses",
|
34
|
-
label: "Completed Classes",
|
35
|
-
},
|
36
|
-
{
|
37
|
-
accessor: "classCompletionRate",
|
38
|
-
label: "Class Completion Rate",
|
39
|
-
},
|
40
|
-
{
|
41
|
-
accessor: "graduatedStudents",
|
42
|
-
label: "Graduated Students",
|
43
|
-
},
|
44
|
-
],
|
45
|
-
},
|
46
|
-
];
|
47
|
-
|
48
|
-
const tableProps = {
|
49
|
-
verticalBorder: true
|
50
|
-
}
|
51
|
-
|
52
|
-
return (
|
53
|
-
<>
|
54
|
-
<AdvancedTable
|
55
|
-
columnDefinitions={columnDefinitions}
|
56
|
-
tableData={MOCK_DATA}
|
57
|
-
tableProps={tableProps}
|
58
|
-
{...props}
|
59
|
-
/>
|
60
|
-
</>
|
61
|
-
)
|
62
|
-
}
|
63
|
-
|
64
|
-
export default AdvancedTableColumnHeadersVerticalBorder
|
data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_input_options.html.erb
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
<%= pb_rails("circle_icon_button", props: {
|
2
|
-
icon: "plus",
|
3
|
-
input_options: {
|
4
|
-
data: { "test-id": "add-button", remote: true },
|
5
|
-
}
|
6
|
-
}) %>
|
7
|
-
<br/>
|
8
|
-
<%= pb_rails("circle_icon_button", props: {
|
9
|
-
icon: "pen",
|
10
|
-
variant: "secondary",
|
11
|
-
input_options: {
|
12
|
-
data: { "test-id": "edit-button" },
|
13
|
-
classname: "custom-secondary-button-class"
|
14
|
-
}
|
15
|
-
}) %>
|
16
|
-
<br/>
|
17
|
-
<%= pb_rails("circle_icon_button", props: {
|
18
|
-
icon: "user",
|
19
|
-
variant: "link",
|
20
|
-
input_options: {
|
21
|
-
data: { "test-id": "user-button" },
|
22
|
-
id: "user-button-id"
|
23
|
-
}
|
24
|
-
}) %>
|
@@ -1,3 +0,0 @@
|
|
1
|
-
Use the `input_options` prop to pass additional attributes directly to the internal Playbook Button component. While the wrapper div has access to the standard `data` prop from KitBase, `input_options` allows you to attach attributes specifically to the internal button element.
|
2
|
-
|
3
|
-
This is particularly useful when you need data attributes or other HTML attributes to apply to the button itself.
|