playbook_ui_docs 14.5.0.pre.alpha.PLAY1485selectablecardoverflowoutlinebug4216 → 14.5.0.pre.alpha.PLAY1486highchartscssdrivenPOC3930

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) 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/dist/playbook-doc.js +1 -1
  22. metadata +2 -28
  23. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_custom_cell.jsx +0 -72
  24. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_custom_cell.md +0 -5
  25. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_clear_selection.jsx +0 -45
  26. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_clear_selection.md +0 -1
  27. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_separators_hidden.html.erb +0 -9
  28. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_separators_hidden.jsx +0 -33
  29. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_subtle_variant.html.erb +0 -10
  30. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_subtle_variant.jsx +0 -34
  31. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_subtle_variant.md +0 -1
  32. data/app/pb_kits/playbook/pb_filter/docs/_filter_popover_props.html.erb +0 -41
  33. data/app/pb_kits/playbook/pb_filter/docs/_filter_popover_props.jsx +0 -71
  34. data/app/pb_kits/playbook/pb_filter/docs/_filter_popover_props_rails.md +0 -1
  35. data/app/pb_kits/playbook/pb_filter/docs/_filter_popover_props_react.md +0 -1
  36. data/app/pb_kits/playbook/pb_form/docs/_form_form_with_loading.html.erb +0 -39
  37. data/app/pb_kits/playbook/pb_form/docs/_form_form_with_loading.md +0 -1
  38. data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_truncated_text.html.erb +0 -19
  39. data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_truncated_text.jsx +0 -27
  40. data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_truncated_text.md +0 -1
  41. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_reset.html.erb +0 -93
  42. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_reset.md +0 -1
  43. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_children.jsx +0 -105
  44. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_children.md +0 -1
  45. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_children_with_radios.jsx +0 -106
  46. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_children_with_radios.md +0 -1
  47. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_size.html.erb +0 -336
  48. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_size.jsx +0 -97
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e75e43e7642ebd8df5b1119910559a7e24c4ea0b50575dbfea446961b98ae15
4
- data.tar.gz: d35a1fba51f32713b0dc93d7fb1a5b7ab868a548038dab7cbbfa5c2fc78b182d
3
+ metadata.gz: 9cde97043ab53a2966194a713c6661cfacd34af8e94d66d2cb301191887830ed
4
+ data.tar.gz: 8cdbc5c10663380472ad33adb7ea2b7cb67fe9ad186867f08e443f704400f431
5
5
  SHA512:
6
- metadata.gz: 2ce8a266b9f30e9edf816182997594496a6c79a6297347c94ae2edf0c4584d28db857d833bc26eca1c34ebef2a582c216ca9d4d84bd9859c55a26dbde4b1faeb
7
- data.tar.gz: ad8d1c363ead41215c14bda843613273d9a75a290a91e7a6af098c5b298eafc8c65f1567a6e2577adfc2aa87fb0b83a2fae98173738ce5c40b163aae5a4bcf03
6
+ metadata.gz: 39467649dba867baaf88c7680db9abfbf15514816e53864adc874f2244bf328d52a851a66310a04193ce0d1e46cd032bf31e24e5fa392d8d511efad55e65c247
7
+ data.tar.gz: 1b53b068077b45c5395f3422d0af960486062d44e30724343d246eebb137593a954cf2ad3751e782e65aa7a82f54608f0dc55cadbbc93d71dea86dfb8f438db6
@@ -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 %>