playbook_ui_docs 14.15.0.pre.alpha.play1757pbcontenttag6677 → 14.15.0.pre.alpha.play1854reacthookmultilvlselect6572

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 (23) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +1 -2
  3. data/app/pb_kits/playbook/pb_advanced_table/docs/index.js +1 -2
  4. data/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb +1 -1
  5. data/app/pb_kits/playbook/pb_form/docs/_form_form_with_validate.html.erb +1 -1
  6. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_react_hook.md +1 -1
  7. data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_default.html.erb +1 -1
  8. data/app/pb_kits/playbook/pb_phone_number_input/docs/example.yml +1 -3
  9. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_icon.erb +10 -0
  10. data/app/pb_kits/playbook/pb_tooltip/docs/example.yml +0 -1
  11. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_custom_options.jsx +1 -1
  12. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_users.jsx +1 -1
  13. data/app/pb_kits/playbook/pb_typeahead/docs/example.yml +0 -1
  14. data/app/pb_kits/playbook/pb_typeahead/docs/index.js +0 -1
  15. data/dist/playbook-doc.js +1 -1
  16. metadata +3 -9
  17. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_inline_editing.jsx +0 -102
  18. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_inline_editing.md +0 -4
  19. data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_hidden_inputs.html.erb +0 -5
  20. data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_hidden_inputs.md +0 -1
  21. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_icon_rails.html.erb +0 -22
  22. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_react_hook.jsx +0 -66
  23. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_react_hook.md +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 27ab66d1793c17bc5dc3696bc62de334f674365557fb6110ca9f43b461e87536
4
- data.tar.gz: d3ea3937e3388f780f3f640df11d62f279e14e8a7fc9dd9d4f466dbfea93f1c0
3
+ metadata.gz: c1c1dc315246b8d0f6ecd18e1451a9fe87c615a2c5d6e8c95d83763b9771ae29
4
+ data.tar.gz: 17f2e6c7e11f6081799402a818ec260b9c9b2414e06a6b2d2a596191e73adac9
5
5
  SHA512:
6
- metadata.gz: 7e32a24d07b2ab41e2c010a16e8b00ca581bb9082827112a29570f97228094e4e5c99462993bebd95df75d4af76cc0d837b58fa0df75665de2b7e7466d5f8c21
7
- data.tar.gz: d53fb7094fd665cae4825d4995114ce4ebbd209c3fe45f368a2b759e823917eb7a1c2cf290c176037245095ded829fbf693b2f88e63e4f9ad3eb7472641c705d
6
+ metadata.gz: f60fa4e5823d9cbae8febada4eacee697ebfdbc541a1e55c0ac0a22c294f886327e92bef30078b9b6f589d97d3577e2c9ebdb6e6f632b52035fd6837f04b1757
7
+ data.tar.gz: a34f8a03cb1ae541e8f9611c0f27647dd1014825b19052d5b44e9163ac3952dea2727d5303e771ab50521191189319366331f7e153931d99acaa72b6c2e50f4d
@@ -36,5 +36,4 @@ examples:
36
36
  - advanced_table_selectable_rows: Selectable Rows
37
37
  - advanced_table_selectable_rows_no_subrows: Selectable Rows (No Subrows)
38
38
  - advanced_table_selectable_rows_actions: Selectable Rows (With Actions)
39
- - advanced_table_selectable_rows_header: Selectable Rows (No Actions Bar)
40
- - advanced_table_inline_editing: Inline Cell Editing
39
+ - advanced_table_selectable_rows_header: Selectable Rows (No Actions Bar)
@@ -20,5 +20,4 @@ export { default as AdvancedTableNoSubrows } from './_advanced_table_no_subrows.
20
20
  export { default as AdvancedTableSelectableRowsHeader } from './_advanced_table_selectable_rows_header.jsx'
21
21
  export { default as AdvancedTableSelectableRowsActions } from './_advanced_table_selectable_rows_actions.jsx'
22
22
  export { default as AdvancedTableTablePropsStickyHeader } from './_advanced_table_table_props_sticky_header.jsx'
23
- export { default as AdvancedTableColumnHeadersCustomCell } from './_advanced_table_column_headers_custom_cell.jsx'
24
- export { default as AdvancedTableInlineEditing } from './_advanced_table_inline_editing.jsx'
23
+ export { default as AdvancedTableColumnHeadersCustomCell } from './_advanced_table_column_headers_custom_cell.jsx'
@@ -25,7 +25,7 @@
25
25
  <%= pb_form_with(scope: :example, url: "", method: :get) do |form| %>
26
26
  <%= form.typeahead :example_typeahead, props: { data: { typeahead_example1: true, user: {} }, label: true, placeholder: "Search for a user" } %>
27
27
  <%= form.text_field :example_text_field, props: { label: true } %>
28
- <%= form.phone_number_field :example_phone_number_field, props: { label: "Example phone field", hidden_inputs: true } %>
28
+ <%= form.phone_number_field :example_phone_number_field, props: { label: "Example phone field" } %>
29
29
  <%= form.email_field :example_email_field, props: { label: true } %>
30
30
  <%= form.number_field :example_number_field, props: { label: true } %>
31
31
  <%= form.search_field :example_search_field, props: { label: true } %>
@@ -24,7 +24,7 @@
24
24
  <%= pb_form_with(scope: :example, method: :get, url: "", validate: true) do |form| %>
25
25
  <%= form.typeahead :example_typeahead_validation, props: { data: { typeahead_example2: true, user: {} }, label: true, placeholder: "Search for a user", required: true, validation: { message: "Please select a user." } } %>
26
26
  <%= form.text_field :example_text_field_validation, props: { label: true, required: true } %>
27
- <%= form.phone_number_field :example_phone_number_field_validation, props: { label: "Example phone field", hidden_inputs: true } %>
27
+ <%= form.phone_number_field :example_phone_number_field_validation, props: { label: "Example phone field" } %>
28
28
  <%= form.email_field :example_email_field_validation, props: { label: true, required: true } %>
29
29
  <%= form.number_field :example_number_field_validation, props: { label: true, required: true } %>
30
30
  <%= form.search_field :example_project_number_validation, props: { label: true, required: true, validation: { pattern: "[0-9]{2}-[0-9]{5}", message: "Please enter a valid project number (example: 33-12345)." } } %>
@@ -1 +1 @@
1
- You can pass `react-hook-form` props to the MultiLevelSelect kit. Check your console to see the full data selected from this example.
1
+ You can pass `react-hook-form` props to the Typeahead kit. Check your console to see the full data selected from this example.
@@ -1,3 +1,3 @@
1
1
  <%= pb_rails("phone_number_input", props: {
2
- id: "hello",
2
+ id: "hello"
3
3
  }) %>
@@ -16,6 +16,4 @@ examples:
16
16
  - phone_number_input_initial_country: Initial Country
17
17
  - phone_number_input_only_countries: Limited Countries
18
18
  - phone_number_input_validation: Form Validation
19
- - phone_number_input_format: Format as You Type
20
- - phone_number_input_hidden_inputs: Hidden Inputs
21
-
19
+ - phone_number_input_format: Format as You Type
@@ -0,0 +1,10 @@
1
+ <%= pb_rails("icon_circle", props: { icon: "paper-plane", id: "result-1-sample-email-link" }) %>
2
+
3
+ <%= pb_rails("tooltip", props: {
4
+ trigger_element_id: "result-1-sample-email-link",
5
+ tooltip_id: "sample-email-tooltip-result-1",
6
+ position: "top",
7
+ dark: true
8
+ }) do %>
9
+ Send Email
10
+ <% end %>
@@ -4,7 +4,6 @@ examples:
4
4
  - tooltip_default: Default
5
5
  - tooltip_interaction: Content Interaction
6
6
  - tooltip_selectors: Using Common Selectors
7
- - tooltip_icon_rails: Tooltip with Icon
8
7
  - tooltip_with_icon_circle: Icon Circle Tooltip
9
8
  - tooltip_delay_rails: Delay
10
9
  - tooltip_show_tooltip: Show Tooltip
@@ -49,7 +49,7 @@ const TypeaheadWithPillsAsyncCustomOptions = (props) => {
49
49
  * @summary - for doc example purposes only
50
50
  */
51
51
  const handleOnMultiValueClick = (value) => {
52
- alert(`You added the user: "${value.label}"`)
52
+ alert(`You removed the user: "${value.label}"`)
53
53
  }
54
54
 
55
55
  return (
@@ -56,7 +56,7 @@ const TypeaheadWithPillsAsyncUsers = (props) => {
56
56
  * @summary - for doc example purposes only
57
57
  */
58
58
  const handleOnMultiValueClick = (value) => {
59
- alert(`You added the user: "${value.label}"`)
59
+ alert(`You removed the user: "${value.label}"`)
60
60
  }
61
61
 
62
62
  return (
@@ -17,7 +17,6 @@ examples:
17
17
 
18
18
  react:
19
19
  - typeahead_default: Default
20
- - typeahead_react_hook: React Hook
21
20
  - typeahead_with_highlight: With Highlight
22
21
  - typeahead_with_pills: With Pills
23
22
  - typeahead_with_pills_async: With Pills (Async Data)
@@ -13,4 +13,3 @@ export { default as TypeaheadCustomMenuList } from './_typeahead_custom_menu_lis
13
13
  export { default as TypeaheadMarginBottom } from './_typeahead_margin_bottom.jsx'
14
14
  export { default as TypeaheadWithPillsColor } from './_typeahead_with_pills_color.jsx'
15
15
  export { default as TypeaheadTruncatedText } from './_typeahead_truncated_text.jsx'
16
- export { default as TypeaheadReactHook } from './_typeahead_react_hook.jsx'