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.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_validation.html.erb +7 -5
- data/app/pb_kits/playbook/pb_popover/docs/example.yml +1 -2
- data/app/pb_kits/playbook/pb_popover/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_highlight.jsx +2 -4
- data/dist/menu.yml +1 -4
- data/dist/pb_doc_helper.rb +4 -6
- data/dist/playbook-doc.js +8 -30
- metadata +2 -26
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_collapsible_trail.jsx +0 -52
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_collapsible_trail.md +0 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_default.jsx +0 -49
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_default.md +0 -18
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_expanded_control.jsx +0 -59
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_expanded_control.md +0 -18
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_loading.jsx +0 -60
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_loading.md +0 -3
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort.jsx +0 -52
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort.md +0 -5
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort_control.jsx +0 -63
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort_control.md +0 -3
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_subrow_headers.jsx +0 -57
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_subrow_headers.md +0 -3
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_options.jsx +0 -61
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_options.md +0 -3
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props.jsx +0 -55
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props.md +0 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_description.md +0 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_mock_data.js +0 -278
- data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +0 -12
- data/app/pb_kits/playbook/pb_advanced_table/docs/index.js +0 -9
- data/app/pb_kits/playbook/pb_popover/docs/_popover_actionable_content.html.erb +0 -30
- 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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eed01491ddcdcbd6e34b32458452eff53eedfb20bfce9e05d04aaaccb756f6ce
|
4
|
+
data.tar.gz: 88cb382a3a22a0db9dde7b52ff216298e2bc81fbdb6eb71eac675def0b2b0f29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69d3dc201cca549ef39800f49b5ba652430f310437f7aa4877fbff01fb6dfd3044231da8d5ab3fe2f5abd66ea1d7b421249b930cc09515535426819cdf123e76
|
7
|
+
data.tar.gz: 75ac9400faa2cf591bc4299de107387bab6c2bdcc9ab4d2cf673ca512650c196803a67159a26a3f1d8f41550b7117d389bc5cdb6cbc0add5e60deddf6c26ea41
|
data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_validation.html.erb
CHANGED
@@ -3,10 +3,12 @@
|
|
3
3
|
<%= pb_rails("button", props: {html_type: "submit", text: "Save Phone Number"}) %>
|
4
4
|
</form>
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
document.
|
9
|
-
|
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
|
-
|
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: ({
|
77
|
-
<
|
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.
|
data/dist/pb_doc_helper.rb
CHANGED
@@ -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
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
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
|
|