playbook_ui_docs 15.3.0.pre.alpha.PLAY2569advancedtablecolumnstylingfontcolor11977 → 15.3.0.pre.alpha.PLAY2577reactpopoverappendToPOC11730

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_background_control_rails.html.erb +0 -4
  3. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_background_control_rails.md +1 -1
  4. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_border_color.md +1 -1
  5. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_border_color_rails.md +1 -1
  6. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling.jsx +1 -3
  7. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling.md +0 -2
  8. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling_column_headers.jsx +2 -16
  9. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling_column_headers_rails.html.erb +1 -6
  10. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling_rails.html.erb +0 -1
  11. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling_rails.md +0 -2
  12. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_padding_control.jsx +1 -9
  13. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_padding_control.md +1 -1
  14. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_pagination_with_props.jsx +1 -4
  15. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_pagination_with_props.md +2 -3
  16. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sticky_columns_and_header.md +1 -1
  17. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header_rails.md +1 -1
  18. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header_react.md +1 -1
  19. data/app/pb_kits/playbook/pb_background/docs/_background_category.md +1 -1
  20. data/app/pb_kits/playbook/pb_card/docs/_card_background.md +1 -1
  21. data/app/pb_kits/playbook/pb_card/docs/_card_header.md +1 -1
  22. data/app/pb_kits/playbook/pb_card/docs/_card_highlight.md +1 -1
  23. data/app/pb_kits/playbook/pb_card/docs/_card_light.md +1 -1
  24. data/app/pb_kits/playbook/pb_distribution_bar/docs/_distribution_bar_custom_colors.md +1 -1
  25. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_active_style_options_react.md +1 -1
  26. data/app/pb_kits/playbook/pb_filter/docs/_filter_max_width.md +1 -1
  27. data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_truncated_text_rails.md +1 -1
  28. data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_truncated_text_react.md +1 -1
  29. data/app/pb_kits/playbook/pb_icon/docs/_icon_color.md +1 -1
  30. data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color.md +1 -1
  31. data/app/pb_kits/playbook/pb_icon_stat_value/docs/_icon_stat_value_color.html.erb +14 -7
  32. data/app/pb_kits/playbook/pb_icon_stat_value/docs/_icon_stat_value_color.jsx +15 -6
  33. data/app/pb_kits/playbook/pb_layout/docs/_layout_collection.md +1 -1
  34. data/app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_item_spacing.md +1 -1
  35. data/app/pb_kits/playbook/pb_nav/docs/_nav_with_spacing_control.md +1 -1
  36. data/app/pb_kits/playbook/pb_overlay/docs/_overlay_layout.md +1 -1
  37. data/app/pb_kits/playbook/pb_pill/docs/_description.md +1 -1
  38. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_description.md +1 -1
  39. data/app/pb_kits/playbook/pb_section_separator/docs/_description.md +1 -1
  40. data/app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_border_radius_rails.md +1 -1
  41. data/app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_border_radius_react.md +1 -1
  42. data/app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_layout.md +1 -1
  43. data/app/pb_kits/playbook/pb_table/docs/_table_side_highlight.md +1 -1
  44. data/app/pb_kits/playbook/pb_table/docs/_table_sm.md +1 -1
  45. data/app/pb_kits/playbook/pb_table/docs/example.yml +0 -2
  46. data/app/pb_kits/playbook/pb_table/docs/index.js +0 -1
  47. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default_options.html.erb +1 -67
  48. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default_value.jsx +6 -68
  49. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_truncated_text.md +1 -1
  50. data/app/pb_kits/playbook/pb_typeahead/docs/example.yml +0 -2
  51. data/app/pb_kits/playbook/pb_typeahead/docs/index.js +1 -2
  52. data/dist/playbook-doc.js +2 -2
  53. metadata +2 -9
  54. data/app/pb_kits/playbook/pb_table/docs/_table_with_dynamic_collapsible.html.erb +0 -63
  55. data/app/pb_kits/playbook/pb_table/docs/_table_with_dynamic_collapsible.jsx +0 -89
  56. data/app/pb_kits/playbook/pb_table/docs/_table_with_dynamic_collapsible_rails.md +0 -4
  57. data/app/pb_kits/playbook/pb_table/docs/_table_with_dynamic_collapsible_react.md +0 -3
  58. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_custom_options.html.erb +0 -64
  59. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_custom_options.jsx +0 -70
  60. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_custom_options.md +0 -1
@@ -27,76 +27,14 @@ const options = [
27
27
  { label: 'Coral', value: '#FF7F50' }
28
28
  ]
29
29
 
30
- const groupedOptions = [
31
- {
32
- label: "Warm Colors",
33
- options: [
34
- { label: "Red", value: "#FF0000" },
35
- { label: "Orange", value: "#FFA500" },
36
- { label: "Yellow", value: "#FFFF00" },
37
- { label: "Coral", value: "#FF7F50" },
38
- { label: "Gold", value: "#FFD700" }
39
- ]
40
- },
41
- {
42
- label: "Cool Colors",
43
- options: [
44
- { label: "Blue", value: "#0000FF" },
45
- { label: "Teal", value: "#008080" },
46
- { label: "Cyan", value: "#00FFFF" },
47
- { label: "Navy", value: "#000080" },
48
- { label: "Turquoise", value: "#40E0D0" }
49
- ]
50
- },
51
- {
52
- label: "Neutrals",
53
- options: [
54
- { label: "White", value: "#FFFFFF" },
55
- { label: "Black", value: "#000000" },
56
- { label: "Gray", value: "#808080" },
57
- { label: "Beige", value: "#F5F5DC" },
58
- { label: "Silver", value: "#C0C0C0" }
59
- ]
60
- },
61
- {
62
- label: "Earth Tones",
63
- options: [
64
- { label: "Brown", value: "#A52A2A" },
65
- { label: "Olive", value: "#808000" },
66
- { label: "Forest Green", value: "#228B22" },
67
- { label: "Tan", value: "#D2B48C" },
68
- { label: "Maroon", value: "#800000" }
69
- ]
70
- },
71
- {
72
- label: "Fun Shades",
73
- options: [
74
- { label: "Pink", value: "#FFC0CB" },
75
- { label: "Magenta", value: "#FF00FF" },
76
- { label: "Lime", value: "#00FF00" },
77
- { label: "Purple", value: "#800080" },
78
- { label: "Indigo", value: "#4B0082" }
79
- ]
80
- }
81
- ]
82
-
83
30
  const TypeaheadDefaultValue = (props) => {
84
31
  return (
85
- <>
86
- <Typeahead
87
- defaultValue={options[10]}
88
- label="Default Value with basic options"
89
- options={options}
90
- {...props}
91
- />
92
- <br />
93
- <Typeahead
94
- defaultValue={{ label: "Pink", value: "#FFC0CB" }}
95
- label="Default Value with grouped options"
96
- options={groupedOptions}
97
- {...props}
98
- />
99
- </>
32
+ <Typeahead
33
+ defaultValue={options[10]}
34
+ label="Colors"
35
+ options={options}
36
+ {...props}
37
+ />
100
38
  )
101
39
  }
102
40
 
@@ -1 +1 @@
1
- For Form Pills with longer text, the `truncate` global prop can be used to truncate the label within each Form Pill. Hover over the truncated Form Pill and a Tooltip containing the text or tag section of the Form Pill will appear. See [here](https://playbook.powerapp.cloud/global_props/truncate) for more information on the truncate global prop.
1
+ For Form Pills with longer text, the `truncate` global prop can be used to truncate the label within each Form Pill. Hover over the truncated Form Pill and a Tooltip containing the text or tag section of the Form Pill will appear. See [here](https://playbook.powerapp.cloud/visual_guidelines/truncate) for more information on the truncate global prop.
@@ -1,7 +1,6 @@
1
1
  examples:
2
2
  rails:
3
3
  - typeahead_default: Default
4
- - typeahead_custom_options: With Grouped Options
5
4
  - typeahead_default_options: With Default Options
6
5
  - typeahead_with_context: With Context
7
6
  - typeahead_with_pills: With Pills
@@ -21,7 +20,6 @@ examples:
21
20
 
22
21
  react:
23
22
  - typeahead_default: Default
24
- - typeahead_custom_options: With Grouped Options
25
23
  - typeahead_default_value: With Default Value
26
24
  - typeahead_react_hook: React Hook
27
25
  - typeahead_with_highlight: With Highlight
@@ -16,5 +16,4 @@ export { default as TypeaheadTruncatedText } from './_typeahead_truncated_text.j
16
16
  export { default as TypeaheadReactHook } from './_typeahead_react_hook.jsx'
17
17
  export { default as TypeaheadDisabled } from './_typeahead_disabled.jsx'
18
18
  export { default as TypeaheadPreserveInput } from './_typeahead_preserve_input.jsx'
19
- export { default as TypeaheadDefaultValue } from './_typeahead_default_value.jsx'
20
- export { default as TypeaheadCustomOptions } from './_typeahead_custom_options.jsx'
19
+ export { default as TypeaheadDefaultValue } from './_typeahead_default_value.jsx'