playbook_ui 14.9.0.pre.alpha.PBNTR775formmatingmaskdefaultvalue5121 → 14.9.0.pre.alpha.PLAY1660reactdropzone5020
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_advanced_table/Components/CollapsibleTrail.tsx +6 -1
- data/app/pb_kits/playbook/pb_advanced_table/_advanced_table.scss +3 -11
- data/app/pb_kits/playbook/pb_advanced_table/_advanced_table.tsx +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/advanced_table.test.jsx +2 -2
- data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +0 -1
- data/app/pb_kits/playbook/pb_advanced_table/table_body.rb +2 -4
- data/app/pb_kits/playbook/pb_advanced_table/table_row.html.erb +0 -8
- data/app/pb_kits/playbook/pb_advanced_table/table_row.rb +0 -2
- data/app/pb_kits/playbook/pb_advanced_table/table_subrow_header.html.erb +0 -8
- data/app/pb_kits/playbook/pb_advanced_table/table_subrow_header.rb +0 -2
- data/app/pb_kits/playbook/pb_card/_card.tsx +7 -7
- data/app/pb_kits/playbook/pb_card/_card_mixin.scss +1 -1
- data/app/pb_kits/playbook/pb_card/docs/_card_header.html.erb +1 -21
- data/app/pb_kits/playbook/pb_card/docs/_card_header.jsx +0 -50
- data/app/pb_kits/playbook/pb_card/docs/_card_header.md +1 -1
- data/app/pb_kits/playbook/pb_file_upload/_file_upload.tsx +24 -15
- data/app/pb_kits/playbook/pb_file_upload/docs/_file_upload_accept.jsx +3 -1
- data/app/pb_kits/playbook/pb_file_upload/docs/_file_upload_custom_description.jsx +4 -1
- data/app/pb_kits/playbook/pb_file_upload/docs/_file_upload_max_size.jsx +1 -1
- data/app/pb_kits/playbook/pb_form_group/_form_group.scss +2 -11
- data/app/pb_kits/playbook/pb_gauge/_gauge.scss +1 -31
- data/app/pb_kits/playbook/pb_gauge/_gauge.tsx +3 -3
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_complex.jsx +5 -25
- data/app/pb_kits/playbook/pb_home_address_street/_home_address_street.tsx +1 -17
- data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_emphasis.html.erb +1 -17
- data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_emphasis.jsx +0 -15
- data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_emphasis.md +1 -2
- data/app/pb_kits/playbook/pb_home_address_street/home_address_street.rb +1 -15
- data/app/pb_kits/playbook/pb_table/_table.tsx +6 -6
- data/app/pb_kits/playbook/pb_table/docs/_table_sticky_left_columns.html.erb +48 -30
- data/app/pb_kits/playbook/pb_table/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_table/index.ts +3 -5
- data/app/pb_kits/playbook/pb_table/styles/_scroll.scss +3 -28
- data/app/pb_kits/playbook/pb_table/styles/_sticky_columns.scss +1 -0
- data/app/pb_kits/playbook/pb_table/table.html.erb +1 -7
- data/app/pb_kits/playbook/pb_table/table.rb +0 -4
- data/app/pb_kits/playbook/pb_text_input/_text_input.tsx +1 -8
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.scss +46 -115
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_highlight.jsx +2 -9
- data/app/pb_kits/playbook/pb_typeahead/typeahead.html.erb +2 -3
- data/dist/chunks/_typeahead-CZ_5SxHq.js +36 -0
- data/dist/chunks/_weekday_stacked-D345GDEZ.js +45 -0
- data/dist/chunks/{lib-sMFo2JZy.js → lib-CuCy3_xO.js} +1 -1
- data/dist/chunks/{pb_form_validation-CgvjWbOK.js → pb_form_validation-D37k10a0.js} +1 -1
- data/dist/chunks/vendor.js +1 -1
- data/dist/playbook-doc.js +1 -1
- data/dist/playbook-rails-react-bindings.js +1 -1
- data/dist/playbook-rails.js +1 -1
- data/dist/playbook.css +1 -1
- data/lib/playbook/version.rb +1 -1
- metadata +6 -12
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_collapsible_trail_rails.html.erb +0 -36
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_collapsible_trail_rails.md +0 -1
- data/app/pb_kits/playbook/pb_form_group/_error_state_mixin.scss +0 -57
- data/app/pb_kits/playbook/pb_home_address_street/none_emphasis.html.erb +0 -32
- data/app/pb_kits/playbook/pb_home_address_street/none_emphasis.rb +0 -29
- data/app/pb_kits/playbook/pb_table/docs/_table_sticky_left_columns_rails.md +0 -1
- data/dist/chunks/_typeahead-DWFImMpi.js +0 -22
- data/dist/chunks/_weekday_stacked-UtPiOqYV.js +0 -45
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.9.0.pre.alpha.
|
4
|
+
version: 14.9.0.pre.alpha.PLAY1660reactdropzone5020
|
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: 2024-12-
|
12
|
+
date: 2024-12-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|
@@ -268,8 +268,6 @@ files:
|
|
268
268
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_beta_subrow_headers.md
|
269
269
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_collapsible_trail.jsx
|
270
270
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_collapsible_trail.md
|
271
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_collapsible_trail_rails.html.erb
|
272
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_collapsible_trail_rails.md
|
273
271
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_custom_cell.jsx
|
274
272
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_custom_cell.md
|
275
273
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_custom_cell_rails.html.erb
|
@@ -1372,7 +1370,6 @@ files:
|
|
1372
1370
|
- app/pb_kits/playbook/pb_form/form.rb
|
1373
1371
|
- app/pb_kits/playbook/pb_form/formHelper.js
|
1374
1372
|
- app/pb_kits/playbook/pb_form/pb_form_validation.js
|
1375
|
-
- app/pb_kits/playbook/pb_form_group/_error_state_mixin.scss
|
1376
1373
|
- app/pb_kits/playbook/pb_form_group/_form_group.scss
|
1377
1374
|
- app/pb_kits/playbook/pb_form_group/_form_group.tsx
|
1378
1375
|
- app/pb_kits/playbook/pb_form_group/docs/_form_group_button.html.erb
|
@@ -1511,8 +1508,6 @@ files:
|
|
1511
1508
|
- app/pb_kits/playbook/pb_home_address_street/home_address_street.html.erb
|
1512
1509
|
- app/pb_kits/playbook/pb_home_address_street/home_address_street.rb
|
1513
1510
|
- app/pb_kits/playbook/pb_home_address_street/home_adress_street.test.js
|
1514
|
-
- app/pb_kits/playbook/pb_home_address_street/none_emphasis.html.erb
|
1515
|
-
- app/pb_kits/playbook/pb_home_address_street/none_emphasis.rb
|
1516
1511
|
- app/pb_kits/playbook/pb_home_address_street/street_emphasis.html.erb
|
1517
1512
|
- app/pb_kits/playbook/pb_home_address_street/street_emphasis.rb
|
1518
1513
|
- app/pb_kits/playbook/pb_icon/_icon.scss
|
@@ -2626,7 +2621,6 @@ files:
|
|
2626
2621
|
- app/pb_kits/playbook/pb_table/docs/_table_sticky.md
|
2627
2622
|
- app/pb_kits/playbook/pb_table/docs/_table_sticky_left_columns.html.erb
|
2628
2623
|
- app/pb_kits/playbook/pb_table/docs/_table_sticky_left_columns.jsx
|
2629
|
-
- app/pb_kits/playbook/pb_table/docs/_table_sticky_left_columns_rails.md
|
2630
2624
|
- app/pb_kits/playbook/pb_table/docs/_table_sticky_left_columns_react.md
|
2631
2625
|
- app/pb_kits/playbook/pb_table/docs/_table_striped.html.erb
|
2632
2626
|
- app/pb_kits/playbook/pb_table/docs/_table_striped.jsx
|
@@ -3211,11 +3205,11 @@ files:
|
|
3211
3205
|
- app/pb_kits/playbook/utilities/test/globalProps/truncate.test.js
|
3212
3206
|
- app/pb_kits/playbook/utilities/text.ts
|
3213
3207
|
- app/pb_kits/playbook/utilities/validEmojiChecker.ts
|
3214
|
-
- dist/chunks/_typeahead-
|
3215
|
-
- dist/chunks/_weekday_stacked-
|
3208
|
+
- dist/chunks/_typeahead-CZ_5SxHq.js
|
3209
|
+
- dist/chunks/_weekday_stacked-D345GDEZ.js
|
3216
3210
|
- dist/chunks/lazysizes-B7xYodB-.js
|
3217
|
-
- dist/chunks/lib-
|
3218
|
-
- dist/chunks/pb_form_validation-
|
3211
|
+
- dist/chunks/lib-CuCy3_xO.js
|
3212
|
+
- dist/chunks/pb_form_validation-D37k10a0.js
|
3219
3213
|
- dist/chunks/vendor.js
|
3220
3214
|
- dist/menu.yml
|
3221
3215
|
- dist/playbook-doc.js
|
data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_collapsible_trail_rails.html.erb
DELETED
@@ -1,36 +0,0 @@
|
|
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 %>
|
@@ -1 +0,0 @@
|
|
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.
|
@@ -1,57 +0,0 @@
|
|
1
|
-
@mixin error-state-flex-start-selectors {
|
2
|
-
&:has(.pb_text_input_kit.error):has(.pb_text_input_kit),
|
3
|
-
&:has(.pb_text_input_kit):has(.pb_date_picker_kit.error),
|
4
|
-
&:has(.pb_text_input_kit):has(.pb_select_kit_wrapper.error),
|
5
|
-
&:has(.pb_text_input_kit.error):has(.pb_text_input_kit_label):has(.pb_select_kit_wrapper.error) {
|
6
|
-
align-items: flex-start;
|
7
|
-
}
|
8
|
-
}
|
9
|
-
|
10
|
-
@mixin error-state-center-selectors {
|
11
|
-
&:has(.pb_select_kit_label):has(.pb_select_kit_wrapper.error):has(.pb_phone_number_input),
|
12
|
-
&:has(.pb_text_input_kit.error):has(.pb_text_input_kit_label):has([class^=pb_button_kit]) {
|
13
|
-
align-items: center;
|
14
|
-
}
|
15
|
-
}
|
16
|
-
|
17
|
-
@mixin error-state-flex-end-selectors {
|
18
|
-
&:has(.pb_select_kit_label):has(.pb_select_kit_wrapper.error):has(.pb_phone_number_input):has(.pb_text_input_kit.error) {
|
19
|
-
align-items: flex-end;
|
20
|
-
}
|
21
|
-
}
|
22
|
-
|
23
|
-
@mixin error-state-right-side-select-kit {
|
24
|
-
&:has(.pb_text_input_kit:not(.error)):has(.pb_text_input_kit_label):has(.pb_select_kit_wrapper.error),
|
25
|
-
&:has(.pb_text_input_kit.error):has(.pb_text_input_kit_label):has(.pb_select_kit_wrapper) {
|
26
|
-
align-items: flex-start;
|
27
|
-
|
28
|
-
.pb_select_kit_wrapper {
|
29
|
-
padding-top: $space_md;
|
30
|
-
margin-top: 2px;
|
31
|
-
|
32
|
-
.pb_select_kit_caret {
|
33
|
-
padding-top: $space_md;
|
34
|
-
}
|
35
|
-
}
|
36
|
-
|
37
|
-
.pb_select_kit_wrapper.error {
|
38
|
-
padding-top: $space_md;
|
39
|
-
margin-top: 2px;
|
40
|
-
|
41
|
-
.pb_select_kit_caret {
|
42
|
-
padding-top: $space_xl;
|
43
|
-
}
|
44
|
-
}
|
45
|
-
}
|
46
|
-
}
|
47
|
-
|
48
|
-
@mixin error-state-left-side-select-kit {
|
49
|
-
&:has(.pb_select_kit_label):has(.pb_select_kit_wrapper):has(.pb_phone_number_input):has(.pb_text_input_kit.error) {
|
50
|
-
align-items: flex-start;
|
51
|
-
|
52
|
-
.pb_text_input_kit.error {
|
53
|
-
padding-top: $space_md;
|
54
|
-
margin-top: 2px;
|
55
|
-
}
|
56
|
-
}
|
57
|
-
}
|
@@ -1,32 +0,0 @@
|
|
1
|
-
<%= pb_rails "body", props: {
|
2
|
-
classname: "pb_home_address_street_address",
|
3
|
-
size: 4,
|
4
|
-
text: object.address_house_style,
|
5
|
-
dark: object.dark
|
6
|
-
} %>
|
7
|
-
<%= pb_rails "body", props: {
|
8
|
-
classname: "pb_home_address_street_address",
|
9
|
-
size: 4,
|
10
|
-
text: object.address_house_style2,
|
11
|
-
dark: object.dark
|
12
|
-
} %>
|
13
|
-
<%= pb_rails "body", props: {
|
14
|
-
color: "light",
|
15
|
-
text: object.city_state_zip,
|
16
|
-
dark: object.dark
|
17
|
-
} %>
|
18
|
-
|
19
|
-
<% if object.home_id %>
|
20
|
-
<%= pb_rails("hashtag", props: {
|
21
|
-
text: "#{object.home_id}",
|
22
|
-
url: object.home_url || "#",
|
23
|
-
type: "home",
|
24
|
-
dark: object.dark,
|
25
|
-
classname: "home-hashtag",
|
26
|
-
new_window: object.new_window,
|
27
|
-
target: object.target_option}) %>
|
28
|
-
<% end %>
|
29
|
-
|
30
|
-
<%= pb_rails "body", props: { color: "light", tag: "span", dark: object.dark } do %>
|
31
|
-
<small><%= object.territory %></small>
|
32
|
-
<% end %>
|
@@ -1,29 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module Playbook
|
4
|
-
module PbHomeAddressStreet
|
5
|
-
class NoneEmphasis < Playbook::KitBase
|
6
|
-
prop :address_house_style
|
7
|
-
prop :address_house_style2
|
8
|
-
prop :city_state_zip
|
9
|
-
prop :home_id, type: Playbook::Props::Number
|
10
|
-
prop :home_url
|
11
|
-
prop :new_window, type: Playbook::Props::Boolean,
|
12
|
-
default: false
|
13
|
-
prop :target
|
14
|
-
prop :territory
|
15
|
-
prop :dark, type: Playbook::Props::Boolean,
|
16
|
-
default: false
|
17
|
-
|
18
|
-
def target_option
|
19
|
-
if target && home_url
|
20
|
-
target
|
21
|
-
elsif new_window
|
22
|
-
"_blank"
|
23
|
-
else
|
24
|
-
"_self"
|
25
|
-
end
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|
@@ -1 +0,0 @@
|
|
1
|
-
The `stickyLeftColumn` prop expects an array of the column ids you want to be sticky. Make sure to add the corresponding id to the `<th>` and `<td>`.
|