playbook_ui_docs 14.16.0.pre.alpha.PLAY1929bracketlayout6957 → 14.16.0.pre.alpha.PLAY1938completetooltipfloatinguitransition6830

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 (24) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_pagination.jsx +1 -0
  3. data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +0 -2
  4. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_inline.html.erb +11 -0
  5. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_inline.jsx +7 -0
  6. data/app/pb_kits/playbook/pb_layout/docs/example.yml +0 -1
  7. data/app/pb_kits/playbook/pb_layout/docs/index.js +0 -1
  8. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.html.erb +1 -1
  9. data/app/pb_kits/playbook/pb_table/docs/example.yml +0 -2
  10. data/app/pb_kits/playbook/pb_table/docs/index.js +0 -2
  11. data/dist/playbook-doc.js +1 -1
  12. metadata +4 -14
  13. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows.html.erb +0 -39
  14. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_no_subrows.html.erb +0 -33
  15. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_no_subrows_rails.md +0 -1
  16. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_rails.md +0 -6
  17. data/app/pb_kits/playbook/pb_layout/docs/_layout_bracket.jsx +0 -190
  18. data/app/pb_kits/playbook/pb_layout/docs/_layout_bracket.md +0 -5
  19. data/app/pb_kits/playbook/pb_table/docs/_table_with_header_style_borderless.jsx +0 -50
  20. data/app/pb_kits/playbook/pb_table/docs/_table_with_header_style_borderless_react.md +0 -1
  21. data/app/pb_kits/playbook/pb_table/docs/_table_with_header_style_floating.jsx +0 -59
  22. data/app/pb_kits/playbook/pb_table/docs/_table_with_header_style_floating_react.md +0 -1
  23. /data/app/pb_kits/playbook/pb_advanced_table/docs/{_advanced_table_selectable_rows_react.md → _advanced_table_selectable_rows.md} +0 -0
  24. /data/app/pb_kits/playbook/pb_advanced_table/docs/{_advanced_table_selectable_rows_no_subrows_react.md → _advanced_table_selectable_rows_no_subrows.md} +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e3b94c6cbadf1cd0d29f02367f4a03fe3b8dafd6af2e19c4d64531a6813469bd
4
- data.tar.gz: 6de20e7f9596baa443f6d9d8518b761398f372a61c1c2a53200aea090ccd8d42
3
+ metadata.gz: 88b9f5930b85a6cf14a9cdad5a094fd3d3e3c105aa0d57bf542e5969a1daacd1
4
+ data.tar.gz: f376760a4cc73192680fb89e3adc9dfd37fe8073133c13a8b20f6523f0fe437d
5
5
  SHA512:
6
- metadata.gz: a951656edd5cdae9c419b8c55edbbf11e01ae115ff916c7d6d8ea99414cc981a1c2b142467c9463edd2b1c2545abae5fd4d0ae216747c3882f6829bce4b5446e
7
- data.tar.gz: b9d23b69989993c4540fb47df5c440d97cedda50b738b47f148fff9db68c7ae995ff8e1865cf7f548ed6f0dd1687ab3228fda52e8c51e40b1016d273f1e31b3a
6
+ metadata.gz: 58f09697c2880284e85332bb8421d74807712ce34c7ae05a10cd9b3d8a13716adfc74a701a1bbd4ddb696213117defba358f8a2618280a108aa6ad739981f484
7
+ data.tar.gz: 13a8d9b70bf6eda586539278b90d0063a49105771422481425378912d9d1525e5f906a235c9ec98319707d19f88aa62fcb05273b16adfa0b23c588d39451ef93
@@ -40,6 +40,7 @@ const AdvancedTablePagination = (props) => {
40
40
  <AdvancedTable
41
41
  columnDefinitions={columnDefinitions}
42
42
  pagination
43
+ responsive="none"
43
44
  tableData={PAGINATION_MOCK_DATA}
44
45
  {...props}
45
46
  />
@@ -11,8 +11,6 @@ examples:
11
11
  - advanced_table_custom_cell_rails: Custom Components for Cells
12
12
  - advanced_table_column_headers: Multi-Header Columns
13
13
  - advanced_table_column_headers_multiple: Multi-Header Columns (Multiple Levels)
14
- # - advanced_table_selectable_rows: Selectable Rows
15
- # - advanced_table_selectable_rows_no_subrows: Selectable Rows (No Subrows)
16
14
 
17
15
 
18
16
  react:
@@ -4,3 +4,14 @@
4
4
  inline: true,
5
5
  picker_id: "date-picker-inline"
6
6
  }) %>
7
+
8
+ <%= javascript_tag do %>
9
+ window.addEventListener("DOMContentLoaded", (event) => {
10
+ const fpInline = document.querySelector("#date-picker-inline")._flatpickr
11
+ <!-- Display the angle-down icon when a date has been selected -->
12
+ const showAngleDownHandler = () => {
13
+ document.querySelector('.inline-date-picker').classList.add('show-angle-down-icon')
14
+ }
15
+ fpInline.config.onChange.push(showAngleDownHandler)
16
+ })
17
+ <% end %>
@@ -3,12 +3,19 @@ import React from 'react'
3
3
  import DatePicker from '../_date_picker'
4
4
 
5
5
  const DatePickerInline = (props) => {
6
+ const showAngleDownHandler = (dateSelected) => {
7
+ if (dateSelected) {
8
+ document.querySelector('.inline-date-picker').classList.add('show-angle-down-icon')
9
+ }
10
+ }
11
+
6
12
  return (
7
13
  <div>
8
14
  <DatePicker
9
15
  className="inline-date-picker"
10
16
  hideIcon
11
17
  inLine
18
+ onChange={showAngleDownHandler}
12
19
  pickerId="date-picker-inline"
13
20
  {...props}
14
21
  />
@@ -18,5 +18,4 @@ examples:
18
18
  - layout_kanban: Kanban Layout
19
19
  - layout_content: Content Layout
20
20
  - layout_masonry: Masonry Layout
21
- - layout_bracket: Bracket Layout
22
21
 
@@ -7,5 +7,4 @@ export { default as LayoutKanbanResponsive } from './_layout_kanban_responsive.j
7
7
  export { default as LayoutCollectionDetail } from './_layout_collection_detail.jsx'
8
8
  export { default as LayoutContent } from './_layout_content.jsx'
9
9
  export { default as LayoutMasonry } from './_layout_masonry.jsx'
10
- export { default as LayoutBracket } from './_layout_bracket.jsx'
11
10
 
@@ -1 +1 @@
1
- <%= pb_rails("rich_text_editor", props: {input_options: { id: 'hidden_input_id', name: "hidden_input_name" }, value: "Add your text here. You can format your text, add links, quotes, and bullets."}) %>
1
+ <%= pb_rails("rich_text_editor", props: {id: "default", value: "Add your text here. You can format your text, add links, quotes, and bullets."}) %>
@@ -75,5 +75,3 @@ examples:
75
75
  - table_with_collapsible_with_nested_table: Table with Collapsible with Nested Table
76
76
  - table_with_clickable_rows: Table with Clickable Rows
77
77
  - table_with_selectable_rows: Table with Selectable Rows
78
- - table_with_header_style_borderless: Header Style Borderless
79
- - table_with_header_style_floating: Header Style Floating
@@ -35,5 +35,3 @@ export { default as TableWithCollapsibleWithNestedRows } from './_table_with_col
35
35
  export { default as TableWithCollapsibleWithCustomClick } from './_table_with_collapsible_with_custom_click.jsx'
36
36
  export { default as TableWithSelectableRows } from './_table_with_selectable_rows.jsx'
37
37
  export { default as TableWithClickableRows } from './_table_with_clickable_rows.jsx'
38
- export { default as TableWithHeaderStyleBorderless } from './_table_with_header_style_borderless.jsx'
39
- export { default as TableWithHeaderStyleFloating } from './_table_with_header_style_floating.jsx'