playbook_ui_docs 13.16.0.pre.alpha.PLAY12002127 → 13.16.0.pre.alpha.fonttest1972

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 (33) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_validation.html.erb +7 -5
  3. data/app/pb_kits/playbook/pb_popover/docs/example.yml +1 -2
  4. data/app/pb_kits/playbook/pb_popover/docs/index.js +0 -1
  5. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_highlight.jsx +2 -4
  6. data/dist/menu.yml +1 -4
  7. data/dist/pb_doc_helper.rb +4 -6
  8. data/dist/playbook-doc.js +8 -30
  9. metadata +2 -26
  10. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_collapsible_trail.jsx +0 -52
  11. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_collapsible_trail.md +0 -1
  12. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_default.jsx +0 -49
  13. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_default.md +0 -18
  14. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_expanded_control.jsx +0 -59
  15. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_expanded_control.md +0 -18
  16. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_loading.jsx +0 -60
  17. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_loading.md +0 -3
  18. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort.jsx +0 -52
  19. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort.md +0 -5
  20. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort_control.jsx +0 -63
  21. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort_control.md +0 -3
  22. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_subrow_headers.jsx +0 -57
  23. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_subrow_headers.md +0 -3
  24. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_options.jsx +0 -61
  25. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_options.md +0 -3
  26. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props.jsx +0 -55
  27. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props.md +0 -1
  28. data/app/pb_kits/playbook/pb_advanced_table/docs/_description.md +0 -1
  29. data/app/pb_kits/playbook/pb_advanced_table/docs/_mock_data.js +0 -278
  30. data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +0 -12
  31. data/app/pb_kits/playbook/pb_advanced_table/docs/index.js +0 -9
  32. data/app/pb_kits/playbook/pb_popover/docs/_popover_actionable_content.html.erb +0 -30
  33. data/app/pb_kits/playbook/pb_popover/docs/_popover_actionable_content.jsx +0 -57
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bf357e3cc74b8e9d63053bc4764f8e40566592533a6d104268565e8e6094236e
4
- data.tar.gz: 17c3076bbac1bc0b2ca76d223206f9e5ba0d0ff8e7ee6e72d96b87dd1c72db44
3
+ metadata.gz: eed01491ddcdcbd6e34b32458452eff53eedfb20bfce9e05d04aaaccb756f6ce
4
+ data.tar.gz: 88cb382a3a22a0db9dde7b52ff216298e2bc81fbdb6eb71eac675def0b2b0f29
5
5
  SHA512:
6
- metadata.gz: 8a2670a5e67251ee1ee3f7cba764003f76e28121f082ec593a032e16377ab71e063a3cdd3749807a91b1b6347feaddb3525da5a6ad9f19b409ac8cb78a573df7
7
- data.tar.gz: 556c90955fc361a718a35347145a843213557c40caaa66e6854361f9e47a73fa38941a865e302f13f374465bd82b8b53afa400ca0a0405e409de758349ef6a2e
6
+ metadata.gz: 69d3dc201cca549ef39800f49b5ba652430f310437f7aa4877fbff01fb6dfd3044231da8d5ab3fe2f5abd66ea1d7b421249b930cc09515535426819cdf123e76
7
+ data.tar.gz: 75ac9400faa2cf591bc4299de107387bab6c2bdcc9ab4d2cf673ca512650c196803a67159a26a3f1d8f41550b7117d389bc5cdb6cbc0add5e60deddf6c26ea41
@@ -3,10 +3,12 @@
3
3
  <%= pb_rails("button", props: {html_type: "submit", text: "Save Phone Number"}) %>
4
4
  </form>
5
5
 
6
- <%= javascript_tag do %>
7
- document.addEventListener('DOMContentLoaded', function () {
8
- document.querySelector('#example-form-validation').addEventListener('submit', function (e) {
9
- if (e.target.querySelectorAll('[error]:not([error=""])').length > 0) e.preventDefault();
6
+ <% content_for(:pb_js) do %>
7
+ <%= javascript_tag do %>
8
+ document.addEventListener('DOMContentLoaded', function () {
9
+ document.querySelector('#example-form-validation').addEventListener('submit', function (e) {
10
+ if (e.target.querySelectorAll('[error]:not([error=""])').length > 0) e.preventDefault();
11
+ })
10
12
  })
11
- })
13
+ <% end %>
12
14
  <% end %>
@@ -5,7 +5,6 @@ examples:
5
5
  - popover_close: Close Options
6
6
  - popover_z_index: Set Z-Index
7
7
  - popover_scroll_height: Scroll and Height Settings
8
- - popover_actionable_content: With Actionable Content
9
8
 
10
9
  react:
11
10
  - popover_default: Default
@@ -13,4 +12,4 @@ examples:
13
12
  - popover_close: Close Options
14
13
  - popover_z_index: Set Z-Index
15
14
  - popover_scroll_height: Scroll and Height Settings
16
- - popover_actionable_content: With Actionable Content
15
+
@@ -3,4 +3,3 @@ export { default as PopoverList } from './_popover_list.jsx'
3
3
  export { default as PopoverClose } from './_popover_close.jsx'
4
4
  export { default as PopoverZIndex } from './_popover_z_index.jsx'
5
5
  export { default as PopoverScrollHeight } from './_popover_scroll_height.jsx'
6
- export { default as PopoverActionableContent } from './_popover_actionable_content.jsx'
@@ -73,10 +73,8 @@ const TypeaheadWithHighlight = (props) => {
73
73
  Option: (highlightProps: OptionProps) => (
74
74
  <components.Option {...highlightProps}/>
75
75
  ),
76
- SingleValue: ({ ...props }) => (
77
- <components.SingleValue {...props}>
78
- <span>{props.data.name}</span>
79
- </components.SingleValue>
76
+ SingleValue: ({ data }: any) => (
77
+ <span>{data.name}</span>
80
78
  )
81
79
  }
82
80
 
data/dist/menu.yml CHANGED
@@ -43,9 +43,6 @@ kits:
43
43
  - name: "table"
44
44
  platforms: *web
45
45
  description: Tables display a collection of structured data and typically have the ability to sort, filter, and paginate data.
46
- - name: "advanced_table"
47
- platforms: *react_only
48
- description: The Advanced Table can be used to display complex, nested data in a way that allows for expansion and/or sorting.
49
46
  - name: "list"
50
47
  platforms: *web
51
48
  description: Lists display a vertical set of related content.
@@ -357,4 +354,4 @@ kits:
357
354
  description: Multiple users stacked is used in tight spaces, where we need to indicate that multiple users are associated to a specific action or item.
358
355
  - name: "user"
359
356
  platforms: *web
360
- description: This kit was created for having a systematic way of displaying users with avatar, titles, name and territory. This is a versatile kit with features than can be added to display more info.
357
+ description: This kit was created for having a systematic way of displaying users with avatar, titles, name and territory. This is a versatile kit with features than can be added to display more info.
@@ -57,12 +57,10 @@ module PlaybookWebsite
57
57
 
58
58
  # rubocop:disable Style/OptionalBooleanParameter
59
59
  def render_pb_doc_kit(kit, type, limit_examples, code = true, dark_mode = false)
60
- if kit != "advanced_table"
61
- title = pb_doc_render_clickable_title(kit, type)
62
- ui = raw("<div class='pb--docItem-ui'>
63
- #{pb_kit(kit: kit, type: type, show_code: code, limit_examples: limit_examples, dark_mode: dark_mode)}</div>")
64
- title + ui
65
- end
60
+ title = pb_doc_render_clickable_title(kit, type)
61
+ ui = raw("<div class='pb--docItem-ui'>
62
+ #{pb_kit(kit: kit, type: type, show_code: code, limit_examples: limit_examples, dark_mode: dark_mode)}</div>")
63
+ title + ui
66
64
  end
67
65
  # rubocop:enable Style/OptionalBooleanParameter
68
66