playbook_ui_docs 14.18.0.pre.alpha.revert4567revert4553PLAY2056ATcolbordercolors7469 → 14.18.0.pre.rc.0
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_advanced_table/docs/_advanced_table_table_props.html.erb +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props.jsx +2 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_rails.md +2 -2
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_react.md +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header_rails.md +2 -6
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header_react.md +2 -6
- data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +3 -10
- data/app/pb_kits/playbook/pb_advanced_table/docs/index.js +1 -6
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_block.html.erb +2 -2
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_block.jsx +1 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors.html.erb +1 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors.jsx +1 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_custom_tooltip.html.erb +1 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_custom_tooltip.jsx +1 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_default.html.erb +1 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.html.erb +1 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.jsx +1 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_live_data.jsx +2 -2
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_rounded.html.erb +1 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_rounded.jsx +1 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/example.yml +3 -2
- data/app/pb_kits/playbook/pb_circle_chart/docs/index.js +1 -2
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_copy_button/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_copy_button/docs/index.js +1 -2
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_error.jsx +1 -4
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_rails.md +0 -4
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_range_limit.md +1 -1
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_react.md +1 -5
- data/app/pb_kits/playbook/pb_date_picker/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_date_picker/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_dialog/docs/example.yml +0 -1
- data/app/pb_kits/playbook/pb_draggable/docs/example.yml +1 -3
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_error.jsx +1 -4
- data/app/pb_kits/playbook/pb_filter/docs/example.yml +0 -1
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_select.html.erb +5 -15
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_select.jsx +6 -39
- data/app/pb_kits/playbook/pb_gauge/docs/example.yml +0 -1
- data/app/pb_kits/playbook/pb_gauge/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_layout/docs/_layout_bracket.jsx +118 -322
- data/app/pb_kits/playbook/pb_layout/docs/_layout_bracket.md +1 -1
- data/app/pb_kits/playbook/pb_line_graph/docs/example.yml +0 -1
- data/app/pb_kits/playbook/pb_line_graph/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_default.md +7 -1
- data/app/pb_kits/playbook/pb_overlay/docs/example.yml +0 -5
- data/app/pb_kits/playbook/pb_overlay/docs/index.js +0 -5
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_validation.jsx +1 -8
- data/app/pb_kits/playbook/pb_phone_number_input/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_phone_number_input/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_popover/docs/example.yml +0 -1
- data/app/pb_kits/playbook/pb_select/docs/_select_error.jsx +2 -7
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_rows.md +1 -3
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_rows_rails.md +1 -3
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table.md +1 -3
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table_rails.md +1 -3
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_error.jsx +1 -9
- data/app/pb_kits/playbook/pb_text_input/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_text_input/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_error.jsx +1 -7
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.jsx +2 -6
- data/dist/playbook-doc.js +1 -19
- metadata +4 -61
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_border_color.jsx +0 -80
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_border_color.md +0 -3
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_border_color_rails.html.erb +0 -58
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_border_color_rails.md +0 -3
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_expand_by_depth.jsx +0 -66
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_expand_by_depth.md +0 -10
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sticky_columns.jsx +0 -58
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sticky_columns.md +0 -6
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sticky_columns_and_header.jsx +0 -64
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sticky_columns_and_header.md +0 -8
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sticky_header.jsx +0 -55
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sticky_header.md +0 -3
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sticky_header_rails.html.erb +0 -33
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sticky_header_rails.md +0 -3
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_pb_styles.jsx +0 -38
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_pb_styles.md +0 -1
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_size.html.erb +0 -28
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_size.jsx +0 -42
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_size.md +0 -1
- data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_hook.jsx +0 -54
- data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_hook.md +0 -3
- data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_hook_rails.html.erb +0 -14
- data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_hook_rails.md +0 -3
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range_pattern.jsx +0 -34
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range_pattern.md +0 -14
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range_pattern_rails.html.erb +0 -20
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range_pattern_rails.md +0 -14
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_turbo_frames.html.erb +0 -117
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_turbo_frames_rails.md +0 -9
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_drop_zones.html.erb +0 -43
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_drop_zones_colors.html.erb +0 -55
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_drop_zones_colors_rails.md +0 -1
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_event_listeners.html.erb +0 -42
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_event_listeners.md +0 -1
- data/app/pb_kits/playbook/pb_filter/docs/_filter_within_turbo_frames.html.erb +0 -41
- data/app/pb_kits/playbook/pb_filter/docs/_filter_within_turbo_frames.md +0 -1
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_pb_styles.jsx +0 -30
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_pb_styles.md +0 -1
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_pb_styles.jsx +0 -52
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_pb_styles.md +0 -1
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_color.jsx +0 -63
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_color.md +0 -3
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_fullscreen_background.jsx +0 -49
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_fullscreen_background.md +0 -1
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_fullscreen_opacity.jsx +0 -81
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_fullscreen_opacity.md +0 -1
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_gradient_opacity.jsx +0 -39
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_gradient_opacity.md +0 -1
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_layout.jsx +0 -40
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_layout.md +0 -5
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_country_search.html.erb +0 -10
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_country_search.jsx +0 -20
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_country_search.md +0 -1
- data/app/pb_kits/playbook/pb_popover/docs/_popover_append_to.html.erb +0 -46
- data/app/pb_kits/playbook/pb_popover/docs/_popover_append_to.md +0 -1
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_sanitize.jsx +0 -94
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_sanitize.md +0 -1
- /data/app/pb_kits/playbook/pb_draggable/docs/{_draggable_drop_zones_react.md → _draggable_drop_zones.md} +0 -0
- /data/app/pb_kits/playbook/pb_draggable/docs/{_draggable_drop_zones_colors_react.md → _draggable_drop_zones_colors.md} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 507cb2728035a82fda1d39c3d6375e87b2d2ed3e0f8069a4983477fbaa5ea22d
|
4
|
+
data.tar.gz: d686c06944bc4863389652e0e8143303ff06019068deed4734ef0a31772c5e80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6944fa6e3e21af46532cc0f1a8dfc08235de36bcb855a2b376171d3a72cf267c84609b393a417a921b3099739d70351edf461a74a0bfabec2fd1674e03d29898
|
7
|
+
data.tar.gz: 793e942c63a534bfa7efe02166ec25807f661666e2bfbd114a55e3cde052912a323acf7acaec34abf44affec067ac4fa80d8f488657c15b93f98fd1986bdd88f
|
@@ -30,4 +30,4 @@
|
|
30
30
|
}
|
31
31
|
] %>
|
32
32
|
|
33
|
-
<%= pb_rails("advanced_table", props: { id: "table_props_table", table_data: @table_data, column_definitions: column_definitions, table_props: {
|
33
|
+
<%= pb_rails("advanced_table", props: { id: "table_props_table", table_data: @table_data, column_definitions: column_definitions, responsive: "none", table_props: { container: false, sticky: true }}) %>
|
@@ -37,13 +37,14 @@ const AdvancedTableTableProps = (props) => {
|
|
37
37
|
|
38
38
|
const tableProps = {
|
39
39
|
container: false,
|
40
|
-
|
40
|
+
sticky: true
|
41
41
|
}
|
42
42
|
|
43
43
|
return (
|
44
44
|
<div>
|
45
45
|
<AdvancedTable
|
46
46
|
columnDefinitions={columnDefinitions}
|
47
|
+
responsive="none"
|
47
48
|
tableData={MOCK_DATA}
|
48
49
|
tableProps={tableProps}
|
49
50
|
{...props}
|
@@ -1,3 +1,3 @@
|
|
1
|
-
This kit uses the [Table kit](https://playbook.powerapp.cloud/kits/table
|
1
|
+
This kit uses the [Table kit](https://playbook.powerapp.cloud/kits/table) under the hood which comes with its own set of props. If you want to apply certain Table props to that underlying kit, you can do so by using the optional `table_props` prop. This prop must be an object that contains valid Table props. For a full list of Table props, see [here](https://playbook.powerapp.cloud/kits/table).
|
2
2
|
|
3
|
-
This doc example showcases
|
3
|
+
This doc example showcases how to set a sticky header for a nonresponsive table. To achieve sticky header AND responsive functionality, see the ["Table Props Sticky Header"](https://playbook.powerapp.cloud/kits/advanced_table#table-props-sticky-header) doc example below.
|
@@ -1,3 +1,3 @@
|
|
1
1
|
This kit uses the [Table kit](https://playbook.powerapp.cloud/kits/table/react) under the hood which comes with its own set of props. If you want to apply certain Table props to that underlying kit, you can do so by using the optional `tableProps` prop. This prop must be an object that contains valid Table props. For a full list of Table props, see [here](https://playbook.powerapp.cloud/kits/table/react).
|
2
2
|
|
3
|
-
This doc example showcases
|
3
|
+
This doc example showcases how to set a sticky header for a nonresponsive table. To achieve sticky header AND responsive functionality, see the ["Table Props Sticky Header"](https://playbook.powerapp.cloud/kits/advanced_table/react#table-props-sticky-header) doc example below.
|
data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header_rails.md
CHANGED
@@ -1,7 +1,3 @@
|
|
1
|
-
Create a sticky header that works for responsive Advanced Tables by setting `sticky: true` via `table_props` and giving the AdvancedTable a `max_height` using our [Max Height](https://playbook.powerapp.cloud/visual_guidelines/max_height) global prop.
|
1
|
+
Create a sticky header that works for responsive Advanced Tables by setting `sticky: true` via `table_props` and giving the AdvancedTable a `max_height` using our [Max Height](https://playbook.powerapp.cloud/visual_guidelines/max_height) global prop. This behavior requires a `max_height` to work. The header is sticky within the table container, allowing for it to work along with the first column stickiness of a responsive table on smaller screen sizes.
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
Expand the table above to see this in action.
|
6
|
-
|
7
|
-
A sticky header on a nonresponsive table is demonstrated in the ["Sticky Header"](https://playbook.powerapp.cloud/kits/advanced_table#sticky-header) doc example above.
|
3
|
+
A sticky header on a nonresponsive table is demonstrated in the ["Table Props"](https://playbook.powerapp.cloud/kits/advanced_table#table-props) doc example above.
|
data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header_react.md
CHANGED
@@ -1,7 +1,3 @@
|
|
1
|
-
Create a sticky header that works for responsive Advanced Tables by setting `sticky: true` via `tableProps` and giving the AdvancedTable a `maxHeight` using our [Max Height](https://playbook.powerapp.cloud/visual_guidelines/max_height) global prop.
|
1
|
+
Create a sticky header that works for responsive Advanced Tables by setting `sticky: true` via `tableProps` and giving the AdvancedTable a `maxHeight` using our [Max Height](https://playbook.powerapp.cloud/visual_guidelines/max_height) global prop. This behavior requires a `maxHeight` to work. The header is sticky within the table container, allowing for it to work along with the first column stickiness of a responsive table on smaller screen sizes.
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
Expand the table above to see this in action.
|
6
|
-
|
7
|
-
A sticky header on a nonresponsive table is demonstrated in the ["Sticky Header"](https://playbook.powerapp.cloud/kits/advanced_table/react#sticky-header) doc example above.
|
3
|
+
A sticky header on a nonresponsive table is demonstrated in the ["Table Props"](https://playbook.powerapp.cloud/kits/advanced_table/react#table-props) doc example above.
|
@@ -5,8 +5,7 @@ examples:
|
|
5
5
|
- advanced_table_beta_subrow_headers: SubRow Headers
|
6
6
|
- advanced_table_collapsible_trail_rails: Collapsible Trail
|
7
7
|
- advanced_table_table_props: Table Props
|
8
|
-
-
|
9
|
-
- advanced_table_table_props_sticky_header: Sticky Header for Responsive Table
|
8
|
+
- advanced_table_table_props_sticky_header: Table Props Sticky Header
|
10
9
|
- advanced_table_beta_sort: Enable Sorting
|
11
10
|
- advanced_table_responsive: Responsive Tables
|
12
11
|
- advanced_table_custom_cell_rails: Custom Components for Cells
|
@@ -14,7 +13,6 @@ examples:
|
|
14
13
|
- advanced_table_column_headers_multiple: Multi-Header Columns (Multiple Levels)
|
15
14
|
# - advanced_table_selectable_rows: Selectable Rows
|
16
15
|
# - advanced_table_selectable_rows_no_subrows: Selectable Rows (No Subrows)
|
17
|
-
- advanced_table_column_border_color_rails: Column Group Border Color
|
18
16
|
|
19
17
|
|
20
18
|
react:
|
@@ -23,15 +21,11 @@ examples:
|
|
23
21
|
- advanced_table_sort: Enable Sorting
|
24
22
|
- advanced_table_sort_control: Sort Control
|
25
23
|
- advanced_table_expanded_control: Expanded Control
|
26
|
-
- advanced_table_expand_by_depth: Expand by Depth
|
27
24
|
- advanced_table_subrow_headers: SubRow Headers
|
28
25
|
- advanced_table_collapsible_trail: Collapsible Trail
|
29
26
|
- advanced_table_table_options: Table Options
|
30
27
|
- advanced_table_table_props: Table Props
|
31
|
-
-
|
32
|
-
- advanced_table_table_props_sticky_header: Sticky Header for Responsive Table
|
33
|
-
- advanced_table_sticky_columns: Sticky Columns
|
34
|
-
- advanced_table_sticky_columns_and_header: Sticky Columns with Sticky Header
|
28
|
+
- advanced_table_table_props_sticky_header: Table Props Sticky Header
|
35
29
|
- advanced_table_inline_row_loading: Inline Row Loading
|
36
30
|
- advanced_table_responsive: Responsive Tables
|
37
31
|
- advanced_table_custom_cell: Custom Components for Cells
|
@@ -46,5 +40,4 @@ examples:
|
|
46
40
|
- advanced_table_selectable_rows_actions: Selectable Rows (With Actions)
|
47
41
|
- advanced_table_selectable_rows_header: Selectable Rows (No Actions Bar)
|
48
42
|
- advanced_table_inline_editing: Inline Cell Editing
|
49
|
-
- advanced_table_fullscreen: Fullscreen
|
50
|
-
- advanced_table_column_border_color: Column Group Border Color
|
43
|
+
- advanced_table_fullscreen: Fullscreen
|
@@ -22,9 +22,4 @@ export { default as AdvancedTableSelectableRowsActions } from './_advanced_table
|
|
22
22
|
export { default as AdvancedTableTablePropsStickyHeader } from './_advanced_table_table_props_sticky_header.jsx'
|
23
23
|
export { default as AdvancedTableColumnHeadersCustomCell } from './_advanced_table_column_headers_custom_cell.jsx'
|
24
24
|
export { default as AdvancedTableInlineEditing } from './_advanced_table_inline_editing.jsx'
|
25
|
-
export { default as AdvancedTableFullscreen } from './_advanced_table_fullscreen.jsx'
|
26
|
-
export { default as AdvancedTableStickyColumns } from './_advanced_table_sticky_columns.jsx'
|
27
|
-
export { default as AdvancedTableStickyHeader } from './_advanced_table_sticky_header.jsx'
|
28
|
-
export { default as AdvancedTableStickyColumnsAndHeader } from './_advanced_table_sticky_columns_and_header.jsx'
|
29
|
-
export { default as AdvancedTableExpandByDepth } from './_advanced_table_expand_by_depth.jsx'
|
30
|
-
export { default as AdvancedTableColumnBorderColor} from './_advanced_table_column_border_color.jsx'
|
25
|
+
export { default as AdvancedTableFullscreen } from './_advanced_table_fullscreen.jsx'
|
@@ -7,7 +7,7 @@
|
|
7
7
|
value: 49,
|
8
8
|
},
|
9
9
|
{
|
10
|
-
name: 'After
|
10
|
+
name: 'After call',
|
11
11
|
value: 10,
|
12
12
|
}
|
13
13
|
] %>
|
@@ -18,7 +18,7 @@
|
|
18
18
|
chart_data: data_51,
|
19
19
|
id: "with-a-block-2",
|
20
20
|
rounded: true,
|
21
|
-
}) do %>
|
21
|
+
}) do %>
|
22
22
|
<%= pb_rails('title', props: {text: "83", size: 1, tag: 'div'}) %>
|
23
23
|
<% end %>
|
24
24
|
|
@@ -14,7 +14,7 @@ const CircleChartLiveData = (props) => {
|
|
14
14
|
value: 49,
|
15
15
|
},
|
16
16
|
{
|
17
|
-
name: 'After
|
17
|
+
name: 'After call',
|
18
18
|
value: 10,
|
19
19
|
},
|
20
20
|
])
|
@@ -29,7 +29,7 @@ const CircleChartLiveData = (props) => {
|
|
29
29
|
value: 12,
|
30
30
|
},
|
31
31
|
{
|
32
|
-
name: 'After
|
32
|
+
name: 'After call',
|
33
33
|
value: 140,
|
34
34
|
},
|
35
35
|
]
|
@@ -14,7 +14,6 @@ examples:
|
|
14
14
|
|
15
15
|
react:
|
16
16
|
- circle_chart_default: Default Style
|
17
|
-
- circle_chart_pb_styles: Playbook Styles
|
18
17
|
- circle_chart_live_data: Live Data
|
19
18
|
- circle_chart_rounded: Rounded Corners
|
20
19
|
- circle_chart_block: Accepts Any Block
|
@@ -23,5 +22,7 @@ examples:
|
|
23
22
|
- circle_chart_with_legend_kit: Legend
|
24
23
|
- circle_chart_legend_position: Legend Position
|
25
24
|
- circle_chart_with_title: Title
|
26
|
-
- circle_chart_inner_sizes: Inner Circle Size Options
|
25
|
+
- circle_chart_inner_sizes: Inner Circle Size Options
|
27
26
|
- circle_chart_custom_tooltip: Tooltip Customization
|
27
|
+
|
28
|
+
|
@@ -8,5 +8,4 @@ export { default as CircleChartWithLegendKit } from './_circle_chart_with_legend
|
|
8
8
|
export { default as CircleChartLegendPosition } from './_circle_chart_legend_position.jsx'
|
9
9
|
export { default as CircleChartWithTitle } from './_circle_chart_with_title.jsx'
|
10
10
|
export { default as CircleChartInnerSizes } from './_circle_chart_inner_sizes.jsx'
|
11
|
-
export { default as CircleChartCustomTooltip } from "./_circle_chart_custom_tooltip.jsx"
|
12
|
-
export { default as CircleChartPbStyles } from "./_circle_chart_pb_styles.jsx"
|
11
|
+
export { default as CircleChartCustomTooltip } from "./_circle_chart_custom_tooltip.jsx"
|
@@ -4,11 +4,9 @@ examples:
|
|
4
4
|
- circle_icon_button_default: Default
|
5
5
|
- circle_icon_button_link: Link
|
6
6
|
- circle_icon_button_loading: Loading
|
7
|
-
- circle_icon_button_size: Size
|
8
7
|
|
9
8
|
react:
|
10
9
|
- circle_icon_button_default: Default
|
11
10
|
- circle_icon_button_click: Click Handler
|
12
11
|
- circle_icon_button_link: Link
|
13
12
|
- circle_icon_button_loading: Loading
|
14
|
-
- circle_icon_button_size: Size
|
@@ -2,4 +2,3 @@ export { default as CircleIconButtonDefault } from './_circle_icon_button_defaul
|
|
2
2
|
export { default as CircleIconButtonClick } from './_circle_icon_button_click.jsx'
|
3
3
|
export { default as CircleIconButtonLink } from './_circle_icon_button_link.jsx'
|
4
4
|
export { default as CircleIconButtonLoading } from './_circle_icon_button_loading.jsx'
|
5
|
-
export { default as CircleIconButtonSize } from './_circle_icon_button_size.jsx'
|
@@ -1,3 +1,2 @@
|
|
1
1
|
export { default as CopyButtonDefault } from './_copy_button_default.jsx'
|
2
|
-
export { default as CopyButtonFrom } from './_copy_button_from.jsx'
|
3
|
-
export { default as CopyButtonHook } from './_copy_button_hook.jsx'
|
2
|
+
export { default as CopyButtonFrom } from './_copy_button_from.jsx'
|
@@ -1,14 +1,11 @@
|
|
1
1
|
import React from 'react'
|
2
2
|
|
3
3
|
import DatePicker from '../_date_picker'
|
4
|
-
import Icon from '../../pb_icon/_icon'
|
5
4
|
|
6
5
|
const DatePickerError = (props) => (
|
7
6
|
<div>
|
8
7
|
<DatePicker
|
9
|
-
error=
|
10
|
-
<Icon icon="warning" /> Invalid date. Please pick a valid date.
|
11
|
-
</>}
|
8
|
+
error="Invalid date. Please pick a valid date."
|
12
9
|
pickerId="date-picker-error"
|
13
10
|
{...props}
|
14
11
|
/>
|
@@ -1,7 +1,3 @@
|
|
1
|
-
To use the `quickpick`:
|
2
|
-
- prop `mode` must be set to `range`
|
3
|
-
- prop `selection_type` must be set to `quickpick`
|
4
|
-
|
5
1
|
This date range variant uses hidden inputs to handle start and end dates. While they are not required props, it is advisable to specify a unique `start_date_id`, `start_date_name`, `end_date_id`, and `end_date_name` for each quick pick instance you place in a form and/or on a page.
|
6
2
|
|
7
3
|
Like all other date pickers, the quick pick does require a `picker_id`.
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
Because the Quick Pick variant has `allowInput` set to `true` by default, use the `onClose` handler function to access the startDate and endDate values. See the `onClose` example for details.
|
@@ -1,5 +1 @@
|
|
1
|
-
|
2
|
-
- prop `mode` must be set to `range`
|
3
|
-
- prop `selectionType` must be set to `quickpick`
|
4
|
-
|
5
|
-
Use the `onClose` handler function to access the startDate and endDate values. Check the [`onClose` example](https://playbook.powerapp.cloud/kits/date_picker/react#onclose) for more information.
|
1
|
+
Use the `onChange` handler function to access the startDate and endDate values. Check the [`onChange` example](https://playbook.powerapp.cloud/kits/date_picker/react#onchange) for more information.
|
@@ -15,7 +15,6 @@ examples:
|
|
15
15
|
- date_picker_quick_pick_custom: Custom Quick Pick Dates
|
16
16
|
- date_picker_quick_pick_custom_override: Custom Quick Pick Dates (append to defaults)
|
17
17
|
- date_picker_quick_pick_default_date: Range (Quick Pick w/ Default Date)
|
18
|
-
- date_picker_range_pattern_rails: Range with 2 Date Pickers and a Quick Pick
|
19
18
|
- date_picker_format: Format
|
20
19
|
- date_picker_disabled: Disabled Dates
|
21
20
|
- date_picker_min_max: Min Max
|
@@ -48,7 +47,6 @@ examples:
|
|
48
47
|
- date_picker_quick_pick_custom: Custom Quick Pick Dates
|
49
48
|
- date_picker_quick_pick_custom_override: Custom Quick Pick Dates (append to defaults)
|
50
49
|
- date_picker_quick_pick_default_date: Range (Quick Pick w/ Default Date)
|
51
|
-
- date_picker_range_pattern: Range with 2 Date Pickers and a Quick Pick
|
52
50
|
- date_picker_format: Format
|
53
51
|
- date_picker_disabled: Disabled Dates
|
54
52
|
- date_picker_min_max: Min Max
|
@@ -26,4 +26,3 @@ export { default as DatePickerOnClose } from './_date_picker_on_close.jsx'
|
|
26
26
|
export { default as DatePickerQuickPickCustom } from './_date_picker_quick_pick_custom'
|
27
27
|
export { default as DatePickerQuickPickCustomOverride } from './_date_picker_quick_pick_custom_override'
|
28
28
|
export { default as DatePickerQuickPickDefaultDate } from './_date_picker_quick_pick_default_date'
|
29
|
-
export { default as DatePickerRangePattern } from './_date_picker_range_pattern'
|
@@ -17,6 +17,4 @@ examples:
|
|
17
17
|
- draggable_with_cards: Draggable with Cards
|
18
18
|
- draggable_with_table: Draggable with Table
|
19
19
|
- draggable_multiple_containers: Dragging Across Multiple Containers
|
20
|
-
|
21
|
-
- draggable_drop_zones_colors: Draggable Drop Zones Colors
|
22
|
-
- draggable_event_listeners: Draggable Event Listeners
|
20
|
+
|
@@ -1,12 +1,9 @@
|
|
1
1
|
import React, { useState } from 'react'
|
2
2
|
import Dropdown from '../../pb_dropdown/_dropdown'
|
3
|
-
import Icon from '../../pb_icon/_icon'
|
4
3
|
|
5
4
|
const DropdownError = (props) => {
|
6
5
|
const [selectedOption, setSelectedOption] = useState()
|
7
|
-
const error = selectedOption?.value ? null :
|
8
|
-
<Icon icon="warning" /> Please make a valid selection
|
9
|
-
</>)
|
6
|
+
const error = selectedOption?.value ? null : "Please make a valid selection"
|
10
7
|
const options = [
|
11
8
|
{
|
12
9
|
label: "United States",
|
@@ -1,4 +1,5 @@
|
|
1
|
-
|
1
|
+
<div>
|
2
|
+
|
2
3
|
<%= pb_rails("form_group") do %>
|
3
4
|
<%= pb_rails("text_input", props: { placeholder: "Enter Artist Name" }) %>
|
4
5
|
<%= pb_rails("select", props: {
|
@@ -16,6 +17,8 @@
|
|
16
17
|
]
|
17
18
|
}) %>
|
18
19
|
<% end %>
|
20
|
+
<br>
|
21
|
+
<br>
|
19
22
|
<%= pb_rails("form_group") do %>
|
20
23
|
<%= pb_rails("select", props: {
|
21
24
|
blank_selection: "Phone",
|
@@ -29,17 +32,4 @@
|
|
29
32
|
id: "phone"
|
30
33
|
}) %>
|
31
34
|
<% end %>
|
32
|
-
|
33
|
-
<%= pb_rails("phone_number_input", props: {
|
34
|
-
id: "phone2"
|
35
|
-
}) %>
|
36
|
-
<%= pb_rails("select", props: {
|
37
|
-
blank_selection: "Phone",
|
38
|
-
options: [
|
39
|
-
{ value: "Cell" },
|
40
|
-
{ value: "Work" },
|
41
|
-
{ value: "Home" },
|
42
|
-
]
|
43
|
-
}) %>
|
44
|
-
<% end %>
|
45
|
-
<% end %>
|
35
|
+
</div>
|
@@ -1,16 +1,11 @@
|
|
1
|
-
import React
|
1
|
+
import React from 'react'
|
2
2
|
|
3
3
|
import FormGroup from '../_form_group'
|
4
4
|
import PhoneNumberInput from '../../pb_phone_number_input/_phone_number_input'
|
5
5
|
import Select from '../../pb_select/_select'
|
6
6
|
import TextInput from '../../pb_text_input/_text_input'
|
7
|
-
import Flex from '../../pb_flex/_flex'
|
8
|
-
import Passphrase from '../../pb_passphrase/_passphrase'
|
9
7
|
|
10
8
|
const FormGroupSelect = (props) => {
|
11
|
-
const [input, setInput] = useState("");
|
12
|
-
const handleChange = (e) => setInput(e.target.value);
|
13
|
-
|
14
9
|
const options = [
|
15
10
|
{ value: 'Country' },
|
16
11
|
{ value: 'Pop' },
|
@@ -30,10 +25,7 @@ const FormGroupSelect = (props) => {
|
|
30
25
|
]
|
31
26
|
|
32
27
|
return (
|
33
|
-
<
|
34
|
-
orientation="column"
|
35
|
-
rowGap="md"
|
36
|
-
>
|
28
|
+
<div>
|
37
29
|
<FormGroup>
|
38
30
|
<TextInput
|
39
31
|
placeholder="Enter Artist Name"
|
@@ -45,43 +37,18 @@ const FormGroupSelect = (props) => {
|
|
45
37
|
{...props}
|
46
38
|
/>
|
47
39
|
</FormGroup>
|
40
|
+
<br />
|
41
|
+
<br />
|
48
42
|
<FormGroup>
|
49
43
|
<Select
|
50
44
|
blankSelection="Phone"
|
51
45
|
options={phoneOptions}
|
52
|
-
|
53
|
-
/>
|
46
|
+
/>
|
54
47
|
<PhoneNumberInput
|
55
48
|
id='default'
|
56
|
-
{...props}
|
57
49
|
/>
|
58
50
|
</FormGroup>
|
59
|
-
|
60
|
-
<PhoneNumberInput
|
61
|
-
id='default-2'
|
62
|
-
{...props}
|
63
|
-
/>
|
64
|
-
<Select
|
65
|
-
blankSelection="Phone"
|
66
|
-
options={phoneOptions}
|
67
|
-
{...props}
|
68
|
-
/>
|
69
|
-
</FormGroup>
|
70
|
-
<FormGroup>
|
71
|
-
<Select
|
72
|
-
blankSelection="Phone"
|
73
|
-
options={phoneOptions}
|
74
|
-
{...props}
|
75
|
-
/>
|
76
|
-
<Passphrase
|
77
|
-
id="my-passphrase"
|
78
|
-
label=""
|
79
|
-
onChange={handleChange}
|
80
|
-
value={input}
|
81
|
-
{...props}
|
82
|
-
/>
|
83
|
-
</FormGroup>
|
84
|
-
</Flex>
|
51
|
+
</div>
|
85
52
|
)
|
86
53
|
}
|
87
54
|
|
@@ -1,5 +1,4 @@
|
|
1
1
|
export { default as GaugeDefault } from './_gauge_default.jsx'
|
2
|
-
export { default as GaugePbStyles } from './_gauge_pb_styles.jsx'
|
3
2
|
export { default as GaugeDisableAnimation } from './_gauge_disable_animation.jsx'
|
4
3
|
export { default as GaugeFullCircle } from './_gauge_full_circle.jsx'
|
5
4
|
export { default as GaugeHeight } from './_gauge_height.jsx'
|