playbook_ui_docs 15.4.0.pre.alpha.revert5471PLAY2622richtexteditortiptaponlyrails12345 → 15.4.0.pre.alpha.testing6712538
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_column_styling.jsx +2 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling_column_headers.jsx +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_fullscreen.jsx +3 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_infinite_scroll.jsx +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_inline_editing.jsx +3 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_row_styling.jsx +2 -1
- data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_button_variant.html.erb +9 -0
- data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_button_variant.jsx +24 -0
- data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_button_variant_rails.md +1 -0
- data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_button_variant_react.md +1 -0
- data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_default.html.erb +2 -2
- data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_from.html.erb +2 -2
- data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_from.jsx +2 -0
- data/app/pb_kits/playbook/pb_copy_button/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_copy_button/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_currency/docs/_currency_abbreviated.md +1 -0
- data/app/pb_kits/playbook/pb_currency/docs/_currency_matching_decimals_rails.md +1 -0
- data/app/pb_kits/playbook/pb_currency/docs/_currency_matching_decimals_react.md +1 -0
- data/app/pb_kits/playbook/pb_currency/docs/_currency_negative.html.erb +10 -0
- data/app/pb_kits/playbook/pb_currency/docs/_currency_negative.jsx +10 -0
- data/app/pb_kits/playbook/pb_currency/docs/_currency_negative.md +1 -0
- data/app/pb_kits/playbook/pb_currency/docs/_currency_no_symbol_rails.md +1 -0
- data/app/pb_kits/playbook/pb_currency/docs/_currency_no_symbol_react.md +1 -0
- data/app/pb_kits/playbook/pb_currency/docs/_currency_variants.html.erb +7 -0
- data/app/pb_kits/playbook/pb_currency/docs/_currency_variants.jsx +7 -0
- data/app/pb_kits/playbook/pb_currency/docs/_description.md +2 -2
- data/app/pb_kits/playbook/pb_date_time/docs/_date_time_show_current_year.html.erb +4 -0
- data/app/pb_kits/playbook/pb_date_time/docs/_date_time_show_current_year.jsx +14 -0
- data/app/pb_kits/playbook/pb_date_time/docs/_date_time_show_current_year_rails.md +1 -0
- data/app/pb_kits/playbook/pb_date_time/docs/_date_time_show_current_year_react.md +1 -0
- data/app/pb_kits/playbook/pb_date_time/docs/example.yml +3 -1
- data/app/pb_kits/playbook/pb_date_time/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_show_current_year.html.erb +4 -0
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_show_current_year.jsx +22 -0
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_show_current_year.md +1 -0
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/example.yml +3 -1
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_empty_state/docs/_empty_state_alignment.jsx +2 -1
- data/app/pb_kits/playbook/pb_empty_state/docs/_empty_state_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_empty_state/docs/_empty_state_orientation.jsx +2 -1
- data/app/pb_kits/playbook/pb_empty_state/docs/_empty_state_size.jsx +2 -1
- data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_wrapped.jsx +4 -1
- data/app/pb_kits/playbook/pb_loading_inline/docs/_loading_inline_variant.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_colors.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_height.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_horizontal.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_legend.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_legend_non_clickable.jsx +1 -2
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_legend_position.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_negative_numbers.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_secondary_y_axis.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_spline.jsx +1 -2
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_stacked.jsx +1 -2
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_block_content.jsx +2 -1
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_color_overrides.jsx +2 -1
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_custom_tooltip.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_data_legend_position.jsx +2 -1
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_data_with_labels.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_data_with_legend.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_inner_sizes.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_live_data.jsx +2 -1
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_rounded.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_with_title.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_color.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_complex.jsx +2 -1
- data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_full_circle.jsx +2 -1
- data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_height.jsx +2 -1
- data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_min_max.jsx +2 -1
- data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_units.jsx +2 -1
- data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_colors.jsx +1 -1
- data/app/pb_kits/playbook/pb_popover/docs/_popover_append_to.jsx +4 -1
- data/app/pb_kits/playbook/pb_progress_step/docs/_description.md +1 -5
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_color.html.erb +14 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_color.jsx +29 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_color.md +3 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_custom_icon.jsx +31 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_custom_icon.md +1 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.html.erb +4 -1
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.jsx +14 -3
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.md +3 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tracker.md +3 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_vertical.html.erb +1 -7
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_vertical.md +1 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/example.yml +3 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/index.js +2 -0
- data/app/pb_kits/playbook/pb_radio/docs/_radio_react_hook.jsx +3 -1
- data/app/pb_kits/playbook/pb_select/docs/_select_react_hook.jsx +3 -1
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_sizing.jsx +4 -1
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_react_hook.jsx +2 -1
- data/app/pb_kits/playbook/pb_user/docs/_user_font_options.jsx +1 -1
- metadata +27 -3
- data/dist/playbook-doc.js +0 -19
|
@@ -7,7 +7,8 @@ import Caption from '../../pb_caption/_caption'
|
|
|
7
7
|
import Body from '../../pb_body/_body'
|
|
8
8
|
import SectionSeparator from '../../pb_section_separator/_section_separator'
|
|
9
9
|
import Title from '../../pb_title/_title'
|
|
10
|
-
import
|
|
10
|
+
import colors from '../../tokens/exports/_colors.module.scss'
|
|
11
|
+
import typography from '../../tokens/exports/_typography.module.scss'
|
|
11
12
|
|
|
12
13
|
const data = [{ name: "Name", y: 10 }];
|
|
13
14
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import PbGaugeChart from '../../pb_pb_gauge_chart/_pb_gauge_chart'
|
|
3
|
-
import
|
|
3
|
+
import colors from '../../tokens/exports/_colors.module.scss'
|
|
4
|
+
import typography from '../../tokens/exports/_typography.module.scss'
|
|
4
5
|
|
|
5
6
|
const data = [{ name: "Capacity", y: 75 }]
|
|
6
7
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import PbGaugeChart from '../../pb_pb_gauge_chart/_pb_gauge_chart'
|
|
3
|
-
import
|
|
3
|
+
import colors from '../../tokens/exports/_colors.module.scss'
|
|
4
|
+
import typography from '../../tokens/exports/_typography.module.scss'
|
|
4
5
|
|
|
5
6
|
const chartOptions = {
|
|
6
7
|
title: {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import PbGaugeChart from '../../pb_pb_gauge_chart/_pb_gauge_chart'
|
|
3
|
-
import
|
|
3
|
+
import colors from '../../tokens/exports/_colors.module.scss'
|
|
4
|
+
import typography from '../../tokens/exports/_typography.module.scss'
|
|
4
5
|
|
|
5
6
|
const data = [{ name: "Rating", y: 4.5 }]
|
|
6
7
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import PbGaugeChart from '../../pb_pb_gauge_chart/_pb_gauge_chart'
|
|
3
|
-
import
|
|
3
|
+
import colors from '../../tokens/exports/_colors.module.scss'
|
|
4
|
+
import typography from '../../tokens/exports/_typography.module.scss'
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
const data1 = [
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import React, { useState } from "react";
|
|
2
|
-
import
|
|
2
|
+
import PbReactPopover from "../_popover";
|
|
3
|
+
import Body from "../../pb_body/_body";
|
|
4
|
+
import Flex from "../../pb_flex/_flex";
|
|
5
|
+
import CircleIconButton from "../../pb_circle_icon_button/_circle_icon_button";
|
|
3
6
|
|
|
4
7
|
const PopoverAppendTo = (props) => {
|
|
5
8
|
const [showParentPopover, setShowParentPopover] = useState(false);
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
Progress
|
|
2
|
-
|
|
3
|
-
**Tracker**
|
|
4
|
-
You must set the icon prop to true for this kit.
|
|
5
|
-
This variant takes children just like the default progress step. It is best to use the caption kit for children in this variant.
|
|
1
|
+
Progress Step kit is used to show the progress of a process. There are three types of steps in this kit: completed, active, and inactive. Completed steps are indicated by a solid, blue circle (with or without an icon). The current, or active, step is indicated by an outlined blue circle. The inactive, or future, step is indicated by a solid gray circle.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<br><br>
|
|
2
|
+
<%= pb_rails("progress_step",props:{ variant:"tracker", icon:true, color: "info"}) do %>
|
|
3
|
+
<%= pb_rails("progress_step/progress_step_item", props: {status: "complete"}) do %>
|
|
4
|
+
<%= pb_rails("caption", props:{text: "Ordered"})%>
|
|
5
|
+
<% end %>
|
|
6
|
+
<%= pb_rails("progress_step/progress_step_item", props: {status: "active"}) do %>
|
|
7
|
+
<%= pb_rails("caption", props:{text: "Shipped"})%>
|
|
8
|
+
<% end %>
|
|
9
|
+
<%= pb_rails("progress_step/progress_step_item", props: {status: "inactive"}) do %>
|
|
10
|
+
<%= pb_rails("caption", props:{text: "Delivered"})%>
|
|
11
|
+
<% end %>
|
|
12
|
+
<% end %>
|
|
13
|
+
|
|
14
|
+
<br>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
|
|
3
|
+
import ProgressStep from '../_progress_step.tsx'
|
|
4
|
+
import ProgressStepItem from '../_progress_step_item.tsx'
|
|
5
|
+
import Caption from '../../pb_caption/_caption'
|
|
6
|
+
|
|
7
|
+
const ProgressStepColor = (props) => (
|
|
8
|
+
<div>
|
|
9
|
+
<br />
|
|
10
|
+
<ProgressStep
|
|
11
|
+
color="info"
|
|
12
|
+
icon
|
|
13
|
+
variant="tracker"
|
|
14
|
+
{...props}
|
|
15
|
+
>
|
|
16
|
+
<ProgressStepItem status="complete">
|
|
17
|
+
<Caption>{'Ordered'}</Caption>
|
|
18
|
+
</ProgressStepItem>
|
|
19
|
+
<ProgressStepItem status="active">
|
|
20
|
+
<Caption>{'Shipped'}</Caption>
|
|
21
|
+
</ProgressStepItem>
|
|
22
|
+
<ProgressStepItem status="inactive">
|
|
23
|
+
<Caption>{'Delivered'}</Caption>
|
|
24
|
+
</ProgressStepItem>
|
|
25
|
+
</ProgressStep>
|
|
26
|
+
</div>
|
|
27
|
+
)
|
|
28
|
+
|
|
29
|
+
export default ProgressStepColor
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
|
|
3
|
+
import ProgressStep from '../_progress_step.tsx'
|
|
4
|
+
import ProgressStepItem from '../_progress_step_item.tsx'
|
|
5
|
+
import Caption from '../../pb_caption/_caption'
|
|
6
|
+
|
|
7
|
+
const ProgressStepCustomIcon = (props) => (
|
|
8
|
+
<div>
|
|
9
|
+
<br />
|
|
10
|
+
<ProgressStep
|
|
11
|
+
icon
|
|
12
|
+
variant="tracker"
|
|
13
|
+
{...props}
|
|
14
|
+
>
|
|
15
|
+
<ProgressStepItem status="complete">
|
|
16
|
+
<Caption>{'Ordered'}</Caption>
|
|
17
|
+
</ProgressStepItem>
|
|
18
|
+
<ProgressStepItem
|
|
19
|
+
icon="exclamation-triangle"
|
|
20
|
+
status="active"
|
|
21
|
+
>
|
|
22
|
+
<Caption>{'Shipped'}</Caption>
|
|
23
|
+
</ProgressStepItem>
|
|
24
|
+
<ProgressStepItem status="inactive">
|
|
25
|
+
<Caption>{'Delivered'}</Caption>
|
|
26
|
+
</ProgressStepItem>
|
|
27
|
+
</ProgressStep>
|
|
28
|
+
</div>
|
|
29
|
+
)
|
|
30
|
+
|
|
31
|
+
export default ProgressStepCustomIcon
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Custom icons can also be set for individual steps. Simply use the `icon` prop for the relevant `ProgressStepItem`/`progress_step_item` as shown here.
|
|
@@ -39,7 +39,10 @@
|
|
|
39
39
|
<%= pb_rails("progress_step/progress_step_item", props: {status: "complete"}) do %>
|
|
40
40
|
step 2
|
|
41
41
|
<% end %>
|
|
42
|
-
<%= pb_rails("progress_step/progress_step_item", props: {status: "
|
|
42
|
+
<%= pb_rails("progress_step/progress_step_item", props: {status: "active"}) do %>
|
|
43
43
|
step 3
|
|
44
|
+
<% end %>
|
|
45
|
+
<%= pb_rails("progress_step/progress_step_item", props: {status: "inactive"}) do %>
|
|
46
|
+
step 4
|
|
44
47
|
<% end %>
|
|
45
48
|
<% end %>
|
|
@@ -6,7 +6,6 @@ import ProgressStepItem from '../_progress_step_item.tsx'
|
|
|
6
6
|
const ProgressStepDefault = (props) => (
|
|
7
7
|
<div>
|
|
8
8
|
<ProgressStep
|
|
9
|
-
icon
|
|
10
9
|
{...props}
|
|
11
10
|
>
|
|
12
11
|
<ProgressStepItem status="complete" />
|
|
@@ -19,12 +18,24 @@ const ProgressStepDefault = (props) => (
|
|
|
19
18
|
|
|
20
19
|
<ProgressStep {...props}>
|
|
21
20
|
<ProgressStepItem status="complete">{'Step 1'}</ProgressStepItem>
|
|
22
|
-
<ProgressStepItem status="
|
|
23
|
-
<ProgressStepItem status="
|
|
21
|
+
<ProgressStepItem status="complete">{'Step 2'}</ProgressStepItem>
|
|
22
|
+
<ProgressStepItem status="active">{'Step 3'}</ProgressStepItem>
|
|
23
|
+
<ProgressStepItem status="inactive">{'Step 4'}</ProgressStepItem>
|
|
24
|
+
<ProgressStepItem status="inactive">{'Step 5'}</ProgressStepItem>
|
|
24
25
|
</ProgressStep>
|
|
25
26
|
|
|
26
27
|
<br />
|
|
27
28
|
<br />
|
|
29
|
+
|
|
30
|
+
<ProgressStep
|
|
31
|
+
icon
|
|
32
|
+
{...props}
|
|
33
|
+
>
|
|
34
|
+
<ProgressStepItem status="complete">{'Step 1'}</ProgressStepItem>
|
|
35
|
+
<ProgressStepItem status="complete">{'Step 2'}</ProgressStepItem>
|
|
36
|
+
<ProgressStepItem status="active">{'Step 3'}</ProgressStepItem>
|
|
37
|
+
<ProgressStepItem status="inactive">{'Step 4'}</ProgressStepItem>
|
|
38
|
+
</ProgressStep>
|
|
28
39
|
</div>
|
|
29
40
|
)
|
|
30
41
|
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
The `variant` prop can be set to `tracker` to achieve this UI. Tracker is only available with the horizontal orientation and it is also recommended that you set the `icon` prop to true for this variant.
|
|
2
|
+
|
|
3
|
+
This variant takes children just like the default progress step, however, it is best to use the caption kit for children in this variant.
|
|
@@ -25,13 +25,7 @@
|
|
|
25
25
|
Child
|
|
26
26
|
<% end %>
|
|
27
27
|
<%= pb_rails("progress_step/progress_step_item", props: {status: "active"}) do %>
|
|
28
|
-
|
|
29
|
-
Card content
|
|
30
|
-
<% end %>
|
|
31
|
-
<br>
|
|
32
|
-
<%= pb_rails("card", props: {highlight: {position: "side", color:"windows"}}) do %>
|
|
33
|
-
Card content
|
|
34
|
-
<% end %>
|
|
28
|
+
Child
|
|
35
29
|
<% end %>
|
|
36
30
|
<%= pb_rails("progress_step/progress_step_item", props: {status: "inactive"}) do %>
|
|
37
31
|
Child
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
`orientation` can also be set to `vertical` as shown here. By default, this is set to `horizontal`.
|
|
@@ -3,6 +3,7 @@ examples:
|
|
|
3
3
|
- progress_step_default: Default
|
|
4
4
|
- progress_step_vertical: Vertical
|
|
5
5
|
- progress_step_tracker: Tracker
|
|
6
|
+
- progress_step_color: Color
|
|
6
7
|
- progress_step_custom_icon: Custom Icon
|
|
7
8
|
- progress_step_tooltip: Tooltip
|
|
8
9
|
|
|
@@ -10,4 +11,6 @@ examples:
|
|
|
10
11
|
- progress_step_default: Default
|
|
11
12
|
- progress_step_vertical: Vertical
|
|
12
13
|
- progress_step_tracker: Tracker
|
|
14
|
+
- progress_step_color: Color
|
|
15
|
+
- progress_step_custom_icon: Custom Icon
|
|
13
16
|
- progress_step_tracker_click_events: Using State
|
|
@@ -2,3 +2,5 @@ export { default as ProgressStepDefault } from './_progress_step_default.jsx'
|
|
|
2
2
|
export { default as ProgressStepVertical } from './_progress_step_vertical.jsx'
|
|
3
3
|
export { default as ProgressStepTracker } from './_progress_step_tracker.jsx'
|
|
4
4
|
export { default as ProgressStepTrackerClickEvents } from './_progress_step_tracker_click_events.jsx'
|
|
5
|
+
export { default as ProgressStepColor } from './_progress_step_color.jsx'
|
|
6
|
+
export { default as ProgressStepCustomIcon } from './_progress_step_custom_icon.jsx'
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React from "react"
|
|
2
2
|
import { useForm } from "react-hook-form"
|
|
3
|
-
import
|
|
3
|
+
import Radio from "../_radio"
|
|
4
|
+
import Body from "../../pb_body/_body"
|
|
5
|
+
import Flex from "../../pb_flex/_flex"
|
|
4
6
|
|
|
5
7
|
const RadioReactHook = () => {
|
|
6
8
|
const { register, watch } = useForm({
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React, { useState } from "react"
|
|
2
2
|
import { useForm } from "react-hook-form"
|
|
3
|
-
import
|
|
3
|
+
import Select from "../_select"
|
|
4
|
+
import Body from "../../pb_body/_body"
|
|
5
|
+
import Button from "../../pb_button/_button"
|
|
4
6
|
|
|
5
7
|
const SelectReactHook = (props) => {
|
|
6
8
|
const { register, handleSubmit, formState: { errors } } = useForm({
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
|
-
import
|
|
2
|
+
import Tooltip from '../_tooltip'
|
|
3
|
+
import Button from '../../pb_button/_button'
|
|
4
|
+
import Flex from '../../pb_flex/_flex'
|
|
5
|
+
import FlexItem from '../../pb_flex/_flex_item'
|
|
3
6
|
|
|
4
7
|
const TooltipSizing = (props) => {
|
|
5
8
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: playbook_ui_docs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 15.4.0.pre.alpha.
|
|
4
|
+
version: 15.4.0.pre.alpha.testing6712538
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Power UX
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2025-11-
|
|
12
|
+
date: 2025-11-20 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: playbook_ui
|
|
@@ -533,6 +533,10 @@ files:
|
|
|
533
533
|
- app/pb_kits/playbook/pb_contact/docs/_description.md
|
|
534
534
|
- app/pb_kits/playbook/pb_contact/docs/example.yml
|
|
535
535
|
- app/pb_kits/playbook/pb_contact/docs/index.js
|
|
536
|
+
- app/pb_kits/playbook/pb_copy_button/docs/_copy_button_button_variant.html.erb
|
|
537
|
+
- app/pb_kits/playbook/pb_copy_button/docs/_copy_button_button_variant.jsx
|
|
538
|
+
- app/pb_kits/playbook/pb_copy_button/docs/_copy_button_button_variant_rails.md
|
|
539
|
+
- app/pb_kits/playbook/pb_copy_button/docs/_copy_button_button_variant_react.md
|
|
536
540
|
- app/pb_kits/playbook/pb_copy_button/docs/_copy_button_default.html.erb
|
|
537
541
|
- app/pb_kits/playbook/pb_copy_button/docs/_copy_button_default.jsx
|
|
538
542
|
- app/pb_kits/playbook/pb_copy_button/docs/_copy_button_from.html.erb
|
|
@@ -546,6 +550,7 @@ files:
|
|
|
546
550
|
- app/pb_kits/playbook/pb_copy_button/docs/index.js
|
|
547
551
|
- app/pb_kits/playbook/pb_currency/docs/_currency_abbreviated.html.erb
|
|
548
552
|
- app/pb_kits/playbook/pb_currency/docs/_currency_abbreviated.jsx
|
|
553
|
+
- app/pb_kits/playbook/pb_currency/docs/_currency_abbreviated.md
|
|
549
554
|
- app/pb_kits/playbook/pb_currency/docs/_currency_alignment.html.erb
|
|
550
555
|
- app/pb_kits/playbook/pb_currency/docs/_currency_alignment.jsx
|
|
551
556
|
- app/pb_kits/playbook/pb_currency/docs/_currency_alignment_swift.md
|
|
@@ -554,10 +559,15 @@ files:
|
|
|
554
559
|
- app/pb_kits/playbook/pb_currency/docs/_currency_comma_separator.md
|
|
555
560
|
- app/pb_kits/playbook/pb_currency/docs/_currency_matching_decimals.html.erb
|
|
556
561
|
- app/pb_kits/playbook/pb_currency/docs/_currency_matching_decimals.jsx
|
|
562
|
+
- app/pb_kits/playbook/pb_currency/docs/_currency_matching_decimals_rails.md
|
|
563
|
+
- app/pb_kits/playbook/pb_currency/docs/_currency_matching_decimals_react.md
|
|
557
564
|
- app/pb_kits/playbook/pb_currency/docs/_currency_negative.html.erb
|
|
558
565
|
- app/pb_kits/playbook/pb_currency/docs/_currency_negative.jsx
|
|
566
|
+
- app/pb_kits/playbook/pb_currency/docs/_currency_negative.md
|
|
559
567
|
- app/pb_kits/playbook/pb_currency/docs/_currency_no_symbol.html.erb
|
|
560
568
|
- app/pb_kits/playbook/pb_currency/docs/_currency_no_symbol.jsx
|
|
569
|
+
- app/pb_kits/playbook/pb_currency/docs/_currency_no_symbol_rails.md
|
|
570
|
+
- app/pb_kits/playbook/pb_currency/docs/_currency_no_symbol_react.md
|
|
561
571
|
- app/pb_kits/playbook/pb_currency/docs/_currency_null_display.html.erb
|
|
562
572
|
- app/pb_kits/playbook/pb_currency/docs/_currency_null_display.jsx
|
|
563
573
|
- app/pb_kits/playbook/pb_currency/docs/_currency_null_display_rails.md
|
|
@@ -737,6 +747,10 @@ files:
|
|
|
737
747
|
- app/pb_kits/playbook/pb_date_time/docs/_date_time_default.jsx
|
|
738
748
|
- app/pb_kits/playbook/pb_date_time/docs/_date_time_default_swift.md
|
|
739
749
|
- app/pb_kits/playbook/pb_date_time/docs/_date_time_props_swift.md
|
|
750
|
+
- app/pb_kits/playbook/pb_date_time/docs/_date_time_show_current_year.html.erb
|
|
751
|
+
- app/pb_kits/playbook/pb_date_time/docs/_date_time_show_current_year.jsx
|
|
752
|
+
- app/pb_kits/playbook/pb_date_time/docs/_date_time_show_current_year_rails.md
|
|
753
|
+
- app/pb_kits/playbook/pb_date_time/docs/_date_time_show_current_year_react.md
|
|
740
754
|
- app/pb_kits/playbook/pb_date_time/docs/_date_time_size.html.erb
|
|
741
755
|
- app/pb_kits/playbook/pb_date_time/docs/_date_time_size.jsx
|
|
742
756
|
- app/pb_kits/playbook/pb_date_time/docs/_date_time_size_swift.md
|
|
@@ -747,6 +761,9 @@ files:
|
|
|
747
761
|
- app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_default.jsx
|
|
748
762
|
- app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_default_swift.md
|
|
749
763
|
- app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_props_swift.md
|
|
764
|
+
- app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_show_current_year.html.erb
|
|
765
|
+
- app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_show_current_year.jsx
|
|
766
|
+
- app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_show_current_year.md
|
|
750
767
|
- app/pb_kits/playbook/pb_date_time_stacked/docs/example.yml
|
|
751
768
|
- app/pb_kits/playbook/pb_date_time_stacked/docs/index.js
|
|
752
769
|
- app/pb_kits/playbook/pb_date_year_stacked/docs/_date_year_stacked_default.html.erb
|
|
@@ -1897,15 +1914,23 @@ files:
|
|
|
1897
1914
|
- app/pb_kits/playbook/pb_progress_simple/docs/example.yml
|
|
1898
1915
|
- app/pb_kits/playbook/pb_progress_simple/docs/index.js
|
|
1899
1916
|
- app/pb_kits/playbook/pb_progress_step/docs/_description.md
|
|
1917
|
+
- app/pb_kits/playbook/pb_progress_step/docs/_progress_step_color.html.erb
|
|
1918
|
+
- app/pb_kits/playbook/pb_progress_step/docs/_progress_step_color.jsx
|
|
1919
|
+
- app/pb_kits/playbook/pb_progress_step/docs/_progress_step_color.md
|
|
1900
1920
|
- app/pb_kits/playbook/pb_progress_step/docs/_progress_step_custom_icon.html.erb
|
|
1921
|
+
- app/pb_kits/playbook/pb_progress_step/docs/_progress_step_custom_icon.jsx
|
|
1922
|
+
- app/pb_kits/playbook/pb_progress_step/docs/_progress_step_custom_icon.md
|
|
1901
1923
|
- app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.html.erb
|
|
1902
1924
|
- app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.jsx
|
|
1925
|
+
- app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.md
|
|
1903
1926
|
- app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tooltip.html.erb
|
|
1904
1927
|
- app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tracker.html.erb
|
|
1905
1928
|
- app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tracker.jsx
|
|
1929
|
+
- app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tracker.md
|
|
1906
1930
|
- app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tracker_click_events.jsx
|
|
1907
1931
|
- app/pb_kits/playbook/pb_progress_step/docs/_progress_step_vertical.html.erb
|
|
1908
1932
|
- app/pb_kits/playbook/pb_progress_step/docs/_progress_step_vertical.jsx
|
|
1933
|
+
- app/pb_kits/playbook/pb_progress_step/docs/_progress_step_vertical.md
|
|
1909
1934
|
- app/pb_kits/playbook/pb_progress_step/docs/example.yml
|
|
1910
1935
|
- app/pb_kits/playbook/pb_progress_step/docs/index.js
|
|
1911
1936
|
- app/pb_kits/playbook/pb_radio/docs/_description.md
|
|
@@ -2635,7 +2660,6 @@ files:
|
|
|
2635
2660
|
- app/pb_kits/playbook/pb_weekday_stacked/docs/_weekday_stacked_variant.jsx
|
|
2636
2661
|
- app/pb_kits/playbook/pb_weekday_stacked/docs/example.yml
|
|
2637
2662
|
- app/pb_kits/playbook/pb_weekday_stacked/docs/index.js
|
|
2638
|
-
- dist/playbook-doc.js
|
|
2639
2663
|
homepage: https://playbook.powerapp.cloud/
|
|
2640
2664
|
licenses:
|
|
2641
2665
|
- ISC
|