playbook_ui_docs 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/docs/example.yml +0 -2
- 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/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_table/docs/_table_header.html.erb +4 -4
- 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/dist/playbook-doc.js +8 -8
- metadata +7 -37
- 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/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_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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18ea5be7df4e083f24e023524d7a1693c59d28f8e9c834282c0a0f20bcf77840
|
4
|
+
data.tar.gz: 92dca1b62fb6b4c4a6f60f09a13d5c5f1bf021ec5f313ca7f27445fce28fa77b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed42c4ed904557a48f9612a84d5d4751ef4d534b4031f935e17999c4f5e3cf43dccbb3dd41faebf650a47aaeafc81399b4e5a56d52590f865f0bd3c493d0866d
|
7
|
+
data.tar.gz: 767354d32db0aa1036be5e33e9248712fba50e2b354a52394591089f32a890d58df09f492e8f77b7c08b378228b0f4dc4cf50466f9fbba682ae77e9772f42c2e
|
@@ -5,8 +5,6 @@ examples:
|
|
5
5
|
- collapsible_size: Icon Size
|
6
6
|
- collapsible_color: Icon Color
|
7
7
|
- collapsible_icons: Custom Icons
|
8
|
-
- collapsible_external_controls: Toggle Collapsible With External Controls
|
9
|
-
- collapsible_external_controls_multiple: Toggle All Collapsibles With One Control
|
10
8
|
|
11
9
|
react:
|
12
10
|
- collapsible_default: Default
|
@@ -20,11 +20,3 @@ examples:
|
|
20
20
|
- icon_sizes: Icon Sizes
|
21
21
|
- icon_custom: Icon Custom
|
22
22
|
- icon_fa_kit: Icon with FontAwesome Kit
|
23
|
-
|
24
|
-
swift:
|
25
|
-
- icon_default_swift: Icon Default
|
26
|
-
- icon_rotate_swift: Icon Rotate
|
27
|
-
- icon_flip_swift: Icon Flip
|
28
|
-
- icon_border_swift: Icon Border
|
29
|
-
- icon_sizes_swift: Icon Sizes
|
30
|
-
- icon_props_swift: Props
|
@@ -11,9 +11,3 @@ examples:
|
|
11
11
|
- label_value_default: Default
|
12
12
|
- label_value_details: Details
|
13
13
|
- label_value_details_examples: Other Examples
|
14
|
-
|
15
|
-
swift:
|
16
|
-
- label_value_default_swift: Default
|
17
|
-
- label_value_details_swift: Details
|
18
|
-
- label_value_details_examples_swift: Other Examples
|
19
|
-
- label_value_props_swift: ""
|
@@ -2,22 +2,12 @@
|
|
2
2
|
|
3
3
|
<br>
|
4
4
|
|
5
|
-
<%= pb_rails("star_rating", props: { rating: 1 }) %>
|
6
|
-
|
7
|
-
<br>
|
8
|
-
|
9
|
-
<%= pb_rails("star_rating", props: { rating: 2}) %>
|
10
|
-
|
11
|
-
<br>
|
12
|
-
|
13
5
|
<%= pb_rails("star_rating", props: { rating: 3 }) %>
|
14
6
|
|
15
7
|
<br>
|
16
8
|
|
17
|
-
<%= pb_rails("star_rating", props: { rating:
|
9
|
+
<%= pb_rails("star_rating", props: { rating: 1.5 }) %>
|
18
10
|
|
19
11
|
<br>
|
20
12
|
|
21
13
|
<%= pb_rails("star_rating", props: { rating: 5 }) %>
|
22
|
-
|
23
|
-
<br>
|
@@ -4,21 +4,7 @@ import StarRating from '../_star_rating'
|
|
4
4
|
|
5
5
|
const StarRatingDefault = (props) => (
|
6
6
|
<>
|
7
|
-
<StarRating
|
8
|
-
|
9
|
-
<br />
|
10
|
-
|
11
|
-
<StarRating
|
12
|
-
rating={0.9}
|
13
|
-
{...props}
|
14
|
-
/>
|
15
|
-
|
16
|
-
<br />
|
17
|
-
|
18
|
-
<StarRating
|
19
|
-
rating={1.5}
|
20
|
-
{...props}
|
21
|
-
/>
|
7
|
+
<StarRating />
|
22
8
|
|
23
9
|
<br />
|
24
10
|
|
@@ -30,11 +16,10 @@ const StarRatingDefault = (props) => (
|
|
30
16
|
<br />
|
31
17
|
|
32
18
|
<StarRating
|
33
|
-
rating={
|
19
|
+
rating={1.5}
|
34
20
|
{...props}
|
35
21
|
/>
|
36
22
|
|
37
|
-
|
38
23
|
<br />
|
39
24
|
|
40
25
|
<StarRating
|
@@ -1,6 +1 @@
|
|
1
|
-
<%= pb_rails("star_rating", props: { rating: 3 }) %>
|
2
|
-
</br>
|
3
|
-
<%= pb_rails("star_rating", props: { rating: 3, layout_option: "number" }) %>
|
4
|
-
</br>
|
5
|
-
<%= pb_rails("star_rating", props: { rating: 3, layout_option: "onestar" }) %>
|
6
|
-
</br>
|
1
|
+
<%= pb_rails("star_rating", props: { rating: 3.5, hide_rating: true }) %>
|
@@ -3,30 +3,13 @@ import React from 'react'
|
|
3
3
|
import StarRating from '../_star_rating'
|
4
4
|
|
5
5
|
const StarRatingHide = (props) => (
|
6
|
-
<>
|
7
6
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
7
|
+
<StarRating
|
8
|
+
hideRating
|
9
|
+
rating={3.5}
|
10
|
+
{...props}
|
11
|
+
/>
|
12
12
|
|
13
|
-
<br />
|
14
|
-
|
15
|
-
<StarRating
|
16
|
-
layoutOption={"number"}
|
17
|
-
rating={3}
|
18
|
-
{...props}
|
19
|
-
/>
|
20
|
-
|
21
|
-
<br />
|
22
|
-
|
23
|
-
<StarRating
|
24
|
-
layoutOption={"onestar"}
|
25
|
-
rating={3}
|
26
|
-
{...props}
|
27
|
-
/>
|
28
|
-
|
29
|
-
</>
|
30
13
|
)
|
31
14
|
|
32
15
|
export default StarRatingHide
|
@@ -1,14 +1,9 @@
|
|
1
1
|
examples:
|
2
|
+
|
2
3
|
rails:
|
3
|
-
|
4
|
-
|
5
|
-
- star_rating_hide: Layout Options
|
6
|
-
- star_rating_number_config: Number Config
|
7
|
-
- star_rating_size_options: Size Options
|
4
|
+
- star_rating_default: Default
|
5
|
+
- star_rating_hide: Hide Rating Value
|
8
6
|
|
9
7
|
react:
|
10
|
-
|
11
|
-
|
12
|
-
- star_rating_hide: Layout Options
|
13
|
-
- star_rating_number_config: Number Config
|
14
|
-
- star_rating_size_options: Size Options
|
8
|
+
- star_rating_default: Default
|
9
|
+
- star_rating_hide: Hide Rating Value
|
@@ -1,9 +1,3 @@
|
|
1
1
|
export { default as StarRatingDefault } from './_star_rating_default.jsx'
|
2
2
|
|
3
|
-
export { default as StarRatingColorOptions } from './_star_rating_color_options.jsx'
|
4
|
-
|
5
3
|
export { default as StarRatingHide } from './_star_rating_hide.jsx'
|
6
|
-
|
7
|
-
export { default as StarRatingNumberConfig } from './_star_rating_number_config.jsx'
|
8
|
-
|
9
|
-
export { default as StarRatingSizeOptions } from './_star_rating_size_options.jsx'
|
@@ -39,10 +39,10 @@
|
|
39
39
|
text: "Full Name",
|
40
40
|
colspan: 2,
|
41
41
|
sort_menu: [
|
42
|
-
{ item: "First Name", link: "?sort=firstname_desc#table-header", active: params["sort"] == "firstname_desc", direction: "desc" },
|
43
|
-
{ item: "First Name", link: "?sort=firstname_asc#table-header", active: params["sort"] == "firstname_asc", direction: "asc" },
|
44
|
-
{ item: "Last Name", link: "?sort=lastname_desc#table-header", active: params["sort"] == "lastname_desc", direction: "desc" },
|
45
|
-
{ item: "Last Name", link: "?sort=lastname_asc#table-header", active: params["sort"] == "lastname_asc", direction: "asc" }
|
42
|
+
{ item: "First Name Descending", link: "?sort=firstname_desc#table-header", active: params["sort"] == "firstname_desc", direction: "desc" },
|
43
|
+
{ item: "First Name Ascending", link: "?sort=firstname_asc#table-header", active: params["sort"] == "firstname_asc", direction: "asc" },
|
44
|
+
{ item: "Last Name Descending", link: "?sort=lastname_desc#table-header", active: params["sort"] == "lastname_desc", direction: "desc" },
|
45
|
+
{ item: "Last Name Ascending", link: "?sort=lastname_asc#table-header", active: params["sort"] == "lastname_asc", direction: "asc" }
|
46
46
|
],
|
47
47
|
}) %>
|
48
48
|
<%= pb_rails("table/table_header", props: {
|
@@ -9,10 +9,12 @@ const TooltipDefaultReact = (props) => {
|
|
9
9
|
<Flex
|
10
10
|
flexDirection='row'
|
11
11
|
gap='md'
|
12
|
+
justifyContent='center'
|
12
13
|
wrap
|
13
14
|
>
|
14
15
|
<FlexItem>
|
15
16
|
<Tooltip
|
17
|
+
className={"customClassNameHere"}
|
16
18
|
placement='top'
|
17
19
|
text="Whoa. I'm a Tooltip"
|
18
20
|
zIndex={10}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<%= pb_rails("flex", props: { orientation: "column" }) do %>
|
1
|
+
<%= pb_rails("flex", props: { horizontal: "center", orientation: "column" }) do %>
|
2
2
|
<%= pb_rails("flex/flex_item", props: {margin_top: "md"}) do %>
|
3
3
|
<%= pb_rails("button", props: {classname: "tooltip-example-trigger", text: "Example 1"}) %>
|
4
4
|
<% end %>
|
@@ -4,7 +4,6 @@ examples:
|
|
4
4
|
- tooltip_default: Default
|
5
5
|
- tooltip_selectors: Using Common Selectors
|
6
6
|
- tooltip_with_icon_circle: Icon Circle Tooltip
|
7
|
-
- tooltip_show_tooltip: Show Tooltip
|
8
7
|
|
9
8
|
react:
|
10
9
|
- tooltip_default_react: Default
|
@@ -12,5 +11,3 @@ examples:
|
|
12
11
|
- tooltip_margin: Margin
|
13
12
|
- tooltip_icon: Tooltip with Icon
|
14
13
|
- tooltip_delay: Delay
|
15
|
-
- tooltip_show_tooltip_react: Show Tooltip
|
16
|
-
|
@@ -3,4 +3,3 @@ export { default as TooltipInteraction } from './_tooltip_interaction'
|
|
3
3
|
export { default as TooltipMargin } from './_tooltip_margin'
|
4
4
|
export { default as TooltipIcon } from './_tooltip_icon'
|
5
5
|
export { default as TooltipDelay } from './_tooltip_delay'
|
6
|
-
export { default as TooltipShowTooltipReact } from './_tooltip_show_tooltip_react'
|