playbook_ui 14.9.0.pre.alpha.play1703errorstatealignment5060 → 14.9.0.pre.alpha.play1742globalheightfixes4766
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 +0 -8
- 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_header.html.erb +3 -5
- 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_avatar/_avatar.scss +2 -0
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom.jsx +49 -53
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom_rails.html.erb +36 -29
- data/app/pb_kits/playbook/pb_body/_body.scss +13 -14
- data/app/pb_kits/playbook/pb_body/_body_mixins.scss +16 -22
- data/app/pb_kits/playbook/pb_bread_crumbs/docs/_bread_crumbs_default.jsx +0 -6
- data/app/pb_kits/playbook/pb_caption/_caption_mixin.scss +1 -2
- data/app/pb_kits/playbook/pb_card/_card_mixin.scss +1 -1
- data/app/pb_kits/playbook/pb_collapsible/_collapsible.tsx +4 -9
- data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleContent.tsx +2 -2
- data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleMain.tsx +2 -2
- data/app/pb_kits/playbook/pb_file_upload/_file_upload.scss +0 -5
- data/app/pb_kits/playbook/pb_file_upload/_file_upload.tsx +2 -7
- data/app/pb_kits/playbook/pb_file_upload/file_upload.html.erb +2 -8
- data/app/pb_kits/playbook/pb_form_group/_form_group.scss +2 -11
- 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_link/_link.scss +3 -3
- data/app/pb_kits/playbook/pb_nav/_bold_mixin.scss +1 -11
- data/app/pb_kits/playbook/pb_nav/_collapsible_nav.scss +2 -16
- data/app/pb_kits/playbook/pb_nav/_vertical_nav.scss +1 -1
- data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.scss +4 -4
- data/app/pb_kits/playbook/pb_selectable_card/selectable_card.html.erb +1 -1
- data/app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_height_width.jsx +0 -2
- data/app/pb_kits/playbook/pb_skeleton_loading/docs/example.yml +1 -2
- data/app/pb_kits/playbook/pb_skeleton_loading/docs/index.js +0 -2
- data/app/pb_kits/playbook/pb_stat_change/_stat_change.tsx +36 -44
- data/app/pb_kits/playbook/pb_stat_change/stat_change.html.erb +4 -4
- data/app/pb_kits/playbook/pb_table/docs/example.yml +0 -5
- data/app/pb_kits/playbook/pb_table/docs/index.js +0 -5
- data/app/pb_kits/playbook/pb_table/index.ts +26 -100
- data/app/pb_kits/playbook/pb_table/styles/_all.scss +1 -2
- data/app/pb_kits/playbook/pb_table/subcomponents/_table_row.tsx +1 -106
- data/app/pb_kits/playbook/pb_table/table.html.erb +1 -1
- data/app/pb_kits/playbook/pb_table/table.rb +2 -17
- data/app/pb_kits/playbook/pb_text_input/_text_input.tsx +3 -35
- data/app/pb_kits/playbook/pb_text_input/docs/example.yml +0 -1
- data/app/pb_kits/playbook/pb_text_input/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_text_input/text_input.test.js +2 -139
- data/app/pb_kits/playbook/pb_title/_title.scss +5 -6
- data/app/pb_kits/playbook/pb_title/_title_mixin.scss +0 -13
- 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/app/pb_kits/playbook/tokens/_titles.scss +8 -0
- data/app/pb_kits/playbook/utilities/_hover.scss +2 -11
- data/app/pb_kits/playbook/utilities/globalProps.ts +0 -2
- data/app/pb_kits/playbook/utilities/test/globalProps/hover.test.js +0 -15
- data/dist/chunks/_typeahead-B8fkIeXA.js +22 -0
- data/dist/chunks/_weekday_stacked-DjRTXEi-.js +45 -0
- data/dist/chunks/{lib-CuCy3_xO.js → lib-SyD3buPZ.js} +3 -3
- data/dist/chunks/{pb_form_validation-D37k10a0.js → pb_form_validation-Dt8UJgrJ.js} +1 -1
- data/dist/chunks/vendor.js +1 -1
- data/dist/menu.yml +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/hover.rb +1 -7
- data/lib/playbook/version.rb +1 -1
- metadata +6 -27
- 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_skeleton_loading/docs/_skeleton_loading_filter.jsx +0 -166
- data/app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_user.jsx +0 -89
- data/app/pb_kits/playbook/pb_table/docs/_table_sticky_left_columns.html.erb +0 -95
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible.jsx +0 -75
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible.md +0 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_click.jsx +0 -108
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_click.md +0 -2
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_content.jsx +0 -94
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_content.md +0 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_rows.jsx +0 -83
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_rows.md +0 -3
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table.jsx +0 -120
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table.md +0 -1
- data/app/pb_kits/playbook/pb_table/styles/_collapsible.scss +0 -35
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_mask.jsx +0 -88
- data/app/pb_kits/playbook/pb_text_input/inputMask.ts +0 -64
- data/dist/chunks/_typeahead-l1kq1p9m.js +0 -22
- data/dist/chunks/_weekday_stacked-DkCMUF58.js +0 -45
@@ -33,6 +33,14 @@
|
|
33
33
|
@include pb_title($heading_4, $bolder, $letterSpacing: $lspace_normal);
|
34
34
|
}
|
35
35
|
|
36
|
+
@mixin pb_title_dark {
|
37
|
+
color: $text_dk_default;
|
38
|
+
}
|
39
|
+
|
40
|
+
@mixin pb_title_dark_link {
|
41
|
+
color: $active_dark;
|
42
|
+
}
|
43
|
+
|
36
44
|
@mixin pb_title_bold {
|
37
45
|
font-weight: $bolder;
|
38
46
|
}
|
@@ -20,13 +20,6 @@
|
|
20
20
|
}
|
21
21
|
}
|
22
22
|
|
23
|
-
@mixin hover-underline {
|
24
|
-
.hover_underline:hover {
|
25
|
-
text-decoration: underline;
|
26
|
-
transition: text-decoration $transition-speed ease;
|
27
|
-
}
|
28
|
-
}
|
29
|
-
|
30
23
|
@mixin hover-color-classes($colors-list) {
|
31
24
|
@each $name, $color in $colors-list {
|
32
25
|
.hover_background-#{"" + $name}:hover {
|
@@ -39,9 +32,7 @@
|
|
39
32
|
}
|
40
33
|
}
|
41
34
|
}
|
42
|
-
|
43
|
-
|
44
|
-
@include hover-underline;
|
35
|
+
|
45
36
|
@include hover-scale-classes($scales);
|
46
37
|
@include hover-shadow-classes($box_shadows);
|
47
38
|
@include hover-color-classes($product_colors);
|
@@ -73,4 +64,4 @@
|
|
73
64
|
.group_hover.hover_visibility {
|
74
65
|
opacity: 1;
|
75
66
|
}
|
76
|
-
}
|
67
|
+
}
|
@@ -64,7 +64,6 @@ type Hover = Shadow & {
|
|
64
64
|
background?: string,
|
65
65
|
color?: string,
|
66
66
|
scale?: "sm" | "md" | "lg",
|
67
|
-
underline?: boolean,
|
68
67
|
visibility?: boolean,
|
69
68
|
}
|
70
69
|
|
@@ -237,7 +236,6 @@ const PROP_CATEGORIES: {[key:string]: (props: {[key: string]: any}) => string} =
|
|
237
236
|
if (!hover) return css;
|
238
237
|
css += hover.shadow ? `hover_shadow_${hover.shadow} ` : '';
|
239
238
|
css += hover.background ? `hover_background-${hover.background } ` : '';
|
240
|
-
css += hover.underline ? `hover_underline ` : '';
|
241
239
|
css += hover.scale ? `hover_scale_${hover.scale} ` : '';
|
242
240
|
css += hover.color ? `hover_color-${hover.color } ` : '';
|
243
241
|
css += hover.visibility ? `hover_visibility` : '';
|
@@ -57,19 +57,6 @@ test('Hover Props: returns proper class name', () => {
|
|
57
57
|
expectedClassName = `hover_scale_xl`;
|
58
58
|
expect(kit).toHaveClass(expectedClassName);
|
59
59
|
|
60
|
-
const testIdUnderline = `${testSubject}-hover-underline`;
|
61
|
-
render(
|
62
|
-
<Body
|
63
|
-
data={{ testid: testIdUnderline }}
|
64
|
-
hover={{ underline: true }}
|
65
|
-
text="Hi"
|
66
|
-
/>
|
67
|
-
);
|
68
|
-
|
69
|
-
kit = screen.getByTestId(testIdUnderline);
|
70
|
-
expectedClassName = `hover_underline`;
|
71
|
-
expect(kit).toHaveClass(expectedClassName);
|
72
|
-
|
73
60
|
const testIdMultiple = `${testSubject}-hover-multiple`;
|
74
61
|
render(
|
75
62
|
<Body
|
@@ -79,7 +66,6 @@ test('Hover Props: returns proper class name', () => {
|
|
79
66
|
background: 'error',
|
80
67
|
shadow: 'deeper',
|
81
68
|
scale: 'xl',
|
82
|
-
underline: true,
|
83
69
|
}}
|
84
70
|
text="Hi"
|
85
71
|
/>
|
@@ -90,5 +76,4 @@ test('Hover Props: returns proper class name', () => {
|
|
90
76
|
expect(kit).toHaveClass('hover_background-error');
|
91
77
|
expect(kit).toHaveClass('hover_shadow_deeper');
|
92
78
|
expect(kit).toHaveClass('hover_scale_xl');
|
93
|
-
expect(kit).toHaveClass('hover_underline');
|
94
79
|
});
|