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.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_collapsible/docs/example.yml +0 -2
  3. data/app/pb_kits/playbook/pb_icon/docs/example.yml +0 -8
  4. data/app/pb_kits/playbook/pb_image/docs/example.yml +0 -5
  5. data/app/pb_kits/playbook/pb_label_value/docs/example.yml +0 -6
  6. data/app/pb_kits/playbook/pb_message/docs/example.yml +0 -4
  7. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_default.html.erb +1 -11
  8. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_default.jsx +2 -17
  9. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_hide.html.erb +1 -6
  10. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_hide.jsx +5 -22
  11. data/app/pb_kits/playbook/pb_star_rating/docs/example.yml +5 -10
  12. data/app/pb_kits/playbook/pb_star_rating/docs/index.js +0 -6
  13. data/app/pb_kits/playbook/pb_table/docs/_table_header.html.erb +4 -4
  14. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default.html.erb +1 -1
  15. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default_react.jsx +2 -0
  16. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_delay.jsx +1 -0
  17. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx +1 -0
  18. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_margin.jsx +1 -0
  19. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_selectors.html.erb +1 -1
  20. data/app/pb_kits/playbook/pb_tooltip/docs/example.yml +0 -3
  21. data/app/pb_kits/playbook/pb_tooltip/docs/index.js +0 -1
  22. data/dist/playbook-doc.js +8 -8
  23. metadata +7 -37
  24. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_external_controls.html.erb +0 -22
  25. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_external_controls.md +0 -3
  26. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_external_controls_multiple.html.erb +0 -40
  27. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_external_controls_multiple.md +0 -1
  28. data/app/pb_kits/playbook/pb_icon/docs/_icon_border_swift.md +0 -7
  29. data/app/pb_kits/playbook/pb_icon/docs/_icon_default_swift.md +0 -7
  30. data/app/pb_kits/playbook/pb_icon/docs/_icon_flip_swift.md +0 -11
  31. data/app/pb_kits/playbook/pb_icon/docs/_icon_props_swift.md +0 -8
  32. data/app/pb_kits/playbook/pb_icon/docs/_icon_rotate_swift.md +0 -11
  33. data/app/pb_kits/playbook/pb_icon/docs/_icon_sizes_swift.md +0 -46
  34. data/app/pb_kits/playbook/pb_image/docs/_image_props_swift.md +0 -7
  35. data/app/pb_kits/playbook/pb_image/docs/_rounded_image_swift.md +0 -47
  36. data/app/pb_kits/playbook/pb_image/docs/_size_image_swift.md +0 -47
  37. data/app/pb_kits/playbook/pb_image/docs/_size_none_image_swift.md +0 -15
  38. data/app/pb_kits/playbook/pb_label_value/docs/_label_value_default_swift.md +0 -11
  39. data/app/pb_kits/playbook/pb_label_value/docs/_label_value_details_examples_swift.md +0 -72
  40. data/app/pb_kits/playbook/pb_label_value/docs/_label_value_details_swift.md +0 -41
  41. data/app/pb_kits/playbook/pb_label_value/docs/_label_value_props_swift.md +0 -11
  42. data/app/pb_kits/playbook/pb_message/docs/_message_default_swift.md +0 -57
  43. data/app/pb_kits/playbook/pb_message/docs/_message_props_swift.md +0 -12
  44. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_color_options.html.erb +0 -7
  45. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_color_options.jsx +0 -40
  46. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_number_config.html.erb +0 -12
  47. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_number_config.jsx +0 -57
  48. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_size_options.html.erb +0 -23
  49. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_size_options.jsx +0 -59
  50. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_show_tooltip.html.erb +0 -39
  51. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_show_tooltip.md +0 -5
  52. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_show_tooltip_react.jsx +0 -45
  53. 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: bcb6e2d4e402fb9dc2a31c2ed7f4de54261939ac25ed748bf940d9a886842806
4
- data.tar.gz: b71718f353abc27312a7365debd7d21be1180f42d7fb36edf33b4eceb6411ed1
3
+ metadata.gz: 18ea5be7df4e083f24e023524d7a1693c59d28f8e9c834282c0a0f20bcf77840
4
+ data.tar.gz: 92dca1b62fb6b4c4a6f60f09a13d5c5f1bf021ec5f313ca7f27445fce28fa77b
5
5
  SHA512:
6
- metadata.gz: d19bed2d987dbd19b39fded39bad4e08b138eb68d75f94b884dbf8c30e7194069f9809f3721be611a60c02e7259265b3b02910465ff7f3a4e7ba5665c2e84af2
7
- data.tar.gz: 217a761c4352a139e8636f7ed6161bdb91e8f1740c7f57ad2316e63469b7e797ea2cdc064e296b0621ceac4930e43b5fa33dbdaf4122e832dd321cdfa56ee271
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
@@ -9,8 +9,3 @@ examples:
9
9
  - rounded_image: Rounded
10
10
  - custom_error_image: Error Handling
11
11
  - transition_image: Transition
12
- swift:
13
- - size_image_swift: Size
14
- - size_none_image_swift: Size None
15
- - rounded_image_swift: Rounded
16
- - image_props_swift: ""
@@ -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: ""
@@ -11,7 +11,3 @@ examples:
11
11
  - message_timestamp: With Timestamp Hover
12
12
  - message_hover: Hover
13
13
  - message_mentions: Mentions
14
-
15
- swift:
16
- - message_default_swift: Default
17
- - message_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: 4 }) %>
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 {...props} />
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={4.2}
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
- <StarRating
9
- rating={3}
10
- {...props}
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
- - star_rating_default: Default
4
- - star_rating_color_options: Color Options
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
- - star_rating_default: Default
11
- - star_rating_color_options: Color Options
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: {
@@ -1,4 +1,4 @@
1
- <%= pb_rails("flex", props: { gap: "md", wrap: true }) do %>
1
+ <%= pb_rails("flex", props: { gap: "md", justify: "center", wrap: true }) do %>
2
2
  <%= pb_rails("flex/flex_item") do %>
3
3
  <span id='regular-tooltip-1'>Hover here (Top)</span>
4
4
 
@@ -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}
@@ -9,6 +9,7 @@ const TooltipDelay = (props) => {
9
9
  <Flex
10
10
  flexDirection='row'
11
11
  gap='md'
12
+ justifyContent='center'
12
13
  wrap
13
14
  >
14
15
  <FlexItem>
@@ -9,6 +9,7 @@ const TooltipInteraction = (props) => {
9
9
  <Flex
10
10
  flexDirection='row'
11
11
  gap='md'
12
+ justifyContent='center'
12
13
  wrap
13
14
  >
14
15
  <FlexItem>
@@ -7,6 +7,7 @@ const TooltipMargin = (props) => {
7
7
  return (
8
8
  <Flex
9
9
  flexDirection='row'
10
+ justifyContent='center'
10
11
  wrap
11
12
  >
12
13
  <Tooltip
@@ -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'