playbook_ui 13.11.1.pre.alpha.play900startratingasinput1530 → 13.11.1
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_collapsible/collapsible_content.rb +1 -3
- data/app/pb_kits/playbook/pb_collapsible/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_collapsible/index.js +0 -4
- data/app/pb_kits/playbook/pb_icon/docs/example.yml +0 -8
- data/app/pb_kits/playbook/pb_image/docs/example.yml +0 -5
- data/app/pb_kits/playbook/pb_label_value/docs/example.yml +0 -6
- data/app/pb_kits/playbook/pb_message/docs/example.yml +0 -4
- data/app/pb_kits/playbook/pb_star_rating/_star_rating.scss +49 -61
- data/app/pb_kits/playbook/pb_star_rating/_star_rating.tsx +54 -151
- data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_default.html.erb +1 -11
- data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_default.jsx +2 -17
- data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_hide.html.erb +1 -6
- data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_hide.jsx +5 -22
- data/app/pb_kits/playbook/pb_star_rating/docs/example.yml +5 -10
- data/app/pb_kits/playbook/pb_star_rating/docs/index.js +0 -6
- data/app/pb_kits/playbook/pb_star_rating/star_rating.html.erb +15 -56
- data/app/pb_kits/playbook/pb_star_rating/star_rating.rb +6 -49
- data/app/pb_kits/playbook/pb_star_rating/star_rating.test.js +34 -33
- data/app/pb_kits/playbook/pb_table/docs/_table_header.html.erb +4 -4
- data/app/pb_kits/playbook/pb_table/styles/_hover.scss +2 -26
- data/app/pb_kits/playbook/pb_table/styles/_table-dark.scss +17 -1
- data/app/pb_kits/playbook/pb_table/table_header.html.erb +3 -4
- data/app/pb_kits/playbook/pb_table/table_header.rb +5 -28
- data/app/pb_kits/playbook/pb_tooltip/_tooltip.tsx +9 -25
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default.html.erb +1 -1
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default_react.jsx +2 -0
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_delay.jsx +1 -0
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx +1 -0
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_margin.jsx +1 -0
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_selectors.html.erb +1 -1
- data/app/pb_kits/playbook/pb_tooltip/docs/example.yml +0 -3
- data/app/pb_kits/playbook/pb_tooltip/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_tooltip/index.js +0 -6
- data/app/pb_kits/playbook/pb_tooltip/tooltip.rb +1 -2
- data/app/pb_kits/playbook/pb_tooltip/tooltip.test.jsx +0 -34
- data/app/pb_kits/playbook/playbook-doc.js +1 -1
- data/dist/playbook-rails.js +5 -5
- data/lib/playbook/version.rb +2 -2
- metadata +7 -39
- data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_external_controls.html.erb +0 -22
- data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_external_controls.md +0 -3
- data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_external_controls_multiple.html.erb +0 -40
- data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_external_controls_multiple.md +0 -1
- data/app/pb_kits/playbook/pb_icon/docs/_icon_border_swift.md +0 -7
- data/app/pb_kits/playbook/pb_icon/docs/_icon_default_swift.md +0 -7
- data/app/pb_kits/playbook/pb_icon/docs/_icon_flip_swift.md +0 -11
- data/app/pb_kits/playbook/pb_icon/docs/_icon_props_swift.md +0 -8
- data/app/pb_kits/playbook/pb_icon/docs/_icon_rotate_swift.md +0 -11
- data/app/pb_kits/playbook/pb_icon/docs/_icon_sizes_swift.md +0 -46
- data/app/pb_kits/playbook/pb_image/docs/_image_props_swift.md +0 -7
- data/app/pb_kits/playbook/pb_image/docs/_rounded_image_swift.md +0 -47
- data/app/pb_kits/playbook/pb_image/docs/_size_image_swift.md +0 -47
- data/app/pb_kits/playbook/pb_image/docs/_size_none_image_swift.md +0 -15
- data/app/pb_kits/playbook/pb_label_value/docs/_label_value_default_swift.md +0 -11
- data/app/pb_kits/playbook/pb_label_value/docs/_label_value_details_examples_swift.md +0 -72
- data/app/pb_kits/playbook/pb_label_value/docs/_label_value_details_swift.md +0 -41
- data/app/pb_kits/playbook/pb_label_value/docs/_label_value_props_swift.md +0 -11
- data/app/pb_kits/playbook/pb_message/docs/_message_default_swift.md +0 -57
- data/app/pb_kits/playbook/pb_message/docs/_message_props_swift.md +0 -12
- data/app/pb_kits/playbook/pb_star_rating/custom-icons.js +0 -356
- data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_color_options.html.erb +0 -7
- data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_color_options.jsx +0 -40
- data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_number_config.html.erb +0 -12
- data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_number_config.jsx +0 -57
- data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_size_options.html.erb +0 -23
- data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_size_options.jsx +0 -59
- data/app/pb_kits/playbook/pb_star_rating/star.svg +0 -3
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_show_tooltip.html.erb +0 -39
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_show_tooltip.md +0 -5
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_show_tooltip_react.jsx +0 -45
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_show_tooltip_react.md +0 -3
@@ -92,39 +92,5 @@ test("has position fixed", async () => {
|
|
92
92
|
cleanup();
|
93
93
|
})
|
94
94
|
|
95
|
-
cleanup();
|
96
|
-
});
|
97
|
-
|
98
|
-
test("display tooltip with showTooltip set to true", async () => {
|
99
|
-
render(
|
100
|
-
<Tooltip
|
101
|
-
data={{ testid: "fixed-position-test" }}
|
102
|
-
showTooltip
|
103
|
-
/>
|
104
|
-
);
|
105
|
-
|
106
|
-
fireEvent.mouseEnter(screen.getByRole("tooltip_trigger"));
|
107
|
-
await waitFor(() => {
|
108
|
-
expect(screen.queryByRole("tooltip")).toBeInTheDocument();
|
109
|
-
cleanup();
|
110
|
-
})
|
111
|
-
|
112
|
-
cleanup();
|
113
|
-
});
|
114
|
-
|
115
|
-
test("doesn't display tooltip with showTooltip set to false", async () => {
|
116
|
-
render(
|
117
|
-
<Tooltip
|
118
|
-
data={{ testid: "fixed-position-test" }}
|
119
|
-
showTooltip={false}
|
120
|
-
/>
|
121
|
-
);
|
122
|
-
|
123
|
-
fireEvent.mouseEnter(screen.getByRole("tooltip_trigger"));
|
124
|
-
await waitFor(() => {
|
125
|
-
expect(screen.queryByRole("tooltip")).not.toBeInTheDocument();
|
126
|
-
cleanup();
|
127
|
-
})
|
128
|
-
|
129
95
|
cleanup();
|
130
96
|
});
|
@@ -104,7 +104,7 @@ import * as UserBadge from 'pb_user_badge/docs'
|
|
104
104
|
import * as Walkthrough from 'pb_walkthrough/docs'
|
105
105
|
import * as WeekdayStacked from 'pb_weekday_stacked/docs'
|
106
106
|
|
107
|
-
WebpackerReact.
|
107
|
+
WebpackerReact.setup({
|
108
108
|
...Avatar,
|
109
109
|
...AvatarActionButton,
|
110
110
|
...Background,
|