playbook_ui_docs 14.6.0.pre.alpha.play1586datearea4218 → 14.6.0.pre.rc.0

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_advanced_table/docs/example.yml +0 -2
  3. data/app/pb_kits/playbook/pb_advanced_table/docs/index.js +0 -1
  4. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_loading.html.erb +7 -30
  5. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_loading.md +2 -0
  6. data/app/pb_kits/playbook/pb_dropdown/docs/example.yml +0 -5
  7. data/app/pb_kits/playbook/pb_dropdown/docs/index.js +0 -3
  8. data/app/pb_kits/playbook/pb_filter/docs/_filter_default.jsx +1 -1
  9. data/app/pb_kits/playbook/pb_filter/docs/example.yml +0 -3
  10. data/app/pb_kits/playbook/pb_filter/docs/index.js +0 -1
  11. data/app/pb_kits/playbook/pb_form/docs/example.yml +0 -1
  12. data/app/pb_kits/playbook/pb_form_pill/docs/example.yml +0 -2
  13. data/app/pb_kits/playbook/pb_form_pill/docs/index.js +0 -1
  14. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.jsx +1 -1
  15. data/app/pb_kits/playbook/pb_multi_level_select/docs/example.yml +0 -4
  16. data/app/pb_kits/playbook/pb_multi_level_select/docs/index.js +0 -2
  17. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/example.yml +0 -2
  18. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/index.js +0 -1
  19. data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.md +1 -1
  20. data/app/pb_kits/playbook/pb_popover/docs/_popover_default.html.erb +1 -1
  21. data/app/pb_kits/playbook/pb_timeline/docs/example.yml +1 -2
  22. data/app/pb_kits/playbook/pb_timeline/docs/index.js +0 -1
  23. data/dist/playbook-doc.js +1 -1
  24. metadata +2 -31
  25. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_custom_cell.jsx +0 -72
  26. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_custom_cell.md +0 -5
  27. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_clear_selection.jsx +0 -45
  28. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_clear_selection.md +0 -1
  29. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_separators_hidden.html.erb +0 -9
  30. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_separators_hidden.jsx +0 -33
  31. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_subtle_variant.html.erb +0 -10
  32. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_subtle_variant.jsx +0 -34
  33. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_subtle_variant.md +0 -1
  34. data/app/pb_kits/playbook/pb_filter/docs/_filter_popover_props.html.erb +0 -41
  35. data/app/pb_kits/playbook/pb_filter/docs/_filter_popover_props.jsx +0 -71
  36. data/app/pb_kits/playbook/pb_filter/docs/_filter_popover_props_rails.md +0 -1
  37. data/app/pb_kits/playbook/pb_filter/docs/_filter_popover_props_react.md +0 -1
  38. data/app/pb_kits/playbook/pb_form/docs/_form_form_with_loading.html.erb +0 -39
  39. data/app/pb_kits/playbook/pb_form/docs/_form_form_with_loading.md +0 -1
  40. data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_truncated_text.html.erb +0 -19
  41. data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_truncated_text.jsx +0 -27
  42. data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_truncated_text.md +0 -1
  43. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_reset.html.erb +0 -93
  44. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_reset.md +0 -1
  45. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_children.jsx +0 -105
  46. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_children.md +0 -1
  47. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_children_with_radios.jsx +0 -106
  48. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_children_with_radios.md +0 -1
  49. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_size.html.erb +0 -336
  50. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_size.jsx +0 -97
  51. data/app/pb_kits/playbook/pb_timeline/docs/_timeline_with_children.html.erb +0 -43
  52. data/app/pb_kits/playbook/pb_timeline/docs/_timeline_with_children.jsx +0 -68
  53. data/app/pb_kits/playbook/pb_timeline/docs/_timeline_with_children.md +0 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 524818494ebeff5e4d2f14bd7c4c1c96f2c6b61788549a7faf2fe449d43a265d
4
- data.tar.gz: c8ea5ecf479b5433bf2d6e1420de229cd8660c97ae3ff6da1db55d52a2ab98a1
3
+ metadata.gz: 834b7f3500aa93abcfa2f70bb9330b7b1e3f4043681e11bc6aa2cbc14d25281b
4
+ data.tar.gz: 0e28a13b02e29e6820b6359e5f9eff19c2582af0b585bd3bd8ac8e124454bda5
5
5
  SHA512:
6
- metadata.gz: 0e473ed267bd902b60bd6141a9bd77d9a60a0242396270facd236475d1f01cd809f6bb73c4a507c52f7a466c882e7671c41b19d51a8ebaca46cc8fba1be46ad3
7
- data.tar.gz: 8aa5f706620faa129b63e9036fb4ceecfed9ddc3243d84ca25366fdbf5274b443f8b2486728b5bee189aa56e6af7d6797ca1c5695847b70fb0c1cbabee31ff4c
6
+ metadata.gz: f57fe899689026a09d5aabb019eb3903d91a096961bd5c780f3172d1ea4b261f6ac6db545777e685806895187a24a0eb389b223d0db487cf2682c326bd8e68ed
7
+ data.tar.gz: a03cdd06dd46c80c4bd79c3b849c3662ec4bdd61257646e911f0aa2a083dec33b671eafee938520f66ee9e1dc8509324321064efdc92f72393d3259aa301ed23
@@ -3,7 +3,6 @@ examples:
3
3
  - advanced_table_beta: Default (Required Props)
4
4
  - advanced_table_beta_subrow_headers: SubRow Headers
5
5
  - advanced_table_beta_sort: Enable Sorting
6
-
7
6
  react:
8
7
  - advanced_table_default: Default (Required Props)
9
8
  - advanced_table_loading: Loading State
@@ -16,4 +15,3 @@ examples:
16
15
  - advanced_table_table_props: Table Props
17
16
  - advanced_table_inline_row_loading: Inline Row Loading
18
17
  - advanced_table_responsive: Responsive Tables
19
- - advanced_table_custom_cell: Custom Components for Cells
@@ -9,4 +9,3 @@ export { default as AdvancedTableTableOptions } from './_advanced_table_table_op
9
9
  export { default as AdvancedTableTableProps } from './_advanced_table_table_props.jsx'
10
10
  export { default as AdvancedTableInlineRowLoading } from './_advanced_table_inline_row_loading.jsx'
11
11
  export { default as AdvancedTableResponsive } from './_advanced_table_responsive.jsx'
12
- export { default as AdvancedTableCustomCell } from './_advanced_table_custom_cell.jsx'
@@ -1,36 +1,13 @@
1
1
  <%= pb_rails("button", props: { text: "Open Dialog", data: {"open-dialog": "dialog-loading"} }) %>
2
2
 
3
- <%= pb_rails("dialog", props: {
4
- id:"dialog-loading",
5
- size: "sm",
6
- title: "Loading Example",
7
- text: "Make a loading request?",
8
- cancel_button: "Cancel Button",
3
+ <%= pb_rails("dialog", props: {
4
+ id:"dialog-loading",
5
+ size: "sm",
6
+ title: "Loading Exmaple",
7
+ text: "Make a loading request?",
8
+ cancel_button: "Cancel Button",
9
9
  cancel_button_id: "cancel-button-loading",
10
- confirm_button: "Okay",
10
+ confirm_button: "Okay",
11
11
  confirm_button_id: "confirm-button-loading",
12
12
  loading: true,
13
13
  }) %>
14
-
15
- <script>
16
- const loadingButton = document.querySelector('[data-disable-with="Loading"]');
17
- if (loadingButton) {
18
- loadingButton.addEventListener("click", function() {
19
- const okayLoadingButton = document.querySelector('[data-disable-with="Loading"]');
20
- const cancelButton = document.querySelector('[data-disable-cancel-with="Loading"]');
21
- let currentClass = okayLoadingButton.className;
22
- let cancelClass = cancelButton ? cancelButton.className : "";
23
-
24
- setTimeout(function() {
25
- okayLoadingButton.disabled = false;
26
- okayLoadingButton.className = currentClass.replace("_disabled_loading", "_enabled");
27
-
28
- if (cancelButton) {
29
- cancelButton.disabled = false;
30
- cancelButton.className = cancelClass.replace("_disabled", "_enabled");
31
- }
32
- }, 5000);
33
-
34
- });
35
- }
36
- </script>
@@ -1 +1,3 @@
1
1
  Pressing the "Okay" button will trigger a loading state where the button content is replaced by a spinner icon and both buttons are disabled.
2
+
3
+ Currently, the loading state cannot be undone and will require a page refresh to reset the dialog.
@@ -1,7 +1,6 @@
1
1
  examples:
2
2
  rails:
3
3
  - dropdown_default: Default
4
- - dropdown_subtle_variant: Subtle Variant
5
4
  - dropdown_subcomponent_structure_rails: Subcomponent Structure
6
5
  - dropdown_with_label: With Label
7
6
  - dropdown_with_custom_options_rails: Custom Options
@@ -11,11 +10,9 @@ examples:
11
10
  - dropdown_error: Dropdown with Error
12
11
  - dropdown_default_value: Default Value
13
12
  - dropdown_blank_selection: Blank Selection
14
- - dropdown_separators_hidden: Separators Hidden
15
13
 
16
14
  react:
17
15
  - dropdown_default: Default
18
- - dropdown_subtle_variant: Subtle Variant
19
16
  - dropdown_subcomponent_structure: Subcomponent Structure
20
17
  - dropdown_with_label: With Label
21
18
  - dropdown_with_custom_options: Custom Options
@@ -25,8 +22,6 @@ examples:
25
22
  - dropdown_error: Dropdown with Error
26
23
  - dropdown_default_value: Default Value
27
24
  - dropdown_blank_selection: Blank Selection
28
- - dropdown_clear_selection: Clear Selection
29
- - dropdown_separators_hidden: Separators Hidden
30
25
  # - dropdown_with_autocomplete: Autocomplete
31
26
  # - dropdown_with_autocomplete_and_custom_display: Autocomplete with Custom Display
32
27
  # - dropdown_with_external_control: useDropdown Hook
@@ -12,6 +12,3 @@ export { default as DropdownSubcomponentStructure } from './_dropdown_subcompone
12
12
  export { default as DropdownError } from './_dropdown_error.jsx'
13
13
  export { default as DropdownDefaultValue } from './_dropdown_default_value.jsx'
14
14
  export { default as DropdownBlankSelection } from './_dropdown_blank_selection.jsx'
15
- export { default as DropdownClearSelection } from './_dropdown_clear_selection.jsx'
16
- export { default as DropdownSubtleVariant } from './_dropdown_subtle_variant.jsx'
17
- export { default as DropdownSeparatorsHidden } from './_dropdown_separators_hidden.jsx'
@@ -78,7 +78,7 @@ const FilterDefault = (props) => {
78
78
  double
79
79
  minWidth="375px"
80
80
  onSortChange={SortingChangeCallback}
81
- results={0}
81
+ results={1}
82
82
  sortOptions={{
83
83
  popularity: 'Popularity',
84
84
  // eslint-disable-next-line
@@ -10,7 +10,6 @@ examples:
10
10
  - filter_max_width: Max Width for Popover Inside of Filter
11
11
  - filter_max_height: Max Height for Popover Inside of Filter
12
12
  - filter_placement: Filter Placement
13
- - filter_popover_props: Popover Props
14
13
 
15
14
  react:
16
15
  - filter_default: Default
@@ -22,5 +21,3 @@ examples:
22
21
  - filter_max_width: Max Width for Popover Inside of Filter
23
22
  - filter_max_height: Max Height for Popover Inside of Filter
24
23
  - filter_placement: Filter Placement
25
- - filter_popover_props: Popover Props
26
-
@@ -7,4 +7,3 @@ export { default as SortOnly } from './_sort_only.jsx'
7
7
  export { default as FilterMaxWidth } from './_filter_max_width.jsx'
8
8
  export { default as FilterMaxHeight } from './_filter_max_height.jsx'
9
9
  export { default as FilterPlacement } from './_filter_placement.jsx'
10
- export { default as FilterPopoverProps } from './_filter_popover_props.jsx'
@@ -3,4 +3,3 @@ examples:
3
3
  rails:
4
4
  - form_form_with: Default
5
5
  - form_form_with_validate: Default + Validation
6
- - form_form_with_loading: Default + Loading
@@ -3,7 +3,6 @@ examples:
3
3
  rails:
4
4
  - form_pill_user: Form Pill User
5
5
  - form_pill_size: Form Pill Size
6
- - form_pill_truncated_text: Truncated Text
7
6
  - form_pill_tag: Form Pill Tag
8
7
  - form_pill_example: Example
9
8
  - form_pill_icon: Form Pill Icon
@@ -12,7 +11,6 @@ examples:
12
11
  react:
13
12
  - form_pill_user: Form Pill User
14
13
  - form_pill_size: Form Pill Size
15
- - form_pill_truncated_text: Truncated Text
16
14
  - form_pill_tag: Form Pill Tag
17
15
  - form_pill_example: Example
18
16
  - form_pill_icon: Form Pill Icon
@@ -4,4 +4,3 @@ export { default as FormPillTag } from './_form_pill_tag.jsx'
4
4
  export { default as FormPillExample } from './_form_pill_example.jsx'
5
5
  export { default as FormPillIcon } from './_form_pill_icon.jsx'
6
6
  export { default as FormPillColors } from './_form_pill_colors.jsx'
7
- export { default as FormPillTruncatedText } from './_form_pill_truncated_text.jsx'
@@ -87,4 +87,4 @@ const MultiLevelSelectDefault = (props) => {
87
87
  )
88
88
  };
89
89
 
90
- export default MultiLevelSelectDefault;
90
+ export default MultiLevelSelectDefault;
@@ -7,7 +7,6 @@ examples:
7
7
  - multi_level_select_selected_ids: Selected Ids
8
8
  - multi_level_select_with_form: With Form
9
9
  - multi_level_select_color: With Pills (Custom Color)
10
- - multi_level_select_reset: Reset Selection
11
10
 
12
11
  react:
13
12
  - multi_level_select_default: Default
@@ -16,6 +15,3 @@ examples:
16
15
  - multi_level_select_return_all_selected: Return All Selected
17
16
  - multi_level_select_selected_ids_react: Selected Ids
18
17
  - multi_level_select_color: With Pills (Custom Color)
19
- - multi_level_select_with_children: Checkboxes With Children
20
- - multi_level_select_with_children_with_radios: Single Select With Children
21
-
@@ -4,5 +4,3 @@ export { default as MultiLevelSelectSingleChildrenOnly } from './_multi_level_se
4
4
  export { default as MultiLevelSelectReturnAllSelected } from './_multi_level_select_return_all_selected.jsx'
5
5
  export { default as MultiLevelSelectSelectedIdsReact } from "./_multi_level_select_selected_ids_react.jsx"
6
6
  export { default as MultiLevelSelectColor } from './_multi_level_select_color.jsx'
7
- export { default as MultiLevelSelectWithChildren } from './_multi_level_select_with_children.jsx'
8
- export { default as MultiLevelSelectWithChildrenWithRadios } from './_multi_level_select_with_children_with_radios.jsx'
@@ -3,13 +3,11 @@ examples:
3
3
  rails:
4
4
  - multiple_users_stacked_default: Default
5
5
  - multiple_users_stacked_bubble: Bubble
6
- - multiple_users_stacked_size: Sizes
7
6
 
8
7
 
9
8
  react:
10
9
  - multiple_users_stacked_default: Default
11
10
  - multiple_users_stacked_bubble: Bubble
12
- - multiple_users_stacked_size: Sizes
13
11
 
14
12
  swift:
15
13
  - multiple_users_stacked_default_swift: Default
@@ -1,3 +1,2 @@
1
1
  export { default as MultipleUsersStackedDefault } from './_multiple_users_stacked_default.jsx'
2
2
  export { default as MultipleUsersStackedBubble } from './_multiple_users_stacked_bubble.jsx'
3
- export { default as MultipleUsersStackedSize } from './_multiple_users_stacked_size.jsx'
@@ -1 +1 @@
1
- Preferred countries will display in the order they are listed with the first country preselected, and all non-preferred countries listed alphabetically below in the remaining dropdown.
1
+ Preferred countries will display in the order they are listed with the first country preselected, and all non-preferred countries listed alphabetically below a section separator within the remaining dropdown.
@@ -14,7 +14,7 @@
14
14
  trigger_element_id: "regular-popover-1",
15
15
  tooltip_id: "tooltip-1",
16
16
  offset: true,
17
- position: "top",
17
+ position: "top"
18
18
  }) do %>
19
19
  I'm a popover. I can show content of any size.
20
20
  <% end %>
@@ -4,11 +4,10 @@ examples:
4
4
  - timeline_default: Default
5
5
  - timeline_vertical: Vertical
6
6
  - timeline_with_date: With Date
7
- - timeline_with_children: With Children
8
7
 
9
8
 
10
9
  react:
11
10
  - timeline_default: Default
12
11
  - timeline_vertical: Vertical
13
12
  - timeline_with_date: With Date
14
- - timeline_with_children: With Children
13
+
@@ -1,4 +1,3 @@
1
1
  export { default as TimelineDefault } from './_timeline_default.jsx'
2
2
  export { default as TimelineVertical } from './_timeline_vertical.jsx'
3
3
  export { default as TimelineWithDate } from './_timeline_with_date.jsx'
4
- export { default as TimelineWithChildren } from './_timeline_with_children.jsx'